diff --git a/cache/api.github.com.json b/cache/api.github.com.json index b77ba96..ac3442b 100644 --- a/cache/api.github.com.json +++ b/cache/api.github.com.json @@ -27179,6 +27179,33 @@ } } }, + "repository-rule-params-thresholds": { + "title": "Thresholds", + "description": "This setting will not take effect unless at least one code scanning status check is enabled.", + "type": "object", + "properties": { + "code_scanning_alert_threshold": { + "type": "string", + "description": "Code scanning alert threshold", + "enum": ["none", "errors", "errors_and_warnings", "all"] + }, + "code_scanning_security_alert_threshold": { + "type": "string", + "description": "Code scanning security alert threshold.", + "enum": [ + "none", + "critical", + "high_or_higher", + "medium_or_higher", + "all" + ] + } + }, + "required": [ + "code_scanning_alert_threshold", + "code_scanning_security_alert_threshold" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -70440,11 +70467,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, @@ -163948,6 +163982,15 @@ "required": true, "schema": { "type": "integer" } }, + "git-ref-only": { + "name": "ref", + "description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.", + "in": "path", + "required": true, + "example": "heads/feature-a", + "schema": { "type": "string" }, + "x-multi-segment": true + }, "since-user": { "name": "since", "description": "A user ID. Only return users with an ID greater than this ID.", diff --git a/cache/ghec.json b/cache/ghec.json index 6599c51..d03d626 100644 --- a/cache/ghec.json +++ b/cache/ghec.json @@ -28302,6 +28302,33 @@ } } }, + "repository-rule-params-thresholds": { + "title": "Thresholds", + "description": "This setting will not take effect unless at least one code scanning status check is enabled.", + "type": "object", + "properties": { + "code_scanning_alert_threshold": { + "type": "string", + "description": "Code scanning alert threshold", + "enum": ["none", "errors", "errors_and_warnings", "all"] + }, + "code_scanning_security_alert_threshold": { + "type": "string", + "description": "Code scanning security alert threshold.", + "enum": [ + "none", + "critical", + "high_or_higher", + "medium_or_higher", + "all" + ] + } + }, + "required": [ + "code_scanning_alert_threshold", + "code_scanning_security_alert_threshold" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -72185,11 +72212,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, @@ -166716,6 +166750,15 @@ "required": true, "schema": { "type": "integer" } }, + "git-ref-only": { + "name": "ref", + "description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.", + "in": "path", + "required": true, + "example": "heads/feature-a", + "schema": { "type": "string" }, + "x-multi-segment": true + }, "since-user": { "name": "since", "description": "A user ID. Only return users with an ID greater than this ID.", diff --git a/cache/ghes-3.10.json b/cache/ghes-3.10.json index 3f39fc1..3e06d49 100644 --- a/cache/ghes-3.10.json +++ b/cache/ghes-3.10.json @@ -68197,11 +68197,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, @@ -155099,6 +155106,15 @@ "required": true, "schema": { "type": "integer" } }, + "git-ref-only": { + "name": "ref", + "description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.", + "in": "path", + "required": true, + "example": "heads/feature-a", + "schema": { "type": "string" }, + "x-multi-segment": true + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", diff --git a/cache/ghes-3.11.json b/cache/ghes-3.11.json index b09315b..789503b 100644 --- a/cache/ghes-3.11.json +++ b/cache/ghes-3.11.json @@ -28471,6 +28471,33 @@ } } }, + "repository-rule-params-thresholds": { + "title": "Thresholds", + "description": "This setting will not take effect unless at least one code scanning status check is enabled.", + "type": "object", + "properties": { + "code_scanning_alert_threshold": { + "type": "string", + "description": "Code scanning alert threshold", + "enum": ["none", "errors", "errors_and_warnings", "all"] + }, + "code_scanning_security_alert_threshold": { + "type": "string", + "description": "Code scanning security alert threshold.", + "enum": [ + "none", + "critical", + "high_or_higher", + "medium_or_higher", + "all" + ] + } + }, + "required": [ + "code_scanning_alert_threshold", + "code_scanning_security_alert_threshold" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -69723,11 +69750,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, @@ -157149,6 +157183,15 @@ "required": true, "schema": { "type": "integer" } }, + "git-ref-only": { + "name": "ref", + "description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.", + "in": "path", + "required": true, + "example": "heads/feature-a", + "schema": { "type": "string" }, + "x-multi-segment": true + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", diff --git a/cache/ghes-3.12.json b/cache/ghes-3.12.json index 0adb0b0..a39fc54 100644 --- a/cache/ghes-3.12.json +++ b/cache/ghes-3.12.json @@ -29121,6 +29121,33 @@ } } }, + "repository-rule-params-thresholds": { + "title": "Thresholds", + "description": "This setting will not take effect unless at least one code scanning status check is enabled.", + "type": "object", + "properties": { + "code_scanning_alert_threshold": { + "type": "string", + "description": "Code scanning alert threshold", + "enum": ["none", "errors", "errors_and_warnings", "all"] + }, + "code_scanning_security_alert_threshold": { + "type": "string", + "description": "Code scanning security alert threshold.", + "enum": [ + "none", + "critical", + "high_or_higher", + "medium_or_higher", + "all" + ] + } + }, + "required": [ + "code_scanning_alert_threshold", + "code_scanning_security_alert_threshold" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -70580,11 +70607,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, @@ -158364,6 +158398,15 @@ "required": true, "schema": { "type": "integer" } }, + "git-ref-only": { + "name": "ref", + "description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.", + "in": "path", + "required": true, + "example": "heads/feature-a", + "schema": { "type": "string" }, + "x-multi-segment": true + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", diff --git a/cache/ghes-3.8.json b/cache/ghes-3.8.json index d08dc4f..f1c8592 100644 --- a/cache/ghes-3.8.json +++ b/cache/ghes-3.8.json @@ -65912,11 +65912,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, @@ -151507,6 +151514,15 @@ "description": "The unique identifier of the branch policy.", "schema": { "type": "integer" } }, + "git-ref-only": { + "name": "ref", + "description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.", + "in": "path", + "required": true, + "example": "heads/feature-a", + "schema": { "type": "string" }, + "x-multi-segment": true + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", diff --git a/cache/ghes-3.9.json b/cache/ghes-3.9.json index 2a69659..7d83cfb 100644 --- a/cache/ghes-3.9.json +++ b/cache/ghes-3.9.json @@ -67264,11 +67264,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, @@ -153692,6 +153699,15 @@ "description": "The unique identifier of the branch policy.", "schema": { "type": "integer" } }, + "git-ref-only": { + "name": "ref", + "description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.", + "in": "path", + "required": true, + "example": "heads/feature-a", + "schema": { "type": "string" }, + "x-multi-segment": true + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", diff --git a/packages/openapi-webhooks-types-ghec/types.d.ts b/packages/openapi-webhooks-types-ghec/types.d.ts index cc9e134..4339335 100644 --- a/packages/openapi-webhooks-types-ghec/types.d.ts +++ b/packages/openapi-webhooks-types-ghec/types.d.ts @@ -23683,10 +23683,20 @@ export interface components { /** @enum {string} */ action: "added"; changes?: { + /** + * @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain` + * role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role + * assigned to the collaborator, use the `role_name` field instead, which will provide the full + * role name, including custom roles. + */ permission?: { /** @enum {string} */ to: "write" | "admin" | "read"; }; + /** @description The role assigned to the collaborator. */ + role_name?: { + to: string; + }; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; 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 54e42fe..ea26467 100644 --- a/packages/openapi-webhooks-types-ghes-3.10/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.10/types.d.ts @@ -22913,10 +22913,20 @@ export interface components { /** @enum {string} */ action: "added"; changes?: { + /** + * @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain` + * role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role + * assigned to the collaborator, use the `role_name` field instead, which will provide the full + * role name, including custom roles. + */ permission?: { /** @enum {string} */ to: "write" | "admin" | "read"; }; + /** @description The role assigned to the collaborator. */ + role_name?: { + to: string; + }; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; diff --git a/packages/openapi-webhooks-types-ghes-3.11/types.d.ts b/packages/openapi-webhooks-types-ghes-3.11/types.d.ts index e5f73b4..ceda42a 100644 --- a/packages/openapi-webhooks-types-ghes-3.11/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.11/types.d.ts @@ -22989,10 +22989,20 @@ export interface components { /** @enum {string} */ action: "added"; changes?: { + /** + * @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain` + * role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role + * assigned to the collaborator, use the `role_name` field instead, which will provide the full + * role name, including custom roles. + */ permission?: { /** @enum {string} */ to: "write" | "admin" | "read"; }; + /** @description The role assigned to the collaborator. */ + role_name?: { + to: string; + }; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; 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 4ad4e44..ff5356e 100644 --- a/packages/openapi-webhooks-types-ghes-3.12/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.12/types.d.ts @@ -23047,10 +23047,20 @@ export interface components { /** @enum {string} */ action: "added"; changes?: { + /** + * @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain` + * role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role + * assigned to the collaborator, use the `role_name` field instead, which will provide the full + * role name, including custom roles. + */ permission?: { /** @enum {string} */ to: "write" | "admin" | "read"; }; + /** @description The role assigned to the collaborator. */ + role_name?: { + to: string; + }; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; 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 bc8bf6a..b016991 100644 --- a/packages/openapi-webhooks-types-ghes-3.8/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.8/types.d.ts @@ -22098,10 +22098,20 @@ export interface components { /** @enum {string} */ action: "added"; changes?: { + /** + * @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain` + * role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role + * assigned to the collaborator, use the `role_name` field instead, which will provide the full + * role name, including custom roles. + */ permission?: { /** @enum {string} */ to: "write" | "admin" | "read"; }; + /** @description The role assigned to the collaborator. */ + role_name?: { + to: string; + }; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; 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 e24f151..c0e2f5f 100644 --- a/packages/openapi-webhooks-types-ghes-3.9/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.9/types.d.ts @@ -22231,10 +22231,20 @@ export interface components { /** @enum {string} */ action: "added"; changes?: { + /** + * @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain` + * role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role + * assigned to the collaborator, use the `role_name` field instead, which will provide the full + * role name, including custom roles. + */ permission?: { /** @enum {string} */ to: "write" | "admin" | "read"; }; + /** @description The role assigned to the collaborator. */ + role_name?: { + to: string; + }; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; diff --git a/packages/openapi-webhooks-types/types.d.ts b/packages/openapi-webhooks-types/types.d.ts index 403435c..bce8cab 100644 --- a/packages/openapi-webhooks-types/types.d.ts +++ b/packages/openapi-webhooks-types/types.d.ts @@ -23560,10 +23560,20 @@ export interface components { /** @enum {string} */ action: "added"; changes?: { + /** + * @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain` + * role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role + * assigned to the collaborator, use the `role_name` field instead, which will provide the full + * role name, including custom roles. + */ permission?: { /** @enum {string} */ to: "write" | "admin" | "read"; }; + /** @description The role assigned to the collaborator. */ + role_name?: { + to: string; + }; }; installation?: components["schemas"]["simple-installation"]; /** User */ diff --git a/packages/openapi-webhooks/generated/api.github.com.json b/packages/openapi-webhooks/generated/api.github.com.json index 6824a3a..a795c13 100644 --- a/packages/openapi-webhooks/generated/api.github.com.json +++ b/packages/openapi-webhooks/generated/api.github.com.json @@ -52735,11 +52735,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, diff --git a/packages/openapi-webhooks/generated/ghec.json b/packages/openapi-webhooks/generated/ghec.json index 749c220..d089b47 100644 --- a/packages/openapi-webhooks/generated/ghec.json +++ b/packages/openapi-webhooks/generated/ghec.json @@ -52897,11 +52897,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, diff --git a/packages/openapi-webhooks/generated/ghes-3.10.json b/packages/openapi-webhooks/generated/ghes-3.10.json index 7e9cb4f..2945f89 100644 --- a/packages/openapi-webhooks/generated/ghes-3.10.json +++ b/packages/openapi-webhooks/generated/ghes-3.10.json @@ -53228,11 +53228,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, diff --git a/packages/openapi-webhooks/generated/ghes-3.11.json b/packages/openapi-webhooks/generated/ghes-3.11.json index e9170d1..542491c 100644 --- a/packages/openapi-webhooks/generated/ghes-3.11.json +++ b/packages/openapi-webhooks/generated/ghes-3.11.json @@ -53673,11 +53673,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, diff --git a/packages/openapi-webhooks/generated/ghes-3.12.json b/packages/openapi-webhooks/generated/ghes-3.12.json index de0cc2a..7bad7cb 100644 --- a/packages/openapi-webhooks/generated/ghes-3.12.json +++ b/packages/openapi-webhooks/generated/ghes-3.12.json @@ -53911,11 +53911,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, diff --git a/packages/openapi-webhooks/generated/ghes-3.8.json b/packages/openapi-webhooks/generated/ghes-3.8.json index 7160a84..f6d7a73 100644 --- a/packages/openapi-webhooks/generated/ghes-3.8.json +++ b/packages/openapi-webhooks/generated/ghes-3.8.json @@ -50812,11 +50812,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } }, diff --git a/packages/openapi-webhooks/generated/ghes-3.9.json b/packages/openapi-webhooks/generated/ghes-3.9.json index 0ff8e27..b90677d 100644 --- a/packages/openapi-webhooks/generated/ghes-3.9.json +++ b/packages/openapi-webhooks/generated/ghes-3.9.json @@ -51560,11 +51560,18 @@ "type": "object", "properties": { "permission": { + "description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.", "type": "object", "properties": { "to": { "type": "string", "enum": ["write", "admin", "read"] } }, "required": ["to"] + }, + "role_name": { + "description": "The role assigned to the collaborator.", + "type": "object", + "properties": { "to": { "type": "string" } }, + "required": ["to"] } } },