From a260520bd74b1e9053b83e7bc9a3a1d2d3aa7634 Mon Sep 17 00:00:00 2001 From: Drew Powers Date: Mon, 10 Jul 2023 08:53:46 -0600 Subject: [PATCH] Fix 3.1 nullable types --- .changeset/fifty-wasps-move.md | 5 + .changeset/funny-books-smoke.md | 5 + .../examples/github-api-next.ts | 8916 ++++++++--------- .../src/transform/schema-object.ts | 33 +- packages/openapi-typescript/src/types.ts | 68 +- .../test/schema-object.test.ts | 99 +- 6 files changed, 4599 insertions(+), 4527 deletions(-) create mode 100644 .changeset/fifty-wasps-move.md create mode 100644 .changeset/funny-books-smoke.md diff --git a/.changeset/fifty-wasps-move.md b/.changeset/fifty-wasps-move.md new file mode 100644 index 000000000..aa5794d02 --- /dev/null +++ b/.changeset/fifty-wasps-move.md @@ -0,0 +1,5 @@ +--- +"openapi-typescript": patch +--- + +Remove OneOf<> helper for simple type comparisons diff --git a/.changeset/funny-books-smoke.md b/.changeset/funny-books-smoke.md new file mode 100644 index 000000000..a1578a1cb --- /dev/null +++ b/.changeset/funny-books-smoke.md @@ -0,0 +1,5 @@ +--- +"openapi-typescript": patch +--- + +Fix 3.1 nullable types diff --git a/packages/openapi-typescript/examples/github-api-next.ts b/packages/openapi-typescript/examples/github-api-next.ts index d7bd36e77..d83e8ff07 100644 --- a/packages/openapi-typescript/examples/github-api-next.ts +++ b/packages/openapi-typescript/examples/github-api-next.ts @@ -10691,14 +10691,14 @@ export interface components { * @description A GitHub user. */ "simple-user": { - name?: OneOf<[string, null]>; - email?: OneOf<[string, null]>; + name?: string | null; + email?: string | null; login: string; id: number; node_id: string; /** Format: uri */ avatar_url: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -10734,7 +10734,7 @@ export interface components { owner: null | components["schemas"]["simple-user"]; /** @description The name of the GitHub app */ name: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ external_url: string; /** Format: uri */ @@ -10764,7 +10764,7 @@ export interface components { installations_count?: number; client_id?: string; client_secret?: string; - webhook_secret?: OneOf<[string, null]>; + webhook_secret?: string | null; pem?: string; }; /** @@ -10831,22 +10831,22 @@ export interface components { /** @description The event that triggered the delivery. */ event: string; /** @description The type of activity for the event that triggered the delivery. */ - action: OneOf<[string, null]>; + action: string | null; /** @description The id of the GitHub App installation associated with this event. */ - installation_id: OneOf<[number, null]>; + installation_id: number | null; /** @description The id of the repository associated with this event. */ - repository_id: OneOf<[number, null]>; + repository_id: number | null; }; /** * Scim Error * @description Scim Error */ "scim-error": { - message?: OneOf<[string, null]>; - documentation_url?: OneOf<[string, null]>; - detail?: OneOf<[string, null]>; + message?: string | null; + documentation_url?: string | null; + detail?: string | null; status?: number; - scimType?: OneOf<[string, null]>; + scimType?: string | null; schemas?: (string)[]; }; /** @@ -10862,7 +10862,7 @@ export interface components { message?: string; code: string; index?: number; - value?: OneOf<[string, null]> | OneOf<[number, null]> | OneOf<[(string)[], null]>; + value?: (string | null) | (number | null) | ((string)[] | null); })[]; }; /** @@ -10890,30 +10890,30 @@ export interface components { /** @description The event that triggered the delivery. */ event: string; /** @description The type of activity for the event that triggered the delivery. */ - action: OneOf<[string, null]>; + action: string | null; /** @description The id of the GitHub App installation associated with this event. */ - installation_id: OneOf<[number, null]>; + installation_id: number | null; /** @description The id of the repository associated with this event. */ - repository_id: OneOf<[number, null]>; + repository_id: number | null; /** @description The URL target of the delivery. */ url?: string; request: { /** @description The request headers sent with the webhook delivery. */ - headers: OneOf<[{ + headers: { [key: string]: unknown; - }, null]>; + } | null; /** @description The webhook payload. */ - payload: OneOf<[{ + payload: { [key: string]: unknown; - }, null]>; + } | null; }; response: { /** @description The response headers received when the delivery was made. */ - headers: OneOf<[{ + headers: { [key: string]: unknown; - }, null]>; + } | null; /** @description The response payload received. */ - payload: OneOf<[string, null]>; + payload: string | null; }; }; /** @@ -10922,14 +10922,14 @@ export interface components { */ enterprise: { /** @description A short description of the enterprise. */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url: string; /** * Format: uri * @description The enterprise's website URL. */ - website_url?: OneOf<[string, null]>; + website_url?: string | null; /** @description Unique identifier of the enterprise */ id: number; node_id: string; @@ -10938,9 +10938,9 @@ export interface components { /** @description The slug url identifier for the enterprise. */ slug: string; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: date-time */ - updated_at: OneOf<[string, null]>; + updated_at: string | null; /** Format: uri */ avatar_url: string; }; @@ -11146,7 +11146,7 @@ export interface components { installation: { /** @description The ID of the installation. */ id: number; - account: OneOf<[null, components["schemas"]["simple-user"] | components["schemas"]["enterprise"]]>; + account: null | (components["schemas"]["simple-user"] | components["schemas"]["enterprise"]); /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -11168,14 +11168,14 @@ export interface components { created_at: string; /** Format: date-time */ updated_at: string; - single_file_name: OneOf<[string, null]>; + single_file_name: string | null; has_multiple_single_files?: boolean; single_file_paths?: (string)[]; app_slug: string; suspended_by: null | components["schemas"]["simple-user"]; /** Format: date-time */ - suspended_at: OneOf<[string, null]>; - contact_email?: OneOf<[string, null]>; + suspended_at: string | null; + contact_email?: string | null; }; /** * License Simple @@ -11185,8 +11185,8 @@ export interface components { key: string; name: string; /** Format: uri */ - url: OneOf<[string, null]>; - spdx_id: OneOf<[string, null]>; + url: string | null; + spdx_id: string | null; node_id: string; /** Format: uri */ html_url?: string; @@ -11220,7 +11220,7 @@ export interface components { private: boolean; /** Format: uri */ html_url: string; - description: OneOf<[string, null]>; + description: string | null; fork: boolean; /** Format: uri */ url: string; @@ -11275,14 +11275,14 @@ export interface components { trees_url: string; clone_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ svn_url: string; /** Format: uri */ - homepage: OneOf<[string, null]>; - language: OneOf<[string, null]>; + homepage: string | null; + language: string | null; forks_count: number; stargazers_count: number; watchers_count: number; @@ -11336,17 +11336,17 @@ export interface components { */ visibility?: string; /** Format: date-time */ - pushed_at: OneOf<[string, null]>; + pushed_at: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: date-time */ - updated_at: OneOf<[string, null]>; + updated_at: string | null; /** * @description Whether to allow rebase merges for pull requests. * @default true */ allow_rebase_merge?: boolean; - template_repository?: OneOf<[{ + template_repository?: ({ id?: number; node_id?: string; name?: string; @@ -11489,7 +11489,7 @@ export interface components { allow_merge_commit?: boolean; subscribers_count?: number; network_count?: number; - }, null]>; + }) | null; temp_clone_token?: string; /** * @description Whether to allow squash merges for pull requests. @@ -11595,7 +11595,7 @@ export interface components { * @enum {string} */ repository_selection: "all" | "selected"; - single_file_name: OneOf<[string, null]>; + single_file_name: string | null; has_multiple_single_files?: boolean; single_file_paths?: (string)[]; /** Format: uri */ @@ -11611,28 +11611,28 @@ export interface components { /** Format: uri */ url: string; /** @description A list of scopes that this authorization is in. */ - scopes: OneOf<[(string)[], null]>; + scopes: (string)[] | null; token: string; - token_last_eight: OneOf<[string, null]>; - hashed_token: OneOf<[string, null]>; + token_last_eight: string | null; + hashed_token: string | null; app: { client_id: string; name: string; /** Format: uri */ url: string; }; - note: OneOf<[string, null]>; + note: string | null; /** Format: uri */ - note_url: OneOf<[string, null]>; + note_url: string | null; /** Format: date-time */ updated_at: string; /** Format: date-time */ created_at: string; - fingerprint: OneOf<[string, null]>; + fingerprint: string | null; user?: null | components["schemas"]["simple-user"]; installation?: null | components["schemas"]["scoped-installation"]; /** Format: date-time */ - expires_at: OneOf<[string, null]>; + expires_at: string | null; }; /** * Code Of Conduct @@ -11645,7 +11645,7 @@ export interface components { url: string; body?: string; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; }; /** @description The security alert number. */ readonly "alert-number": number; @@ -11667,17 +11667,17 @@ export interface components { /** @description Conditions that identify vulnerable versions of this vulnerability's package. */ readonly vulnerable_version_range: string; /** @description Details pertaining to the package version that patches this vulnerability. */ - readonly first_patched_version: OneOf<[{ + readonly first_patched_version: { /** @description The package version that patches this vulnerability. */ readonly identifier: string; - }, null]>; + } | null; }; /** @description Details for the GitHub Security Advisory. */ readonly "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. */ - readonly cve_id: OneOf<[string, null]>; + readonly cve_id: string | null; /** @description A short, plain text summary of the advisory. */ readonly summary: string; /** @description A long-form Markdown-supported description of the advisory. */ @@ -11694,7 +11694,7 @@ export interface components { /** @description The overall CVSS score of the advisory. */ readonly score: number; /** @description The full CVSS vector string for the advisory. */ - readonly vector_string: OneOf<[string, null]>; + readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ readonly cwes: readonly ({ @@ -11735,7 +11735,7 @@ export interface components { * Format: date-time * @description The time that the advisory was withdrawn in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly withdrawn_at: OneOf<[string, null]>; + readonly withdrawn_at: string | null; }; /** * Format: uri @@ -11761,17 +11761,17 @@ export interface components { * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - readonly "alert-dismissed-at": OneOf<[string, null]>; + readonly "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": OneOf<[string, null]>; + readonly "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": OneOf<[string, null]>; + readonly "alert-auto-dismissed-at": string | null; /** * Simple Repository * @description A GitHub repository. @@ -11794,7 +11794,7 @@ export interface components { */ html_url: string; /** @description The repository description. */ - description: OneOf<[string, null]>; + description: string | null; /** @description Whether the repository is a fork. */ fork: boolean; /** @@ -11947,7 +11947,7 @@ export interface components { */ dismissed_reason: "fix_started" | "inaccurate" | "no_bandwidth" | "not_used" | "tolerable_risk" | null; /** @description An optional comment associated with the alert's dismissal. */ - dismissed_comment: OneOf<[string, null]>; + dismissed_comment: string | null; fixed_at: components["schemas"]["alert-fixed-at"]; auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; repository: components["schemas"]["simple-repository"]; @@ -11979,7 +11979,7 @@ export interface components { * Format: date-time * @description The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - resolved_at?: OneOf<[string, null]>; + resolved_at?: string | null; resolved_by?: null | components["schemas"]["simple-user"]; /** @description The type of secret that secret scanning detected. */ secret_type?: string; @@ -11992,15 +11992,15 @@ export interface components { secret?: string; repository?: components["schemas"]["simple-repository"]; /** @description Whether push protection was bypassed for the detected secret. */ - push_protection_bypassed?: OneOf<[boolean, null]>; + push_protection_bypassed?: boolean | null; push_protection_bypassed_by?: null | components["schemas"]["simple-user"]; /** * Format: date-time * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - push_protection_bypassed_at?: OneOf<[string, null]>; + push_protection_bypassed_at?: string | null; /** @description The comment that was optionally added when this alert was closed */ - resolution_comment?: OneOf<[string, null]>; + resolution_comment?: string | null; }; /** * Actor @@ -12010,7 +12010,7 @@ export interface components { id: number; login: string; display_login?: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -12039,7 +12039,7 @@ export interface components { state: "open" | "closed"; /** @description The title of the milestone. */ title: string; - description: OneOf<[string, null]>; + description: string | null; creator: null | components["schemas"]["simple-user"]; open_issues: number; closed_issues: number; @@ -12048,9 +12048,9 @@ export interface components { /** Format: date-time */ updated_at: string; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; }; /** * author_association @@ -12106,7 +12106,7 @@ export interface components { /** @description Title of the issue */ title: string; /** @description Contents of the issue */ - body?: OneOf<[string, null]>; + body?: string | null; user: null | components["schemas"]["simple-user"]; /** @description Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository */ labels: (OneOf<[string, { @@ -12116,30 +12116,30 @@ export interface components { /** Format: uri */ url?: string; name?: string; - description?: OneOf<[string, null]>; - color?: OneOf<[string, null]>; + description?: string | null; + color?: string | null; default?: boolean; }]>)[]; assignee: null | components["schemas"]["simple-user"]; - assignees?: OneOf<[(components["schemas"]["simple-user"])[], null]>; + assignees?: (components["schemas"]["simple-user"])[] | null; milestone: null | components["schemas"]["milestone"]; locked: boolean; - active_lock_reason?: OneOf<[string, null]>; + active_lock_reason?: string | null; comments: number; pull_request?: { /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ - diff_url: OneOf<[string, null]>; + diff_url: string | null; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; /** Format: uri */ - patch_url: OneOf<[string, null]>; + patch_url: string | null; /** Format: uri */ - url: OneOf<[string, null]>; + url: string | null; }; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -12194,7 +12194,7 @@ export interface components { */ event: { id: string; - type: OneOf<[string, null]>; + type: string | null; actor: components["schemas"]["actor"]; repo: { id: number; @@ -12210,7 +12210,7 @@ export interface components { pages?: ({ page_name?: string; title?: string; - summary?: OneOf<[string, null]>; + summary?: string | null; action?: string; sha?: string; html_url?: string; @@ -12218,7 +12218,7 @@ export interface components { }; public: boolean; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; }; /** * Link With Type @@ -12291,7 +12291,7 @@ export interface components { created_at: string; /** Format: date-time */ updated_at: string; - description: OneOf<[string, null]>; + description: string | null; comments: number; user: null | components["schemas"]["simple-user"]; /** Format: uri */ @@ -12311,7 +12311,7 @@ export interface components { node_id: string; /** Format: uri */ avatar_url: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -12332,15 +12332,15 @@ export interface components { received_events_url: string; type: string; site_admin: boolean; - name: OneOf<[string, null]>; - company: OneOf<[string, null]>; - blog: OneOf<[string, null]>; - location: OneOf<[string, null]>; + name: string | null; + company: string | null; + blog: string | null; + location: string | null; /** Format: email */ - email: OneOf<[string, null]>; - hireable: OneOf<[boolean, null]>; - bio: OneOf<[string, null]>; - twitter_username?: OneOf<[string, null]>; + email: string | null; + hireable: boolean | null; + bio: string | null; + twitter_username?: string | null; public_repos: number; public_gists: number; followers: number; @@ -12356,7 +12356,7 @@ export interface components { private_repos: number; }; /** Format: date-time */ - suspended_at?: OneOf<[string, null]>; + suspended_at?: string | null; private_gists?: number; total_private_repos?: number; owned_private_repos?: number; @@ -12386,7 +12386,7 @@ export interface components { */ "gist-simple": { /** @deprecated */ - forks?: OneOf<[({ + forks?: ({ id?: string; /** Format: uri */ url?: string; @@ -12395,14 +12395,14 @@ export interface components { created_at?: string; /** Format: date-time */ updated_at?: string; - })[], null]>; + })[] | null; /** @deprecated */ - history?: OneOf<[(components["schemas"]["gist-history"])[], null]>; + history?: (components["schemas"]["gist-history"])[] | null; /** * Gist * @description Gist */ - fork_of?: OneOf<[{ + fork_of?: ({ /** Format: uri */ url: string; /** Format: uri */ @@ -12431,7 +12431,7 @@ export interface components { created_at: string; /** Format: date-time */ updated_at: string; - description: OneOf<[string, null]>; + description: string | null; comments: number; user: null | components["schemas"]["simple-user"]; /** Format: uri */ @@ -12440,7 +12440,7 @@ export interface components { truncated?: boolean; forks?: (unknown)[]; history?: (unknown)[]; - }, null]>; + }) | null; url?: string; forks_url?: string; commits_url?: string; @@ -12450,7 +12450,7 @@ export interface components { git_push_url?: string; html_url?: string; files?: { - [key: string]: OneOf<[{ + [key: string]: ({ filename?: string; type?: string; language?: string; @@ -12458,14 +12458,14 @@ export interface components { size?: number; truncated?: boolean; content?: string; - }, null]> | undefined; + } | null) | undefined; }; public?: boolean; created_at?: string; updated_at?: string; - description?: OneOf<[string, null]>; + description?: string | null; comments?: number; - user?: OneOf<[string, null]>; + user?: string | null; comments_url?: string; owner?: components["schemas"]["simple-user"]; truncated?: boolean; @@ -12520,9 +12520,9 @@ export interface components { license: { key: string; name: string; - spdx_id: OneOf<[string, null]>; + spdx_id: string | null; /** Format: uri */ - url: OneOf<[string, null]>; + url: string | null; node_id: string; /** Format: uri */ html_url: string; @@ -12552,7 +12552,7 @@ export interface components { /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; has_free_trial: boolean; - unit_name: OneOf<[string, null]>; + unit_name: string | null; state: string; bullets: (string)[]; }; @@ -12566,21 +12566,21 @@ export interface components { id: number; login: string; organization_billing_email?: string; - email?: OneOf<[string, null]>; - marketplace_pending_change?: OneOf<[{ + email?: string | null; + marketplace_pending_change?: ({ is_installed?: boolean; effective_date?: string; - unit_count?: OneOf<[number, null]>; + unit_count?: number | null; id?: number; plan?: components["schemas"]["marketplace-listing-plan"]; - }, null]>; + }) | null; marketplace_purchase: { billing_cycle?: string; - next_billing_date?: OneOf<[string, null]>; + next_billing_date?: string | null; is_installed?: boolean; - unit_count?: OneOf<[number, null]>; + unit_count?: number | null; on_free_trial?: boolean; - free_trial_ends_on?: OneOf<[string, null]>; + free_trial_ends_on?: string | null; updated_at?: string; plan?: components["schemas"]["marketplace-listing-plan"]; }; @@ -12614,7 +12614,7 @@ export interface components { packages?: (string)[]; }; }; - "security-and-analysis": OneOf<[{ + "security-and-analysis": ({ advanced_security?: { /** @enum {string} */ status?: "enabled" | "disabled"; @@ -12635,7 +12635,7 @@ export interface components { /** @enum {string} */ status?: "enabled" | "disabled"; }; - }, null]>; + }) | null; /** * Minimal Repository * @description Minimal Repository @@ -12649,7 +12649,7 @@ export interface components { private: boolean; /** Format: uri */ html_url: string; - description: OneOf<[string, null]>; + description: string | null; fork: boolean; /** Format: uri */ url: string; @@ -12703,12 +12703,12 @@ export interface components { teams_url: string; trees_url: string; clone_url?: string; - mirror_url?: OneOf<[string, null]>; + mirror_url?: string | null; /** Format: uri */ hooks_url: string; svn_url?: string; - homepage?: OneOf<[string, null]>; - language?: OneOf<[string, null]>; + homepage?: string | null; + language?: string | null; forks_count?: number; stargazers_count?: number; watchers_count?: number; @@ -12728,11 +12728,11 @@ export interface components { disabled?: boolean; visibility?: string; /** Format: date-time */ - pushed_at?: OneOf<[string, null]>; + pushed_at?: string | null; /** Format: date-time */ - created_at?: OneOf<[string, null]>; + created_at?: string | null; /** Format: date-time */ - updated_at?: OneOf<[string, null]>; + updated_at?: string | null; permissions?: { admin?: boolean; maintain?: boolean; @@ -12746,13 +12746,13 @@ export interface components { subscribers_count?: number; network_count?: number; code_of_conduct?: components["schemas"]["code-of-conduct"]; - license?: OneOf<[{ + license?: { key?: string; name?: string; spdx_id?: string; url?: string; node_id?: string; - }, null]>; + } | null; forks?: number; open_issues?: number; watchers?: number; @@ -12776,7 +12776,7 @@ export interface components { reason: string; unread: boolean; updated_at: string; - last_read_at: OneOf<[string, null]>; + last_read_at: string | null; url: string; subscription_url: string; }; @@ -12787,9 +12787,9 @@ export interface components { "thread-subscription": { subscribed: boolean; ignored: boolean; - reason: OneOf<[string, null]>; + reason: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -12816,7 +12816,7 @@ export interface components { members_url: string; public_members_url: string; avatar_url: string; - description: OneOf<[string, null]>; + description: string | null; }; /** * Organization Full @@ -12837,7 +12837,7 @@ export interface components { members_url: string; public_members_url: string; avatar_url: string; - description: OneOf<[string, null]>; + description: string | null; name?: string; company?: string; /** Format: uri */ @@ -12845,7 +12845,7 @@ export interface components { location?: string; /** Format: email */ email?: string; - twitter_username?: OneOf<[string, null]>; + twitter_username?: string | null; is_verified?: boolean; has_organization_projects: boolean; has_repository_projects: boolean; @@ -12858,11 +12858,11 @@ export interface components { type: string; total_private_repos?: number; owned_private_repos?: number; - private_gists?: OneOf<[number, null]>; - disk_usage?: OneOf<[number, null]>; - collaborators?: OneOf<[number, null]>; + private_gists?: number | null; + disk_usage?: number | null; + collaborators?: number | null; /** Format: email */ - billing_email?: OneOf<[string, null]>; + billing_email?: string | null; plan?: { name: string; space: number; @@ -12870,9 +12870,9 @@ export interface components { filled_seats?: number; seats?: number; }; - default_repository_permission?: OneOf<[string, null]>; - members_can_create_repositories?: OneOf<[boolean, null]>; - two_factor_requirement_enabled?: OneOf<[boolean, null]>; + default_repository_permission?: string | null; + members_can_create_repositories?: boolean | null; + two_factor_requirement_enabled?: boolean | null; members_allowed_repository_creation_type?: string; members_can_create_public_repositories?: boolean; members_can_create_private_repositories?: boolean; @@ -12880,7 +12880,7 @@ export interface components { members_can_create_pages?: boolean; members_can_create_public_pages?: boolean; members_can_create_private_pages?: boolean; - members_can_fork_private_repositories?: OneOf<[boolean, null]>; + members_can_fork_private_repositories?: boolean | null; web_commit_signoff_required?: boolean; /** * @description Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. @@ -12926,13 +12926,13 @@ export interface components { /** @description Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. */ secret_scanning_push_protection_custom_link_enabled?: boolean; /** @description An optional URL string to display to contributors who are blocked from pushing a secret. */ - secret_scanning_push_protection_custom_link?: OneOf<[string, null]>; + secret_scanning_push_protection_custom_link?: string | null; /** Format: date-time */ created_at: string; /** Format: date-time */ updated_at: string; /** Format: date-time */ - archived_at: OneOf<[string, null]>; + archived_at: string | null; }; "actions-cache-usage-org-enterprise": { /** @description The count of active caches across all repositories of an enterprise or an organization. */ @@ -13072,7 +13072,7 @@ export interface components { permissions?: Record; /** @description The repositories this token has access to */ repositories?: (components["schemas"]["repository"])[]; - single_file?: OneOf<[string, null]>; + single_file?: string | null; /** * @description Describe whether all repositories have been selected or there's a selection involved * @enum {string} @@ -13142,7 +13142,7 @@ export interface components { /** @description The name of the tool used to generate the code scanning analysis. */ "code-scanning-analysis-tool-name": string; /** @description The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. */ - "code-scanning-analysis-tool-guid": OneOf<[string, null]>; + "code-scanning-analysis-tool-guid": string | null; /** * @description State of a code scanning alert. * @enum {string} @@ -13169,10 +13169,10 @@ export interface components { */ "code-scanning-alert-dismissed-reason": null | "false positive" | "won't fix" | "used in tests"; /** @description The dismissal comment associated with the dismissal of the alert. */ - "code-scanning-alert-dismissed-comment": OneOf<[string, null]>; + "code-scanning-alert-dismissed-comment": string | null; "code-scanning-alert-rule": { /** @description A unique identifier for the rule used to detect the alert. */ - id?: OneOf<[string, null]>; + id?: string | null; /** @description The name of the rule used to detect the alert. */ name?: string; /** @@ -13190,14 +13190,14 @@ export interface components { /** @description description of the rule used to detect the alert. */ full_description?: string; /** @description A set of tags applicable for the rule. */ - tags?: OneOf<[(string)[], null]>; + tags?: (string)[] | null; /** @description Detailed documentation for the rule as GitHub Flavored Markdown. */ - help?: OneOf<[string, null]>; + help?: string | null; /** @description A link to the documentation for the rule used to detect the alert. */ - help_uri?: OneOf<[string, null]>; + help_uri?: string | null; }; /** @description The version of the tool used to generate the code scanning analysis. */ - "code-scanning-analysis-tool-version": OneOf<[string, null]>; + "code-scanning-analysis-tool-version": string | null; "code-scanning-analysis-tool": { name?: components["schemas"]["code-scanning-analysis-tool-name"]; version?: components["schemas"]["code-scanning-analysis-tool-version"]; @@ -13295,17 +13295,17 @@ export interface components { /** @description Automatically generated name of this codespace. */ name: string; /** @description Display name for this codespace. */ - display_name?: OneOf<[string, null]>; + display_name?: string | null; /** @description UUID identifying this codespace's environment. */ - environment_id: OneOf<[string, null]>; + environment_id: string | null; owner: components["schemas"]["simple-user"]; billable_owner: components["schemas"]["simple-user"]; repository: components["schemas"]["minimal-repository"]; machine: null | components["schemas"]["codespace-machine"]; /** @description Path to devcontainer.json from repo root used to create Codespace. */ - devcontainer_path?: OneOf<[string, null]>; + devcontainer_path?: string | null; /** @description Whether the codespace was created from a prebuild. */ - prebuild: OneOf<[boolean, null]>; + prebuild: boolean | null; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -13344,7 +13344,7 @@ export interface components { */ location: "EastUs" | "SouthEastAsia" | "WestEurope" | "WestUs2"; /** @description The number of minutes of inactivity after which this codespace will be automatically stopped. */ - idle_timeout_minutes: OneOf<[number, null]>; + idle_timeout_minutes: number | null; /** * Format: uri * @description URL to access this codespace on the web. @@ -13369,32 +13369,32 @@ export interface components { * Format: uri * @description API URL to publish this codespace to a new repository. */ - publish_url?: OneOf<[string, null]>; + publish_url?: string | null; /** * Format: uri * @description API URL for the Pull Request associated with this codespace, if any. */ - pulls_url: OneOf<[string, null]>; + pulls_url: string | null; recent_folders: (string)[]; runtime_constraints?: { /** @description The privacy settings a user can select from when forwarding a port. */ - allowed_port_privacy_settings?: OneOf<[(string)[], null]>; + allowed_port_privacy_settings?: (string)[] | null; }; /** @description Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it. */ - pending_operation?: OneOf<[boolean, null]>; + pending_operation?: boolean | null; /** @description Text to show user when codespace is disabled by a pending operation */ - pending_operation_disabled_reason?: OneOf<[string, null]>; + pending_operation_disabled_reason?: string | null; /** @description Text to show user when codespace idle timeout minutes has been overriden by an organization policy */ - idle_timeout_notice?: OneOf<[string, null]>; + idle_timeout_notice?: string | null; /** @description Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days). */ - retention_period_minutes?: OneOf<[number, null]>; + retention_period_minutes?: number | null; /** * Format: date-time * @description When a codespace will be auto-deleted based on the "retention_period_minutes" and "last_used_at" */ - retention_expires_at?: OneOf<[string, null]>; + retention_expires_at?: string | null; /** @description The text to display to a user when a codespace has been stopped for a potentially actionable reason. */ - last_known_stop_notice?: OneOf<[string, null]>; + last_known_stop_notice?: string | null; }; /** * Codespaces Secret @@ -13497,12 +13497,12 @@ export interface components { */ "organization-invitation": { id: number; - login: OneOf<[string, null]>; - email: OneOf<[string, null]>; + login: string | null; + email: string | null; role: string; created_at: string; - failed_at?: OneOf<[string, null]>; - failed_reason?: OneOf<[string, null]>; + failed_at?: string | null; + failed_reason?: string | null; inviter: components["schemas"]["simple-user"]; team_count: number; node_id: string; @@ -13581,7 +13581,7 @@ export interface components { /** @description Name of the team */ name: string; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @description The level of privacy this team should have */ @@ -13605,7 +13605,7 @@ export interface components { node_id: string; name: string; slug: string; - description: OneOf<[string, null]>; + description: string | null; privacy?: string; notification_setting?: string; permission: string; @@ -13722,7 +13722,7 @@ export interface components { /** @description Unique identifier of the request for access via fine-grained personal access token. The `pat_request_id` used to review PAT requests. */ id: number; /** @description Reason for requesting access. */ - reason: OneOf<[string, null]>; + reason: string | null; owner: components["schemas"]["simple-user"]; /** * @description Type of repository selection requested. @@ -13748,9 +13748,9 @@ export interface components { /** @description Whether the associated fine-grained personal access token has expired. */ token_expired: boolean; /** @description Date and time when the associated fine-grained personal access token expires. */ - token_expires_at: OneOf<[string, null]>; + token_expires_at: string | null; /** @description Date and time when the associated fine-grained personal access token was last used for authentication. */ - token_last_used_at: OneOf<[string, null]>; + token_last_used_at: string | null; }; /** * Organization Programmatic Access Grant @@ -13784,9 +13784,9 @@ export interface components { /** @description Whether the associated fine-grained personal access token has expired. */ token_expired: boolean; /** @description Date and time when the associated fine-grained personal access token expires. */ - token_expires_at: OneOf<[string, null]>; + token_expires_at: string | null; /** @description Date and time when the associated fine-grained personal access token was last used for authentication. */ - token_last_used_at: OneOf<[string, null]>; + token_last_used_at: string | null; }; /** * Project @@ -13806,7 +13806,7 @@ export interface components { /** @description Name of the project */ name: string; /** @description Body of the project */ - body: OneOf<[string, null]>; + body: string | null; number: number; /** @description State of the project; either 'open' or 'closed' */ state: string; @@ -14353,7 +14353,7 @@ export interface components { members_url: string; public_members_url: string; avatar_url: string; - description: OneOf<[string, null]>; + description: string | null; name?: string; company?: string; /** Format: uri */ @@ -14361,7 +14361,7 @@ export interface components { location?: string; /** Format: email */ email?: string; - twitter_username?: OneOf<[string, null]>; + twitter_username?: string | null; is_verified?: boolean; has_organization_projects: boolean; has_repository_projects: boolean; @@ -14376,11 +14376,11 @@ export interface components { type: string; total_private_repos?: number; owned_private_repos?: number; - private_gists?: OneOf<[number, null]>; - disk_usage?: OneOf<[number, null]>; - collaborators?: OneOf<[number, null]>; + private_gists?: number | null; + disk_usage?: number | null; + collaborators?: number | null; /** Format: email */ - billing_email?: OneOf<[string, null]>; + billing_email?: string | null; plan?: { name: string; space: number; @@ -14388,9 +14388,9 @@ export interface components { filled_seats?: number; seats?: number; }; - default_repository_permission?: OneOf<[string, null]>; - members_can_create_repositories?: OneOf<[boolean, null]>; - two_factor_requirement_enabled?: OneOf<[boolean, null]>; + default_repository_permission?: string | null; + members_can_create_repositories?: boolean | null; + two_factor_requirement_enabled?: boolean | null; members_allowed_repository_creation_type?: string; members_can_create_public_repositories?: boolean; members_can_create_private_repositories?: boolean; @@ -14398,12 +14398,12 @@ export interface components { members_can_create_pages?: boolean; members_can_create_public_pages?: boolean; members_can_create_private_pages?: boolean; - members_can_fork_private_repositories?: OneOf<[boolean, null]>; + members_can_fork_private_repositories?: boolean | null; web_commit_signoff_required?: boolean; /** Format: date-time */ updated_at: string; /** Format: date-time */ - archived_at: OneOf<[string, null]>; + archived_at: string | null; }; /** * Full Team @@ -14423,7 +14423,7 @@ export interface components { /** @description Name of the team */ name: string; slug: string; - description: OneOf<[string, null]>; + description: string | null; /** * @description The level of privacy this team should have * @enum {string} @@ -14467,7 +14467,7 @@ export interface components { /** Format: date-time */ created_at: string; /** Format: date-time */ - last_edited_at: OneOf<[string, null]>; + last_edited_at: string | null; /** Format: uri */ html_url: string; node_id: string; @@ -14501,7 +14501,7 @@ export interface components { /** Format: date-time */ created_at: string; /** Format: date-time */ - last_edited_at: OneOf<[string, null]>; + last_edited_at: string | null; /** Format: uri */ discussion_url: string; /** Format: uri */ @@ -14562,7 +14562,7 @@ export interface components { id: number; node_id: string; name: string; - body: OneOf<[string, null]>; + body: string | null; number: number; state: string; creator: components["schemas"]["simple-user"]; @@ -14607,7 +14607,7 @@ export interface components { private: boolean; /** Format: uri */ html_url: string; - description: OneOf<[string, null]>; + description: string | null; fork: boolean; /** Format: uri */ url: string; @@ -14662,14 +14662,14 @@ export interface components { trees_url: string; clone_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ svn_url: string; /** Format: uri */ - homepage: OneOf<[string, null]>; - language: OneOf<[string, null]>; + homepage: string | null; + language: string | null; forks_count: number; stargazers_count: number; watchers_count: number; @@ -14717,11 +14717,11 @@ export interface components { */ visibility?: string; /** Format: date-time */ - pushed_at: OneOf<[string, null]>; + pushed_at: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: date-time */ - updated_at: OneOf<[string, null]>; + updated_at: string | null; /** * @description Whether to allow rebase merges for pull requests. * @default true @@ -14780,7 +14780,7 @@ export interface components { /** @description The project card's ID */ id: number; node_id: string; - note: OneOf<[string, null]>; + note: string | null; creator: null | components["schemas"]["simple-user"]; /** Format: date-time */ created_at: string; @@ -14862,7 +14862,7 @@ export interface components { key: string; name: string; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; }; /** * Full Repository @@ -14877,7 +14877,7 @@ export interface components { private: boolean; /** Format: uri */ html_url: string; - description: OneOf<[string, null]>; + description: string | null; fork: boolean; /** Format: uri */ url: string; @@ -14932,14 +14932,14 @@ export interface components { trees_url: string; clone_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ svn_url: string; /** Format: uri */ - homepage: OneOf<[string, null]>; - language: OneOf<[string, null]>; + homepage: string | null; + language: string | null; forks_count: number; stargazers_count: number; watchers_count: number; @@ -14975,7 +14975,7 @@ export interface components { }; allow_rebase_merge?: boolean; template_repository?: null | components["schemas"]["repository"]; - temp_clone_token?: OneOf<[string, null]>; + temp_clone_token?: string | null; allow_squash_merge?: boolean; allow_auto_merge?: boolean; delete_branch_on_merge?: boolean; @@ -15052,18 +15052,18 @@ export interface components { /** @description Whether or not the artifact has expired. */ expired: boolean; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: date-time */ - expires_at: OneOf<[string, null]>; + expires_at: string | null; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - workflow_run?: OneOf<[{ + updated_at: string | null; + workflow_run?: { id?: number; repository_id?: number; head_repository_id?: number; head_branch?: string; head_sha?: string; - }, null]>; + } | null; }; /** * Repository actions caches @@ -15101,7 +15101,7 @@ export interface components { /** @description The SHA of the commit that is being run. */ head_sha: string; url: string; - html_url: OneOf<[string, null]>; + html_url: string | null; /** * @description The phase of the lifecycle that the job is currently in. * @enum {string} @@ -15126,7 +15126,7 @@ export interface components { * Format: date-time * @description The time that the job finished, in ISO 8601 format. */ - completed_at: OneOf<[string, null]>; + completed_at: string | null; /** @description The name of the job. */ name: string; /** @description Steps in this job. */ @@ -15137,7 +15137,7 @@ export interface components { */ status: "queued" | "in_progress" | "completed"; /** @description The outcome of the job. */ - conclusion: OneOf<[string, null]>; + conclusion: string | null; /** @description The name of the job. */ name: string; number: number; @@ -15145,28 +15145,28 @@ export interface components { * Format: date-time * @description The time that the step started, in ISO 8601 format. */ - started_at?: OneOf<[string, null]>; + started_at?: string | null; /** * Format: date-time * @description The time that the job finished, in ISO 8601 format. */ - completed_at?: OneOf<[string, null]>; + completed_at?: string | null; })[]; check_run_url: string; /** @description Labels for the workflow job. Specified by the "runs_on" attribute in the action's workflow file. */ labels: (string)[]; /** @description The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.) */ - runner_id: OneOf<[number, null]>; + runner_id: number | null; /** @description The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.) */ - runner_name: OneOf<[string, null]>; + runner_name: string | null; /** @description The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.) */ - runner_group_id: OneOf<[number, null]>; + runner_group_id: number | null; /** @description The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.) */ - runner_group_name: OneOf<[string, null]>; + runner_group_name: string | null; /** @description The name of the workflow. */ - workflow_name: OneOf<[string, null]>; + workflow_name: string | null; /** @description The name of the current branch. */ - head_branch: OneOf<[string, null]>; + head_branch: string | null; }; /** * Actions OIDC subject customization for a repository @@ -15274,7 +15274,7 @@ export interface components { */ timestamp: string; /** @description Information about the Git author */ - author: OneOf<[{ + author: { /** @description Name of the commit's author */ name: string; /** @@ -15282,9 +15282,9 @@ export interface components { * @description Git email address of the commit's author */ email: string; - }, null]>; + } | null; /** @description Information about the Git committer */ - committer: OneOf<[{ + committer: { /** @description Name of the commit's committer */ name: string; /** @@ -15292,7 +15292,7 @@ export interface components { * @description Git email address of the commit's committer */ email: string; - }, null]>; + } | null; }; /** * Workflow Run @@ -15302,13 +15302,13 @@ export interface components { /** @description The ID of the workflow run. */ id: number; /** @description The name of the workflow run. */ - name?: OneOf<[string, null]>; + name?: string | null; node_id: string; /** @description The ID of the associated check suite. */ check_suite_id?: number; /** @description The node ID of the associated check suite. */ check_suite_node_id?: string; - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** @description The SHA of the head commit that points to the version of the workflow being run. */ head_sha: string; /** @description The full path of the workflow */ @@ -15317,17 +15317,17 @@ export interface components { run_number: number; /** @description Attempt number of the run, 1 for first attempt and higher if the workflow was re-run. */ run_attempt?: number; - referenced_workflows?: OneOf<[(components["schemas"]["referenced-workflow"])[], null]>; + referenced_workflows?: (components["schemas"]["referenced-workflow"])[] | null; event: string; - status: OneOf<[string, null]>; - conclusion: OneOf<[string, null]>; + status: string | null; + conclusion: string | null; /** @description The ID of the parent workflow. */ workflow_id: number; /** @description The URL to the workflow run. */ url: string; html_url: string; /** @description Pull requests that are open with a `head_sha` or `head_branch` that matches the workflow run. The returned pull requests do not necessarily indicate pull requests that triggered the run. */ - pull_requests: OneOf<[(components["schemas"]["pull-request-minimal"])[], null]>; + pull_requests: (components["schemas"]["pull-request-minimal"])[] | null; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -15352,7 +15352,7 @@ export interface components { /** @description The URL to rerun the workflow run. */ rerun_url: string; /** @description The URL to the previous attempted run of this workflow, if one exists. */ - previous_attempt_url?: OneOf<[string, null]>; + previous_attempt_url?: string | null; /** @description The URL to the workflow. */ workflow_url: string; head_commit: null | components["schemas"]["simple-commit"]; @@ -15438,7 +15438,7 @@ export interface components { * Format: date-time * @description The time that the wait timer began. */ - wait_timer_started_at: OneOf<[string, null]>; + wait_timer_started_at: string | null; /** @description Whether the currently authenticated user can approve the deployment */ current_user_can_approve: boolean; /** @description The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. */ @@ -15468,7 +15468,7 @@ export interface components { original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; - description: OneOf<[string, null]>; + description: string | null; creator: null | components["schemas"]["simple-user"]; /** Format: date-time */ created_at: string; @@ -15578,7 +15578,7 @@ export interface components { contexts: (string)[]; checks: ({ context: string; - app_id: OneOf<[number, null]>; + app_id: number | null; })[]; contexts_url?: string; strict?: boolean; @@ -15668,13 +15668,13 @@ export interface components { html_url?: string; name?: string; slug?: string; - description?: OneOf<[string, null]>; + description?: string | null; privacy?: string; notification_setting?: string; permission?: string; members_url?: string; repositories_url?: string; - parent?: OneOf<[string, null]>; + parent?: string | null; })[]; apps: ({ id?: number; @@ -15793,8 +15793,8 @@ export interface components { verification: { verified: boolean; reason: string; - payload: OneOf<[string, null]>; - signature: OneOf<[string, null]>; + payload: string | null; + signature: string | null; }; /** * Diff Entry @@ -15890,7 +15890,7 @@ export interface components { contexts: (string)[]; checks: ({ context: string; - app_id: OneOf<[number, null]>; + app_id: number | null; })[]; /** Format: uri */ contexts_url: string; @@ -15983,7 +15983,7 @@ export interface components { original_environment?: string; /** @description Name for the target deployment environment. */ environment: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -16008,10 +16008,10 @@ export interface components { /** @description The SHA of the commit that is being checked. */ head_sha: string; node_id: string; - external_id: OneOf<[string, null]>; + external_id: string | null; url: string; - html_url: OneOf<[string, null]>; - details_url: OneOf<[string, null]>; + html_url: string | null; + details_url: string | null; /** * @description The phase of the lifecycle that the check is currently in. * @enum {string} @@ -16020,22 +16020,22 @@ export interface components { /** @enum {string|null} */ conclusion: "success" | "failure" | "neutral" | "cancelled" | "skipped" | "timed_out" | "action_required" | null; /** Format: date-time */ - started_at: OneOf<[string, null]>; + started_at: string | null; /** Format: date-time */ - completed_at: OneOf<[string, null]>; + completed_at: string | null; output: { - title: OneOf<[string, null]>; - summary: OneOf<[string, null]>; - text: OneOf<[string, null]>; + title: string | null; + summary: string | null; + text: string | null; annotations_count: number; /** Format: uri */ annotations_url: string; }; /** @description The name of the check. */ name: string; - check_suite: OneOf<[{ + check_suite: { id: number; - }, null]>; + } | null; app: null | components["schemas"]["integration"]; /** @description Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. */ pull_requests: (components["schemas"]["pull-request-minimal"])[]; @@ -16049,12 +16049,12 @@ export interface components { path: string; start_line: number; end_line: number; - start_column: OneOf<[number, null]>; - end_column: OneOf<[number, null]>; - annotation_level: OneOf<[string, null]>; - title: OneOf<[string, null]>; - message: OneOf<[string, null]>; - raw_details: OneOf<[string, null]>; + start_column: number | null; + end_column: number | null; + annotation_level: string | null; + title: string | null; + message: string | null; + raw_details: string | null; blob_href: string; }; /** @@ -16064,23 +16064,23 @@ export interface components { "check-suite": { id: number; node_id: string; - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** @description The SHA of the head commit that is being checked. */ head_sha: string; /** @enum {string|null} */ status: "queued" | "in_progress" | "completed" | null; /** @enum {string|null} */ conclusion: "success" | "failure" | "neutral" | "cancelled" | "skipped" | "timed_out" | "action_required" | "startup_failure" | "stale" | null; - url: OneOf<[string, null]>; - before: OneOf<[string, null]>; - after: OneOf<[string, null]>; - pull_requests: OneOf<[(components["schemas"]["pull-request-minimal"])[], null]>; + url: string | null; + before: string | null; + after: string | null; + pull_requests: (components["schemas"]["pull-request-minimal"])[] | null; app: null | components["schemas"]["integration"]; repository: components["schemas"]["minimal-repository"]; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: date-time */ - updated_at: OneOf<[string, null]>; + updated_at: string | null; head_commit: components["schemas"]["simple-commit"]; latest_check_runs_count: number; check_runs_url: string; @@ -16102,11 +16102,11 @@ export interface components { }; "code-scanning-alert-rule-summary": { /** @description A unique identifier for the rule used to detect the alert. */ - id?: OneOf<[string, null]>; + id?: string | null; /** @description The name of the rule used to detect the alert. */ name?: string; /** @description A set of tags applicable for the rule. */ - tags?: OneOf<[(string)[], null]>; + tags?: (string)[] | null; /** * @description The severity of the alert. * @enum {string|null} @@ -16200,12 +16200,12 @@ export interface components { * Format: uri * @description Next deletable analysis in chain, without last analysis deletion confirmation */ - next_analysis_url: OneOf<[string, null]>; + next_analysis_url: string | null; /** * Format: uri * @description Next deletable analysis in chain, with last analysis deletion confirmation */ - confirm_delete_url: OneOf<[string, null]>; + confirm_delete_url: string | null; }; /** * CodeQL Database @@ -16257,7 +16257,7 @@ export interface components { * Format: date-time * @description Timestamp of latest configuration update. */ - updated_at?: OneOf<[string, null]>; + updated_at?: string | null; }; /** @description Configuration for code scanning default setup. */ "code-scanning-default-setup-update": { @@ -16300,9 +16300,9 @@ export interface components { * Format: uri * @description The REST API URL for getting the analyses associated with the upload. */ - analyses_url?: OneOf<[string, null]>; + analyses_url?: string | null; /** @description Any errors that ocurred during processing of the delivery. */ - errors?: OneOf<[readonly (string)[], null]>; + errors?: readonly (string)[] | null; }; /** * CODEOWNERS errors @@ -16319,7 +16319,7 @@ export interface components { /** @description The type of error. */ kind: string; /** @description Suggested action to fix the error. This will usually be `null`, but is provided for some common errors. */ - suggestion?: OneOf<[string, null]>; + suggestion?: string | null; /** @description A human-readable description of the error, combining information from multiple fields, laid out for display in a monospaced typeface (for example, a command-line setting). */ message: string; /** @description The path of the file where the error occured. */ @@ -16345,12 +16345,12 @@ export interface components { collaborator: { login: string; id: number; - email?: OneOf<[string, null]>; - name?: OneOf<[string, null]>; + email?: string | null; + name?: string | null; node_id: string; /** Format: uri */ avatar_url: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -16425,9 +16425,9 @@ export interface components { id: number; node_id: string; body: string; - path: OneOf<[string, null]>; - position: OneOf<[number, null]>; - line: OneOf<[number, null]>; + path: string | null; + position: number | null; + line: number | null; commit_id: string; user: null | components["schemas"]["simple-user"]; /** Format: date-time */ @@ -16460,7 +16460,7 @@ export interface components { * Auto merge * @description The status of auto merging a pull request. */ - "auto-merge": OneOf<[{ + "auto-merge": ({ enabled_by: components["schemas"]["simple-user"]; /** * @description The merge method to use. @@ -16471,7 +16471,7 @@ export interface components { commit_title: string; /** @description Commit message for the merge commit. */ commit_message: string; - }, null]>; + }) | null; /** * Pull Request Simple * @description Pull Request Simple @@ -16503,7 +16503,7 @@ export interface components { locked: boolean; title: string; user: null | components["schemas"]["simple-user"]; - body: OneOf<[string, null]>; + body: string | null; labels: ({ /** Format: int64 */ id: number; @@ -16515,20 +16515,20 @@ export interface components { default: boolean; })[]; milestone: null | components["schemas"]["milestone"]; - active_lock_reason?: OneOf<[string, null]>; + active_lock_reason?: string | null; /** Format: date-time */ created_at: string; /** Format: date-time */ updated_at: string; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; - merge_commit_sha: OneOf<[string, null]>; + merged_at: string | null; + merge_commit_sha: string | null; assignee: null | components["schemas"]["simple-user"]; - assignees?: OneOf<[(components["schemas"]["simple-user"])[], null]>; - requested_reviewers?: OneOf<[(components["schemas"]["simple-user"])[], null]>; - requested_teams?: OneOf<[(components["schemas"]["team"])[], null]>; + assignees?: (components["schemas"]["simple-user"])[] | null; + requested_reviewers?: (components["schemas"]["simple-user"])[] | null; + requested_teams?: (components["schemas"]["team"])[] | null; head: { label: string; ref: string; @@ -16560,16 +16560,16 @@ export interface components { }; /** Simple Commit Status */ "simple-commit-status": { - description: OneOf<[string, null]>; + description: string | null; id: number; node_id: string; state: string; context: string; /** Format: uri */ - target_url: OneOf<[string, null]>; - required?: OneOf<[boolean, null]>; + target_url: string | null; + required?: boolean | null; /** Format: uri */ - avatar_url: OneOf<[string, null]>; + avatar_url: string | null; /** Format: uri */ url: string; /** Format: date-time */ @@ -16598,12 +16598,12 @@ export interface components { */ status: { url: string; - avatar_url: OneOf<[string, null]>; + avatar_url: string | null; id: number; node_id: string; state: string; - description: OneOf<[string, null]>; - target_url: OneOf<[string, null]>; + description: string | null; + target_url: string | null; context: string; created_at: string; updated_at: string; @@ -16622,8 +16622,8 @@ export interface components { */ "community-profile": { health_percentage: number; - description: OneOf<[string, null]>; - documentation: OneOf<[string, null]>; + description: string | null; + documentation: string | null; files: { code_of_conduct: null | components["schemas"]["code-of-conduct-simple"]; code_of_conduct_file: null | components["schemas"]["community-health-file"]; @@ -16634,7 +16634,7 @@ export interface components { pull_request_template: null | components["schemas"]["community-health-file"]; }; /** Format: date-time */ - updated_at: OneOf<[string, null]>; + updated_at: string | null; content_reports_enabled?: boolean; }; /** @@ -16675,11 +16675,11 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - git_url: OneOf<[string, null]>; + git_url: string | null; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; /** Format: uri */ - download_url: OneOf<[string, null]>; + download_url: string | null; entries?: ({ type: string; size: number; @@ -16690,25 +16690,25 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - git_url: OneOf<[string, null]>; + git_url: string | null; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; /** Format: uri */ - download_url: OneOf<[string, null]>; + download_url: string | null; _links: { /** Format: uri */ - git: OneOf<[string, null]>; + git: string | null; /** Format: uri */ - html: OneOf<[string, null]>; + html: string | null; /** Format: uri */ self: string; }; })[]; _links: { /** Format: uri */ - git: OneOf<[string, null]>; + git: string | null; /** Format: uri */ - html: OneOf<[string, null]>; + html: string | null; /** Format: uri */ self: string; }; @@ -16728,16 +16728,16 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - git_url: OneOf<[string, null]>; + git_url: string | null; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; /** Format: uri */ - download_url: OneOf<[string, null]>; + download_url: string | null; _links: { /** Format: uri */ - git: OneOf<[string, null]>; + git: string | null; /** Format: uri */ - html: OneOf<[string, null]>; + html: string | null; /** Format: uri */ self: string; }; @@ -16758,16 +16758,16 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - git_url: OneOf<[string, null]>; + git_url: string | null; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; /** Format: uri */ - download_url: OneOf<[string, null]>; + download_url: string | null; _links: { /** Format: uri */ - git: OneOf<[string, null]>; + git: string | null; /** Format: uri */ - html: OneOf<[string, null]>; + html: string | null; /** Format: uri */ self: string; }; @@ -16789,16 +16789,16 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - git_url: OneOf<[string, null]>; + git_url: string | null; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; /** Format: uri */ - download_url: OneOf<[string, null]>; + download_url: string | null; _links: { /** Format: uri */ - git: OneOf<[string, null]>; + git: string | null; /** Format: uri */ - html: OneOf<[string, null]>; + html: string | null; /** Format: uri */ self: string; }; @@ -16819,16 +16819,16 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - git_url: OneOf<[string, null]>; + git_url: string | null; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; /** Format: uri */ - download_url: OneOf<[string, null]>; + download_url: string | null; _links: { /** Format: uri */ - git: OneOf<[string, null]>; + git: string | null; /** Format: uri */ - html: OneOf<[string, null]>; + html: string | null; /** Format: uri */ self: string; }; @@ -16838,7 +16838,7 @@ export interface components { * @description File Commit */ "file-commit": { - content: OneOf<[{ + content: { name?: string; path?: string; sha?: string; @@ -16853,7 +16853,7 @@ export interface components { git?: string; html?: string; }; - }, null]>; + } | null; commit: { sha?: string; node_id?: string; @@ -16882,8 +16882,8 @@ export interface components { verification?: { verified?: boolean; reason?: string; - signature?: OneOf<[string, null]>; - payload?: OneOf<[string, null]>; + signature?: string | null; + payload?: string | null; }; }; }; @@ -16897,7 +16897,7 @@ export interface components { node_id?: string; /** Format: uri */ avatar_url?: string; - gravatar_id?: OneOf<[string, null]>; + gravatar_id?: string | null; /** Format: uri */ url?: string; /** Format: uri */ @@ -16955,7 +16955,7 @@ export interface components { */ dismissed_reason: "fix_started" | "inaccurate" | "no_bandwidth" | "not_used" | "tolerable_risk" | null; /** @description An optional comment associated with the alert's dismissal. */ - dismissed_comment: OneOf<[string, null]>; + dismissed_comment: string | null; fixed_at: components["schemas"]["alert-fixed-at"]; auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"]; }; @@ -16982,9 +16982,9 @@ export interface components { ecosystem: string; name: string; version: string; - package_url: OneOf<[string, null]>; - license: OneOf<[string, null]>; - source_repository_url: OneOf<[string, null]>; + package_url: string | null; + license: string | null; + source_repository_url: string | null; vulnerabilities: ({ severity: string; advisory_ghsa_id: string; @@ -17066,7 +17066,7 @@ export interface components { * @description User-defined metadata to store domain-specific information limited to 8 keys with scalar values. */ metadata: { - [key: string]: OneOf<[null, string, number, boolean]> | undefined; + [key: string]: (null | string | number | boolean) | undefined; }; dependency: { /** @description Package-url (PURL) of dependency. See https://github.com/package-url/purl-spec for more details. */ @@ -17193,12 +17193,12 @@ export interface components { /** @description The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days). */ "wait-timer": number; /** @description The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. */ - "deployment-branch-policy-settings": OneOf<[{ + "deployment-branch-policy-settings": { /** @description Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`. */ protected_branches: boolean; /** @description Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`. */ custom_branch_policies: boolean; - }, null]>; + } | null; /** * Environment * @description Details of a deployment environment @@ -17309,7 +17309,7 @@ export interface components { /** Format: uri */ url: string; sha: string; - size: OneOf<[number, null]>; + size: number | null; node_id: string; highlighted_content?: string; }; @@ -17366,8 +17366,8 @@ export interface components { verification: { verified: boolean; reason: string; - signature: OneOf<[string, null]>; - payload: OneOf<[string, null]>; + signature: string | null; + payload: string | null; }; /** Format: uri */ html_url: string; @@ -17439,9 +17439,9 @@ export interface components { }; /** Hook Response */ "hook-response": { - code: OneOf<[number, null]>; - status: OneOf<[string, null]>; - message: OneOf<[string, null]>; + code: number | null; + status: string | null; + message: string | null; }; /** * Webhook @@ -17488,7 +17488,7 @@ export interface components { * @description A repository import from an external source. */ import: { - vcs: OneOf<[string, null]>; + vcs: string | null; use_lfs?: boolean; /** @description The URL of the originating repository. */ vcs_url: string; @@ -17496,12 +17496,12 @@ export interface components { tfvc_project?: string; /** @enum {string} */ status: "auth" | "error" | "none" | "detecting" | "choose" | "auth_failed" | "importing" | "mapping" | "waiting_to_push" | "pushing" | "complete" | "setup" | "unknown" | "detection_found_multiple" | "detection_found_nothing" | "detection_needs_auth"; - status_text?: OneOf<[string, null]>; - failed_step?: OneOf<[string, null]>; - error_message?: OneOf<[string, null]>; - import_percent?: OneOf<[number, null]>; - commit_count?: OneOf<[number, null]>; - push_percent?: OneOf<[number, null]>; + status_text?: string | null; + failed_step?: string | null; + error_message?: string | null; + import_percent?: number | null; + commit_count?: number | null; + push_percent?: number | null; has_large_files?: boolean; large_files_size?: number; large_files_count?: number; @@ -17511,7 +17511,7 @@ export interface components { human_name?: string; })[]; message?: string; - authors_count?: OneOf<[number, null]>; + authors_count?: number | null; /** Format: uri */ url: string; /** Format: uri */ @@ -17552,15 +17552,15 @@ export interface components { * @description Issue Event Label */ "issue-event-label": { - name: OneOf<[string, null]>; - color: OneOf<[string, null]>; + name: string | null; + color: string | null; }; /** Issue Event Dismissed Review */ "issue-event-dismissed-review": { state: string; review_id: number; - dismissal_message: OneOf<[string, null]>; - dismissal_commit_id?: OneOf<[string, null]>; + dismissal_message: string | null; + dismissal_commit_id?: string | null; }; /** * Issue Event Milestone @@ -17603,8 +17603,8 @@ export interface components { url: string; actor: null | components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; /** Format: date-time */ created_at: string; issue?: null | components["schemas"]["issue"]; @@ -17619,7 +17619,7 @@ export interface components { project_card?: components["schemas"]["issue-event-project-card"]; rename?: components["schemas"]["issue-event-rename"]; author_association?: components["schemas"]["author-association"]; - lock_reason?: OneOf<[string, null]>; + lock_reason?: string | null; performed_via_github_app?: null | components["schemas"]["integration"]; }; /** @@ -17632,8 +17632,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; label: { @@ -17651,8 +17651,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; label: { @@ -17670,8 +17670,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: components["schemas"]["integration"]; assignee: components["schemas"]["simple-user"]; @@ -17687,8 +17687,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; assignee: components["schemas"]["simple-user"]; @@ -17704,8 +17704,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; milestone: { @@ -17722,8 +17722,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; milestone: { @@ -17740,8 +17740,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; rename: { @@ -17759,8 +17759,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; review_requester: components["schemas"]["simple-user"]; @@ -17777,8 +17777,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; review_requester: components["schemas"]["simple-user"]; @@ -17795,14 +17795,14 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; dismissed_review: { state: string; review_id: number; - dismissal_message: OneOf<[string, null]>; + dismissal_message: string | null; dismissal_commit_id?: string; }; }; @@ -17816,11 +17816,11 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; - lock_reason: OneOf<[string, null]>; + lock_reason: string | null; }; /** * Added to Project Issue Event @@ -17832,8 +17832,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; project_card?: { @@ -17857,8 +17857,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; project_card?: { @@ -17882,8 +17882,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; project_card?: { @@ -17907,8 +17907,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: components["schemas"]["integration"]; project_card?: { @@ -17942,7 +17942,7 @@ export interface components { url: string; /** @description The name of the label. */ name: string; - description: OneOf<[string, null]>; + description: string | null; /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; @@ -18049,8 +18049,8 @@ export interface components { verification: { verified: boolean; reason: string; - signature: OneOf<[string, null]>; - payload: OneOf<[string, null]>; + signature: string | null; + payload: string | null; }; /** Format: uri */ html_url: string; @@ -18066,7 +18066,7 @@ export interface components { node_id: string; user: components["schemas"]["simple-user"]; /** @description The text of the review. */ - body: OneOf<[string, null]>; + body: string | null; state: string; /** Format: uri */ html_url: string; @@ -18096,7 +18096,7 @@ export interface components { /** @description URL for the pull request review comment */ url: string; /** @description The ID of the pull request review to which the comment belongs. */ - pull_request_review_id: OneOf<[number, null]>; + pull_request_review_id: number | null; /** @description The ID of the pull request review comment. */ id: number; /** @description The node ID of the pull request review comment. */ @@ -18148,9 +18148,9 @@ export interface components { }; }; /** @description The first line of the range for a multi-line comment. */ - start_line?: OneOf<[number, null]>; + start_line?: number | null; /** @description The first line of the range for a multi-line comment. */ - original_start_line?: OneOf<[number, null]>; + original_start_line?: number | null; /** * @description The side of the first line of the range for a multi-line comment. * @default RIGHT @@ -18205,8 +18205,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; assignee: components["schemas"]["simple-user"]; @@ -18221,8 +18221,8 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; assignee: components["schemas"]["simple-user"]; @@ -18237,11 +18237,11 @@ export interface components { url: string; actor: components["schemas"]["simple-user"]; event: string; - commit_id: OneOf<[string, null]>; - commit_url: OneOf<[string, null]>; + commit_id: string | null; + commit_url: string | null; created_at: string; performed_via_github_app: null | components["schemas"]["integration"]; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; }; /** * Timeline Event @@ -18260,8 +18260,8 @@ export interface components { verified: boolean; created_at: string; read_only: boolean; - added_by?: OneOf<[string, null]>; - last_used?: OneOf<[string, null]>; + added_by?: string | null; + last_used?: string | null; }; /** * Language @@ -18282,19 +18282,19 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; /** Format: uri */ - git_url: OneOf<[string, null]>; + git_url: string | null; /** Format: uri */ - download_url: OneOf<[string, null]>; + download_url: string | null; type: string; content: string; encoding: string; _links: { /** Format: uri */ - git: OneOf<[string, null]>; + git: string | null; /** Format: uri */ - html: OneOf<[string, null]>; + html: string | null; /** Format: uri */ self: string; }; @@ -18341,7 +18341,7 @@ export interface components { */ status: "built" | "building" | "errored" | null; /** @description The Pages site's custom domain */ - cname: OneOf<[string, null]>; + cname: string | null; /** * @description The state if the domain is verified * @enum {string|null} @@ -18351,7 +18351,7 @@ export interface components { * Format: date-time * @description The timestamp when a pending domain becomes unverified. */ - pending_domain_unverified_at?: OneOf<[string, null]>; + pending_domain_unverified_at?: string | null; /** * @description Whether the Page has a custom 404 page. * @default false @@ -18383,7 +18383,7 @@ export interface components { url: string; status: string; error: { - message: OneOf<[string, null]>; + message: string | null; }; pusher: null | components["schemas"]["simple-user"]; commit: string; @@ -18433,61 +18433,61 @@ export interface components { uri?: string; nameservers?: string; dns_resolves?: boolean; - is_proxied?: OneOf<[boolean, null]>; - is_cloudflare_ip?: OneOf<[boolean, null]>; - is_fastly_ip?: OneOf<[boolean, null]>; - is_old_ip_address?: OneOf<[boolean, null]>; - is_a_record?: OneOf<[boolean, null]>; - has_cname_record?: OneOf<[boolean, null]>; - has_mx_records_present?: OneOf<[boolean, null]>; + is_proxied?: boolean | null; + is_cloudflare_ip?: boolean | null; + is_fastly_ip?: boolean | null; + is_old_ip_address?: boolean | null; + is_a_record?: boolean | null; + has_cname_record?: boolean | null; + has_mx_records_present?: boolean | null; is_valid_domain?: boolean; is_apex_domain?: boolean; - should_be_a_record?: OneOf<[boolean, null]>; - is_cname_to_github_user_domain?: OneOf<[boolean, null]>; - is_cname_to_pages_dot_github_dot_com?: OneOf<[boolean, null]>; - is_cname_to_fastly?: OneOf<[boolean, null]>; - is_pointed_to_github_pages_ip?: OneOf<[boolean, null]>; - is_non_github_pages_ip_present?: OneOf<[boolean, null]>; + should_be_a_record?: boolean | null; + is_cname_to_github_user_domain?: boolean | null; + is_cname_to_pages_dot_github_dot_com?: boolean | null; + is_cname_to_fastly?: boolean | null; + is_pointed_to_github_pages_ip?: boolean | null; + is_non_github_pages_ip_present?: boolean | null; is_pages_domain?: boolean; - is_served_by_pages?: OneOf<[boolean, null]>; + is_served_by_pages?: boolean | null; is_valid?: boolean; - reason?: OneOf<[string, null]>; + reason?: string | null; responds_to_https?: boolean; enforces_https?: boolean; - https_error?: OneOf<[string, null]>; - is_https_eligible?: OneOf<[boolean, null]>; - caa_error?: OneOf<[string, null]>; + https_error?: string | null; + is_https_eligible?: boolean | null; + caa_error?: string | null; }; - alt_domain?: OneOf<[{ + alt_domain?: ({ host?: string; uri?: string; nameservers?: string; dns_resolves?: boolean; - is_proxied?: OneOf<[boolean, null]>; - is_cloudflare_ip?: OneOf<[boolean, null]>; - is_fastly_ip?: OneOf<[boolean, null]>; - is_old_ip_address?: OneOf<[boolean, null]>; - is_a_record?: OneOf<[boolean, null]>; - has_cname_record?: OneOf<[boolean, null]>; - has_mx_records_present?: OneOf<[boolean, null]>; + is_proxied?: boolean | null; + is_cloudflare_ip?: boolean | null; + is_fastly_ip?: boolean | null; + is_old_ip_address?: boolean | null; + is_a_record?: boolean | null; + has_cname_record?: boolean | null; + has_mx_records_present?: boolean | null; is_valid_domain?: boolean; is_apex_domain?: boolean; - should_be_a_record?: OneOf<[boolean, null]>; - is_cname_to_github_user_domain?: OneOf<[boolean, null]>; - is_cname_to_pages_dot_github_dot_com?: OneOf<[boolean, null]>; - is_cname_to_fastly?: OneOf<[boolean, null]>; - is_pointed_to_github_pages_ip?: OneOf<[boolean, null]>; - is_non_github_pages_ip_present?: OneOf<[boolean, null]>; + should_be_a_record?: boolean | null; + is_cname_to_github_user_domain?: boolean | null; + is_cname_to_pages_dot_github_dot_com?: boolean | null; + is_cname_to_fastly?: boolean | null; + is_pointed_to_github_pages_ip?: boolean | null; + is_non_github_pages_ip_present?: boolean | null; is_pages_domain?: boolean; - is_served_by_pages?: OneOf<[boolean, null]>; + is_served_by_pages?: boolean | null; is_valid?: boolean; - reason?: OneOf<[string, null]>; + reason?: string | null; responds_to_https?: boolean; enforces_https?: boolean; - https_error?: OneOf<[string, null]>; - is_https_eligible?: OneOf<[boolean, null]>; - caa_error?: OneOf<[string, null]>; - }, null]>; + https_error?: string | null; + is_https_eligible?: boolean | null; + caa_error?: string | null; + }) | null; }; /** * Pull Request @@ -18526,36 +18526,36 @@ export interface components { /** @description The title of the pull request. */ title: string; user: components["schemas"]["simple-user"]; - body: OneOf<[string, null]>; + body: string | null; labels: ({ /** Format: int64 */ id: number; node_id: string; url: string; name: string; - description: OneOf<[string, null]>; + description: string | null; color: string; default: boolean; })[]; milestone: null | components["schemas"]["milestone"]; - active_lock_reason?: OneOf<[string, null]>; + active_lock_reason?: string | null; /** Format: date-time */ created_at: string; /** Format: date-time */ updated_at: string; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; - merge_commit_sha: OneOf<[string, null]>; + merged_at: string | null; + merge_commit_sha: string | null; assignee: null | components["schemas"]["simple-user"]; - assignees?: OneOf<[(components["schemas"]["simple-user"])[], null]>; - requested_reviewers?: OneOf<[(components["schemas"]["simple-user"])[], null]>; - requested_teams?: OneOf<[(components["schemas"]["team-simple"])[], null]>; + assignees?: (components["schemas"]["simple-user"])[] | null; + requested_reviewers?: (components["schemas"]["simple-user"])[] | null; + requested_teams?: (components["schemas"]["team-simple"])[] | null; head: { label: string; ref: string; - repo: OneOf<[{ + repo: ({ archive_url: string; assignees_url: string; blobs_url: string; @@ -18569,7 +18569,7 @@ export interface components { contributors_url: string; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ downloads_url: string; /** Format: uri */ @@ -18607,7 +18607,7 @@ export interface components { followers_url: string; following_url: string; gists_url: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ html_url: string; id: number; @@ -18656,15 +18656,15 @@ export interface components { has_pages: boolean; has_discussions: boolean; /** Format: uri */ - homepage: OneOf<[string, null]>; - language: OneOf<[string, null]>; + homepage: string | null; + language: string | null; master_branch?: string; archived: boolean; disabled: boolean; /** @description The repository visibility: public, private, or internal. */ visibility?: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; open_issues: number; open_issues_count: number; permissions?: { @@ -18678,14 +18678,14 @@ export interface components { allow_merge_commit?: boolean; allow_squash_merge?: boolean; allow_rebase_merge?: boolean; - license: OneOf<[{ + license: ({ key: string; name: string; /** Format: uri */ - url: OneOf<[string, null]>; - spdx_id: OneOf<[string, null]>; + url: string | null; + spdx_id: string | null; node_id: string; - }, null]>; + }) | null; /** Format: date-time */ pushed_at: string; size: number; @@ -18703,7 +18703,7 @@ export interface components { allow_forking?: boolean; is_template?: boolean; web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; user: { /** Format: uri */ @@ -18713,7 +18713,7 @@ export interface components { followers_url: string; following_url: string; gists_url: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ html_url: string; id: number; @@ -18751,7 +18751,7 @@ export interface components { contributors_url: string; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ downloads_url: string; /** Format: uri */ @@ -18790,7 +18790,7 @@ export interface components { followers_url: string; following_url: string; gists_url: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ html_url: string; id: number; @@ -18839,15 +18839,15 @@ export interface components { has_pages: boolean; has_discussions: boolean; /** Format: uri */ - homepage: OneOf<[string, null]>; - language: OneOf<[string, null]>; + homepage: string | null; + language: string | null; master_branch?: string; archived: boolean; disabled: boolean; /** @description The repository visibility: public, private, or internal. */ visibility?: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; open_issues: number; open_issues_count: number; permissions?: { @@ -18888,7 +18888,7 @@ export interface components { followers_url: string; following_url: string; gists_url: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ html_url: string; id: number; @@ -18924,8 +18924,8 @@ export interface components { /** @description Indicates whether or not the pull request is a draft. */ draft?: boolean; merged: boolean; - mergeable: OneOf<[boolean, null]>; - rebaseable?: OneOf<[boolean, null]>; + mergeable: boolean | null; + rebaseable?: boolean | null; mergeable_state: string; merged_by: null | components["schemas"]["simple-user"]; comments: number; @@ -18981,7 +18981,7 @@ export interface components { /** Format: date-time */ submitted_at?: string; /** @description A commit SHA for the review. If the commit object was garbage collected or forcibly deleted, then it no longer exists in Git and this value will be `null`. */ - commit_id: OneOf<[string, null]>; + commit_id: string | null; body_html?: string; body_text?: string; author_association: components["schemas"]["author-association"]; @@ -18993,12 +18993,12 @@ export interface components { "review-comment": { /** Format: uri */ url: string; - pull_request_review_id: OneOf<[number, null]>; + pull_request_review_id: number | null; id: number; node_id: string; diff_hunk: string; path: string; - position: OneOf<[number, null]>; + position: number | null; original_position: number; commit_id: string; original_commit_id: string; @@ -19039,9 +19039,9 @@ export interface components { /** @description The original line of the blob to which the comment applies. The last line of the range for a multi-line comment */ original_line?: number; /** @description The first line of the range for a multi-line comment. */ - start_line?: OneOf<[number, null]>; + start_line?: number | null; /** @description The original first line of the range for a multi-line comment. */ - original_start_line?: OneOf<[number, null]>; + original_start_line?: number | null; }; /** * Release Asset @@ -19056,7 +19056,7 @@ export interface components { node_id: string; /** @description The file name of the asset. */ name: string; - label: OneOf<[string, null]>; + label: string | null; /** * @description State of the release asset. * @enum {string} @@ -19084,17 +19084,17 @@ export interface components { assets_url: string; upload_url: string; /** Format: uri */ - tarball_url: OneOf<[string, null]>; + tarball_url: string | null; /** Format: uri */ - zipball_url: OneOf<[string, null]>; + zipball_url: string | null; id: number; node_id: string; /** @description The name of the tag. */ tag_name: string; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; - name: OneOf<[string, null]>; - body?: OneOf<[string, null]>; + name: string | null; + body?: string | null; /** @description true to create a draft (unpublished) release, false to create a published one. */ draft: boolean; /** @description Whether to identify the release as a prerelease or a full release. */ @@ -19102,7 +19102,7 @@ export interface components { /** Format: date-time */ created_at: string; /** Format: date-time */ - published_at: OneOf<[string, null]>; + published_at: string | null; author: components["schemas"]["simple-user"]; assets: (components["schemas"]["release-asset"])[]; body_html?: string; @@ -19142,10 +19142,10 @@ export interface components { * Format: date-time * @description The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - resolved_at?: OneOf<[string, null]>; + resolved_at?: string | null; resolved_by?: null | components["schemas"]["simple-user"]; /** @description An optional comment to resolve an alert. */ - resolution_comment?: OneOf<[string, null]>; + resolution_comment?: string | null; /** @description The type of secret that secret scanning detected. */ secret_type?: string; /** @@ -19156,16 +19156,16 @@ export interface components { /** @description The secret that was detected. */ secret?: string; /** @description Whether push protection was bypassed for the detected secret. */ - push_protection_bypassed?: OneOf<[boolean, null]>; + push_protection_bypassed?: boolean | null; push_protection_bypassed_by?: null | components["schemas"]["simple-user"]; /** * Format: date-time * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - push_protection_bypassed_at?: OneOf<[string, null]>; + push_protection_bypassed_at?: string | null; }; /** @description An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. */ - "secret-scanning-alert-resolution-comment": OneOf<[string, null]>; + "secret-scanning-alert-resolution-comment": string | null; /** @description Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. */ "secret-scanning-location-commit": { /** @description The file path in the repository */ @@ -19227,17 +19227,17 @@ export interface components { /** @description A product affected by the vulnerability detailed in a repository security advisory. */ "repository-advisory-vulnerability": { /** @description The name of the package affected by the vulnerability. */ - package: OneOf<[{ + package: ({ ecosystem: components["schemas"]["security-advisory-ecosystems"]; /** @description The unique package name within its ecosystem. */ - name: OneOf<[string, null]>; - }, null]>; + name: string | null; + }) | null; /** @description The range of the package versions affected by the vulnerability. */ - vulnerable_version_range: OneOf<[string, null]>; + vulnerable_version_range: string | null; /** @description The package version(s) that resolve the vulnerability. */ - patched_versions: OneOf<[string, null]>; + patched_versions: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions: OneOf<[(string)[], null]>; + vulnerable_functions: (string)[] | null; }; /** * @description The type of credit the user is receiving. @@ -19259,7 +19259,7 @@ export interface components { /** @description The GitHub Security Advisory ID. */ ghsa_id: string; /** @description The Common Vulnerabilities and Exposures (CVE) ID. */ - cve_id: OneOf<[string, null]>; + cve_id: string | null; /** @description The API URL for the advisory. */ url: string; /** @@ -19270,7 +19270,7 @@ export interface components { /** @description A short summary of the advisory. */ summary: string; /** @description A detailed description of what the advisory entails. */ - description: OneOf<[string, null]>; + description: string | null; /** * @description The severity of the advisory. * @enum {string|null} @@ -19298,52 +19298,52 @@ export interface components { * Format: date-time * @description The date and time of when the advisory was created, in ISO 8601 format. */ - created_at: OneOf<[string, null]>; + 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: OneOf<[string, null]>; + updated_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was published, in ISO 8601 format. */ - published_at: OneOf<[string, null]>; + published_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was closed, in ISO 8601 format. */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; /** * Format: date-time * @description The date and time of when the advisory was withdrawn, in ISO 8601 format. */ - withdrawn_at: OneOf<[string, null]>; - submission: OneOf<[{ + withdrawn_at: string | null; + submission: { /** @description Whether a private vulnerability report was accepted by the repository's administrators. */ readonly accepted: boolean; - }, null]>; - vulnerabilities: OneOf<[(components["schemas"]["repository-advisory-vulnerability"])[], null]>; - cvss: OneOf<[{ + } | null; + vulnerabilities: (components["schemas"]["repository-advisory-vulnerability"])[] | null; + cvss: ({ /** @description The CVSS vector. */ - vector_string: OneOf<[string, null]>; + vector_string: string | null; /** @description The CVSS score. */ - score: OneOf<[number, null]>; - }, null]>; - cwes: OneOf<[readonly ({ + score: number | null; + }) | null; + cwes: readonly ({ /** @description The Common Weakness Enumeration (CWE) identifier. */ cwe_id: string; /** @description The name of the CWE. */ name: string; - })[], null]>; + })[] | null; /** @description A list of only the CWE IDs. */ - cwe_ids: OneOf<[(string)[], null]>; - credits: OneOf<[({ + cwe_ids: (string)[] | null; + credits: ({ /** @description The username of the user credited. */ login?: string; type?: components["schemas"]["security-advisory-credit-types"]; - })[], null]>; - credits_detailed: OneOf<[readonly (components["schemas"]["repository-advisory-credit"])[], null]>; + })[] | null; + credits_detailed: readonly (components["schemas"]["repository-advisory-credit"])[] | null; }; "repository-advisory-create": { /** @description A short summary of the advisory. */ @@ -19351,37 +19351,37 @@ export interface components { /** @description A detailed description of what the advisory impacts. */ description: string; /** @description The Common Vulnerabilities and Exposures (CVE) ID. */ - cve_id?: OneOf<[string, null]>; + cve_id?: string | null; /** @description A product affected by the vulnerability detailed in a repository security advisory. */ vulnerabilities: ({ /** @description The name of the package affected by the vulnerability. */ package: { ecosystem: components["schemas"]["security-advisory-ecosystems"]; /** @description The unique package name within its ecosystem. */ - name?: OneOf<[string, null]>; + name?: string | null; }; /** @description The range of the package versions affected by the vulnerability. */ - vulnerable_version_range?: OneOf<[string, null]>; + vulnerable_version_range?: string | null; /** @description The package version(s) that resolve the vulnerability. */ - patched_versions?: OneOf<[string, null]>; + patched_versions?: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions?: OneOf<[(string)[], null]>; + vulnerable_functions?: (string)[] | null; })[]; /** @description A list of Common Weakness Enumeration (CWE) IDs. */ - cwe_ids?: OneOf<[(string)[], null]>; + cwe_ids?: (string)[] | null; /** @description A list of users receiving credit for their participation in the security advisory. */ - credits?: OneOf<[({ + credits?: ({ /** @description The username of the user credited. */ login: string; type: components["schemas"]["security-advisory-credit-types"]; - })[], null]>; + })[] | null; /** * @description The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. * @enum {string|null} */ severity?: "critical" | "high" | "medium" | "low" | null; /** @description The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`. */ - cvss_vector_string?: OneOf<[string, null]>; + cvss_vector_string?: string | null; }; "private-vulnerability-report-create": { /** @description A short summary of the advisory. */ @@ -19389,29 +19389,29 @@ export interface components { /** @description A detailed description of what the advisory impacts. */ description: string; /** @description An array of products affected by the vulnerability detailed in a repository security advisory. */ - vulnerabilities?: OneOf<[({ + vulnerabilities?: (({ /** @description The name of the package affected by the vulnerability. */ package: { ecosystem: components["schemas"]["security-advisory-ecosystems"]; /** @description The unique package name within its ecosystem. */ - name?: OneOf<[string, null]>; + name?: string | null; }; /** @description The range of the package versions affected by the vulnerability. */ - vulnerable_version_range?: OneOf<[string, null]>; + vulnerable_version_range?: string | null; /** @description The package version(s) that resolve the vulnerability. */ - patched_versions?: OneOf<[string, null]>; + patched_versions?: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions?: OneOf<[(string)[], null]>; - })[], null]>; + vulnerable_functions?: (string)[] | null; + })[]) | null; /** @description A list of Common Weakness Enumeration (CWE) IDs. */ - cwe_ids?: OneOf<[(string)[], null]>; + cwe_ids?: (string)[] | null; /** * @description The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. * @enum {string|null} */ severity?: "critical" | "high" | "medium" | "low" | null; /** @description The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`. */ - cvss_vector_string?: OneOf<[string, null]>; + cvss_vector_string?: string | null; }; "repository-advisory-update": { /** @description A short summary of the advisory. */ @@ -19419,37 +19419,37 @@ export interface components { /** @description A detailed description of what the advisory impacts. */ description?: string; /** @description The Common Vulnerabilities and Exposures (CVE) ID. */ - cve_id?: OneOf<[string, null]>; + cve_id?: string | null; /** @description A product affected by the vulnerability detailed in a repository security advisory. */ vulnerabilities?: ({ /** @description The name of the package affected by the vulnerability. */ package: { ecosystem: components["schemas"]["security-advisory-ecosystems"]; /** @description The unique package name within its ecosystem. */ - name?: OneOf<[string, null]>; + name?: string | null; }; /** @description The range of the package versions affected by the vulnerability. */ - vulnerable_version_range?: OneOf<[string, null]>; + vulnerable_version_range?: string | null; /** @description The package version(s) that resolve the vulnerability. */ - patched_versions?: OneOf<[string, null]>; + patched_versions?: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions?: OneOf<[(string)[], null]>; + vulnerable_functions?: (string)[] | null; })[]; /** @description A list of Common Weakness Enumeration (CWE) IDs. */ - cwe_ids?: OneOf<[(string)[], null]>; + cwe_ids?: (string)[] | null; /** @description A list of users receiving credit for their participation in the security advisory. */ - credits?: OneOf<[({ + credits?: ({ /** @description The username of the user credited. */ login: string; type: components["schemas"]["security-advisory-credit-types"]; - })[], null]>; + })[] | null; /** * @description The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. * @enum {string|null} */ severity?: "critical" | "high" | "medium" | "low" | null; /** @description The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`. */ - cvss_vector_string?: OneOf<[string, null]>; + cvss_vector_string?: string | null; /** * @description The state of the advisory. * @enum {string} @@ -19507,7 +19507,7 @@ export interface components { subscribed: boolean; /** @description Determines if all notifications should be blocked from this repository. */ ignored: boolean; - reason: OneOf<[string, null]>; + reason: string | null; /** Format: date-time */ created_at: string; /** Format: uri */ @@ -19597,7 +19597,7 @@ export interface components { /** Search Result Text Matches */ "search-result-text-matches": ({ object_url?: string; - object_type?: OneOf<[string, null]>; + object_type?: string | null; property?: string; fragment?: string; matches?: ({ @@ -19622,7 +19622,7 @@ export interface components { repository: components["schemas"]["minimal-repository"]; score: number; file_size?: number; - language?: OneOf<[string, null]>; + language?: string | null; /** Format: date-time */ last_modified_at?: string; line_numbers?: (string)[]; @@ -19693,8 +19693,8 @@ export interface components { number: number; title: string; locked: boolean; - active_lock_reason?: OneOf<[string, null]>; - assignees?: OneOf<[(components["schemas"]["simple-user"])[], null]>; + active_lock_reason?: string | null; + assignees?: (components["schemas"]["simple-user"])[] | null; user: null | components["schemas"]["simple-user"]; labels: ({ /** Format: int64 */ @@ -19704,10 +19704,10 @@ export interface components { name?: string; color?: string; default?: boolean; - description?: OneOf<[string, null]>; + description?: string | null; })[]; state: string; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; assignee: null | components["schemas"]["simple-user"]; milestone: null | components["schemas"]["milestone"]; comments: number; @@ -19716,19 +19716,19 @@ export interface components { /** Format: date-time */ updated_at: string; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; text_matches?: components["schemas"]["search-result-text-matches"]; pull_request?: { /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ - diff_url: OneOf<[string, null]>; + diff_url: string | null; /** Format: uri */ - html_url: OneOf<[string, null]>; + html_url: string | null; /** Format: uri */ - patch_url: OneOf<[string, null]>; + patch_url: string | null; /** Format: uri */ - url: OneOf<[string, null]>; + url: string | null; }; body?: string; score: number; @@ -19754,7 +19754,7 @@ export interface components { name: string; color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; score: number; text_matches?: components["schemas"]["search-result-text-matches"]; }; @@ -19771,7 +19771,7 @@ export interface components { private: boolean; /** Format: uri */ html_url: string; - description: OneOf<[string, null]>; + description: string | null; fork: boolean; /** Format: uri */ url: string; @@ -19782,11 +19782,11 @@ export interface components { /** Format: date-time */ pushed_at: string; /** Format: uri */ - homepage: OneOf<[string, null]>; + homepage: string | null; size: number; stargazers_count: number; watchers_count: number; - language: OneOf<[string, null]>; + language: string | null; forks_count: number; open_issues_count: number; master_branch?: string; @@ -19851,7 +19851,7 @@ export interface components { watchers: number; topics?: (string)[]; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; has_issues: boolean; has_projects: boolean; has_pages: boolean; @@ -19888,11 +19888,11 @@ export interface components { */ "topic-search-result-item": { name: string; - display_name: OneOf<[string, null]>; - short_description: OneOf<[string, null]>; - description: OneOf<[string, null]>; - created_by: OneOf<[string, null]>; - released: OneOf<[string, null]>; + display_name: string | null; + short_description: string | null; + description: string | null; + created_by: string | null; + released: string | null; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -19900,26 +19900,26 @@ export interface components { featured: boolean; curated: boolean; score: number; - repository_count?: OneOf<[number, null]>; + repository_count?: number | null; /** Format: uri */ - logo_url?: OneOf<[string, null]>; + logo_url?: string | null; text_matches?: components["schemas"]["search-result-text-matches"]; - related?: OneOf<[({ + related?: ({ topic_relation?: { id?: number; name?: string; topic_id?: number; relation_type?: string; }; - })[], null]>; - aliases?: OneOf<[({ + })[] | null; + aliases?: ({ topic_relation?: { id?: number; name?: string; topic_id?: number; relation_type?: string; }; - })[], null]>; + })[] | null; }; /** * User Search Result Item @@ -19931,7 +19931,7 @@ export interface components { node_id: string; /** Format: uri */ avatar_url: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -19960,18 +19960,18 @@ export interface components { created_at?: string; /** Format: date-time */ updated_at?: string; - name?: OneOf<[string, null]>; - bio?: OneOf<[string, null]>; + name?: string | null; + bio?: string | null; /** Format: email */ - email?: OneOf<[string, null]>; - location?: OneOf<[string, null]>; + email?: string | null; + location?: string | null; site_admin: boolean; - hireable?: OneOf<[boolean, null]>; + hireable?: boolean | null; text_matches?: components["schemas"]["search-result-text-matches"]; - blog?: OneOf<[string, null]>; - company?: OneOf<[string, null]>; + blog?: string | null; + company?: string | null; /** Format: date-time */ - suspended_at?: OneOf<[string, null]>; + suspended_at?: string | null; }; /** * Private User @@ -19983,7 +19983,7 @@ export interface components { node_id: string; /** Format: uri */ avatar_url: string; - gravatar_id: OneOf<[string, null]>; + gravatar_id: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -20004,15 +20004,15 @@ export interface components { received_events_url: string; type: string; site_admin: boolean; - name: OneOf<[string, null]>; - company: OneOf<[string, null]>; - blog: OneOf<[string, null]>; - location: OneOf<[string, null]>; + name: string | null; + company: string | null; + blog: string | null; + location: string | null; /** Format: email */ - email: OneOf<[string, null]>; - hireable: OneOf<[boolean, null]>; - bio: OneOf<[string, null]>; - twitter_username?: OneOf<[string, null]>; + email: string | null; + hireable: boolean | null; + bio: string | null; + twitter_username?: string | null; public_repos: number; public_gists: number; followers: number; @@ -20034,7 +20034,7 @@ export interface components { private_repos: number; }; /** Format: date-time */ - suspended_at?: OneOf<[string, null]>; + suspended_at?: string | null; business_plus?: boolean; ldap_dn?: string; }; @@ -20082,22 +20082,22 @@ export interface components { */ "codespace-export-details": { /** @description State of the latest export */ - state?: OneOf<[string, null]>; + state?: string | null; /** * Format: date-time * @description Completion time of the last export operation */ - completed_at?: OneOf<[string, null]>; + completed_at?: string | null; /** @description Name of the exported branch */ - branch?: OneOf<[string, null]>; + branch?: string | null; /** @description Git commit SHA of the exported branch */ - sha?: OneOf<[string, null]>; + sha?: string | null; /** @description Id for the export details */ id?: string; /** @description Url for fetching export details */ export_url?: string; /** @description Web url for the exported branch */ - html_url?: OneOf<[string, null]>; + html_url?: string | null; }; /** * Codespace @@ -20108,17 +20108,17 @@ export interface components { /** @description Automatically generated name of this codespace. */ name: string; /** @description Display name for this codespace. */ - display_name?: OneOf<[string, null]>; + display_name?: string | null; /** @description UUID identifying this codespace's environment. */ - environment_id: OneOf<[string, null]>; + environment_id: string | null; owner: components["schemas"]["simple-user"]; billable_owner: components["schemas"]["simple-user"]; repository: components["schemas"]["full-repository"]; machine: null | components["schemas"]["codespace-machine"]; /** @description Path to devcontainer.json from repo root used to create Codespace. */ - devcontainer_path?: OneOf<[string, null]>; + devcontainer_path?: string | null; /** @description Whether the codespace was created from a prebuild. */ - prebuild: OneOf<[boolean, null]>; + prebuild: boolean | null; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -20157,7 +20157,7 @@ export interface components { */ location: "EastUs" | "SouthEastAsia" | "WestEurope" | "WestUs2"; /** @description The number of minutes of inactivity after which this codespace will be automatically stopped. */ - idle_timeout_minutes: OneOf<[number, null]>; + idle_timeout_minutes: number | null; /** * Format: uri * @description URL to access this codespace on the web. @@ -20182,30 +20182,30 @@ export interface components { * Format: uri * @description API URL to publish this codespace to a new repository. */ - publish_url?: OneOf<[string, null]>; + publish_url?: string | null; /** * Format: uri * @description API URL for the Pull Request associated with this codespace, if any. */ - pulls_url: OneOf<[string, null]>; + pulls_url: string | null; recent_folders: (string)[]; runtime_constraints?: { /** @description The privacy settings a user can select from when forwarding a port. */ - allowed_port_privacy_settings?: OneOf<[(string)[], null]>; + allowed_port_privacy_settings?: (string)[] | null; }; /** @description Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it. */ - pending_operation?: OneOf<[boolean, null]>; + pending_operation?: boolean | null; /** @description Text to show user when codespace is disabled by a pending operation */ - pending_operation_disabled_reason?: OneOf<[string, null]>; + pending_operation_disabled_reason?: string | null; /** @description Text to show user when codespace idle timeout minutes has been overriden by an organization policy */ - idle_timeout_notice?: OneOf<[string, null]>; + idle_timeout_notice?: string | null; /** @description Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days). */ - retention_period_minutes?: OneOf<[number, null]>; + retention_period_minutes?: number | null; /** * Format: date-time * @description When a codespace will be auto-deleted based on the "retention_period_minutes" and "last_used_at" */ - retention_expires_at?: OneOf<[string, null]>; + retention_expires_at?: string | null; }; /** * Email @@ -20216,7 +20216,7 @@ export interface components { email: string; primary: boolean; verified: boolean; - visibility: OneOf<[string, null]>; + visibility: string | null; }; /** * GPG Key @@ -20224,8 +20224,8 @@ export interface components { */ "gpg-key": { id: number; - name?: OneOf<[string, null]>; - primary_key_id: OneOf<[number, null]>; + name?: string | null; + primary_key_id: number | null; key_id: string; public_key: string; emails: ({ @@ -20247,8 +20247,8 @@ export interface components { can_encrypt_storage?: boolean; can_certify?: boolean; created_at?: string; - expires_at?: OneOf<[string, null]>; - raw_key?: OneOf<[string, null]>; + expires_at?: string | null; + raw_key?: string | null; revoked?: boolean; })[]; can_sign: boolean; @@ -20258,9 +20258,9 @@ export interface components { /** Format: date-time */ created_at: string; /** Format: date-time */ - expires_at: OneOf<[string, null]>; + expires_at: string | null; revoked: boolean; - raw_key: OneOf<[string, null]>; + raw_key: string | null; }; /** * Key @@ -20285,9 +20285,9 @@ export interface components { node_id?: string; login: string; /** Format: email */ - email?: OneOf<[string, null]>; + email?: string | null; /** Format: email */ - organization_billing_email?: OneOf<[string, null]>; + organization_billing_email?: string | null; }; /** * User Marketplace Purchase @@ -20296,13 +20296,13 @@ export interface components { "user-marketplace-purchase": { billing_cycle: string; /** Format: date-time */ - next_billing_date: OneOf<[string, null]>; - unit_count: OneOf<[number, null]>; + next_billing_date: string | null; + unit_count: number | null; on_free_trial: boolean; /** Format: date-time */ - free_trial_ends_on: OneOf<[string, null]>; + free_trial_ends_on: string | null; /** Format: date-time */ - updated_at: OneOf<[string, null]>; + updated_at: string | null; account: components["schemas"]["marketplace-account"]; plan: components["schemas"]["marketplace-listing-plan"]; }; @@ -20364,14 +20364,14 @@ export interface components { }; /** @description A suite of checks performed on the code of a given code change */ "simple-check-suite": { - after?: OneOf<[string, null]>; + after?: string | null; app?: components["schemas"]["integration"]; - before?: OneOf<[string, null]>; + before?: string | null; /** @enum {string|null} */ conclusion?: "success" | "failure" | "neutral" | "cancelled" | "skipped" | "timed_out" | "action_required" | "stale" | "startup_failure" | null; /** Format: date-time */ created_at?: string; - head_branch?: OneOf<[string, null]>; + head_branch?: string | null; /** @description The SHA of the head commit that is being checked. */ head_sha?: string; id?: number; @@ -20392,7 +20392,7 @@ export interface components { app: null | components["schemas"]["integration"]; check_suite: components["schemas"]["simple-check-suite"]; /** Format: date-time */ - completed_at: OneOf<[string, null]>; + completed_at: string | null; /** @enum {string|null} */ conclusion: "waiting" | "pending" | "startup_failure" | "stale" | "success" | "failure" | "neutral" | "cancelled" | "skipped" | "timed_out" | "action_required" | null; deployment?: components["schemas"]["deployment-simple"]; @@ -20410,9 +20410,9 @@ export interface components { annotations_count: number; /** Format: uri */ annotations_url: string; - summary: OneOf<[string, null]>; - text: OneOf<[string, null]>; - title: OneOf<[string, null]>; + summary: string | null; + text: string | null; + title: string | null; }; pull_requests: (components["schemas"]["pull-request-minimal"])[]; /** Format: date-time */ @@ -20429,14 +20429,14 @@ export interface components { * @description A Discussion in a repository. */ discussion: { - active_lock_reason: OneOf<[string, null]>; - answer_chosen_at: OneOf<[string, null]>; + active_lock_reason: string | null; + answer_chosen_at: string | null; /** User */ - answer_chosen_by: OneOf<[{ + answer_chosen_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -20467,8 +20467,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - answer_html_url: OneOf<[string, null]>; + }) | null; + answer_html_url: string | null; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -20529,11 +20529,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -20564,7 +20564,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** * Merge Group @@ -20631,9 +20631,9 @@ export interface components { */ repository_selection: "none" | "all" | "subset"; /** @description The number of repositories the token is requesting access to. This field is only populated when `repository_selection` is `subset`. */ - repository_count: OneOf<[number, null]>; + repository_count: number | null; /** @description An array of repository objects the token is requesting access to. This field is only populated when `repository_selection` is `subset`. */ - repositories: OneOf<[({ + repositories: ({ full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -20642,15 +20642,15 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[], null]>; + })[] | null; /** @description Date and time when the request for access was created. */ created_at: string; /** @description Whether the associated fine-grained personal access token has expired. */ token_expired: boolean; /** @description Date and time when the associated fine-grained personal access token expires. */ - token_expires_at: OneOf<[string, null]>; + token_expires_at: string | null; /** @description Date and time when the associated fine-grained personal access token was last used for authentication. */ - token_last_used_at: OneOf<[string, null]>; + token_last_used_at: string | null; }; /** * Projects v2 Project @@ -20662,18 +20662,18 @@ export interface components { owner: components["schemas"]["simple-user"]; creator: components["schemas"]["simple-user"]; title: string; - description: OneOf<[string, null]>; + description: string | null; public: boolean; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; /** Format: date-time */ created_at: string; /** Format: date-time */ updated_at: string; number: number; - short_description: OneOf<[string, null]>; + short_description: string | null; /** Format: date-time */ - deleted_at: OneOf<[string, null]>; + deleted_at: string | null; deleted_by: null | components["schemas"]["simple-user"]; }; /** @@ -20698,7 +20698,7 @@ export interface components { /** Format: date-time */ updated_at: string; /** Format: date-time */ - archived_at: OneOf<[string, null]>; + archived_at: string | null; }; /** branch protection rule created event */ "webhook-branch-protection-rule-created": { @@ -20815,16 +20815,16 @@ export interface components { /** @description If the action was `edited`, the changes to the rule. */ changes?: { admin_enforced?: { - from: OneOf<[boolean, null]>; + from: boolean | null; }; authorized_actor_names?: { from: (string)[]; }; authorized_actors_only?: { - from: OneOf<[boolean, null]>; + from: boolean | null; }; authorized_dismissal_actors_only?: { - from: OneOf<[boolean, null]>; + from: boolean | null; }; linear_history_requirement_enforcement_level?: { /** @enum {string} */ @@ -20971,32 +20971,32 @@ export interface components { action: "completed"; /** @description The [check_suite](https://docs.github.com/rest/reference/checks#suites). */ check_suite: { - after: OneOf<[string, null]>; + after: string | null; /** * 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. */ app: { /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "merge_group" | "pull_request_review_thread" | "workflow_job" | "merge_queue_entry" | "security_and_analysis" | "projects_v2_item" | "secret_scanning_alert_location")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -21027,7 +21027,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -21104,9 +21104,9 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; + updated_at: string | null; }; - before: OneOf<[string, null]>; + before: string | null; /** Format: uri */ check_runs_url: string; /** @@ -21117,7 +21117,7 @@ export interface components { /** Format: date-time */ created_at: string; /** @description The head branch name the changes are on. */ - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** SimpleCommit */ head_commit: { /** @@ -21128,7 +21128,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -21141,7 +21141,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -21212,32 +21212,32 @@ export interface components { action: "requested"; /** @description The [check_suite](https://docs.github.com/rest/reference/checks#suites). */ check_suite: { - after: OneOf<[string, null]>; + after: string | null; /** * 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. */ app: { /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "pull_request_review_thread" | "workflow_job" | "merge_queue_entry" | "security_and_analysis" | "secret_scanning_alert_location" | "projects_v2_item" | "merge_group" | "repository_import")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -21268,7 +21268,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -21345,9 +21345,9 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; + updated_at: string | null; }; - before: OneOf<[string, null]>; + before: string | null; /** Format: uri */ check_runs_url: string; /** @@ -21358,7 +21358,7 @@ export interface components { /** Format: date-time */ created_at: string; /** @description The head branch name the changes are on. */ - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** SimpleCommit */ head_commit: { /** @@ -21369,7 +21369,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -21382,7 +21382,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -21453,32 +21453,32 @@ export interface components { action: "rerequested"; /** @description The [check_suite](https://docs.github.com/rest/reference/checks#suites). */ check_suite: { - after: OneOf<[string, null]>; + after: string | null; /** * 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. */ app: { /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "pull_request_review_thread" | "merge_queue_entry" | "workflow_job")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -21509,7 +21509,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -21586,9 +21586,9 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; + updated_at: string | null; }; - before: OneOf<[string, null]>; + before: string | null; /** Format: uri */ check_runs_url: string; /** @@ -21599,7 +21599,7 @@ export interface components { /** Format: date-time */ created_at: string; /** @description The head branch name the changes are on. */ - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** SimpleCommit */ head_commit: { /** @@ -21610,7 +21610,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -21623,7 +21623,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -21703,13 +21703,13 @@ export interface components { * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - dismissed_at: OneOf<[string, null]>; + dismissed_at: string | null; /** User */ - dismissed_by: OneOf<[{ + dismissed_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -21740,7 +21740,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. * @enum {string|null} @@ -21752,7 +21752,7 @@ export interface components { */ html_url: string; /** Alert Instance */ - most_recent_instance?: OneOf<[{ + most_recent_instance?: ({ /** @description Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. */ analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ @@ -21778,7 +21778,7 @@ export interface components { * @enum {string} */ state: "open" | "dismissed" | "fixed"; - }, null]>; + }) | null; /** @description The code scanning alert number. */ number: number; rule: { @@ -21801,7 +21801,7 @@ export interface components { /** @description The name of the tool used to generate the code scanning analysis alert. */ name: string; /** @description The version of the tool used to detect the alert. */ - version: OneOf<[string, null]>; + version: string | null; }; /** Format: uri */ url: string; @@ -21833,11 +21833,11 @@ export interface components { */ dismissed_at: string; /** User */ - dismissed_by: OneOf<[{ + dismissed_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -21868,7 +21868,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. * @enum {string|null} @@ -21880,7 +21880,7 @@ export interface components { */ html_url: string; /** Alert Instance */ - most_recent_instance?: OneOf<[{ + most_recent_instance?: ({ /** @description Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. */ analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ @@ -21906,16 +21906,16 @@ export interface components { * @enum {string} */ state: "open" | "dismissed" | "fixed"; - }, null]>; + }) | null; /** @description The code scanning alert number. */ number: number; rule: { /** @description A short description of the rule used to detect the alert. */ description: string; full_description?: string; - help?: OneOf<[string, null]>; + help?: string | null; /** @description A link to the documentation for the rule used to detect the alert. */ - help_uri?: OneOf<[string, null]>; + help_uri?: string | null; /** @description A unique identifier for the rule used to detect the alert. */ id: string; name?: string; @@ -21924,7 +21924,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: OneOf<[(string)[], null]>; + tags?: (string)[] | null; }; /** * @description State of a code scanning alert. @@ -21932,11 +21932,11 @@ export interface components { */ state: "dismissed" | "fixed"; tool: { - guid?: OneOf<[string, null]>; + guid?: string | null; /** @description The name of the tool used to generate the code scanning analysis alert. */ name: string; /** @description The version of the tool used to detect the alert. */ - version: OneOf<[string, null]>; + version: string | null; }; /** Format: uri */ url: string; @@ -21961,7 +21961,7 @@ export interface components { * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.` */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ dismissed_at: null; dismissed_by: null; @@ -21976,7 +21976,7 @@ export interface components { html_url: string; instances_url?: string; /** Alert Instance */ - most_recent_instance?: OneOf<[{ + most_recent_instance?: ({ /** @description Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. */ analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ @@ -22002,16 +22002,16 @@ export interface components { * @enum {string} */ state: "open" | "dismissed" | "fixed"; - }, null]>; + }) | null; /** @description The code scanning alert number. */ number: number; rule: { /** @description A short description of the rule used to detect the alert. */ description: string; full_description?: string; - help?: OneOf<[string, null]>; + help?: string | null; /** @description A link to the documentation for the rule used to detect the alert. */ - help_uri?: OneOf<[string, null]>; + help_uri?: string | null; /** @description A unique identifier for the rule used to detect the alert. */ id: string; name?: string; @@ -22020,21 +22020,21 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: OneOf<[(string)[], null]>; + tags?: (string)[] | null; }; /** * @description State of a code scanning alert. * @enum {string} */ state: "open" | "dismissed"; - tool: OneOf<[{ - guid?: OneOf<[string, null]>; + tool: ({ + guid?: string | null; /** @description The name of the tool used to generate the code scanning analysis alert. */ name: string; /** @description The version of the tool used to detect the alert. */ - version: OneOf<[string, null]>; - }, null]>; - updated_at?: OneOf<[string, null]>; + version: string | null; + }) | null; + updated_at?: string | null; /** Format: uri */ url: string; }; @@ -22063,13 +22063,13 @@ export interface components { * Format: date-time * @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - dismissed_at: OneOf<[string, null]>; + dismissed_at: string | null; /** User */ - dismissed_by: OneOf<[{ + dismissed_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -22100,7 +22100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. * @enum {string|null} @@ -22114,7 +22114,7 @@ export interface components { /** Format: uri */ instances_url?: string; /** Alert Instance */ - most_recent_instance?: OneOf<[{ + most_recent_instance?: ({ /** @description Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. */ analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ @@ -22140,16 +22140,16 @@ export interface components { * @enum {string} */ state: "open" | "dismissed" | "fixed"; - }, null]>; + }) | null; /** @description The code scanning alert number. */ number: number; rule: { /** @description A short description of the rule used to detect the alert. */ description: string; full_description?: string; - help?: OneOf<[string, null]>; + help?: string | null; /** @description A link to the documentation for the rule used to detect the alert. */ - help_uri?: OneOf<[string, null]>; + help_uri?: string | null; /** @description A unique identifier for the rule used to detect the alert. */ id: string; name?: string; @@ -22158,7 +22158,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: OneOf<[(string)[], null]>; + tags?: (string)[] | null; }; /** * @description State of a code scanning alert. @@ -22166,11 +22166,11 @@ export interface components { */ state: "fixed"; tool: { - guid?: OneOf<[string, null]>; + guid?: string | null; /** @description The name of the tool used to generate the code scanning analysis alert. */ name: string; /** @description The version of the tool used to detect the alert. */ - version: OneOf<[string, null]>; + version: string | null; }; /** Format: uri */ url: string; @@ -22190,24 +22190,24 @@ export interface components { /** @enum {string} */ action: "reopened"; /** @description The code scanning alert involved in the event. */ - alert: OneOf<[{ + alert: ({ /** * Format: date-time * @description The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.` */ created_at: string; /** @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - dismissed_at: OneOf<[string, null]>; - dismissed_by: OneOf<[Record, null]>; + dismissed_at: string | null; + dismissed_by: Record | null; /** @description The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. */ - dismissed_reason: OneOf<[string, null]>; + dismissed_reason: string | null; /** * Format: uri * @description The GitHub URL of the alert resource. */ html_url: string; /** Alert Instance */ - most_recent_instance?: OneOf<[{ + most_recent_instance?: ({ /** @description Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. */ analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ @@ -22233,16 +22233,16 @@ export interface components { * @enum {string} */ state: "open" | "dismissed" | "fixed"; - }, null]>; + }) | null; /** @description The code scanning alert number. */ number: number; rule: { /** @description A short description of the rule used to detect the alert. */ description: string; full_description?: string; - help?: OneOf<[string, null]>; + help?: string | null; /** @description A link to the documentation for the rule used to detect the alert. */ - help_uri?: OneOf<[string, null]>; + help_uri?: string | null; /** @description A unique identifier for the rule used to detect the alert. */ id: string; name?: string; @@ -22251,7 +22251,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: OneOf<[(string)[], null]>; + tags?: (string)[] | null; }; /** * @description State of a code scanning alert. @@ -22259,22 +22259,22 @@ export interface components { */ state: "open" | "dismissed" | "fixed"; tool: { - guid?: OneOf<[string, null]>; + guid?: string | null; /** @description The name of the tool used to generate the code scanning analysis alert. */ name: string; /** @description The version of the tool used to detect the alert. */ - version: OneOf<[string, null]>; + version: string | null; }; /** Format: uri */ url: string; - }, null]>; + }) | null; /** @description The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. */ - commit_oid: OneOf<[string, null]>; + commit_oid: string | null; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple"]; /** @description The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. */ - ref: OneOf<[string, null]>; + ref: string | null; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; }; @@ -22300,7 +22300,7 @@ export interface components { */ html_url: string; /** Alert Instance */ - most_recent_instance?: OneOf<[{ + most_recent_instance?: ({ /** @description Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. */ analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ @@ -22326,7 +22326,7 @@ export interface components { * @enum {string} */ state: "open" | "dismissed" | "fixed"; - }, null]>; + }) | null; /** @description The code scanning alert number. */ number: number; rule: { @@ -22349,7 +22349,7 @@ export interface components { /** @description The name of the tool used to generate the code scanning analysis alert. */ name: string; /** @description The version of the tool used to detect the alert. */ - version: OneOf<[string, null]>; + version: string | null; }; /** Format: uri */ url: string; @@ -22389,13 +22389,13 @@ export interface components { /** @description The ID of the commit comment. */ id: number; /** @description The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - line: OneOf<[number, null]>; + line: number | null; /** @description The node ID of the commit comment. */ node_id: string; /** @description The relative path of the file to which the comment applies. */ - path: OneOf<[string, null]>; + path: string | null; /** @description The line index in the diff to which the comment applies. */ - position: OneOf<[number, null]>; + position: number | null; /** Reactions */ reactions?: { "+1": number; @@ -22414,11 +22414,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -22449,7 +22449,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; @@ -22460,7 +22460,7 @@ export interface components { /** create event */ "webhook-create": { /** @description The repository's current description. */ - description: OneOf<[string, null]>; + description: string | null; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** @description The name of the repository's default branch (usually `main`). */ @@ -22580,11 +22580,11 @@ export interface components { installation?: components["schemas"]["simple-installation"]; /** @description The [`deploy key`](https://docs.github.com/rest/reference/deployments#get-a-deploy-key) resource. */ key: { - added_by?: OneOf<[string, null]>; + added_by?: string | null; created_at: string; id: number; key: string; - last_used?: OneOf<[string, null]>; + last_used?: string | null; read_only: boolean; title: string; /** Format: uri */ @@ -22603,11 +22603,11 @@ export interface components { installation?: components["schemas"]["simple-installation"]; /** @description The [`deploy key`](https://docs.github.com/rest/reference/deployments#get-a-deploy-key) resource. */ key: { - added_by?: OneOf<[string, null]>; + added_by?: string | null; created_at: string; id: number; key: string; - last_used?: OneOf<[string, null]>; + last_used?: string | null; read_only: boolean; title: string; /** Format: uri */ @@ -22629,11 +22629,11 @@ export interface components { deployment: { created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -22664,8 +22664,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; environment: string; id: number; node_id: string; @@ -22675,27 +22675,27 @@ export interface components { * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "workflow_job" | "pull_request_review_thread" | "merge_queue_entry" | "secret_scanning_alert_location" | "merge_group")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -22726,7 +22726,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -22803,8 +22803,8 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; production_environment?: boolean; ref: string; /** Format: uri */ @@ -22824,7 +22824,7 @@ export interface components { repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; /** Workflow */ - workflow: OneOf<[{ + workflow: { /** Format: uri */ badge_url: string; /** Format: date-time */ @@ -22840,15 +22840,15 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + } | null; /** Deployment Workflow Run */ - workflow_run: OneOf<[{ + workflow_run: ({ /** User */ - actor: OneOf<[{ + actor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -22879,7 +22879,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; artifacts_url?: string; cancel_url?: string; check_suite_id: number; @@ -22998,11 +22998,11 @@ export interface components { /** Format: uri */ url: string; })[]; - referenced_workflows?: OneOf<[({ + referenced_workflows?: ({ path: string; ref?: string; sha: string; - })[], null]>; + })[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -23078,11 +23078,11 @@ export interface components { /** @enum {string} */ status: "requested" | "in_progress" | "completed" | "queued" | "waiting" | "pending"; /** User */ - triggering_actor?: OneOf<[{ + triggering_actor?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -23113,14 +23113,14 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: date-time */ updated_at: string; /** Format: uri */ url: string; workflow_id: number; workflow_url?: string; - }, null]>; + }) | null; }; /** deployment protection rule requested event */ "webhook-deployment-protection-rule-requested": { @@ -23146,9 +23146,9 @@ export interface components { "webhook-deployment-status-created": { /** @enum {string} */ action: "created"; - check_run?: OneOf<[{ + check_run?: ({ /** Format: date-time */ - completed_at: OneOf<[string, null]>; + completed_at: string | null; /** * @description The result of the completed check run. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed. * @enum {string|null} @@ -23175,7 +23175,7 @@ export interface components { status: "queued" | "in_progress" | "completed" | "waiting" | "pending"; /** Format: uri */ url: string; - }, null]>; + }) | null; /** * Deployment * @description The [deployment](https://docs.github.com/rest/reference/deployments#list-deployments). @@ -23183,11 +23183,11 @@ export interface components { deployment: { created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -23218,8 +23218,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; environment: string; id: number; node_id: string; @@ -23229,27 +23229,27 @@ export interface components { * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "merge_queue_entry" | "workflow_job" | "pull_request_review_thread" | "secret_scanning_alert_location" | "merge_group")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -23280,7 +23280,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -23357,8 +23357,8 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; production_environment?: boolean; ref: string; /** Format: uri */ @@ -23376,11 +23376,11 @@ export interface components { deployment_status: { created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -23411,7 +23411,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ deployment_url: string; /** @description The optional human-readable description added to the status. */ @@ -23427,27 +23427,27 @@ export interface components { * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "pull_request_review_thread" | "merge_queue_entry" | "workflow_job" | "merge_group" | "secret_scanning_alert_location")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -23478,7 +23478,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -23555,8 +23555,8 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; /** Format: uri */ repository_url: string; /** @description The new state. Can be `pending`, `success`, `failure`, or `error`. */ @@ -23573,7 +23573,7 @@ export interface components { repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; /** Workflow */ - workflow?: OneOf<[{ + workflow?: { /** Format: uri */ badge_url: string; /** Format: date-time */ @@ -23589,15 +23589,15 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + } | null; /** Deployment Workflow Run */ - workflow_run?: OneOf<[{ + workflow_run?: ({ /** User */ - actor: OneOf<[{ + actor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -23628,7 +23628,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; artifacts_url?: string; cancel_url?: string; check_suite_id: number; @@ -23747,11 +23747,11 @@ export interface components { /** Format: uri */ url: string; })[]; - referenced_workflows?: OneOf<[({ + referenced_workflows?: ({ path: string; ref?: string; sha: string; - })[], null]>; + })[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -23827,11 +23827,11 @@ export interface components { /** @enum {string} */ status: "requested" | "in_progress" | "completed" | "queued" | "waiting" | "pending"; /** User */ - triggering_actor: OneOf<[{ + triggering_actor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -23862,14 +23862,14 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: date-time */ updated_at: string; /** Format: uri */ url: string; workflow_id: number; workflow_url?: string; - }, null]>; + }) | null; }; /** discussion answered event */ "webhook-discussion-answered": { @@ -23909,11 +23909,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -23944,7 +23944,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; discussion: components["schemas"]["discussion"]; enterprise?: components["schemas"]["enterprise"]; @@ -24010,7 +24010,7 @@ export interface components { html_url: string; id: number; node_id: string; - parent_id: OneOf<[number, null]>; + parent_id: number | null; /** Reactions */ reactions: { "+1": number; @@ -24028,11 +24028,11 @@ export interface components { repository_url: string; updated_at: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -24063,7 +24063,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; discussion: components["schemas"]["discussion"]; enterprise?: components["schemas"]["enterprise"]; @@ -24090,7 +24090,7 @@ export interface components { html_url: string; id: number; node_id: string; - parent_id: OneOf<[number, null]>; + parent_id: number | null; /** Reactions */ reactions: { "+1": number; @@ -24108,11 +24108,11 @@ export interface components { repository_url: string; updated_at: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -24143,7 +24143,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; discussion: components["schemas"]["discussion"]; enterprise?: components["schemas"]["enterprise"]; @@ -24175,7 +24175,7 @@ export interface components { html_url: string; id: number; node_id: string; - parent_id: OneOf<[number, null]>; + parent_id: number | null; /** Reactions */ reactions: { "+1": number; @@ -24193,11 +24193,11 @@ export interface components { repository_url: string; updated_at: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -24228,7 +24228,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; discussion: components["schemas"]["discussion"]; enterprise?: components["schemas"]["enterprise"]; @@ -24242,14 +24242,14 @@ export interface components { /** @enum {string} */ action: "created"; discussion: ({ - active_lock_reason: OneOf<[string, null]>; - answer_chosen_at: OneOf<[string, null]>; + active_lock_reason: string | null; + answer_chosen_at: string | null; /** User */ - answer_chosen_by: OneOf<[{ + answer_chosen_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -24280,15 +24280,15 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - answer_html_url: OneOf<[string, null]>; + }) | null; + answer_html_url: string | null; /** * AuthorAssociation * @description How the author is associated with the repository. * @enum {string} */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; - body: OneOf<[string, null]>; + body: string | null; category: { /** Format: date-time */ created_at: string; @@ -24332,11 +24332,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -24367,14 +24367,14 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }) & ({ active_lock_reason?: null; answer_chosen_at: null; answer_chosen_by: null; - answer_html_url: OneOf<[string, null]>; + answer_html_url: string | null; author_association?: string; - body?: OneOf<[string, null]>; + body?: string | null; category?: { created_at?: string; description?: string; @@ -24482,7 +24482,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -24584,11 +24584,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -24619,7 +24619,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; @@ -24637,7 +24637,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -24742,7 +24742,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -24784,7 +24784,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -24802,25 +24802,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -24830,11 +24830,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -24865,7 +24865,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -24881,7 +24881,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -24913,7 +24913,7 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }) & { + }) & ({ allow_forking?: boolean; archive_url?: string; archived?: boolean; @@ -24930,7 +24930,7 @@ export interface components { created_at?: string; default_branch?: string; deployments_url?: string; - description?: OneOf<[string, null]>; + description?: string | null; disabled?: boolean; downloads_url?: string; events_url?: string; @@ -24949,7 +24949,7 @@ export interface components { has_pages?: boolean; has_projects?: boolean; has_wiki?: boolean; - homepage?: OneOf<[string, null]>; + homepage?: string | null; hooks_url?: string; html_url?: string; id?: number; @@ -24961,7 +24961,7 @@ export interface components { labels_url?: string; language?: null; languages_url?: string; - license?: OneOf<[Record, null]>; + license?: Record | null; merges_url?: string; milestones_url?: string; mirror_url?: null; @@ -25012,7 +25012,7 @@ export interface components { visibility?: string; watchers?: number; watchers_count?: number; - }; + }); installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; @@ -25049,7 +25049,7 @@ export interface components { page_name: string; /** @description The latest commit SHA of the page. */ sha: string; - summary: OneOf<[string, null]>; + summary: string | null; /** @description The current page title. */ title: string; })[]; @@ -25076,11 +25076,11 @@ export interface components { })[]; repository?: components["schemas"]["repository"]; /** User */ - requester?: OneOf<[{ + requester?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25111,7 +25111,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; sender: components["schemas"]["simple-user"]; }; /** installation deleted event */ @@ -25194,11 +25194,11 @@ export interface components { */ repository_selection: "all" | "selected"; /** User */ - requester: OneOf<[{ + requester: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25229,7 +25229,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; sender: components["schemas"]["simple-user"]; }; /** installation_repositories removed event */ @@ -25268,11 +25268,11 @@ export interface components { */ repository_selection: "all" | "selected"; /** User */ - requester: OneOf<[{ + requester: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25303,7 +25303,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; sender: components["schemas"]["simple-user"]; }; /** installation suspend event */ @@ -25330,7 +25330,7 @@ export interface components { }; "webhook-installation-target-renamed": { account: { - archived_at?: OneOf<[string, null]>; + archived_at?: string | null; avatar_url: string; created_at?: string; description?: null; @@ -25457,11 +25457,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25492,7 +25492,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; @@ -25501,11 +25501,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25536,12 +25536,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25572,7 +25572,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -25580,9 +25580,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -25599,7 +25599,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -25617,18 +25617,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25659,10 +25659,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -25683,34 +25683,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "reminder" | "pull_request_review_thread")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25741,7 +25741,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -25818,15 +25818,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -25853,7 +25853,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -25866,11 +25866,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25901,15 +25901,15 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }) & ({ - active_lock_reason?: OneOf<[string, null]>; + active_lock_reason?: string | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -25940,11 +25940,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees?: (OneOf<[Record, null]>)[]; + }) | null; + assignees?: (Record | null)[]; author_association?: string; - body?: OneOf<[string, null]>; - closed_at?: OneOf<[string, null]>; + body?: string | null; + closed_at?: string | null; comments?: number; comments_url?: string; created_at?: string; @@ -25955,7 +25955,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -25968,10 +25968,10 @@ export interface components { })[]; labels_url?: string; locked: boolean; - milestone?: OneOf<[Record, null]>; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: OneOf<[Record, null]>; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -26071,11 +26071,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26106,7 +26106,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; @@ -26115,11 +26115,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26150,12 +26150,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26186,7 +26186,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -26194,9 +26194,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -26213,7 +26213,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -26231,18 +26231,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26273,10 +26273,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -26297,34 +26297,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26355,7 +26355,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -26432,15 +26432,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -26467,7 +26467,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -26480,11 +26480,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26515,15 +26515,15 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }) & ({ - active_lock_reason?: OneOf<[string, null]>; + active_lock_reason?: string | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26554,11 +26554,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees?: (OneOf<[Record, null]>)[]; + }) | null; + assignees?: (Record | null)[]; author_association?: string; - body?: OneOf<[string, null]>; - closed_at?: OneOf<[string, null]>; + body?: string | null; + closed_at?: string | null; comments?: number; comments_url?: string; created_at?: string; @@ -26569,7 +26569,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -26582,10 +26582,10 @@ export interface components { })[]; labels_url?: string; locked: boolean; - milestone?: OneOf<[Record, null]>; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: OneOf<[Record, null]>; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -26692,11 +26692,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26727,7 +26727,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; @@ -26736,11 +26736,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26771,12 +26771,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26807,7 +26807,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -26815,9 +26815,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -26834,7 +26834,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -26852,18 +26852,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26894,10 +26894,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -26918,34 +26918,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "reminder" | "pull_request_review_thread")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -26976,7 +26976,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -27053,15 +27053,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -27088,7 +27088,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -27101,11 +27101,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27136,15 +27136,15 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }) & ({ - active_lock_reason?: OneOf<[string, null]>; + active_lock_reason?: string | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27175,11 +27175,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees?: (OneOf<[Record, null]>)[]; + }) | null; + assignees?: (Record | null)[]; author_association?: string; - body?: OneOf<[string, null]>; - closed_at?: OneOf<[string, null]>; + body?: string | null; + closed_at?: string | null; comments?: number; comments_url?: string; created_at?: string; @@ -27190,7 +27190,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -27203,10 +27203,10 @@ export interface components { })[]; labels_url?: string; locked: boolean; - milestone?: OneOf<[Record, null]>; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: OneOf<[Record, null]>; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -27262,11 +27262,11 @@ export interface components { */ action: "assigned"; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27297,7 +27297,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** @@ -27308,11 +27308,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27343,12 +27343,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27379,7 +27379,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -27387,9 +27387,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -27406,7 +27406,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -27424,18 +27424,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27466,10 +27466,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -27490,34 +27490,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "reminder" | "pull_request_review_thread")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27548,7 +27548,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -27625,15 +27625,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -27660,7 +27660,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -27673,11 +27673,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27708,7 +27708,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; @@ -27728,11 +27728,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27763,12 +27763,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27799,7 +27799,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -27807,9 +27807,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -27826,7 +27826,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -27844,18 +27844,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27886,10 +27886,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -27910,34 +27910,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "security_and_analysis" | "reminder" | "pull_request_review_thread")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -27968,7 +27968,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -28045,15 +28045,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -28080,7 +28080,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -28093,11 +28093,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28128,27 +28128,27 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }) & ({ - active_lock_reason?: OneOf<[string, null]>; - assignee?: OneOf<[Record, null]>; - assignees?: (OneOf<[Record, null]>)[]; + active_lock_reason?: string | null; + assignee?: Record | null; + assignees?: (Record | null)[]; author_association?: string; - body?: OneOf<[string, null]>; - closed_at: OneOf<[string, null]>; + body?: string | null; + closed_at: string | null; comments?: number; comments_url?: string; created_at?: string; events_url?: string; html_url?: string; id?: number; - labels?: (OneOf<[Record, null]>)[]; + labels?: (Record | null)[]; labels_url?: string; locked?: boolean; - milestone?: OneOf<[Record, null]>; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: OneOf<[Record, null]>; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -28207,11 +28207,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28242,12 +28242,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28278,7 +28278,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -28286,9 +28286,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -28305,7 +28305,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -28323,18 +28323,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28365,10 +28365,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -28389,34 +28389,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "reminder")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28447,7 +28447,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -28524,15 +28524,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -28559,7 +28559,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -28572,11 +28572,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28607,7 +28607,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; @@ -28623,11 +28623,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28658,12 +28658,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28694,7 +28694,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -28702,9 +28702,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -28721,7 +28721,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -28739,18 +28739,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28781,10 +28781,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -28805,34 +28805,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -28863,7 +28863,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -28940,15 +28940,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -28975,7 +28975,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -28988,11 +28988,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29023,39 +29023,39 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }) & ({ - active_lock_reason?: OneOf<[string, null]>; - assignee?: OneOf<[Record, null]>; - assignees?: (OneOf<[Record, null]>)[]; + active_lock_reason?: string | null; + assignee?: Record | null; + assignees?: (Record | null)[]; author_association?: string; - body?: OneOf<[string, null]>; - closed_at?: OneOf<[string, null]>; + body?: string | null; + closed_at?: string | null; comments?: number; comments_url?: string; created_at?: string; events_url?: string; html_url?: string; id?: number; - labels?: (OneOf<[Record, null]>)[]; + labels?: (Record | null)[]; labels_url?: string; locked?: boolean; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29086,10 +29086,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -29110,10 +29110,10 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id?: string; number?: number; - performed_via_github_app?: OneOf<[Record, null]>; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -29159,16 +29159,16 @@ export interface components { */ milestone?: { /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29199,10 +29199,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -29253,11 +29253,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29288,12 +29288,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29324,7 +29324,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -29332,9 +29332,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -29351,7 +29351,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -29369,18 +29369,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29411,10 +29411,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -29435,34 +29435,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "security_and_analysis" | "pull_request_review_thread" | "reminder")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29493,7 +29493,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -29570,15 +29570,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -29605,7 +29605,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -29618,11 +29618,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29653,14 +29653,14 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Label */ label?: { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -29689,11 +29689,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29724,12 +29724,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29760,7 +29760,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -29768,9 +29768,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -29787,7 +29787,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -29805,18 +29805,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29847,10 +29847,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -29871,34 +29871,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "pull_request_review_thread" | "reminder")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -29929,7 +29929,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -30006,15 +30006,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -30041,7 +30041,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -30054,11 +30054,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30089,14 +30089,14 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Label */ label?: { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -30121,11 +30121,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30156,12 +30156,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30192,7 +30192,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -30200,9 +30200,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -30219,7 +30219,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -30237,18 +30237,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30279,10 +30279,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -30303,34 +30303,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "reminder" | "security_and_analysis")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30361,7 +30361,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -30438,15 +30438,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -30473,7 +30473,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -30486,11 +30486,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30521,29 +30521,29 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }) & ({ /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; - assignee?: OneOf<[Record, null]>; - assignees?: (OneOf<[Record, null]>)[]; + assignee?: Record | null; + assignees?: (Record | null)[]; author_association?: string; - body?: OneOf<[string, null]>; - closed_at?: OneOf<[string, null]>; + body?: string | null; + closed_at?: string | null; comments?: number; comments_url?: string; created_at?: string; events_url?: string; html_url?: string; id?: number; - labels?: (OneOf<[Record, null]>)[]; + labels?: (Record | null)[]; labels_url?: string; /** @enum {boolean} */ locked: true; - milestone?: OneOf<[Record, null]>; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: OneOf<[Record, null]>; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -30597,11 +30597,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30632,12 +30632,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30668,7 +30668,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -30676,9 +30676,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -30695,7 +30695,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -30713,18 +30713,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30755,10 +30755,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -30779,34 +30779,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "reminder")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30837,7 +30837,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -30914,15 +30914,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -30949,7 +30949,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -30962,11 +30962,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -30997,21 +30997,21 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }) & ({ - active_lock_reason?: OneOf<[string, null]>; - assignee?: OneOf<[Record, null]>; - assignees?: (OneOf<[Record, null]>)[]; + active_lock_reason?: string | null; + assignee?: Record | null; + assignees?: (Record | null)[]; author_association?: string; - body?: OneOf<[string, null]>; - closed_at?: OneOf<[string, null]>; + body?: string | null; + closed_at?: string | null; comments?: number; comments_url?: string; created_at?: string; events_url?: string; html_url?: string; id?: number; - labels?: (OneOf<[Record, null]>)[]; + labels?: (Record | null)[]; labels_url?: string; locked?: boolean; /** @@ -31020,16 +31020,16 @@ export interface components { */ milestone: { /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31060,10 +31060,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -31087,7 +31087,7 @@ export interface components { }; node_id?: string; number?: number; - performed_via_github_app?: OneOf<[Record, null]>; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -31133,16 +31133,16 @@ export interface components { */ milestone: { /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31173,10 +31173,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -31211,15 +31211,15 @@ export interface components { * Issue * @description The [issue](https://docs.github.com/rest/reference/issues) itself. */ - old_issue: OneOf<[{ + old_issue: ({ /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31250,12 +31250,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31286,7 +31286,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -31294,9 +31294,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -31313,7 +31313,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -31331,18 +31331,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31373,10 +31373,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -31397,34 +31397,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31455,7 +31455,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -31532,15 +31532,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -31567,7 +31567,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -31580,11 +31580,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31615,8 +31615,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - }, null]>; + }) | null; + }) | null; /** * Repository * @description A git repository @@ -31682,7 +31682,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -31724,7 +31724,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -31742,25 +31742,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -31770,11 +31770,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31805,7 +31805,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -31821,7 +31821,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -31863,11 +31863,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31898,12 +31898,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -31934,7 +31934,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -31942,9 +31942,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -31961,7 +31961,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -31979,18 +31979,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32021,10 +32021,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -32045,34 +32045,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "security_and_analysis" | "pull_request_review_thread" | "reminder")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32103,7 +32103,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -32180,15 +32180,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -32215,7 +32215,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -32228,11 +32228,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32263,7 +32263,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; @@ -32283,11 +32283,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32318,12 +32318,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32354,7 +32354,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -32362,9 +32362,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -32381,7 +32381,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -32399,18 +32399,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32441,10 +32441,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -32465,34 +32465,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32523,7 +32523,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -32600,15 +32600,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -32635,7 +32635,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -32648,11 +32648,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32683,7 +32683,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; @@ -32699,11 +32699,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32734,12 +32734,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32770,7 +32770,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -32778,9 +32778,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -32797,7 +32797,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -32815,18 +32815,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32857,10 +32857,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -32881,34 +32881,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "pull_request_review_thread" | "reminder")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -32939,7 +32939,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -33016,15 +33016,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -33051,7 +33051,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -33064,11 +33064,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33099,27 +33099,27 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }) & ({ - active_lock_reason?: OneOf<[string, null]>; - assignee?: OneOf<[Record, null]>; - assignees?: (OneOf<[Record, null]>)[]; + active_lock_reason?: string | null; + assignee?: Record | null; + assignees?: (Record | null)[]; author_association?: string; - body?: OneOf<[string, null]>; - closed_at?: OneOf<[string, null]>; + body?: string | null; + closed_at?: string | null; comments?: number; comments_url?: string; created_at?: string; events_url?: string; html_url?: string; id?: number; - labels?: (OneOf<[Record, null]>)[]; + labels?: (Record | null)[]; labels_url?: string; locked?: boolean; - milestone?: OneOf<[Record, null]>; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: OneOf<[Record, null]>; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -33177,11 +33177,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33212,12 +33212,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33248,7 +33248,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -33256,9 +33256,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -33275,7 +33275,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -33293,18 +33293,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33335,10 +33335,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -33359,34 +33359,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33417,7 +33417,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -33494,15 +33494,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -33529,7 +33529,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -33542,11 +33542,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33577,7 +33577,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** * Repository @@ -33644,7 +33644,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -33691,7 +33691,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -33709,25 +33709,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -33737,11 +33737,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33772,7 +33772,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -33788,7 +33788,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -33832,11 +33832,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33867,12 +33867,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33903,7 +33903,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -33911,9 +33911,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -33930,7 +33930,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -33948,18 +33948,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -33990,10 +33990,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -34014,34 +34014,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34072,7 +34072,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -34149,15 +34149,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -34184,7 +34184,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -34197,11 +34197,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34232,7 +34232,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; @@ -34246,11 +34246,11 @@ export interface components { */ action: "unassigned"; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34281,7 +34281,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** @@ -34292,11 +34292,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34327,12 +34327,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34363,7 +34363,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -34371,9 +34371,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -34390,7 +34390,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -34408,18 +34408,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34450,10 +34450,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -34474,34 +34474,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "reminder" | "pull_request_review_thread")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34532,7 +34532,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -34609,15 +34609,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -34644,7 +34644,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -34657,11 +34657,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34692,7 +34692,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; @@ -34712,11 +34712,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34747,12 +34747,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34783,7 +34783,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -34791,9 +34791,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -34810,7 +34810,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -34828,18 +34828,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34870,10 +34870,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -34894,34 +34894,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run" | "reminder" | "pull_request_review_thread")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -34952,7 +34952,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -35029,15 +35029,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -35064,7 +35064,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -35077,11 +35077,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35112,14 +35112,14 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Label */ label?: { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -35144,11 +35144,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35179,12 +35179,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35215,7 +35215,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -35223,9 +35223,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -35242,7 +35242,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -35260,18 +35260,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35302,10 +35302,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -35326,34 +35326,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35384,7 +35384,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -35461,15 +35461,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -35496,7 +35496,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -35509,11 +35509,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35544,25 +35544,25 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - }) & { + }) | null; + }) & ({ active_lock_reason: null; - assignee?: OneOf<[Record, null]>; - assignees?: (OneOf<[Record, null]>)[]; + assignee?: Record | null; + assignees?: (Record | null)[]; author_association?: string; - body?: OneOf<[string, null]>; - closed_at?: OneOf<[string, null]>; + body?: string | null; + closed_at?: string | null; comments?: number; comments_url?: string; created_at?: string; events_url?: string; html_url?: string; id?: number; - labels?: (OneOf<[Record, null]>)[]; + labels?: (Record | null)[]; labels_url?: string; /** @enum {boolean} */ locked: false; - milestone?: OneOf<[Record, null]>; + milestone?: Record | null; node_id?: string; number?: number; performed_via_github_app?: null; @@ -35604,7 +35604,7 @@ export interface components { type?: string; url?: string; }; - }; + }); organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -35623,11 +35623,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35658,12 +35658,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35694,7 +35694,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -35702,9 +35702,9 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description Contents of the issue */ - body: OneOf<[string, null]>; + body: string | null; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments: number; /** Format: uri */ comments_url: string; @@ -35721,7 +35721,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -35739,18 +35739,18 @@ export interface components { * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35781,10 +35781,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -35805,34 +35805,34 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** * 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. */ - performed_via_github_app?: OneOf<[{ + performed_via_github_app?: ({ /** Format: date-time */ - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; /** @description The list of events for the GitHub app */ events?: ("branch_protection_rule" | "check_run" | "check_suite" | "code_scanning_alert" | "commit_comment" | "content_reference" | "create" | "delete" | "deployment" | "deployment_review" | "deployment_status" | "deploy_key" | "discussion" | "discussion_comment" | "fork" | "gollum" | "issues" | "issue_comment" | "label" | "member" | "membership" | "milestone" | "organization" | "org_block" | "page_build" | "project" | "project_card" | "project_column" | "public" | "pull_request" | "pull_request_review" | "pull_request_review_comment" | "push" | "registry_package" | "release" | "repository" | "repository_dispatch" | "secret_scanning_alert" | "star" | "status" | "team" | "team_add" | "watch" | "workflow_dispatch" | "workflow_run")[]; /** Format: uri */ - external_url: OneOf<[string, null]>; + external_url: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the GitHub app */ - id: OneOf<[number, null]>; + id: number | null; /** @description The name of the GitHub app */ name: string; node_id: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -35863,7 +35863,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The set of permissions for the GitHub app */ permissions?: { /** @enum {string} */ @@ -35940,15 +35940,15 @@ export interface components { /** @description The slug name of the GitHub app */ slug?: string; /** Format: date-time */ - updated_at: OneOf<[string, null]>; - }, null]>; + updated_at: string | null; + }) | null; pull_request?: { /** Format: uri */ diff_url?: string; /** Format: uri */ html_url?: string; /** Format: date-time */ - merged_at?: OneOf<[string, null]>; + merged_at?: string | null; /** Format: uri */ patch_url?: string; /** Format: uri */ @@ -35975,7 +35975,7 @@ export interface components { * @enum {string} */ state?: "open" | "closed"; - state_reason?: OneOf<[string, null]>; + state_reason?: string | null; /** Format: uri */ timeline_url?: string; /** @description Title of the issue */ @@ -35988,11 +35988,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -36023,7 +36023,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; @@ -36040,7 +36040,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -36066,7 +36066,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -36107,7 +36107,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -36134,12 +36134,12 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; - free_trial_ends_on: OneOf<[string, null]>; - next_billing_date?: OneOf<[string, null]>; + free_trial_ends_on: string | null; + next_billing_date?: string | null; on_free_trial: boolean; plan: { bullets: (string)[]; @@ -36150,7 +36150,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36159,15 +36159,15 @@ export interface components { id?: number; login?: string; node_id?: string; - organization_billing_email?: OneOf<[string, null]>; + organization_billing_email?: string | null; type?: string; }; billing_cycle?: string; - free_trial_ends_on?: OneOf<[string, null]>; - next_billing_date: OneOf<[string, null]>; + free_trial_ends_on?: string | null; + next_billing_date: string | null; on_free_trial?: boolean; plan?: { - bullets?: (OneOf<[string, null]>)[]; + bullets?: (string | null)[]; description?: string; has_free_trial?: boolean; id?: number; @@ -36175,7 +36175,7 @@ export interface components { name?: string; /** @enum {string} */ price_model?: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name?: OneOf<[string, null]>; + unit_name?: string | null; yearly_price_in_cents?: number; }; unit_count?: number; @@ -36187,12 +36187,12 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; free_trial_ends_on: null; - next_billing_date?: OneOf<[string, null]>; + next_billing_date?: string | null; on_free_trial: boolean; plan: { bullets: (string)[]; @@ -36203,7 +36203,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36223,12 +36223,12 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; - free_trial_ends_on: OneOf<[string, null]>; - next_billing_date?: OneOf<[string, null]>; + free_trial_ends_on: string | null; + next_billing_date?: string | null; on_free_trial: boolean; plan: { bullets: (string)[]; @@ -36239,7 +36239,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36248,15 +36248,15 @@ export interface components { id?: number; login?: string; node_id?: string; - organization_billing_email?: OneOf<[string, null]>; + organization_billing_email?: string | null; type?: string; }; billing_cycle?: string; - free_trial_ends_on?: OneOf<[string, null]>; - next_billing_date: OneOf<[string, null]>; + free_trial_ends_on?: string | null; + next_billing_date: string | null; on_free_trial?: boolean; plan?: { - bullets?: (OneOf<[string, null]>)[]; + bullets?: (string | null)[]; description?: string; has_free_trial?: boolean; id?: number; @@ -36264,7 +36264,7 @@ export interface components { name?: string; /** @enum {string} */ price_model?: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name?: OneOf<[string, null]>; + unit_name?: string | null; yearly_price_in_cents?: number; }; unit_count?: number; @@ -36276,13 +36276,13 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; - free_trial_ends_on: OneOf<[string, null]>; - next_billing_date?: OneOf<[string, null]>; - on_free_trial: OneOf<[boolean, null]>; + free_trial_ends_on: string | null; + next_billing_date?: string | null; + on_free_trial: boolean | null; plan: { bullets: (string)[]; description: string; @@ -36292,7 +36292,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36312,12 +36312,12 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; - free_trial_ends_on: OneOf<[string, null]>; - next_billing_date?: OneOf<[string, null]>; + free_trial_ends_on: string | null; + next_billing_date?: string | null; on_free_trial: boolean; plan: { bullets: (string)[]; @@ -36328,7 +36328,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36337,15 +36337,15 @@ export interface components { id?: number; login?: string; node_id?: string; - organization_billing_email?: OneOf<[string, null]>; + organization_billing_email?: string | null; type?: string; }; billing_cycle?: string; - free_trial_ends_on?: OneOf<[string, null]>; - next_billing_date: OneOf<[string, null]>; + free_trial_ends_on?: string | null; + next_billing_date: string | null; on_free_trial?: boolean; plan?: { - bullets?: (OneOf<[string, null]>)[]; + bullets?: (string | null)[]; description?: string; has_free_trial?: boolean; id?: number; @@ -36353,7 +36353,7 @@ export interface components { name?: string; /** @enum {string} */ price_model?: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name?: OneOf<[string, null]>; + unit_name?: string | null; yearly_price_in_cents?: number; }; unit_count?: number; @@ -36365,12 +36365,12 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; - free_trial_ends_on: OneOf<[string, null]>; - next_billing_date?: OneOf<[string, null]>; + free_trial_ends_on: string | null; + next_billing_date?: string | null; on_free_trial: boolean; plan: { bullets: (string)[]; @@ -36381,7 +36381,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36401,12 +36401,12 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; free_trial_ends_on: null; - next_billing_date?: OneOf<[string, null]>; + next_billing_date?: string | null; on_free_trial: boolean; plan: { bullets: (string)[]; @@ -36417,7 +36417,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36431,12 +36431,12 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; free_trial_ends_on: null; - next_billing_date?: OneOf<[string, null]>; + next_billing_date?: string | null; on_free_trial: boolean; plan: { bullets: (string)[]; @@ -36447,7 +36447,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36467,12 +36467,12 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; - free_trial_ends_on: OneOf<[string, null]>; - next_billing_date?: OneOf<[string, null]>; + free_trial_ends_on: string | null; + next_billing_date?: string | null; on_free_trial: boolean; plan: { bullets: (string)[]; @@ -36483,7 +36483,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36492,15 +36492,15 @@ export interface components { id?: number; login?: string; node_id?: string; - organization_billing_email?: OneOf<[string, null]>; + organization_billing_email?: string | null; type?: string; }; billing_cycle?: string; - free_trial_ends_on?: OneOf<[string, null]>; - next_billing_date: OneOf<[string, null]>; + free_trial_ends_on?: string | null; + next_billing_date: string | null; on_free_trial?: boolean; plan?: { - bullets?: (OneOf<[string, null]>)[]; + bullets?: (string | null)[]; description?: string; has_free_trial?: boolean; id?: number; @@ -36508,7 +36508,7 @@ export interface components { name?: string; /** @enum {string} */ price_model?: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name?: OneOf<[string, null]>; + unit_name?: string | null; yearly_price_in_cents?: number; }; unit_count?: number; @@ -36520,12 +36520,12 @@ export interface components { id: number; login: string; node_id: string; - organization_billing_email: OneOf<[string, null]>; + organization_billing_email: string | null; type: string; }; billing_cycle: string; free_trial_ends_on: null; - next_billing_date?: OneOf<[string, null]>; + next_billing_date?: string | null; on_free_trial: boolean; plan: { bullets: (string)[]; @@ -36536,7 +36536,7 @@ export interface components { name: string; /** @enum {string} */ price_model: "FREE" | "FLAT_RATE" | "PER_UNIT"; - unit_name: OneOf<[string, null]>; + unit_name: string | null; yearly_price_in_cents: number; }; unit_count: number; @@ -36557,11 +36557,11 @@ export interface components { enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** User */ - member: OneOf<[{ + member: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -36592,7 +36592,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -36608,18 +36608,18 @@ export interface components { from: string; }; permission?: { - from?: OneOf<[string, null]>; - to?: OneOf<[string, null]>; + from?: string | null; + to?: string | null; }; }; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** User */ - member: OneOf<[{ + member: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -36650,7 +36650,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -36662,11 +36662,11 @@ export interface components { enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** User */ - member: OneOf<[{ + member: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -36697,7 +36697,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; organization?: components["schemas"]["organization-simple"]; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -36709,11 +36709,11 @@ export interface components { enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** User */ - member: OneOf<[{ + member: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -36744,7 +36744,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; organization: components["schemas"]["organization-simple"]; repository?: components["schemas"]["repository"]; /** @@ -36753,11 +36753,11 @@ export interface components { */ scope: "team"; /** User */ - sender: OneOf<[{ + sender: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -36788,7 +36788,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Team * @description Groups of organization members that gives permissions on specified repositories. @@ -36796,7 +36796,7 @@ export interface components { team: { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -36806,9 +36806,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -36835,7 +36835,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -36859,11 +36859,11 @@ export interface components { enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** User */ - member: OneOf<[{ + member: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -36894,7 +36894,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; organization: components["schemas"]["organization-simple"]; repository?: components["schemas"]["repository"]; /** @@ -36903,11 +36903,11 @@ export interface components { */ scope: "team" | "organization"; /** User */ - sender: OneOf<[{ + sender: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -36938,7 +36938,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Team * @description Groups of organization members that gives permissions on specified repositories. @@ -36946,7 +36946,7 @@ export interface components { team: { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -36956,9 +36956,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -36985,7 +36985,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -37067,16 +37067,16 @@ export interface components { */ milestone: { /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37107,10 +37107,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -37148,16 +37148,16 @@ export interface components { */ milestone: { /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37188,10 +37188,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -37229,16 +37229,16 @@ export interface components { */ milestone: { /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37269,10 +37269,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -37325,16 +37325,16 @@ export interface components { */ milestone: { /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37365,10 +37365,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -37406,16 +37406,16 @@ export interface components { */ milestone: { /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37446,10 +37446,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -37480,11 +37480,11 @@ export interface components { /** @enum {string} */ action: "blocked"; /** User */ - blocked_user: OneOf<[{ + blocked_user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37515,7 +37515,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple"]; @@ -37527,11 +37527,11 @@ export interface components { /** @enum {string} */ action: "unblocked"; /** User */ - blocked_user: OneOf<[{ + blocked_user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37562,7 +37562,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple"]; @@ -37587,11 +37587,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37622,7 +37622,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization: components["schemas"]["organization-simple"]; repository?: components["schemas"]["repository"]; @@ -37646,11 +37646,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37681,7 +37681,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization: components["schemas"]["organization-simple"]; repository?: components["schemas"]["repository"]; @@ -37697,19 +37697,19 @@ export interface components { invitation: { /** Format: date-time */ created_at: string; - email: OneOf<[string, null]>; + email: string | null; /** Format: date-time */ - failed_at: OneOf<[string, null]>; - failed_reason: OneOf<[string, null]>; + failed_at: string | null; + failed_reason: string | null; id: number; /** Format: uri */ invitation_teams_url: string; /** User */ - inviter: OneOf<[{ + inviter: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37740,8 +37740,8 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - login: OneOf<[string, null]>; + }) | null; + login: string | null; node_id: string; role: string; team_count: number; @@ -37751,11 +37751,11 @@ export interface components { repository?: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; /** User */ - user?: OneOf<[{ + user?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37786,7 +37786,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** organization member_removed event */ "webhook-organization-member-removed": { @@ -37806,11 +37806,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37841,7 +37841,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization: components["schemas"]["organization-simple"]; repository?: components["schemas"]["repository"]; @@ -37870,11 +37870,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37905,7 +37905,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; organization: components["schemas"]["organization-simple"]; repository?: components["schemas"]["repository"]; @@ -37939,8 +37939,8 @@ export interface components { organization?: components["schemas"]["organization-simple"]; /** @description Information about the package. */ package: { - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; ecosystem: string; /** Format: uri */ html_url: string; @@ -37948,11 +37948,11 @@ export interface components { name: string; namespace: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -37983,15 +37983,15 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; package_type: string; - package_version: OneOf<[{ + package_version: ({ /** User */ - author?: OneOf<[{ + author?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38022,17 +38022,17 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; body?: string | Record; body_html?: string; - container_metadata?: OneOf<[{ - labels?: OneOf<[Record, null]>; - manifest?: OneOf<[Record, null]>; + container_metadata?: ({ + labels?: Record | null; + manifest?: Record | null; tag?: { digest?: string; name?: string; }; - }, null]>; + }) | null; created_at?: string; description: string; docker_metadata?: ({ @@ -38048,23 +38048,23 @@ export interface components { [key: string]: unknown; })[]; name: string; - npm_metadata?: OneOf<[{ + npm_metadata?: ({ name?: string; version?: string; npm_user?: string; - author?: OneOf<[Record, null]>; - bugs?: OneOf<[Record, null]>; + author?: Record | null; + bugs?: Record | null; dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: OneOf<[Record, null]>; + dist?: Record | null; git_head?: string; homepage?: string; license?: string; main?: string; - repository?: OneOf<[Record, null]>; + repository?: Record | null; scripts?: Record; id?: string; node_version?: string; @@ -38077,7 +38077,7 @@ export interface components { files?: (string)[]; bin?: Record; man?: Record; - directories?: OneOf<[Record, null]>; + directories?: Record | null; os?: (string)[]; cpu?: (string)[]; readme?: string; @@ -38086,8 +38086,8 @@ export interface components { commit_oid?: string; published_via_actions?: boolean; deleted_by_id?: number; - }, null]>; - nuget_metadata?: OneOf<[({ + }) | null; + nuget_metadata?: (({ id?: number | string; name?: string; value?: OneOf<[boolean, string, number, { @@ -38096,30 +38096,30 @@ export interface components { commit?: string; type?: string; }]>; - })[], null]>; + })[]) | null; package_files: ({ content_type: string; created_at: string; /** Format: uri */ download_url: string; id: number; - md5: OneOf<[string, null]>; + md5: string | null; name: string; - sha1: OneOf<[string, null]>; - sha256: OneOf<[string, null]>; + sha1: string | null; + sha256: string | null; size: number; - state: OneOf<[string, null]>; + state: string | null; updated_at: string; })[]; package_url?: string; prerelease?: boolean; release?: { /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38150,13 +38150,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; created_at: string; draft: boolean; /** Format: uri */ html_url: string; id: number; - name: OneOf<[string, null]>; + name: string | null; prerelease: boolean; published_at: string; tag_name: string; @@ -38172,8 +38172,8 @@ export interface components { target_oid?: string; updated_at?: string; version: string; - }, null]>; - registry: OneOf<[{ + }) | null; + registry: { /** Format: uri */ about_url: string; name: string; @@ -38181,8 +38181,8 @@ export interface components { /** Format: uri */ url: string; vendor: string; - }, null]>; - updated_at: OneOf<[string, null]>; + } | null; + updated_at: string | null; }; repository?: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -38197,7 +38197,7 @@ export interface components { /** @description Information about the package. */ package: { created_at: string; - description: OneOf<[string, null]>; + description: string | null; ecosystem: string; /** Format: uri */ html_url: string; @@ -38205,11 +38205,11 @@ export interface components { name: string; namespace: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38240,15 +38240,15 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; package_type: string; package_version: { /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38279,7 +38279,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; body: string; body_html: string; created_at: string; @@ -38303,9 +38303,9 @@ export interface components { /** Format: uri */ download_url: string; id: number; - md5: OneOf<[string, null]>; + md5: string | null; name: string; - sha1: OneOf<[string, null]>; + sha1: string | null; sha256: string; size: number; state: string; @@ -38315,11 +38315,11 @@ export interface components { prerelease?: boolean; release?: { /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38350,7 +38350,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; created_at: string; draft: boolean; /** Format: uri */ @@ -38374,7 +38374,7 @@ export interface components { updated_at: string; version: string; }; - registry: OneOf<[{ + registry: { /** Format: uri */ about_url: string; name: string; @@ -38382,7 +38382,7 @@ export interface components { /** Format: uri */ url: string; vendor: string; - }, null]>; + } | null; updated_at: string; }; repository: components["schemas"]["repository"]; @@ -38392,18 +38392,18 @@ export interface components { "webhook-page-build": { /** @description The [List GitHub Pages builds](https://docs.github.com/rest/reference/repos#list-github-pages-builds) itself. */ build: { - commit: OneOf<[string, null]>; + commit: string | null; created_at: string; duration: number; error: { - message: OneOf<[string, null]>; + message: string | null; }; /** User */ - pusher: OneOf<[{ + pusher: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38434,7 +38434,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; status: string; updated_at: string; /** Format: uri */ @@ -38550,7 +38550,7 @@ export interface components { organization?: components["schemas"]["organization-simple"]; /** Project Card */ project_card: { - after_id?: OneOf<[number, null]>; + after_id?: number | null; /** @description Whether or not the card is archived */ archived: boolean; column_id: number; @@ -38561,11 +38561,11 @@ export interface components { /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38596,11 +38596,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The project card's ID */ id: number; node_id: string; - note: OneOf<[string, null]>; + note: string | null; /** Format: uri */ project_url: string; /** Format: date-time */ @@ -38620,7 +38620,7 @@ export interface components { organization?: components["schemas"]["organization-simple"]; /** Project Card */ project_card: { - after_id?: OneOf<[number, null]>; + after_id?: number | null; /** @description Whether or not the card is archived */ archived: boolean; column_id: number; @@ -38631,11 +38631,11 @@ export interface components { /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38666,11 +38666,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The project card's ID */ id: number; node_id: string; - note: OneOf<[string, null]>; + note: string | null; /** Format: uri */ project_url: string; /** Format: date-time */ @@ -38690,10 +38690,10 @@ export interface components { organization?: components["schemas"]["organization-simple"]; /** Project Card */ project_card: { - after_id?: OneOf<[number, null]>; + after_id?: number | null; /** @description Whether or not the card is archived */ archived: boolean; - column_id: OneOf<[number, null]>; + column_id: number | null; /** Format: uri */ column_url: string; /** Format: uri */ @@ -38701,11 +38701,11 @@ export interface components { /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38736,11 +38736,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The project card's ID */ id: number; node_id: string; - note: OneOf<[string, null]>; + note: string | null; /** Format: uri */ project_url: string; /** Format: date-time */ @@ -38757,7 +38757,7 @@ export interface components { action: "edited"; changes: { note: { - from: OneOf<[string, null]>; + from: string | null; }; }; enterprise?: components["schemas"]["enterprise"]; @@ -38765,7 +38765,7 @@ export interface components { organization?: components["schemas"]["organization-simple"]; /** Project Card */ project_card: { - after_id?: OneOf<[number, null]>; + after_id?: number | null; /** @description Whether or not the card is archived */ archived: boolean; column_id: number; @@ -38776,11 +38776,11 @@ export interface components { /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38811,11 +38811,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The project card's ID */ id: number; node_id: string; - note: OneOf<[string, null]>; + note: string | null; /** Format: uri */ project_url: string; /** Format: date-time */ @@ -38839,7 +38839,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple"]; project_card: ({ - after_id?: OneOf<[number, null]>; + after_id?: number | null; /** @description Whether or not the card is archived */ archived: boolean; column_id: number; @@ -38850,11 +38850,11 @@ export interface components { /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38885,24 +38885,24 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description The project card's ID */ id: number; node_id: string; - note: OneOf<[string, null]>; + note: string | null; /** Format: uri */ project_url: string; /** Format: date-time */ updated_at: string; /** Format: uri */ url: string; - }) & { - after_id: OneOf<[number, null]>; + }) & ({ + after_id: number | null; archived?: boolean; column_id?: number; column_url?: string; created_at?: string; - creator?: OneOf<[{ + creator?: { avatar_url?: string; events_url?: string; followers_url?: string; @@ -38921,14 +38921,14 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; - }, null]>; + } | null; id?: number; node_id?: string; - note?: OneOf<[string, null]>; + note?: string | null; project_url?: string; updated_at?: string; url?: string; - }; + }); repository?: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; }; @@ -38942,17 +38942,17 @@ export interface components { /** Project */ project: { /** @description Body of the project */ - body: OneOf<[string, null]>; + body: string | null; /** Format: uri */ columns_url: string; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -38983,7 +38983,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ html_url: string; id: number; @@ -39015,7 +39015,7 @@ export interface components { organization?: components["schemas"]["organization-simple"]; /** Project Column */ project_column: { - after_id?: OneOf<[number, null]>; + after_id?: number | null; /** Format: uri */ cards_url: string; /** Format: date-time */ @@ -39044,7 +39044,7 @@ export interface components { organization?: components["schemas"]["organization-simple"]; /** Project Column */ project_column: { - after_id?: OneOf<[number, null]>; + after_id?: number | null; /** Format: uri */ cards_url: string; /** Format: date-time */ @@ -39078,7 +39078,7 @@ export interface components { organization?: components["schemas"]["organization-simple"]; /** Project Column */ project_column: { - after_id?: OneOf<[number, null]>; + after_id?: number | null; /** Format: uri */ cards_url: string; /** Format: date-time */ @@ -39107,7 +39107,7 @@ export interface components { organization?: components["schemas"]["organization-simple"]; /** Project Column */ project_column: { - after_id?: OneOf<[number, null]>; + after_id?: number | null; /** Format: uri */ cards_url: string; /** Format: date-time */ @@ -39137,17 +39137,17 @@ export interface components { /** Project */ project: { /** @description Body of the project */ - body: OneOf<[string, null]>; + body: string | null; /** Format: uri */ columns_url: string; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -39178,7 +39178,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ html_url: string; id: number; @@ -39211,17 +39211,17 @@ export interface components { /** Project */ project: { /** @description Body of the project */ - body: OneOf<[string, null]>; + body: string | null; /** Format: uri */ columns_url: string; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -39252,7 +39252,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ html_url: string; id: number; @@ -39296,17 +39296,17 @@ export interface components { /** Project */ project: { /** @description Body of the project */ - body: OneOf<[string, null]>; + body: string | null; /** Format: uri */ columns_url: string; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -39337,7 +39337,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ html_url: string; id: number; @@ -39370,17 +39370,17 @@ export interface components { /** Project */ project: { /** @description Body of the project */ - body: OneOf<[string, null]>; + body: string | null; /** Format: uri */ columns_url: string; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -39411,7 +39411,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ html_url: string; id: number; @@ -39467,16 +39467,16 @@ export interface components { action: "edited"; changes: { description?: { - from?: OneOf<[string, null]>; - to?: OneOf<[string, null]>; + from?: string | null; + to?: string | null; }; public?: { from?: boolean; to?: boolean; }; short_description?: { - from?: OneOf<[string, null]>; - to?: OneOf<[string, null]>; + from?: string | null; + to?: string | null; }; title?: { from?: string; @@ -39495,9 +39495,9 @@ export interface components { changes: { archived_at?: { /** Format: date-time */ - from?: OneOf<[string, null]>; + from?: string | null; /** Format: date-time */ - to?: OneOf<[string, null]>; + to?: string | null; }; }; installation?: components["schemas"]["simple-installation"]; @@ -39511,7 +39511,7 @@ export interface components { action: "converted"; changes: { content_type?: { - from?: OneOf<[string, null]>; + from?: string | null; to?: string; }; }; @@ -39549,8 +39549,8 @@ export interface components { }; }, { body: { - from?: OneOf<[string, null]>; - to?: OneOf<[string, null]>; + from?: string | null; + to?: string | null; }; }]>; installation?: components["schemas"]["simple-installation"]; @@ -39564,8 +39564,8 @@ export interface components { action: "reordered"; changes: { previous_projects_v2_item_node_id?: { - from?: OneOf<[string, null]>; - to?: OneOf<[string, null]>; + from?: string | null; + to?: string | null; }; }; installation?: components["schemas"]["simple-installation"]; @@ -39580,9 +39580,9 @@ export interface components { changes: { archived_at?: { /** Format: date-time */ - from?: OneOf<[string, null]>; + from?: string | null; /** Format: date-time */ - to?: OneOf<[string, null]>; + to?: string | null; }; }; installation?: components["schemas"]["simple-installation"]; @@ -39612,11 +39612,11 @@ export interface components { /** @enum {string} */ action: "assigned"; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -39647,7 +39647,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** @description The pull request number. */ @@ -39701,11 +39701,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -39736,12 +39736,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -39772,7 +39772,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -39783,17 +39783,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -39824,13 +39824,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -39899,7 +39899,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -39946,7 +39946,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -39964,18 +39964,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -39999,7 +39999,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -40009,11 +40009,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40044,7 +40044,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -40060,7 +40060,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -40117,11 +40117,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40152,12 +40152,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -40172,13 +40172,13 @@ export interface components { /** @description Indicates whether or not the pull request is a draft. */ draft: boolean; head: { - label: OneOf<[string, null]>; + label: string | null; ref: string; /** * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -40239,7 +40239,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -40286,7 +40286,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -40304,18 +40304,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -40339,7 +40339,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -40349,11 +40349,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40384,7 +40384,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -40400,7 +40400,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -40454,14 +40454,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40492,7 +40492,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -40503,7 +40503,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -40517,18 +40517,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40559,23 +40559,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40606,10 +40606,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -40630,18 +40630,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40672,10 +40672,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -40685,9 +40685,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -40709,7 +40709,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -40726,7 +40726,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -40736,9 +40736,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -40760,7 +40760,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -40793,11 +40793,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40828,7 +40828,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -40889,11 +40889,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40924,12 +40924,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -40960,7 +40960,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -40971,17 +40971,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -41012,13 +41012,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -41087,7 +41087,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -41134,7 +41134,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -41152,18 +41152,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -41187,7 +41187,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -41197,11 +41197,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -41232,7 +41232,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -41248,7 +41248,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -41305,11 +41305,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -41340,12 +41340,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -41427,7 +41427,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -41474,7 +41474,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -41492,18 +41492,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -41527,7 +41527,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -41537,11 +41537,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -41572,7 +41572,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -41588,7 +41588,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -41645,11 +41645,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -41680,7 +41680,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -41691,7 +41691,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -41705,18 +41705,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -41747,23 +41747,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -41794,10 +41794,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -41818,18 +41818,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -41860,10 +41860,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -41873,9 +41873,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -41897,7 +41897,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -41914,7 +41914,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -41924,9 +41924,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -41948,7 +41948,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -41981,11 +41981,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42016,7 +42016,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; reason: string; repository: components["schemas"]["repository"]; @@ -42078,11 +42078,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42113,12 +42113,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42149,7 +42149,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -42160,17 +42160,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42201,13 +42201,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -42276,7 +42276,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -42323,7 +42323,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -42341,18 +42341,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -42376,7 +42376,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -42386,11 +42386,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42421,7 +42421,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -42437,7 +42437,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -42494,11 +42494,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42529,12 +42529,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -42616,7 +42616,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -42663,7 +42663,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -42681,18 +42681,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -42716,7 +42716,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -42726,11 +42726,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42761,7 +42761,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -42777,7 +42777,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -42834,11 +42834,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42869,7 +42869,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -42880,7 +42880,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -42894,18 +42894,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42936,23 +42936,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -42983,10 +42983,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -43007,18 +43007,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -43049,10 +43049,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -43062,9 +43062,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -43086,7 +43086,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -43103,7 +43103,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -43113,9 +43113,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -43137,7 +43137,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -43170,11 +43170,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -43205,7 +43205,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; reason?: string; repository: components["schemas"]["repository"]; @@ -43390,11 +43390,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -43425,12 +43425,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -43461,7 +43461,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -43472,17 +43472,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -43513,13 +43513,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -43588,7 +43588,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -43635,7 +43635,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -43653,18 +43653,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -43688,7 +43688,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -43698,11 +43698,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -43733,7 +43733,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -43749,7 +43749,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -43806,11 +43806,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -43841,12 +43841,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -43928,7 +43928,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -43975,7 +43975,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -43993,18 +43993,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -44028,7 +44028,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -44038,11 +44038,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44073,7 +44073,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -44089,7 +44089,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -44146,11 +44146,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44181,7 +44181,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -44192,7 +44192,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -44206,18 +44206,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44248,23 +44248,23 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44295,10 +44295,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -44319,18 +44319,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44361,10 +44361,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -44374,9 +44374,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -44398,7 +44398,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -44415,7 +44415,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -44425,9 +44425,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -44449,7 +44449,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -44482,11 +44482,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44517,7 +44517,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; @@ -44578,11 +44578,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44613,12 +44613,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44649,7 +44649,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -44660,17 +44660,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44701,13 +44701,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -44776,7 +44776,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -44823,7 +44823,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -44841,18 +44841,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -44876,7 +44876,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -44886,11 +44886,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -44921,7 +44921,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -44937,7 +44937,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -44994,11 +44994,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45029,12 +45029,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -45116,7 +45116,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -45163,7 +45163,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -45181,18 +45181,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -45216,7 +45216,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -45226,11 +45226,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45261,7 +45261,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -45277,7 +45277,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -45334,11 +45334,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45369,7 +45369,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -45380,7 +45380,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -45394,18 +45394,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45436,23 +45436,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45483,10 +45483,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -45507,18 +45507,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45549,10 +45549,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -45562,9 +45562,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -45586,7 +45586,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -45603,7 +45603,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -45613,9 +45613,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -45637,7 +45637,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -45670,11 +45670,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45705,7 +45705,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; reason: string; repository: components["schemas"]["repository"]; @@ -45847,11 +45847,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45882,12 +45882,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45918,7 +45918,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -45929,17 +45929,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -45970,13 +45970,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -46045,7 +46045,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -46092,7 +46092,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -46110,18 +46110,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -46145,7 +46145,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -46155,11 +46155,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -46190,7 +46190,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -46206,7 +46206,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -46263,11 +46263,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -46298,12 +46298,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -46385,7 +46385,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -46432,7 +46432,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -46450,18 +46450,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -46485,7 +46485,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -46495,11 +46495,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -46530,7 +46530,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -46546,7 +46546,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -46603,11 +46603,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -46638,7 +46638,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -46649,7 +46649,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -46663,18 +46663,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -46705,23 +46705,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -46752,10 +46752,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -46776,18 +46776,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -46818,10 +46818,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -46831,9 +46831,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -46855,7 +46855,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -46872,7 +46872,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -46882,9 +46882,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -46906,7 +46906,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -46939,11 +46939,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -46974,7 +46974,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -46990,7 +46990,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -47052,11 +47052,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -47087,12 +47087,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -47123,7 +47123,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -47134,17 +47134,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -47175,13 +47175,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -47250,7 +47250,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -47297,7 +47297,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -47315,18 +47315,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -47350,7 +47350,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -47360,11 +47360,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -47395,7 +47395,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -47411,7 +47411,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -47468,11 +47468,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -47503,12 +47503,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -47523,13 +47523,13 @@ export interface components { /** @description Indicates whether or not the pull request is a draft. */ draft: boolean; head: { - label: OneOf<[string, null]>; + label: string | null; ref: string; /** * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -47590,7 +47590,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -47637,7 +47637,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -47655,18 +47655,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -47690,7 +47690,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -47700,11 +47700,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -47735,7 +47735,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -47751,7 +47751,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -47805,14 +47805,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -47843,7 +47843,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -47854,7 +47854,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -47868,18 +47868,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -47910,23 +47910,23 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -47957,10 +47957,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -47981,18 +47981,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -48023,10 +48023,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -48036,9 +48036,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -48060,7 +48060,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -48077,7 +48077,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -48087,9 +48087,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -48111,7 +48111,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -48144,11 +48144,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -48179,7 +48179,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -48241,11 +48241,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -48276,12 +48276,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -48312,7 +48312,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -48323,17 +48323,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -48364,13 +48364,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -48439,7 +48439,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -48486,7 +48486,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -48504,18 +48504,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -48539,7 +48539,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -48549,11 +48549,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -48584,7 +48584,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -48600,7 +48600,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -48657,11 +48657,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -48692,12 +48692,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -48712,13 +48712,13 @@ export interface components { /** @description Indicates whether or not the pull request is a draft. */ draft: boolean; head: { - label: OneOf<[string, null]>; + label: string | null; ref: string; /** * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -48779,7 +48779,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -48826,7 +48826,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -48844,18 +48844,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -48879,7 +48879,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -48889,11 +48889,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -48924,7 +48924,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -48940,7 +48940,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -48994,14 +48994,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49032,7 +49032,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -49043,7 +49043,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -49057,18 +49057,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49099,23 +49099,23 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49146,10 +49146,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -49170,18 +49170,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49212,10 +49212,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -49225,9 +49225,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -49249,7 +49249,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -49266,7 +49266,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -49276,9 +49276,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -49300,7 +49300,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -49333,11 +49333,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49368,7 +49368,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -49430,11 +49430,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49465,12 +49465,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49501,7 +49501,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -49512,17 +49512,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49553,13 +49553,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -49628,7 +49628,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -49675,7 +49675,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -49693,18 +49693,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -49728,7 +49728,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -49738,11 +49738,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49773,7 +49773,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -49789,7 +49789,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -49846,11 +49846,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -49881,12 +49881,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -49968,7 +49968,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -50015,7 +50015,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -50033,18 +50033,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -50068,7 +50068,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -50078,11 +50078,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -50113,7 +50113,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -50129,7 +50129,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -50186,11 +50186,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -50221,7 +50221,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -50232,7 +50232,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -50246,18 +50246,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -50288,23 +50288,23 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -50335,10 +50335,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -50359,18 +50359,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -50401,10 +50401,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -50414,9 +50414,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -50438,7 +50438,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -50455,7 +50455,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -50465,9 +50465,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -50489,7 +50489,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -50522,11 +50522,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -50557,7 +50557,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; @@ -50795,23 +50795,23 @@ export interface components { /** @description The comment ID to reply to. */ in_reply_to_id?: number; /** @description The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - line: OneOf<[number, null]>; + line: number | null; /** @description The node ID of the pull request review comment. */ node_id: string; /** @description The SHA of the original commit to which the comment applies. */ original_commit_id: string; /** @description The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - original_line: OneOf<[number, null]>; + original_line: number | null; /** @description The index of the original line in the diff to which the comment applies. */ original_position: number; /** @description The first line of the range for a multi-line comment. */ - original_start_line: OneOf<[number, null]>; + original_start_line: number | null; /** @description The relative path of the file to which the comment applies. */ path: string; /** @description The line index in the diff to which the comment applies. */ - position: OneOf<[number, null]>; + position: number | null; /** @description The ID of the pull request review to which the comment belongs. */ - pull_request_review_id: OneOf<[number, null]>; + pull_request_review_id: number | null; /** * Format: uri * @description URL for the pull request that the review comment belongs to. @@ -50837,7 +50837,7 @@ export interface components { */ side: "LEFT" | "RIGHT"; /** @description The first line of the range for a multi-line comment. */ - start_line: OneOf<[number, null]>; + start_line: number | null; /** * @description The side of the first line of the range for a multi-line comment. * @default RIGHT @@ -50857,11 +50857,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -50892,7 +50892,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; @@ -50943,11 +50943,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -50978,12 +50978,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -51014,7 +51014,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -51025,17 +51025,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge?: OneOf<[{ + auto_merge?: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -51066,13 +51066,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -51141,7 +51141,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -51188,7 +51188,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -51206,18 +51206,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -51241,7 +51241,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -51251,11 +51251,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -51286,7 +51286,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -51302,7 +51302,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -51359,11 +51359,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -51394,10 +51394,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; - closed_at: OneOf<[string, null]>; + body: string | null; + closed_at: string | null; /** Format: uri */ comments_url: string; /** Format: uri */ @@ -51413,7 +51413,7 @@ export interface components { * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -51474,7 +51474,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -51521,7 +51521,7 @@ export interface components { * @default false */ has_discussions?: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -51539,18 +51539,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -51574,7 +51574,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -51584,11 +51584,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -51619,7 +51619,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -51635,7 +51635,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -51689,14 +51689,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -51727,7 +51727,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -51738,7 +51738,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -51750,24 +51750,24 @@ export interface components { url: string; })[]; locked: boolean; - merge_commit_sha: OneOf<[string, null]>; - merged_at: OneOf<[string, null]>; + merge_commit_sha: string | null; + merged_at: string | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -51798,10 +51798,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -51822,16 +51822,16 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** Format: uri */ patch_url: string; - requested_reviewers: (OneOf<[OneOf<[{ + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -51862,10 +51862,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -51875,9 +51875,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -51899,7 +51899,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -51916,7 +51916,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -51926,9 +51926,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -51950,7 +51950,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -51977,11 +51977,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -52012,7 +52012,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -52067,7 +52067,7 @@ export interface components { /** @description The comment ID to reply to. */ in_reply_to_id?: number; /** @description The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - line: OneOf<[number, null]>; + line: number | null; /** @description The node ID of the pull request review comment. */ node_id: string; /** @description The SHA of the original commit to which the comment applies. */ @@ -52077,13 +52077,13 @@ export interface components { /** @description The index of the original line in the diff to which the comment applies. */ original_position: number; /** @description The first line of the range for a multi-line comment. */ - original_start_line: OneOf<[number, null]>; + original_start_line: number | null; /** @description The relative path of the file to which the comment applies. */ path: string; /** @description The line index in the diff to which the comment applies. */ - position: OneOf<[number, null]>; + position: number | null; /** @description The ID of the pull request review to which the comment belongs. */ - pull_request_review_id: OneOf<[number, null]>; + pull_request_review_id: number | null; /** * Format: uri * @description URL for the pull request that the review comment belongs to. @@ -52109,7 +52109,7 @@ export interface components { */ side: "LEFT" | "RIGHT"; /** @description The first line of the range for a multi-line comment. */ - start_line: OneOf<[number, null]>; + start_line: number | null; /** * @description The side of the first line of the range for a multi-line comment. * @default RIGHT @@ -52129,11 +52129,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -52164,7 +52164,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; @@ -52215,11 +52215,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -52250,12 +52250,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -52286,7 +52286,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -52297,17 +52297,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge?: OneOf<[{ + auto_merge?: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -52338,13 +52338,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -52413,7 +52413,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -52460,7 +52460,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -52478,18 +52478,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -52513,7 +52513,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -52523,11 +52523,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -52558,7 +52558,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -52574,7 +52574,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -52631,11 +52631,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -52666,10 +52666,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; - closed_at: OneOf<[string, null]>; + body: string | null; + closed_at: string | null; /** Format: uri */ comments_url: string; /** Format: uri */ @@ -52685,7 +52685,7 @@ export interface components { * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -52746,7 +52746,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -52793,7 +52793,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -52811,18 +52811,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -52846,7 +52846,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -52856,11 +52856,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -52891,7 +52891,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -52907,7 +52907,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -52961,14 +52961,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -52999,7 +52999,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -53010,7 +53010,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -53022,24 +53022,24 @@ export interface components { url: string; })[]; locked: boolean; - merge_commit_sha: OneOf<[string, null]>; - merged_at: OneOf<[string, null]>; + merge_commit_sha: string | null; + merged_at: string | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -53070,10 +53070,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -53094,16 +53094,16 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** Format: uri */ patch_url: string; - requested_reviewers: (OneOf<[OneOf<[{ + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -53134,10 +53134,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -53147,9 +53147,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -53171,7 +53171,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -53188,7 +53188,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -53198,9 +53198,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -53222,7 +53222,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -53249,11 +53249,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -53284,7 +53284,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -53346,7 +53346,7 @@ export interface components { /** @description The comment ID to reply to. */ in_reply_to_id?: number; /** @description The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - line: OneOf<[number, null]>; + line: number | null; /** @description The node ID of the pull request review comment. */ node_id: string; /** @description The SHA of the original commit to which the comment applies. */ @@ -53356,13 +53356,13 @@ export interface components { /** @description The index of the original line in the diff to which the comment applies. */ original_position: number; /** @description The first line of the range for a multi-line comment. */ - original_start_line: OneOf<[number, null]>; + original_start_line: number | null; /** @description The relative path of the file to which the comment applies. */ path: string; /** @description The line index in the diff to which the comment applies. */ - position: OneOf<[number, null]>; + position: number | null; /** @description The ID of the pull request review to which the comment belongs. */ - pull_request_review_id: OneOf<[number, null]>; + pull_request_review_id: number | null; /** * Format: uri * @description URL for the pull request that the review comment belongs to. @@ -53388,7 +53388,7 @@ export interface components { */ side: "LEFT" | "RIGHT"; /** @description The first line of the range for a multi-line comment. */ - start_line: OneOf<[number, null]>; + start_line: number | null; /** * @description The side of the first line of the range for a multi-line comment. * @default RIGHT @@ -53408,11 +53408,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -53443,7 +53443,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; @@ -53494,11 +53494,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -53529,12 +53529,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -53565,7 +53565,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -53576,17 +53576,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge?: OneOf<[{ + auto_merge?: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -53617,13 +53617,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -53692,7 +53692,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -53739,7 +53739,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -53757,18 +53757,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -53792,7 +53792,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -53802,11 +53802,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -53837,7 +53837,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -53853,7 +53853,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -53910,11 +53910,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -53945,10 +53945,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; - closed_at: OneOf<[string, null]>; + body: string | null; + closed_at: string | null; /** Format: uri */ comments_url: string; /** Format: uri */ @@ -53964,7 +53964,7 @@ export interface components { * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -54025,7 +54025,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -54072,7 +54072,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -54090,18 +54090,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -54125,7 +54125,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -54135,11 +54135,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -54170,7 +54170,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -54186,7 +54186,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -54240,14 +54240,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -54278,7 +54278,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -54289,7 +54289,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -54301,24 +54301,24 @@ export interface components { url: string; })[]; locked: boolean; - merge_commit_sha: OneOf<[string, null]>; - merged_at: OneOf<[string, null]>; + merge_commit_sha: string | null; + merged_at: string | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -54349,10 +54349,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -54373,16 +54373,16 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** Format: uri */ patch_url: string; - requested_reviewers: (OneOf<[OneOf<[{ + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -54413,10 +54413,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -54426,9 +54426,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -54450,7 +54450,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -54467,7 +54467,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -54477,9 +54477,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -54501,7 +54501,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -54528,11 +54528,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -54563,7 +54563,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -54622,11 +54622,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -54657,12 +54657,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -54693,7 +54693,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -54704,17 +54704,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -54745,13 +54745,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -54820,7 +54820,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -54867,7 +54867,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -54885,18 +54885,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -54920,7 +54920,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -54930,11 +54930,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -54965,7 +54965,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -54981,7 +54981,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -55038,11 +55038,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55073,10 +55073,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; - closed_at: OneOf<[string, null]>; + body: string | null; + closed_at: string | null; /** Format: uri */ comments_url: string; /** Format: uri */ @@ -55092,7 +55092,7 @@ export interface components { * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -55153,7 +55153,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -55200,7 +55200,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -55218,18 +55218,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -55253,7 +55253,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -55263,11 +55263,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55298,7 +55298,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -55314,7 +55314,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -55368,14 +55368,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55406,7 +55406,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -55417,7 +55417,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -55429,24 +55429,24 @@ export interface components { url: string; })[]; locked: boolean; - merge_commit_sha: OneOf<[string, null]>; - merged_at: OneOf<[string, null]>; + merge_commit_sha: string | null; + merged_at: string | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55477,10 +55477,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -55501,16 +55501,16 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** Format: uri */ patch_url: string; - requested_reviewers: (OneOf<[OneOf<[{ + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55541,10 +55541,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -55554,9 +55554,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -55578,7 +55578,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -55595,7 +55595,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -55605,9 +55605,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -55629,7 +55629,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -55656,11 +55656,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55691,7 +55691,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; /** @description The review that was affected. */ @@ -55715,7 +55715,7 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description The text of the review. */ - body: OneOf<[string, null]>; + body: string | null; /** @description A commit SHA for the review. */ commit_id: string; /** Format: uri */ @@ -55730,11 +55730,11 @@ export interface components { /** Format: date-time */ submitted_at: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55765,7 +55765,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; sender: components["schemas"]["simple-user"]; }; @@ -55829,11 +55829,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55864,12 +55864,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55900,7 +55900,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -55911,17 +55911,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -55952,13 +55952,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -56027,7 +56027,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -56069,7 +56069,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -56087,25 +56087,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -56115,11 +56115,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -56150,7 +56150,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -56166,7 +56166,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -56199,11 +56199,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -56234,10 +56234,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; - closed_at: OneOf<[string, null]>; + body: string | null; + closed_at: string | null; /** Format: uri */ comments_url: string; /** Format: uri */ @@ -56253,7 +56253,7 @@ export interface components { * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -56314,7 +56314,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -56356,7 +56356,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -56374,25 +56374,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -56402,11 +56402,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -56437,7 +56437,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -56453,7 +56453,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -56483,14 +56483,14 @@ export interface components { visibility: "public" | "private" | "internal"; watchers: number; watchers_count: number; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -56521,7 +56521,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -56532,7 +56532,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -56544,24 +56544,24 @@ export interface components { url: string; })[]; locked: boolean; - merge_commit_sha: OneOf<[string, null]>; - merged_at: OneOf<[string, null]>; + merge_commit_sha: string | null; + merged_at: string | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -56592,10 +56592,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -56616,16 +56616,16 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** Format: uri */ patch_url: string; - requested_reviewers: (OneOf<[OneOf<[{ + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -56656,10 +56656,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -56669,9 +56669,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -56693,7 +56693,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -56710,7 +56710,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -56720,9 +56720,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -56744,7 +56744,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -56771,11 +56771,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -56806,7 +56806,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; /** @description The review that was affected. */ @@ -56830,7 +56830,7 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description The text of the review. */ - body: OneOf<[string, null]>; + body: string | null; /** @description A commit SHA for the review. */ commit_id: string; /** Format: uri */ @@ -56842,13 +56842,13 @@ export interface components { pull_request_url: string; state: string; /** Format: date-time */ - submitted_at: OneOf<[string, null]>; + submitted_at: string | null; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -56879,7 +56879,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; sender: components["schemas"]["simple-user"]; }; @@ -56940,11 +56940,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -56975,12 +56975,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -57011,7 +57011,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -57022,17 +57022,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -57063,13 +57063,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -57138,7 +57138,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -57185,7 +57185,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -57203,18 +57203,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -57238,7 +57238,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -57248,11 +57248,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -57283,7 +57283,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -57299,7 +57299,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message. @@ -57349,11 +57349,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -57384,12 +57384,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -57471,7 +57471,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -57518,7 +57518,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -57536,18 +57536,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -57571,7 +57571,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -57581,11 +57581,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -57616,7 +57616,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -57632,7 +57632,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -57689,11 +57689,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -57724,7 +57724,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -57735,7 +57735,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -57749,18 +57749,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -57791,23 +57791,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -57838,10 +57838,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -57862,18 +57862,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -57904,10 +57904,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -57917,9 +57917,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -57941,7 +57941,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -57958,7 +57958,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -57968,9 +57968,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -57992,7 +57992,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -58025,11 +58025,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -58060,15 +58060,15 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; /** User */ - requested_reviewer: OneOf<[{ + requested_reviewer: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -58099,7 +58099,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; sender: components["schemas"]["simple-user"]; }, { /** @enum {string} */ @@ -58157,11 +58157,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -58192,12 +58192,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -58228,7 +58228,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -58239,17 +58239,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -58280,13 +58280,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -58355,7 +58355,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -58402,7 +58402,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -58420,18 +58420,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -58455,7 +58455,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -58465,11 +58465,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -58500,7 +58500,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -58516,7 +58516,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -58573,11 +58573,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -58608,12 +58608,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -58695,7 +58695,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -58742,7 +58742,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -58760,18 +58760,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -58795,7 +58795,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -58805,11 +58805,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -58840,7 +58840,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -58856,7 +58856,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -58913,11 +58913,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -58948,7 +58948,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -58959,7 +58959,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -58973,18 +58973,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -59015,23 +59015,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -59062,10 +59062,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -59086,18 +59086,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -59128,10 +59128,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -59141,9 +59141,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -59165,7 +59165,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -59182,7 +59182,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -59192,9 +59192,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -59216,7 +59216,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -59249,11 +59249,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -59284,7 +59284,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; /** @@ -59294,7 +59294,7 @@ export interface components { requested_team: { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -59304,9 +59304,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -59328,7 +59328,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -59401,11 +59401,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -59436,12 +59436,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -59472,7 +59472,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -59483,17 +59483,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -59524,13 +59524,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -59599,7 +59599,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -59646,7 +59646,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -59664,18 +59664,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -59699,7 +59699,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -59709,11 +59709,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -59744,7 +59744,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -59760,7 +59760,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -59817,11 +59817,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -59852,12 +59852,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -59939,7 +59939,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -59986,7 +59986,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -60004,18 +60004,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -60039,7 +60039,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -60049,11 +60049,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60084,7 +60084,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -60100,7 +60100,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -60157,11 +60157,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60192,7 +60192,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -60203,7 +60203,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -60217,18 +60217,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60259,23 +60259,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60306,10 +60306,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -60330,18 +60330,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60372,10 +60372,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -60385,9 +60385,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -60409,7 +60409,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -60426,7 +60426,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -60436,9 +60436,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -60460,7 +60460,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -60493,11 +60493,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60528,15 +60528,15 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; /** User */ - requested_reviewer: OneOf<[{ + requested_reviewer: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60567,7 +60567,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; sender: components["schemas"]["simple-user"]; }, { /** @enum {string} */ @@ -60625,11 +60625,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60660,12 +60660,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60696,7 +60696,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -60707,17 +60707,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60748,13 +60748,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -60823,7 +60823,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -60870,7 +60870,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -60888,18 +60888,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -60923,7 +60923,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -60933,11 +60933,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -60968,7 +60968,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -60984,7 +60984,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -61041,11 +61041,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61076,12 +61076,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -61163,7 +61163,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -61210,7 +61210,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -61228,18 +61228,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -61263,7 +61263,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -61273,11 +61273,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61308,7 +61308,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -61324,7 +61324,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -61381,11 +61381,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61416,7 +61416,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -61427,7 +61427,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -61441,18 +61441,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61483,23 +61483,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61530,10 +61530,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -61554,18 +61554,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61596,10 +61596,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -61609,9 +61609,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -61633,7 +61633,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -61650,7 +61650,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -61660,9 +61660,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -61684,7 +61684,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -61717,11 +61717,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61752,7 +61752,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; /** @@ -61762,7 +61762,7 @@ export interface components { requested_team: { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -61772,9 +61772,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -61796,7 +61796,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -61866,11 +61866,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61901,12 +61901,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61937,7 +61937,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -61948,17 +61948,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -61989,13 +61989,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -62064,7 +62064,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -62111,7 +62111,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -62129,18 +62129,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -62164,7 +62164,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -62174,11 +62174,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -62209,7 +62209,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -62225,7 +62225,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -62282,11 +62282,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -62317,10 +62317,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; - closed_at: OneOf<[string, null]>; + body: string | null; + closed_at: string | null; /** Format: uri */ comments_url: string; /** Format: uri */ @@ -62330,13 +62330,13 @@ export interface components { diff_url: string; draft: boolean; head: { - label: OneOf<[string, null]>; + label: string | null; ref: string; /** * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -62397,7 +62397,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -62444,7 +62444,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -62462,18 +62462,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -62497,7 +62497,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -62507,11 +62507,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -62542,7 +62542,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -62558,7 +62558,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -62612,14 +62612,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -62650,7 +62650,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -62661,7 +62661,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -62673,24 +62673,24 @@ export interface components { url: string; })[]; locked: boolean; - merge_commit_sha: OneOf<[string, null]>; - merged_at: OneOf<[string, null]>; + merge_commit_sha: string | null; + merged_at: string | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -62721,10 +62721,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -62745,16 +62745,16 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** Format: uri */ patch_url: string; - requested_reviewers: (OneOf<[OneOf<[{ + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -62785,10 +62785,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -62798,9 +62798,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -62822,7 +62822,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -62839,7 +62839,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -62849,9 +62849,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -62873,7 +62873,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -62900,11 +62900,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -62935,7 +62935,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; /** @description The review that was affected. */ @@ -62959,7 +62959,7 @@ export interface components { */ author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; /** @description The text of the review. */ - body: OneOf<[string, null]>; + body: string | null; /** @description A commit SHA for the review. */ commit_id: string; /** Format: uri */ @@ -62971,13 +62971,13 @@ export interface components { pull_request_url: string; state: string; /** Format: date-time */ - submitted_at: OneOf<[string, null]>; + submitted_at: string | null; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63008,7 +63008,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; sender: components["schemas"]["simple-user"]; }; @@ -63066,11 +63066,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63101,12 +63101,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63137,7 +63137,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -63148,17 +63148,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63189,13 +63189,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -63264,7 +63264,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -63311,7 +63311,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -63329,25 +63329,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -63357,11 +63357,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63392,7 +63392,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -63408,7 +63408,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -63443,11 +63443,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63478,10 +63478,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; - closed_at: OneOf<[string, null]>; + body: string | null; + closed_at: string | null; /** Format: uri */ comments_url: string; /** Format: uri */ @@ -63491,13 +63491,13 @@ export interface components { diff_url: string; draft: boolean; head: { - label: OneOf<[string, null]>; + label: string | null; ref: string; /** * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -63558,7 +63558,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -63605,7 +63605,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -63623,25 +63623,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -63651,11 +63651,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63686,7 +63686,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -63702,7 +63702,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -63734,14 +63734,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63772,7 +63772,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -63783,7 +63783,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -63795,24 +63795,24 @@ export interface components { url: string; })[]; locked: boolean; - merge_commit_sha: OneOf<[string, null]>; - merged_at: OneOf<[string, null]>; + merge_commit_sha: string | null; + merged_at: string | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63843,10 +63843,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -63867,16 +63867,16 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** Format: uri */ patch_url: string; - requested_reviewers: (OneOf<[OneOf<[{ + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -63907,10 +63907,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -63920,9 +63920,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -63944,7 +63944,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -63961,7 +63961,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -63971,9 +63971,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -63995,7 +63995,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -64022,11 +64022,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -64057,7 +64057,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; @@ -64104,23 +64104,23 @@ export interface components { /** @description The comment ID to reply to. */ in_reply_to_id?: number; /** @description The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - line: OneOf<[number, null]>; + line: number | null; /** @description The node ID of the pull request review comment. */ node_id: string; /** @description The SHA of the original commit to which the comment applies. */ original_commit_id: string; /** @description The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - original_line: OneOf<[number, null]>; + original_line: number | null; /** @description The index of the original line in the diff to which the comment applies. */ original_position: number; /** @description The first line of the range for a multi-line comment. */ - original_start_line: OneOf<[number, null]>; + original_start_line: number | null; /** @description The relative path of the file to which the comment applies. */ path: string; /** @description The line index in the diff to which the comment applies. */ - position: OneOf<[number, null]>; + position: number | null; /** @description The ID of the pull request review to which the comment belongs. */ - pull_request_review_id: OneOf<[number, null]>; + pull_request_review_id: number | null; /** * Format: uri * @description URL for the pull request that the review comment belongs to. @@ -64146,7 +64146,7 @@ export interface components { */ side: "LEFT" | "RIGHT"; /** @description The first line of the range for a multi-line comment. */ - start_line: OneOf<[number, null]>; + start_line: number | null; /** * @description The side of the first line of the range for a multi-line comment. * @default RIGHT @@ -64166,11 +64166,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -64201,7 +64201,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; })[]; node_id: string; }; @@ -64260,11 +64260,11 @@ export interface components { /** @enum {string|null} */ active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -64295,12 +64295,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -64331,7 +64331,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -64342,17 +64342,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ commit_title: string; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -64383,13 +64383,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -64458,7 +64458,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -64505,7 +64505,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -64523,25 +64523,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -64551,11 +64551,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -64586,7 +64586,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -64602,7 +64602,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -64637,11 +64637,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -64672,10 +64672,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; - closed_at: OneOf<[string, null]>; + body: string | null; + closed_at: string | null; /** Format: uri */ comments_url: string; /** Format: uri */ @@ -64752,7 +64752,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -64799,7 +64799,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -64817,25 +64817,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -64845,11 +64845,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -64880,7 +64880,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -64896,7 +64896,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -64931,11 +64931,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -64966,7 +64966,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -64977,7 +64977,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -64989,24 +64989,24 @@ export interface components { url: string; })[]; locked: boolean; - merge_commit_sha: OneOf<[string, null]>; - merged_at: OneOf<[string, null]>; + merge_commit_sha: string | null; + merged_at: string | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -65037,10 +65037,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -65061,16 +65061,16 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; number: number; /** Format: uri */ patch_url: string; - requested_reviewers: (OneOf<[OneOf<[{ + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -65101,10 +65101,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -65114,9 +65114,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -65138,7 +65138,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -65155,7 +65155,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -65165,9 +65165,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -65189,7 +65189,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -65216,11 +65216,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -65251,7 +65251,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; @@ -65298,7 +65298,7 @@ export interface components { /** @description The comment ID to reply to. */ in_reply_to_id?: number; /** @description The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - line: OneOf<[number, null]>; + line: number | null; /** @description The node ID of the pull request review comment. */ node_id: string; /** @description The SHA of the original commit to which the comment applies. */ @@ -65308,13 +65308,13 @@ export interface components { /** @description The index of the original line in the diff to which the comment applies. */ original_position: number; /** @description The first line of the range for a multi-line comment. */ - original_start_line: OneOf<[number, null]>; + original_start_line: number | null; /** @description The relative path of the file to which the comment applies. */ path: string; /** @description The line index in the diff to which the comment applies. */ - position: OneOf<[number, null]>; + position: number | null; /** @description The ID of the pull request review to which the comment belongs. */ - pull_request_review_id: OneOf<[number, null]>; + pull_request_review_id: number | null; /** * Format: uri * @description URL for the pull request that the review comment belongs to. @@ -65340,7 +65340,7 @@ export interface components { */ side: "LEFT" | "RIGHT"; /** @description The first line of the range for a multi-line comment. */ - start_line: OneOf<[number, null]>; + start_line: number | null; /** * @description The side of the first line of the range for a multi-line comment. * @default RIGHT @@ -65360,11 +65360,11 @@ export interface components { */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -65395,7 +65395,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; })[]; node_id: string; }; @@ -65459,11 +65459,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -65494,12 +65494,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -65530,7 +65530,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -65541,17 +65541,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -65582,13 +65582,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -65657,7 +65657,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -65704,7 +65704,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -65722,18 +65722,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -65757,7 +65757,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -65767,11 +65767,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -65802,7 +65802,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -65818,7 +65818,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -65875,11 +65875,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -65910,12 +65910,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -65997,7 +65997,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -66044,7 +66044,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -66062,18 +66062,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -66090,7 +66090,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -66100,11 +66100,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66135,7 +66135,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -66151,7 +66151,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -66208,11 +66208,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66243,7 +66243,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -66254,7 +66254,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -66268,18 +66268,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66310,23 +66310,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66357,10 +66357,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -66381,18 +66381,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66423,10 +66423,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -66436,9 +66436,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -66460,7 +66460,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -66477,7 +66477,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -66487,9 +66487,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -66511,7 +66511,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -66544,11 +66544,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66579,7 +66579,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -66589,11 +66589,11 @@ export interface components { /** @enum {string} */ action: "unassigned"; /** User */ - assignee?: OneOf<[{ + assignee?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66624,7 +66624,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; /** @description The pull request number. */ @@ -66678,11 +66678,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66713,12 +66713,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66749,7 +66749,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -66760,17 +66760,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -66801,15 +66801,15 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { - label: OneOf<[string, null]>; + label: string | null; ref: string; /** * Repository @@ -66876,7 +66876,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -66923,7 +66923,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -66941,18 +66941,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -66976,7 +66976,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -66986,11 +66986,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67021,7 +67021,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -67037,7 +67037,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -67094,11 +67094,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67129,12 +67129,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -67149,13 +67149,13 @@ export interface components { /** @description Indicates whether or not the pull request is a draft. */ draft: boolean; head: { - label: OneOf<[string, null]>; + label: string | null; ref: string; /** * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -67216,7 +67216,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -67263,7 +67263,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -67281,18 +67281,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -67316,7 +67316,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -67326,11 +67326,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67361,7 +67361,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -67377,7 +67377,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -67431,14 +67431,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67469,7 +67469,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -67480,7 +67480,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -67494,18 +67494,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67536,23 +67536,23 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67583,10 +67583,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -67607,18 +67607,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67649,10 +67649,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -67662,9 +67662,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -67686,7 +67686,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -67703,7 +67703,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -67713,9 +67713,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -67737,7 +67737,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -67770,11 +67770,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67805,7 +67805,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; @@ -67821,7 +67821,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -67883,11 +67883,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67918,12 +67918,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -67954,7 +67954,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -67965,17 +67965,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ - commit_title: OneOf<[string, null]>; + commit_title: string | null; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -68006,13 +68006,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -68081,7 +68081,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -68128,7 +68128,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -68146,18 +68146,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -68181,7 +68181,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -68191,11 +68191,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -68226,7 +68226,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -68242,7 +68242,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -68299,11 +68299,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -68334,12 +68334,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -68354,13 +68354,13 @@ export interface components { /** @description Indicates whether or not the pull request is a draft. */ draft: boolean; head: { - label: OneOf<[string, null]>; + label: string | null; ref: string; /** * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -68421,7 +68421,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -68468,7 +68468,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -68486,18 +68486,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -68514,7 +68514,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -68524,11 +68524,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -68559,7 +68559,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -68575,7 +68575,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -68629,14 +68629,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -68667,7 +68667,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -68678,7 +68678,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -68692,18 +68692,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -68734,23 +68734,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -68781,10 +68781,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -68805,18 +68805,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -68847,10 +68847,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -68860,9 +68860,9 @@ export interface components { /** @description Name of the team */ name: string; node_id: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -68884,7 +68884,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission: string; /** @enum {string} */ @@ -68901,7 +68901,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -68911,9 +68911,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -68935,7 +68935,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -68968,11 +68968,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69003,7 +69003,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -69065,11 +69065,11 @@ export interface components { active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null; additions?: number; /** User */ - assignee: OneOf<[{ + assignee: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69100,12 +69100,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - assignees: (OneOf<[{ + }) | null; + assignees: (({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69136,7 +69136,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>)[]; + }) | null)[]; /** * AuthorAssociation * @description How the author is associated with the repository. @@ -69147,17 +69147,17 @@ export interface components { * PullRequestAutoMerge * @description The status of auto merging a pull request. */ - auto_merge: OneOf<[{ + auto_merge: ({ /** @description Commit message for the merge commit. */ - commit_message: OneOf<[string, null]>; + commit_message: string | null; /** @description Title for the merge commit message. */ commit_title: string; /** User */ - enabled_by: OneOf<[{ + enabled_by: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69188,13 +69188,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * @description The merge method to use. * @enum {string} */ merge_method: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; base: { label: string; ref: string; @@ -69263,7 +69263,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -69310,7 +69310,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -69328,18 +69328,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -69363,7 +69363,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -69373,11 +69373,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69408,7 +69408,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -69424,7 +69424,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -69481,11 +69481,11 @@ export interface components { }; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69516,12 +69516,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; - body: OneOf<[string, null]>; + body: string | null; changed_files?: number; /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; comments?: number; /** Format: uri */ comments_url: string; @@ -69542,7 +69542,7 @@ export interface components { * Repository * @description A git repository */ - repo: OneOf<[{ + repo: ({ /** * @description Whether to allow auto-merge for pull requests. * @default false @@ -69603,7 +69603,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -69650,7 +69650,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -69668,18 +69668,18 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** * @description The default value for a merge commit message. @@ -69703,7 +69703,7 @@ export interface components { /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -69713,11 +69713,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69748,7 +69748,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -69764,7 +69764,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; /** * @description The default value for a squash merge commit message: @@ -69818,14 +69818,14 @@ export interface components { watchers_count: number; /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; - }, null]>; + }) | null; sha: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69856,7 +69856,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; /** Format: uri */ html_url: string; @@ -69867,7 +69867,7 @@ export interface components { /** @description 6-character hex code, without the leading #, identifying the color */ color: string; default: boolean; - description: OneOf<[string, null]>; + description: string | null; id: number; /** @description The name of the label. */ name: string; @@ -69881,18 +69881,18 @@ export interface components { locked: boolean; /** @description Indicates whether maintainers can modify the pull request. */ maintainer_can_modify?: boolean; - merge_commit_sha: OneOf<[string, null]>; - mergeable?: OneOf<[boolean, null]>; + merge_commit_sha: string | null; + mergeable?: boolean | null; mergeable_state?: string; - merged?: OneOf<[boolean, null]>; + merged?: boolean | null; /** Format: date-time */ - merged_at: OneOf<[string, null]>; + merged_at: string | null; /** User */ - merged_by?: OneOf<[{ + merged_by?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69923,23 +69923,23 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Milestone * @description A collection of related issues and pull requests. */ - milestone: OneOf<[{ + milestone: ({ /** Format: date-time */ - closed_at: OneOf<[string, null]>; + closed_at: string | null; closed_issues: number; /** Format: date-time */ created_at: string; /** User */ - creator: OneOf<[{ + creator: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -69970,10 +69970,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - description: OneOf<[string, null]>; + }) | null; + description: string | null; /** Format: date-time */ - due_on: OneOf<[string, null]>; + due_on: string | null; /** Format: uri */ html_url: string; id: number; @@ -69994,18 +69994,18 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + }) | null; node_id: string; /** @description Number uniquely identifying the pull request within its repository. */ number: number; /** Format: uri */ patch_url: string; - rebaseable?: OneOf<[boolean, null]>; - requested_reviewers: (OneOf<[OneOf<[{ + rebaseable?: boolean | null; + requested_reviewers: (OneOf<[({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -70036,10 +70036,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>, { + }) | null, { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -70049,9 +70049,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -70073,7 +70073,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -70090,7 +70090,7 @@ export interface components { requested_teams: ({ deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -70100,9 +70100,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -70124,7 +70124,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -70157,11 +70157,11 @@ export interface components { /** Format: uri */ url: string; /** User */ - user: OneOf<[{ + user: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -70192,7 +70192,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -70201,7 +70201,7 @@ export interface components { "webhook-push": { /** @description The SHA of the most recent commit on `ref` after the push. */ after: string; - base_ref: OneOf<[string, null]>; + base_ref: string | null; /** @description The SHA of the most recent commit on `ref` before the push. */ before: string; /** @description An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/reference/repos#commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries. */ @@ -70216,7 +70216,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -70229,7 +70229,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -70265,7 +70265,7 @@ export interface components { /** @description Whether this push was a force push of the `ref`. */ forced: boolean; /** Commit */ - head_commit: OneOf<[{ + head_commit: ({ /** @description An array of files added in the commit. */ added?: (string)[]; /** @@ -70276,7 +70276,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -70289,7 +70289,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -70314,7 +70314,7 @@ export interface components { * @description URL that points to the commit API resource. */ url: string; - }, null]>; + }) | null; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple"]; /** @@ -70325,7 +70325,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email?: OneOf<[string, null]>; + email?: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -70397,7 +70397,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -70444,7 +70444,7 @@ export interface components { * @default false */ has_discussions: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -70462,25 +70462,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -70490,11 +70490,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -70525,7 +70525,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -70541,7 +70541,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -70583,8 +70583,8 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple"]; registry_package: { - created_at: OneOf<[string, null]>; - description: OneOf<[string, null]>; + created_at: string | null; + description: string | null; ecosystem: string; html_url: string; id: number; @@ -70611,7 +70611,7 @@ export interface components { url: string; }; package_type: string; - package_version: OneOf<[{ + package_version: ({ author?: { avatar_url: string; events_url: string; @@ -70635,8 +70635,8 @@ export interface components { body?: string | Record; body_html?: string; container_metadata?: { - labels?: OneOf<[Record, null]>; - manifest?: OneOf<[Record, null]>; + labels?: Record | null; + manifest?: Record | null; tag?: { digest?: string; name?: string; @@ -70656,7 +70656,7 @@ export interface components { [key: string]: unknown; })[]; name: string; - npm_metadata?: OneOf<[{ + npm_metadata?: ({ name?: string; version?: string; npm_user?: string; @@ -70694,8 +70694,8 @@ export interface components { commit_oid?: string; published_via_actions?: boolean; deleted_by_id?: number; - }, null]>; - nuget_metadata?: OneOf<[({ + }) | null; + nuget_metadata?: (({ id?: string | Record | number; name?: string; value?: OneOf<[boolean, string, number, { @@ -70704,18 +70704,18 @@ export interface components { commit?: string; type?: string; }]>; - })[], null]>; + })[]) | null; package_files: ({ content_type: string; created_at: string; download_url: string; id: number; - md5: OneOf<[string, null]>; + md5: string | null; name: string; - sha1: OneOf<[string, null]>; - sha256: OneOf<[string, null]>; + sha1: string | null; + sha256: string | null; size: number; - state: OneOf<[string, null]>; + state: string | null; updated_at: string; })[]; package_url: string; @@ -70745,7 +70745,7 @@ export interface components { draft?: boolean; html_url?: string; id?: number; - name?: OneOf<[string, null]>; + name?: string | null; prerelease?: boolean; published_at?: string; tag_name?: string; @@ -70759,15 +70759,15 @@ export interface components { target_oid?: string; updated_at?: string; version: string; - }, null]>; - registry: OneOf<[{ + }) | null; + registry: { about_url?: string; name?: string; type?: string; url?: string; vendor?: string; - }, null]>; - updated_at: OneOf<[string, null]>; + } | null; + updated_at: string | null; }; repository?: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -70831,9 +70831,9 @@ export interface components { body_html: string; created_at: string; description: string; - docker_metadata?: (OneOf<[{ + docker_metadata?: ({ tags?: (string)[]; - }, null]>)[]; + } | null)[]; draft?: boolean; html_url: string; id: number; @@ -70848,9 +70848,9 @@ export interface components { created_at?: string; download_url?: string; id?: number; - md5?: OneOf<[string, null]>; + md5?: string | null; name?: string; - sha1?: OneOf<[string, null]>; + sha1?: string | null; sha256?: string; size?: number; state?: string; @@ -70898,7 +70898,7 @@ export interface components { updated_at: string; version: string; }; - registry: OneOf<[Record, null]>; + registry: Record | null; updated_at: string; }; repository?: components["schemas"]["repository"]; @@ -70924,7 +70924,7 @@ export interface components { created_at: string; download_count: number; id: number; - label: OneOf<[string, null]>; + label: string | null; /** @description The file name of the asset. */ name: string; node_id: string; @@ -70937,11 +70937,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - uploader?: OneOf<[{ + uploader?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -70972,18 +70972,18 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ url: string; })[]; /** Format: uri */ assets_url: string; /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71014,10 +71014,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - body: OneOf<[string, null]>; + }) | null; + body: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -71025,12 +71025,12 @@ export interface components { /** Format: uri */ html_url: string; id: number; - name: OneOf<[string, null]>; + name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ prerelease: boolean; /** Format: date-time */ - published_at: OneOf<[string, null]>; + published_at: string | null; /** Reactions */ reactions?: { "+1": number; @@ -71048,7 +71048,7 @@ export interface components { /** @description The name of the tag. */ tag_name: string; /** Format: uri */ - tarball_url: OneOf<[string, null]>; + tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; /** Format: uri-template */ @@ -71056,7 +71056,7 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - zipball_url: OneOf<[string, null]>; + zipball_url: string | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -71081,7 +71081,7 @@ export interface components { created_at: string; download_count: number; id: number; - label: OneOf<[string, null]>; + label: string | null; /** @description The file name of the asset. */ name: string; node_id: string; @@ -71094,11 +71094,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - uploader?: OneOf<[{ + uploader?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71129,18 +71129,18 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ url: string; })[]; /** Format: uri */ assets_url: string; /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71171,10 +71171,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - body: OneOf<[string, null]>; + }) | null; + body: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -71182,12 +71182,12 @@ export interface components { /** Format: uri */ html_url: string; id: number; - name: OneOf<[string, null]>; + name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ prerelease: boolean; /** Format: date-time */ - published_at: OneOf<[string, null]>; + published_at: string | null; /** Reactions */ reactions?: { "+1": number; @@ -71205,7 +71205,7 @@ export interface components { /** @description The name of the tag. */ tag_name: string; /** Format: uri */ - tarball_url: OneOf<[string, null]>; + tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; /** Format: uri-template */ @@ -71213,7 +71213,7 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - zipball_url: OneOf<[string, null]>; + zipball_url: string | null; }; repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; @@ -71252,7 +71252,7 @@ export interface components { created_at: string; download_count: number; id: number; - label: OneOf<[string, null]>; + label: string | null; /** @description The file name of the asset. */ name: string; node_id: string; @@ -71265,11 +71265,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - uploader?: OneOf<[{ + uploader?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71300,18 +71300,18 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ url: string; })[]; /** Format: uri */ assets_url: string; /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71342,10 +71342,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - body: OneOf<[string, null]>; + }) | null; + body: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -71353,12 +71353,12 @@ export interface components { /** Format: uri */ html_url: string; id: number; - name: OneOf<[string, null]>; + name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ prerelease: boolean; /** Format: date-time */ - published_at: OneOf<[string, null]>; + published_at: string | null; /** Reactions */ reactions?: { "+1": number; @@ -71376,7 +71376,7 @@ export interface components { /** @description The name of the tag. */ tag_name: string; /** Format: uri */ - tarball_url: OneOf<[string, null]>; + tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; /** Format: uri-template */ @@ -71384,7 +71384,7 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - zipball_url: OneOf<[string, null]>; + zipball_url: string | null; }; repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; @@ -71405,7 +71405,7 @@ export interface components { created_at: string; download_count: number; id: number; - label: OneOf<[string, null]>; + label: string | null; /** @description The file name of the asset. */ name: string; node_id: string; @@ -71418,11 +71418,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - uploader?: OneOf<[{ + uploader?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71453,18 +71453,18 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ url: string; })[]; /** Format: uri */ assets_url: string; /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71495,10 +71495,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - body: OneOf<[string, null]>; + }) | null; + body: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -71506,12 +71506,12 @@ export interface components { /** Format: uri */ html_url: string; id: number; - name: OneOf<[string, null]>; + name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ prerelease: boolean; /** Format: date-time */ - published_at: OneOf<[string, null]>; + published_at: string | null; /** Reactions */ reactions?: { "+1": number; @@ -71529,7 +71529,7 @@ export interface components { /** @description The name of the tag. */ tag_name: string; /** Format: uri */ - tarball_url: OneOf<[string, null]>; + tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; /** Format: uri-template */ @@ -71537,9 +71537,9 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - zipball_url: OneOf<[string, null]>; - }) & { - assets?: (OneOf<[Record, null]>)[]; + zipball_url: string | null; + }) & ({ + assets?: (Record | null)[]; assets_url?: string; author?: { avatar_url?: string; @@ -71561,26 +71561,26 @@ export interface components { type?: string; url?: string; }; - body?: OneOf<[string, null]>; + body?: string | null; created_at?: string; draft?: boolean; html_url?: string; id?: number; - name?: OneOf<[string, null]>; + name?: string | null; node_id?: string; /** * @description Whether the release is identified as a prerelease or a full release. * @enum {boolean} */ prerelease: true; - published_at?: OneOf<[string, null]>; + published_at?: string | null; tag_name?: string; - tarball_url?: OneOf<[string, null]>; + tarball_url?: string | null; target_commitish?: string; upload_url?: string; url?: string; - zipball_url?: OneOf<[string, null]>; - }; + zipball_url?: string | null; + }); repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; }; @@ -71600,7 +71600,7 @@ export interface components { created_at: string; download_count: number; id: number; - label: OneOf<[string, null]>; + label: string | null; /** @description The file name of the asset. */ name: string; node_id: string; @@ -71613,11 +71613,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - uploader?: OneOf<[{ + uploader?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71648,18 +71648,18 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ url: string; })[]; /** Format: uri */ assets_url: string; /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71690,10 +71690,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - body: OneOf<[string, null]>; + }) | null; + body: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -71701,12 +71701,12 @@ export interface components { /** Format: uri */ html_url: string; id: number; - name: OneOf<[string, null]>; + name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ prerelease: boolean; /** Format: date-time */ - published_at: OneOf<[string, null]>; + published_at: string | null; /** Reactions */ reactions?: { "+1": number; @@ -71724,7 +71724,7 @@ export interface components { /** @description The name of the tag. */ tag_name: string; /** Format: uri */ - tarball_url: OneOf<[string, null]>; + tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; /** Format: uri-template */ @@ -71732,9 +71732,9 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - zipball_url: OneOf<[string, null]>; - }) & { - assets?: (OneOf<[Record, null]>)[]; + zipball_url: string | null; + }) & ({ + assets?: (Record | null)[]; assets_url?: string; author?: { avatar_url?: string; @@ -71756,23 +71756,23 @@ export interface components { type?: string; url?: string; }; - body?: OneOf<[string, null]>; + body?: string | null; created_at?: string; draft?: boolean; html_url?: string; id?: number; - name?: OneOf<[string, null]>; + name?: string | null; node_id?: string; prerelease?: boolean; /** Format: date-time */ - published_at: OneOf<[string, null]>; + published_at: string | null; tag_name?: string; - tarball_url?: OneOf<[string, null]>; + tarball_url?: string | null; target_commitish?: string; upload_url?: string; url?: string; - zipball_url?: OneOf<[string, null]>; - }; + zipball_url?: string | null; + }); repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; }; @@ -71796,7 +71796,7 @@ export interface components { created_at: string; download_count: number; id: number; - label: OneOf<[string, null]>; + label: string | null; /** @description The file name of the asset. */ name: string; node_id: string; @@ -71809,11 +71809,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - uploader?: OneOf<[{ + uploader?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71844,18 +71844,18 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ url: string; })[]; /** Format: uri */ assets_url: string; /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71886,10 +71886,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - body: OneOf<[string, null]>; + }) | null; + body: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -71897,12 +71897,12 @@ export interface components { /** Format: uri */ html_url: string; id: number; - name: OneOf<[string, null]>; + name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ prerelease: boolean; /** Format: date-time */ - published_at: OneOf<[string, null]>; + published_at: string | null; /** Reactions */ reactions?: { "+1": number; @@ -71920,7 +71920,7 @@ export interface components { /** @description The name of the tag. */ tag_name: string; /** Format: uri */ - tarball_url: OneOf<[string, null]>; + tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; /** Format: uri-template */ @@ -71928,7 +71928,7 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - zipball_url: OneOf<[string, null]>; + zipball_url: string | null; }; repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; @@ -71949,7 +71949,7 @@ export interface components { created_at: string; download_count: number; id: number; - label: OneOf<[string, null]>; + label: string | null; /** @description The file name of the asset. */ name: string; node_id: string; @@ -71962,11 +71962,11 @@ export interface components { /** Format: date-time */ updated_at: string; /** User */ - uploader?: OneOf<[{ + uploader?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -71997,18 +71997,18 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ url: string; })[]; /** Format: uri */ assets_url: string; /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -72039,10 +72039,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; - body: OneOf<[string, null]>; + }) | null; + body: string | null; /** Format: date-time */ - created_at: OneOf<[string, null]>; + created_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -72050,12 +72050,12 @@ export interface components { /** Format: uri */ html_url: string; id: number; - name: OneOf<[string, null]>; + name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ prerelease: boolean; /** Format: date-time */ - published_at: OneOf<[string, null]>; + published_at: string | null; /** Reactions */ reactions?: { "+1": number; @@ -72073,7 +72073,7 @@ export interface components { /** @description The name of the tag. */ tag_name: string; /** Format: uri */ - tarball_url: OneOf<[string, null]>; + tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; /** Format: uri-template */ @@ -72081,9 +72081,9 @@ export interface components { /** Format: uri */ url: string; /** Format: uri */ - zipball_url: OneOf<[string, null]>; - }) & { - assets?: (OneOf<[Record, null]>)[]; + zipball_url: string | null; + }) & ({ + assets?: (Record | null)[]; assets_url?: string; author?: { avatar_url?: string; @@ -72105,22 +72105,22 @@ export interface components { type?: string; url?: string; }; - body?: OneOf<[string, null]>; + body?: string | null; created_at?: string; draft?: boolean; html_url?: string; id?: number; - name?: OneOf<[string, null]>; + name?: string | null; node_id?: string; prerelease?: boolean; - published_at: OneOf<[string, null]>; + published_at: string | null; tag_name?: string; - tarball_url?: OneOf<[string, null]>; + tarball_url?: string | null; target_commitish?: string; upload_url?: string; url?: string; - zipball_url?: OneOf<[string, null]>; - }; + zipball_url?: string | null; + }); repository: components["schemas"]["repository"]; sender?: components["schemas"]["simple-user"]; }; @@ -72180,9 +72180,9 @@ export interface components { "webhook-repository-dispatch-sample": { action: string; branch: string; - client_payload: OneOf<[{ + client_payload: { [key: string]: unknown; - }, null]>; + } | null; enterprise?: components["schemas"]["enterprise"]; installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple"]; @@ -72198,13 +72198,13 @@ export interface components { from: string; }; description?: { - from: OneOf<[string, null]>; + from: string | null; }; homepage?: { - from: OneOf<[string, null]>; + from: string | null; }; topics?: { - from?: OneOf<[(string)[], null]>; + from?: (string)[] | null; }; }; enterprise?: components["schemas"]["enterprise"]; @@ -72271,7 +72271,7 @@ export interface components { organization?: { /** Format: uri */ avatar_url: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ events_url: string; /** Format: uri */ @@ -72293,11 +72293,11 @@ export interface components { url: string; }; /** User */ - user?: OneOf<[{ + user?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -72328,7 +72328,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; }; }; }; @@ -72359,11 +72359,11 @@ export interface components { dismiss_reason?: string; dismissed_at?: string; /** User */ - dismisser?: OneOf<[{ + dismisser?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -72394,10 +72394,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; external_identifier: string; /** Format: uri */ - external_reference: OneOf<[string, null]>; + external_reference: string | null; fix_reason?: string; /** Format: date-time */ fixed_at?: string; @@ -72409,12 +72409,12 @@ export interface components { severity: string; /** @enum {string} */ state: "open" | "dismissed" | "fixed"; - }) & { + }) & ({ affected_package_name?: string; affected_range?: string; created_at?: string; external_identifier?: string; - external_reference?: OneOf<[string, null]>; + external_reference?: string | null; fixed_in?: string; ghsa_id?: string; id?: number; @@ -72423,7 +72423,7 @@ export interface components { severity?: string; /** @enum {string} */ state: "open"; - }; + }); enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple"]; @@ -72438,15 +72438,15 @@ export interface components { affected_package_name: string; affected_range: string; created_at: string; - dismiss_comment?: OneOf<[string, null]>; + dismiss_comment?: string | null; dismiss_reason?: string; dismissed_at?: string; /** User */ - dismisser?: OneOf<[{ + dismisser?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -72477,10 +72477,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; external_identifier: string; /** Format: uri */ - external_reference: OneOf<[string, null]>; + external_reference: string | null; fix_reason?: string; /** Format: date-time */ fixed_at?: string; @@ -72496,15 +72496,15 @@ export interface components { affected_package_name?: string; affected_range?: string; created_at?: string; - dismiss_comment?: OneOf<[string, null]>; + dismiss_comment?: string | null; dismiss_reason: string; dismissed_at: string; /** User */ - dismisser: OneOf<[{ + dismisser: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -72535,9 +72535,9 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; external_identifier?: string; - external_reference?: OneOf<[string, null]>; + external_reference?: string | null; fixed_in?: string; ghsa_id?: string; id?: number; @@ -72564,11 +72564,11 @@ export interface components { dismiss_reason?: string; dismissed_at?: string; /** User */ - dismisser?: OneOf<[{ + dismisser?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -72599,10 +72599,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; external_identifier: string; /** Format: uri */ - external_reference: OneOf<[string, null]>; + external_reference: string | null; fix_reason?: string; /** Format: date-time */ fixed_at?: string; @@ -72614,12 +72614,12 @@ export interface components { severity: string; /** @enum {string} */ state: "open" | "dismissed" | "fixed"; - }) & { + }) & ({ affected_package_name?: string; affected_range?: string; created_at?: string; external_identifier?: string; - external_reference?: OneOf<[string, null]>; + external_reference?: string | null; fixed_in?: string; ghsa_id?: string; id?: number; @@ -72628,7 +72628,7 @@ export interface components { severity?: string; /** @enum {string} */ state: "open"; - }; + }); enterprise?: components["schemas"]["enterprise"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple"]; @@ -72646,11 +72646,11 @@ export interface components { dismiss_reason?: string; dismissed_at?: string; /** User */ - dismisser?: OneOf<[{ + dismisser?: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -72681,10 +72681,10 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; external_identifier: string; /** Format: uri */ - external_reference: OneOf<[string, null]>; + external_reference: string | null; fix_reason?: string; /** Format: date-time */ fixed_at?: string; @@ -72701,7 +72701,7 @@ export interface components { affected_range?: string; created_at?: string; external_identifier?: string; - external_reference?: OneOf<[string, null]>; + external_reference?: string | null; fix_reason?: string; /** Format: date-time */ fixed_at?: string; @@ -72772,12 +72772,12 @@ export interface components { locations_url?: string; number?: components["schemas"]["alert-number"]; /** @description Whether push protection was bypassed for the detected secret. */ - push_protection_bypassed?: OneOf<[boolean, null]>; + push_protection_bypassed?: boolean | null; /** * Format: date-time * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - push_protection_bypassed_at?: OneOf<[string, null]>; + push_protection_bypassed_at?: string | null; push_protection_bypassed_by?: null | components["schemas"]["simple-user"]; /** * @description **Required when the `state` is `resolved`.** The reason for resolving the alert. @@ -72788,10 +72788,10 @@ export interface components { * Format: date-time * @description The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ - resolved_at?: OneOf<[string, null]>; + resolved_at?: string | null; resolved_by?: null | components["schemas"]["simple-user"]; /** @description An optional comment to resolve an alert. */ - resolution_comment?: OneOf<[string, null]>; + resolution_comment?: string | null; /** @description The secret that was detected. */ secret?: string; /** @description The type of secret that secret scanning detected. */ @@ -72834,7 +72834,7 @@ export interface components { security_advisory: { cvss: { score: number; - vector_string: OneOf<[string, null]>; + vector_string: string | null; }; cwes: ({ cwe_id: string; @@ -72855,9 +72855,9 @@ export interface components { summary: string; updated_at: string; vulnerabilities: ({ - first_patched_version: OneOf<[{ + first_patched_version: { identifier: string; - }, null]>; + } | null; package: { ecosystem: string; name: string; @@ -72865,7 +72865,7 @@ export interface components { severity: string; vulnerable_version_range: string; })[]; - withdrawn_at: OneOf<[string, null]>; + withdrawn_at: string | null; }; sender?: components["schemas"]["simple-user"]; }; @@ -72881,7 +72881,7 @@ export interface components { security_advisory: { cvss: { score: number; - vector_string: OneOf<[string, null]>; + vector_string: string | null; }; cwes: ({ cwe_id: string; @@ -72902,9 +72902,9 @@ export interface components { summary: string; updated_at: string; vulnerabilities: ({ - first_patched_version: OneOf<[{ + first_patched_version: { identifier: string; - }, null]>; + } | null; package: { ecosystem: string; name: string; @@ -72912,7 +72912,7 @@ export interface components { severity: string; vulnerable_version_range: string; })[]; - withdrawn_at: OneOf<[string, null]>; + withdrawn_at: string | null; }; sender?: components["schemas"]["simple-user"]; }; @@ -72928,7 +72928,7 @@ export interface components { security_advisory: { cvss: { score: number; - vector_string: OneOf<[string, null]>; + vector_string: string | null; }; cwes: ({ cwe_id: string; @@ -72949,9 +72949,9 @@ export interface components { summary: string; updated_at: string; vulnerabilities: ({ - first_patched_version: OneOf<[{ + first_patched_version: { identifier: string; - }, null]>; + } | null; package: { ecosystem: string; name: string; @@ -73010,11 +73010,11 @@ export interface components { node_id: string; privacy_level: string; /** User */ - sponsor: OneOf<[{ + sponsor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73045,13 +73045,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** User */ - sponsorable: OneOf<[{ + sponsorable: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73082,7 +73082,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Sponsorship Tier * @description The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload. @@ -73134,11 +73134,11 @@ export interface components { node_id: string; privacy_level: string; /** User */ - sponsor: OneOf<[{ + sponsor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73169,13 +73169,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** User */ - sponsorable: OneOf<[{ + sponsorable: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73206,7 +73206,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Sponsorship Tier * @description The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload. @@ -73264,11 +73264,11 @@ export interface components { node_id: string; privacy_level: string; /** User */ - sponsor: OneOf<[{ + sponsor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73299,13 +73299,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** User */ - sponsorable: OneOf<[{ + sponsorable: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73336,7 +73336,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Sponsorship Tier * @description The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload. @@ -73390,11 +73390,11 @@ export interface components { node_id: string; privacy_level: string; /** User */ - sponsor: OneOf<[{ + sponsor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73425,13 +73425,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** User */ - sponsorable: OneOf<[{ + sponsorable: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73462,7 +73462,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Sponsorship Tier * @description The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload. @@ -73535,11 +73535,11 @@ export interface components { node_id: string; privacy_level: string; /** User */ - sponsor: OneOf<[{ + sponsor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73570,13 +73570,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** User */ - sponsorable: OneOf<[{ + sponsorable: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73607,7 +73607,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Sponsorship Tier * @description The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload. @@ -73678,11 +73678,11 @@ export interface components { node_id: string; privacy_level: string; /** User */ - sponsor: OneOf<[{ + sponsor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73713,13 +73713,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** User */ - sponsorable: OneOf<[{ + sponsorable: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73750,7 +73750,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** * Sponsorship Tier * @description The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload. @@ -73778,7 +73778,7 @@ export interface components { repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; /** @description The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action. */ - starred_at: OneOf<[string, null]>; + starred_at: string | null; }; /** star deleted event */ "webhook-star-deleted": { @@ -73795,24 +73795,24 @@ export interface components { /** status event */ "webhook-status": { /** Format: uri */ - avatar_url?: OneOf<[string, null]>; + avatar_url?: string | null; /** @description An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches. */ branches: ({ commit: { - sha: OneOf<[string, null]>; + sha: string | null; /** Format: uri */ - url: OneOf<[string, null]>; + url: string | null; }; name: string; protected: boolean; })[]; commit: { /** User */ - author: OneOf<[{ + author: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73843,33 +73843,33 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ comments_url: string; commit: { - author: { + author: ({ /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; - } & { + }) & { date: string; email?: string; name?: string; }; comment_count: number; - committer: { + committer: ({ /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; - } & { + }) & { date: string; email?: string; name?: string; @@ -73883,19 +73883,19 @@ export interface components { /** Format: uri */ url: string; verification: { - payload: OneOf<[string, null]>; + payload: string | null; /** @enum {string} */ reason: "expired_key" | "not_signing_key" | "gpgverify_error" | "gpgverify_unavailable" | "unsigned" | "unknown_signature_type" | "no_user" | "unverified_email" | "bad_email" | "unknown_key" | "malformed_signature" | "invalid" | "valid" | "bad_cert" | "ocsp_pending"; - signature: OneOf<[string, null]>; + signature: string | null; verified: boolean; }; }; /** User */ - committer: OneOf<[{ + committer: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -73926,7 +73926,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ html_url: string; node_id: string; @@ -73944,7 +73944,7 @@ export interface components { context: string; created_at: string; /** @description The optional human-readable description added to the status. */ - description: OneOf<[string, null]>; + description: string | null; enterprise?: components["schemas"]["enterprise"]; /** @description The unique identifier of the status. */ id: number; @@ -73961,7 +73961,7 @@ export interface components { */ state: "pending" | "success" | "failure" | "error"; /** @description The optional link added to the status. */ - target_url: OneOf<[string, null]>; + target_url: string | null; updated_at: string; }; /** team_add event */ @@ -73978,7 +73978,7 @@ export interface components { team: { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -73988,9 +73988,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -74017,7 +74017,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -74109,7 +74109,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -74151,7 +74151,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -74169,25 +74169,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -74197,11 +74197,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -74232,7 +74232,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -74248,7 +74248,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -74287,7 +74287,7 @@ export interface components { team: { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -74297,9 +74297,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -74326,7 +74326,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -74418,7 +74418,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -74460,7 +74460,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -74478,25 +74478,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -74506,11 +74506,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -74541,7 +74541,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -74557,7 +74557,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -74596,7 +74596,7 @@ export interface components { team: { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -74606,9 +74606,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -74635,7 +74635,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -74727,7 +74727,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -74769,7 +74769,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -74787,25 +74787,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -74815,11 +74815,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -74850,7 +74850,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -74866,7 +74866,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -74905,7 +74905,7 @@ export interface components { team: { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -74915,9 +74915,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -74944,7 +74944,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -75067,7 +75067,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -75109,7 +75109,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -75127,25 +75127,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -75155,11 +75155,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -75190,7 +75190,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -75206,7 +75206,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -75245,7 +75245,7 @@ export interface components { team: { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -75255,9 +75255,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -75284,7 +75284,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -75376,7 +75376,7 @@ export interface components { delete_branch_on_merge?: boolean; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** @description Returns whether or not this repository is disabled. */ disabled?: boolean; /** Format: uri */ @@ -75418,7 +75418,7 @@ export interface components { * @default true */ has_wiki: boolean; - homepage: OneOf<[string, null]>; + homepage: string | null; /** Format: uri */ hooks_url: string; /** Format: uri */ @@ -75436,25 +75436,25 @@ export interface components { keys_url: string; /** Format: uri-template */ labels_url: string; - language: OneOf<[string, null]>; + language: string | null; /** Format: uri */ languages_url: string; /** License */ - license: OneOf<[{ + license: ({ key: string; name: string; node_id: string; spdx_id: string; /** Format: uri */ - url: OneOf<[string, null]>; - }, null]>; + url: string | null; + }) | null; master_branch?: string; /** Format: uri */ merges_url: string; /** Format: uri-template */ milestones_url: string; /** Format: uri */ - mirror_url: OneOf<[string, null]>; + mirror_url: string | null; /** @description The name of the repository. */ name: string; node_id: string; @@ -75464,11 +75464,11 @@ export interface components { open_issues_count: number; organization?: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -75499,7 +75499,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; permissions?: { admin: boolean; maintain?: boolean; @@ -75515,7 +75515,7 @@ export interface components { pushed_at: number | string; /** Format: uri-template */ releases_url: string; - role_name?: OneOf<[string, null]>; + role_name?: string | null; size: number; ssh_url: string; stargazers?: number; @@ -75554,7 +75554,7 @@ export interface components { team: { deleted?: boolean; /** @description Description of the team */ - description?: OneOf<[string, null]>; + description?: string | null; /** Format: uri */ html_url?: string; /** @description Unique identifier of the team */ @@ -75564,9 +75564,9 @@ export interface components { /** @description Name of the team */ name: string; node_id?: string; - parent?: OneOf<[{ + parent?: ({ /** @description Description of the team */ - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ html_url: string; /** @description Unique identifier of the team */ @@ -75593,7 +75593,7 @@ export interface components { * @description URL for the team */ url: string; - }, null]>; + }) | null; /** @description Permission that the team will have for its repositories */ permission?: string; /** @enum {string} */ @@ -75626,9 +75626,9 @@ export interface components { /** workflow_dispatch event */ "webhook-workflow-dispatch": { enterprise?: components["schemas"]["enterprise"]; - inputs: OneOf<[{ + inputs: { [key: string]: unknown; - }, null]>; + } | null; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple"]; ref: string; @@ -75648,7 +75648,7 @@ export interface components { workflow_job: ({ /** Format: uri */ check_run_url: string; - completed_at: OneOf<[string, null]>; + completed_at: string | null; /** @enum {string|null} */ conclusion: "success" | "failure" | null | "skipped" | "cancelled" | "action_required" | "neutral" | "timed_out"; /** @description The time that the job created. */ @@ -75666,13 +75666,13 @@ export interface components { /** Format: uri */ run_url: string; /** @description The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. */ - runner_group_id: OneOf<[number, null]>; + runner_group_id: number | null; /** @description The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. */ - runner_group_name: OneOf<[string, null]>; + runner_group_name: string | null; /** @description The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. */ - runner_id: OneOf<[number, null]>; + runner_id: number | null; /** @description The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. */ - runner_name: OneOf<[string, null]>; + runner_name: string | null; started_at: string; /** * @description The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`. @@ -75680,16 +75680,16 @@ export interface components { */ status: "queued" | "in_progress" | "completed" | "waiting"; /** @description The name of the current branch. */ - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** @description The name of the workflow. */ - workflow_name: OneOf<[string, null]>; + workflow_name: string | null; steps: ({ - completed_at: OneOf<[string, null]>; + completed_at: string | null; /** @enum {string|null} */ conclusion: "failure" | "skipped" | "success" | "cancelled" | null; name: string; number: number; - started_at: OneOf<[string, null]>; + started_at: string | null; /** @enum {string} */ status: "in_progress" | "completed" | "queued"; })[]; @@ -75705,23 +75705,23 @@ export interface components { head_sha?: string; html_url?: string; id?: number; - labels?: (OneOf<[string, null]>)[]; + labels?: (string | null)[]; name?: string; node_id?: string; run_attempt?: number; run_id?: number; run_url?: string; - runner_group_id?: OneOf<[number, null]>; - runner_group_name?: OneOf<[string, null]>; - runner_id?: OneOf<[number, null]>; - runner_name?: OneOf<[string, null]>; + runner_group_id?: number | null; + runner_group_name?: string | null; + runner_id?: number | null; + runner_name?: string | null; started_at?: string; status?: string; /** @description The name of the current branch. */ - head_branch?: OneOf<[string, null]>; + head_branch?: string | null; /** @description The name of the workflow. */ - workflow_name?: OneOf<[string, null]>; - steps?: (OneOf<[Record, null]>)[]; + workflow_name?: string | null; + steps?: (Record | null)[]; url?: string; }); deployment?: components["schemas"]["deployment"]; @@ -75738,7 +75738,7 @@ export interface components { workflow_job: ({ /** Format: uri */ check_run_url: string; - completed_at: OneOf<[string, null]>; + completed_at: string | null; /** @enum {string|null} */ conclusion: "success" | "failure" | null | "cancelled" | "neutral"; /** @description The time that the job created. */ @@ -75756,13 +75756,13 @@ export interface components { /** Format: uri */ run_url: string; /** @description The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. */ - runner_group_id: OneOf<[number, null]>; + runner_group_id: number | null; /** @description The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. */ - runner_group_name: OneOf<[string, null]>; + runner_group_name: string | null; /** @description The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. */ - runner_id: OneOf<[number, null]>; + runner_id: number | null; /** @description The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. */ - runner_name: OneOf<[string, null]>; + runner_name: string | null; started_at: string; /** * @description The current status of the job. Can be `queued`, `in_progress`, or `completed`. @@ -75770,16 +75770,16 @@ export interface components { */ status: "queued" | "in_progress" | "completed"; /** @description The name of the current branch. */ - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** @description The name of the workflow. */ - workflow_name: OneOf<[string, null]>; + workflow_name: string | null; steps: ({ - completed_at: OneOf<[string, null]>; + completed_at: string | null; /** @enum {string|null} */ conclusion: "failure" | "skipped" | "success" | null | "cancelled"; name: string; number: number; - started_at: OneOf<[string, null]>; + started_at: string | null; /** @enum {string} */ status: "in_progress" | "completed" | "queued" | "pending"; })[]; @@ -75787,8 +75787,8 @@ export interface components { url: string; }) & ({ check_run_url?: string; - completed_at?: OneOf<[string, null]>; - conclusion?: OneOf<[string, null]>; + completed_at?: string | null; + conclusion?: string | null; /** @description The time that the job created. */ created_at?: string; head_sha?: string; @@ -75800,23 +75800,23 @@ export interface components { run_attempt?: number; run_id?: number; run_url?: string; - runner_group_id?: OneOf<[number, null]>; - runner_group_name?: OneOf<[string, null]>; - runner_id?: OneOf<[number, null]>; - runner_name?: OneOf<[string, null]>; + runner_group_id?: number | null; + runner_group_name?: string | null; + runner_id?: number | null; + runner_name?: string | null; started_at?: string; /** @enum {string} */ status: "in_progress" | "completed" | "queued"; /** @description The name of the current branch. */ - head_branch?: OneOf<[string, null]>; + head_branch?: string | null; /** @description The name of the workflow. */ - workflow_name?: OneOf<[string, null]>; + workflow_name?: string | null; steps: ({ - completed_at: OneOf<[string, null]>; - conclusion: OneOf<[string, null]>; + completed_at: string | null; + conclusion: string | null; name: string; number: number; - started_at: OneOf<[string, null]>; + started_at: string | null; /** @enum {string} */ status: "in_progress" | "completed" | "pending" | "queued"; })[]; @@ -75836,8 +75836,8 @@ export interface components { workflow_job: { /** Format: uri */ check_run_url: string; - completed_at: OneOf<[string, null]>; - conclusion: OneOf<[string, null]>; + completed_at: string | null; + conclusion: string | null; /** @description The time that the job created. */ created_at: string; head_sha: string; @@ -75851,25 +75851,25 @@ export interface components { run_id: number; /** Format: uri */ run_url: string; - runner_group_id: OneOf<[number, null]>; - runner_group_name: OneOf<[string, null]>; - runner_id: OneOf<[number, null]>; - runner_name: OneOf<[string, null]>; + runner_group_id: number | null; + runner_group_name: string | null; + runner_id: number | null; + runner_name: string | null; /** Format: date-time */ started_at: string; /** @enum {string} */ status: "queued" | "in_progress" | "completed" | "waiting"; /** @description The name of the current branch. */ - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** @description The name of the workflow. */ - workflow_name: OneOf<[string, null]>; + workflow_name: string | null; steps: ({ - completed_at: OneOf<[string, null]>; + completed_at: string | null; /** @enum {string|null} */ conclusion: "failure" | "skipped" | "success" | "cancelled" | null; name: string; number: number; - started_at: OneOf<[string, null]>; + started_at: string | null; /** @enum {string} */ status: "completed" | "in_progress" | "queued" | "pending"; })[]; @@ -75890,8 +75890,8 @@ export interface components { workflow_job: { /** Format: uri */ check_run_url: string; - completed_at: OneOf<[string, null]>; - conclusion: OneOf<[string, null]>; + completed_at: string | null; + conclusion: string | null; /** @description The time that the job created. */ created_at: string; head_sha: string; @@ -75905,25 +75905,25 @@ export interface components { run_id: number; /** Format: uri */ run_url: string; - runner_group_id: OneOf<[number, null]>; - runner_group_name: OneOf<[string, null]>; - runner_id: OneOf<[number, null]>; - runner_name: OneOf<[string, null]>; + runner_group_id: number | null; + runner_group_name: string | null; + runner_id: number | null; + runner_name: string | null; /** Format: date-time */ started_at: string; /** @description The name of the current branch. */ - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** @description The name of the workflow. */ - workflow_name: OneOf<[string, null]>; + workflow_name: string | null; /** @enum {string} */ status: "queued" | "in_progress" | "completed" | "waiting"; steps: ({ - completed_at: OneOf<[string, null]>; + completed_at: string | null; /** @enum {string|null} */ conclusion: "failure" | "skipped" | "success" | "cancelled" | null; name: string; number: number; - started_at: OneOf<[string, null]>; + started_at: string | null; /** @enum {string} */ status: "completed" | "in_progress" | "queued" | "pending" | "waiting"; })[]; @@ -75942,7 +75942,7 @@ export interface components { repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; /** Workflow */ - workflow: OneOf<[{ + workflow: { /** Format: uri */ badge_url: string; /** Format: date-time */ @@ -75958,14 +75958,14 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + } | null; workflow_run: ({ /** User */ - actor: OneOf<[{ + actor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -75996,7 +75996,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ artifacts_url: string; /** Format: uri */ @@ -76010,7 +76010,7 @@ export interface components { /** Format: date-time */ created_at: string; event: string; - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** SimpleCommit */ head_commit: { /** @@ -76021,7 +76021,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -76034,7 +76034,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -76068,7 +76068,7 @@ export interface components { contributors_url: string; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ downloads_url: string; /** Format: uri */ @@ -76111,11 +76111,11 @@ export interface components { /** Format: uri-template */ notifications_url: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -76146,7 +76146,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description Whether the repository is private or public. */ private: boolean; /** Format: uri-template */ @@ -76178,11 +76178,11 @@ export interface components { jobs_url: string; /** Format: uri */ logs_url: string; - name: OneOf<[string, null]>; + name: string | null; node_id: string; path: string; /** Format: uri */ - previous_attempt_url: OneOf<[string, null]>; + previous_attempt_url: string | null; pull_requests: ({ base: { ref: string; @@ -76211,11 +76211,11 @@ export interface components { /** Format: uri */ url: string; })[]; - referenced_workflows?: OneOf<[({ + referenced_workflows?: ({ path: string; ref?: string; sha: string; - })[], null]>; + })[] | null; /** Repository Lite */ repository: { /** Format: uri-template */ @@ -76240,7 +76240,7 @@ export interface components { contributors_url: string; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ downloads_url: string; /** Format: uri */ @@ -76283,11 +76283,11 @@ export interface components { /** Format: uri-template */ notifications_url: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -76318,7 +76318,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description Whether the repository is private or public. */ private: boolean; /** Format: uri-template */ @@ -76351,11 +76351,11 @@ export interface components { /** @enum {string} */ status: "requested" | "in_progress" | "completed" | "queued" | "pending" | "waiting"; /** User */ - triggering_actor: OneOf<[{ + triggering_actor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -76386,7 +76386,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: date-time */ updated_at: string; /** Format: uri */ @@ -76424,7 +76424,7 @@ export interface components { conclusion: "success" | "failure" | "neutral" | "cancelled" | "timed_out" | "action_required" | "stale" | "skipped"; created_at?: string; event?: string; - head_branch?: OneOf<[string, null]>; + head_branch?: string | null; head_commit?: { author?: { email?: string; @@ -76451,7 +76451,7 @@ export interface components { contents_url?: string; contributors_url?: string; deployments_url?: string; - description?: OneOf<[string, null]>; + description?: string | null; downloads_url?: string; events_url?: string; fork?: boolean; @@ -76511,16 +76511,16 @@ export interface components { id?: number; jobs_url?: string; logs_url?: string; - name?: OneOf<[string, null]>; + name?: string | null; node_id?: string; path?: string; - previous_attempt_url?: OneOf<[string, null]>; - pull_requests?: (OneOf<[Record, null]>)[]; - referenced_workflows?: OneOf<[({ + previous_attempt_url?: string | null; + pull_requests?: (Record | null)[]; + referenced_workflows?: ({ path: string; ref?: string; sha: string; - })[], null]>; + })[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -76533,7 +76533,7 @@ export interface components { contents_url?: string; contributors_url?: string; deployments_url?: string; - description?: OneOf<[string, null]>; + description?: string | null; downloads_url?: string; events_url?: string; fork?: boolean; @@ -76593,7 +76593,7 @@ export interface components { run_number?: number; run_started_at?: string; status?: string; - triggering_actor?: OneOf<[{ + triggering_actor?: { avatar_url?: string; events_url?: string; followers_url?: string; @@ -76612,7 +76612,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; - }, null]>; + } | null; updated_at?: string; url?: string; workflow_id?: number; @@ -76629,7 +76629,7 @@ export interface components { repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; /** Workflow */ - workflow: OneOf<[{ + workflow: { /** Format: uri */ badge_url: string; /** Format: date-time */ @@ -76645,14 +76645,14 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + } | null; workflow_run: ({ /** User */ - actor: OneOf<[{ + actor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -76683,7 +76683,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ artifacts_url: string; /** Format: uri */ @@ -76697,7 +76697,7 @@ export interface components { /** Format: date-time */ created_at: string; event: string; - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** SimpleCommit */ head_commit: { /** @@ -76708,7 +76708,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -76721,7 +76721,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -76755,7 +76755,7 @@ export interface components { contributors_url: string; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ downloads_url: string; /** Format: uri */ @@ -76798,11 +76798,11 @@ export interface components { /** Format: uri-template */ notifications_url: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -76833,7 +76833,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description Whether the repository is private or public. */ private: boolean; /** Format: uri-template */ @@ -76865,11 +76865,11 @@ export interface components { jobs_url: string; /** Format: uri */ logs_url: string; - name: OneOf<[string, null]>; + name: string | null; node_id: string; path: string; /** Format: uri */ - previous_attempt_url: OneOf<[string, null]>; + previous_attempt_url: string | null; pull_requests: ({ base: { ref: string; @@ -76898,11 +76898,11 @@ export interface components { /** Format: uri */ url: string; })[]; - referenced_workflows?: OneOf<[({ + referenced_workflows?: ({ path: string; ref?: string; sha: string; - })[], null]>; + })[] | null; /** Repository Lite */ repository: { /** Format: uri-template */ @@ -76927,7 +76927,7 @@ export interface components { contributors_url: string; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ downloads_url: string; /** Format: uri */ @@ -76970,11 +76970,11 @@ export interface components { /** Format: uri-template */ notifications_url: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -77005,7 +77005,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description Whether the repository is private or public. */ private: boolean; /** Format: uri-template */ @@ -77038,11 +77038,11 @@ export interface components { /** @enum {string} */ status: "requested" | "in_progress" | "completed" | "queued" | "pending"; /** User */ - triggering_actor: OneOf<[{ + triggering_actor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -77073,7 +77073,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: date-time */ updated_at: string; /** Format: uri */ @@ -77111,7 +77111,7 @@ export interface components { conclusion: "success" | "failure" | "neutral" | "cancelled" | "timed_out" | "action_required" | "skipped" | "stale" | null; created_at?: string; event?: string; - head_branch?: OneOf<[string, null]>; + head_branch?: string | null; head_commit?: { author?: { email?: string; @@ -77138,7 +77138,7 @@ export interface components { contents_url?: string; contributors_url?: string; deployments_url?: string; - description?: OneOf<[string, null]>; + description?: string | null; downloads_url?: string; events_url?: string; fork?: boolean; @@ -77158,7 +77158,7 @@ export interface components { languages_url?: string; merges_url?: string; milestones_url?: string; - name?: OneOf<[string, null]>; + name?: string | null; node_id?: string; notifications_url?: string; owner?: { @@ -77198,16 +77198,16 @@ export interface components { id?: number; jobs_url?: string; logs_url?: string; - name?: OneOf<[string, null]>; + name?: string | null; node_id?: string; path?: string; - previous_attempt_url?: OneOf<[string, null]>; - pull_requests?: (OneOf<[Record, null]>)[]; - referenced_workflows?: OneOf<[({ + previous_attempt_url?: string | null; + pull_requests?: (Record | null)[]; + referenced_workflows?: ({ path: string; ref?: string; sha: string; - })[], null]>; + })[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -77220,7 +77220,7 @@ export interface components { contents_url?: string; contributors_url?: string; deployments_url?: string; - description?: OneOf<[string, null]>; + description?: string | null; downloads_url?: string; events_url?: string; fork?: boolean; @@ -77316,7 +77316,7 @@ export interface components { repository: components["schemas"]["repository"]; sender: components["schemas"]["simple-user"]; /** Workflow */ - workflow: OneOf<[{ + workflow: { /** Format: uri */ badge_url: string; /** Format: date-time */ @@ -77332,15 +77332,15 @@ export interface components { updated_at: string; /** Format: uri */ url: string; - }, null]>; + } | null; /** Workflow Run */ workflow_run: { /** User */ - actor: OneOf<[{ + actor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -77371,7 +77371,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: uri */ artifacts_url: string; /** Format: uri */ @@ -77385,7 +77385,7 @@ export interface components { /** Format: date-time */ created_at: string; event: string; - head_branch: OneOf<[string, null]>; + head_branch: string | null; /** SimpleCommit */ head_commit: { /** @@ -77396,7 +77396,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -77409,7 +77409,7 @@ export interface components { /** Format: date-time */ date?: string; /** Format: email */ - email: OneOf<[string, null]>; + email: string | null; /** @description The git author's name. */ name: string; username?: string; @@ -77443,7 +77443,7 @@ export interface components { contributors_url: string; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ downloads_url: string; /** Format: uri */ @@ -77486,11 +77486,11 @@ export interface components { /** Format: uri-template */ notifications_url: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -77521,7 +77521,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description Whether the repository is private or public. */ private: boolean; /** Format: uri-template */ @@ -77553,11 +77553,11 @@ export interface components { jobs_url: string; /** Format: uri */ logs_url: string; - name: OneOf<[string, null]>; + name: string | null; node_id: string; path: string; /** Format: uri */ - previous_attempt_url: OneOf<[string, null]>; + previous_attempt_url: string | null; pull_requests: ({ base: { ref: string; @@ -77586,11 +77586,11 @@ export interface components { /** Format: uri */ url: string; })[]; - referenced_workflows?: OneOf<[({ + referenced_workflows?: ({ path: string; ref?: string; sha: string; - })[], null]>; + })[] | null; /** Repository Lite */ repository: { /** Format: uri-template */ @@ -77615,7 +77615,7 @@ export interface components { contributors_url: string; /** Format: uri */ deployments_url: string; - description: OneOf<[string, null]>; + description: string | null; /** Format: uri */ downloads_url: string; /** Format: uri */ @@ -77658,11 +77658,11 @@ export interface components { /** Format: uri-template */ notifications_url: string; /** User */ - owner: OneOf<[{ + owner: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -77693,7 +77693,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** @description Whether the repository is private or public. */ private: boolean; /** Format: uri-template */ @@ -77726,11 +77726,11 @@ export interface components { /** @enum {string} */ status: "requested" | "in_progress" | "completed" | "queued" | "pending" | "waiting"; /** User */ - triggering_actor: OneOf<[{ + triggering_actor: ({ /** Format: uri */ avatar_url?: string; deleted?: boolean; - email?: OneOf<[string, null]>; + email?: string | null; /** Format: uri-template */ events_url?: string; /** Format: uri */ @@ -77761,7 +77761,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; - }, null]>; + }) | null; /** Format: date-time */ updated_at: string; /** Format: uri */ @@ -77836,7 +77836,7 @@ export interface components { block?: { reason?: string; created_at?: string; - html_url?: OneOf<[string, null]>; + html_url?: string | null; }; message?: string; documentation_url?: string; @@ -78303,13 +78303,13 @@ export interface operations { /** @description Response */ 201: { content: { - "application/json": components["schemas"]["integration"] & { + "application/json": components["schemas"]["integration"] & ({ client_id: string; client_secret: string; - webhook_secret: OneOf<[string, null]>; + webhook_secret: string | null; pem: string; [key: string]: unknown; - }; + }); }; }; 404: components["responses"]["not_found"]; @@ -79097,7 +79097,7 @@ export interface operations { }; requestBody: { content: { - "application/json": OneOf<[{ + "application/json": ({ /** @description The description of the gist. */ description?: string; /** @@ -79107,14 +79107,14 @@ export interface operations { * To delete a file, set the whole file to null. For example: `hello.py : null`. */ files?: { - [key: string]: OneOf<[{ + [key: string]: (({ /** @description The new content of the file. */ content?: string; /** @description The new filename for the file. */ - filename?: OneOf<[string, null]>; - }, null]> | undefined; + filename?: string | null; + }) | null) | undefined; }; - }, null]>; + }) | null; }; }; responses: { @@ -83782,7 +83782,7 @@ export interface operations { */ action: "approve" | "deny"; /** @description Reason for approving or denying the requests. Max 1024 characters. */ - reason?: OneOf<[string, null]>; + reason?: string | null; }; }; }; @@ -83818,7 +83818,7 @@ export interface operations { */ action: "approve" | "deny"; /** @description Reason for approving or denying the request. Max 1024 characters. */ - reason?: OneOf<[string, null]>; + reason?: string | null; }; }; }; @@ -84839,7 +84839,7 @@ export interface operations { */ permission?: "pull" | "push" | "admin"; /** @description The ID of a team to set as the parent team. */ - parent_team_id?: OneOf<[number, null]>; + parent_team_id?: number | null; }; }; }; @@ -85568,13 +85568,13 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": ({ /** * @description The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." * @enum {string} */ permission?: "read" | "write" | "admin"; - }, null]>; + }) | null; }; }; responses: { @@ -85841,7 +85841,7 @@ export interface operations { content: { "application/json": { /** @description The project card's note */ - note?: OneOf<[string, null]>; + note?: string | null; /** @description Whether or not the card is archived */ archived?: boolean; }; @@ -86029,7 +86029,7 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The project card's note */ - note: OneOf<[string, null]>; + note: string | null; }, { /** @description The unique identifier of the content associated with the card */ content_id: number; @@ -86165,7 +86165,7 @@ export interface operations { /** @description Name of the project */ name?: string; /** @description Body of the project */ - body?: OneOf<[string, null]>; + body?: string | null; /** @description State of the project; either 'open' or 'closed' */ state?: string; /** @@ -86249,14 +86249,14 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": ({ /** * @description The permission to grant the collaborator. * @default write * @enum {string} */ permission?: "read" | "write" | "admin"; - }, null]>; + }) | null; }; }; responses: { @@ -86494,7 +86494,7 @@ export interface operations { * * You can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request. */ - security_and_analysis?: OneOf<[{ + security_and_analysis?: { /** @description Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)." */ advanced_security?: { /** @description Can be `enabled` or `disabled`. */ @@ -86510,7 +86510,7 @@ export interface operations { /** @description Can be `enabled` or `disabled`. */ status?: string; }; - }, null]>; + } | null; /** * @description Either `true` to enable issues for this repository or `false` to disable them. * @default true @@ -86885,13 +86885,13 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": { /** * @description Whether to enable debug logging for the re-run. * @default false */ enable_debug_logging?: boolean; - }, null]>; + } | null; }; }; responses: { @@ -87972,13 +87972,13 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": { /** * @description Whether to enable debug logging for the re-run. * @default false */ enable_debug_logging?: boolean; - }, null]>; + } | null; }; }; responses: { @@ -88004,13 +88004,13 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": { /** * @description Whether to enable debug logging for the re-run. * @default false */ enable_debug_logging?: boolean; - }, null]>; + } | null; }; }; responses: { @@ -88845,7 +88845,7 @@ export interface operations { content: { "application/json": { /** @description Require status checks to pass before merging. Set to `null` to disable. */ - required_status_checks: OneOf<[{ + required_status_checks: { /** @description Require branches to be up to date before merging. */ strict: boolean; /** @@ -88860,11 +88860,11 @@ export interface operations { /** @description The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. */ app_id?: number; })[]; - }, null]>; + } | null; /** @description Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. */ - enforce_admins: OneOf<[boolean, null]>; + enforce_admins: boolean | null; /** @description Require at least one approving review on a pull request, before merging. Set to `null` to disable. */ - required_pull_request_reviews: OneOf<[{ + required_pull_request_reviews: { /** @description Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. */ dismissal_restrictions?: { /** @description The list of user `login`s with dismissal access */ @@ -88894,20 +88894,20 @@ export interface operations { /** @description The list of app `slug`s allowed to bypass pull request requirements. */ apps?: (string)[]; }; - }, null]>; + } | null; /** @description Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. */ - restrictions: OneOf<[{ + restrictions: { /** @description The list of user `login`s with push access */ users: (string)[]; /** @description The list of team `slug`s with push access */ teams: (string)[]; /** @description The list of app `slug`s with push access */ apps?: (string)[]; - }, null]>; + } | null; /** @description Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)" in the GitHub Help documentation. */ required_linear_history?: boolean; /** @description Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation." */ - allow_force_pushes?: OneOf<[boolean, null]>; + allow_force_pushes?: boolean | null; /** @description Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation. */ allow_deletions?: boolean; /** @description If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`. */ @@ -90557,7 +90557,7 @@ export interface operations { parameters: { query?: { /** @description Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.` */ - confirm_delete?: OneOf<[string, null]>; + confirm_delete?: string | null; }; path: { owner: components["parameters"]["owner"]; @@ -90895,7 +90895,7 @@ export interface operations { }; requestBody: { content: { - "application/json": OneOf<[{ + "application/json": ({ /** @description Git ref (typically a branch name) for this codespace */ ref?: string; /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ @@ -90921,7 +90921,7 @@ export interface operations { display_name?: string; /** @description Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days). */ retention_period_minutes?: number; - }, null]>; + }) | null; }; }; responses: { @@ -91052,7 +91052,7 @@ export interface operations { billable_owner?: components["schemas"]["simple-user"]; defaults?: { location: string; - devcontainer_path: OneOf<[string, null]>; + devcontainer_path: string | null; }; }; }; @@ -92783,7 +92783,7 @@ export interface operations { /** @description The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`). */ task?: string; /** @description The name of the environment that was deployed to (e.g., `staging` or `production`). */ - environment?: OneOf<[string, null]>; + environment?: string | null; per_page?: components["parameters"]["per-page"]; page?: components["parameters"]["page"]; }; @@ -92888,7 +92888,7 @@ export interface operations { * @description Short description of the deployment. * @default */ - description?: OneOf<[string, null]>; + description?: string | null; /** * @description Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` * @default false @@ -93195,16 +93195,16 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": ({ wait_timer?: components["schemas"]["wait-timer"]; /** @description The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. */ - reviewers?: OneOf<[({ + reviewers?: ({ type?: components["schemas"]["deployment-reviewer-type"]; /** @description The id of the user or team who can review the deployment */ id?: number; - })[], null]>; + })[] | null; deployment_branch_policy?: components["schemas"]["deployment-branch-policy-settings"]; - }, null]>; + }) | null; }; }; responses: { @@ -93580,14 +93580,14 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": { /** @description Optional parameter to specify the organization name if forking into an organization. */ organization?: string; /** @description When forking from an existing repository, a new name for the fork. */ name?: string; /** @description When forking from an existing repository, fork with only the default branch. */ default_branch_only?: boolean; - }, null]>; + } | null; }; }; responses: { @@ -94122,7 +94122,7 @@ export interface operations { * * **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error. */ - sha?: OneOf<[string, null]>; + sha?: string | null; /** * @description The content you want this file to have. GitHub will write this blob out and use that SHA for this entry. Use either this, or `tree.sha`. * @@ -94228,7 +94228,7 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": { /** @description Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`. */ name?: string; /** @description Key/value pairs to provide settings for this webhook. [These are defined below](https://docs.github.com/rest/reference/repos#create-hook-config-params). */ @@ -94252,7 +94252,7 @@ export interface operations { * @default true */ active?: boolean; - }, null]>; + } | null; }; }; responses: { @@ -94676,7 +94676,7 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": ({ /** @description The username to provide to the originating repository. */ vcs_username?: string; /** @description The password to provide to the originating repository. */ @@ -94688,7 +94688,7 @@ export interface operations { vcs?: "subversion" | "tfvc" | "git" | "mercurial"; /** @description For a tfvc import, the name of the project that is being imported. */ tfvc_project?: string; - }, null]>; + }) | null; }; }; responses: { @@ -95067,14 +95067,14 @@ export interface operations { /** @description The contents of the issue. */ body?: string; /** @description Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_ */ - assignee?: OneOf<[string, null]>; + assignee?: string | null; milestone?: string | number; /** @description Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ */ labels?: (OneOf<[string, { id?: number; name?: string; - description?: OneOf<[string, null]>; - color?: OneOf<[string, null]>; + description?: string | null; + color?: string | null; }]>)[]; /** @description Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ */ assignees?: (string)[]; @@ -95399,9 +95399,9 @@ export interface operations { /** @description The title of the issue. */ title?: string | number; /** @description The contents of the issue. */ - body?: OneOf<[string, null]>; + body?: string | null; /** @description Username to assign to this issue. **This field is deprecated.** */ - assignee?: OneOf<[string, null]>; + assignee?: string | null; /** * @description The open or closed state of the issue. * @enum {string} @@ -95417,8 +95417,8 @@ export interface operations { labels?: (OneOf<[string, { id?: number; name?: string; - description?: OneOf<[string, null]>; - color?: OneOf<[string, null]>; + description?: string | null; + color?: string | null; }]>)[]; /** @description Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped. */ assignees?: (string)[]; @@ -95802,7 +95802,7 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": ({ /** * @description The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: * * `off-topic` @@ -95812,7 +95812,7 @@ export interface operations { * @enum {string} */ lock_reason?: "off-topic" | "too heated" | "resolved" | "spam"; - }, null]>; + }) | null; }; }; responses: { @@ -96648,7 +96648,7 @@ export interface operations { content: { "application/json": { /** @description Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/articles/using-a-custom-domain-with-github-pages/)." */ - cname?: OneOf<[string, null]>; + cname?: string | null; /** @description Specify whether HTTPS should be enforced for the repository. */ https_enforced?: boolean; /** @@ -96691,7 +96691,7 @@ export interface operations { }; requestBody: { content: { - "application/json": OneOf<[{ + "application/json": ({ /** * @description The process in which the Page will be built. Possible values are `"legacy"` and `"workflow"`. * @enum {string} @@ -96708,7 +96708,7 @@ export interface operations { */ path?: "/" | "/docs"; }; - }, null]>; + }) | null; }; }; responses: { @@ -97376,7 +97376,7 @@ export interface operations { }; requestBody: { content: { - "application/json": OneOf<[{ + "application/json": ({ /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ location?: string; /** @@ -97400,7 +97400,7 @@ export interface operations { display_name?: string; /** @description Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days). */ retention_period_minutes?: number; - }, null]>; + }) | null; }; }; responses: { @@ -97656,7 +97656,7 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": ({ /** @description Title for the automatic commit message. */ commit_title?: string; /** @description Extra detail to append to automatic commit message. */ @@ -97668,7 +97668,7 @@ export interface operations { * @enum {string} */ merge_method?: "merge" | "squash" | "rebase"; - }, null]>; + }) | null; }; }; responses: { @@ -98071,10 +98071,10 @@ export interface operations { }; requestBody?: { content: { - "application/json": OneOf<[{ + "application/json": { /** @description The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the "[List commits](https://docs.github.com/rest/reference/repos#list-commits)" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref. */ expected_head_sha?: string; - }, null]>; + } | null; }; }; responses: { @@ -99333,9 +99333,9 @@ export interface operations { * For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: * `http://ci.example.com/user/repo/build/sha` */ - target_url?: OneOf<[string, null]>; + target_url?: string | null; /** @description A short description of the status. */ - description?: OneOf<[string, null]>; + description?: string | null; /** * @description A string label to differentiate this status from the status of other systems. This field is case-insensitive. * @default default @@ -100650,7 +100650,7 @@ export interface operations { */ permission?: "pull" | "push" | "admin"; /** @description The ID of a team to set as the parent team. */ - parent_team_id?: OneOf<[number, null]>; + parent_team_id?: number | null; }; }; }; @@ -101631,7 +101631,7 @@ export interface operations { /** @description The new blog URL of the user. */ blog?: string; /** @description The new Twitter username of the user. */ - twitter_username?: OneOf<[string, null]>; + twitter_username?: string | null; /** @description The new company of the user. */ company?: string; /** @description The new location of the user. */ @@ -103674,7 +103674,7 @@ export interface operations { /** @description Name of the project */ name: string; /** @description Body of the project */ - body?: OneOf<[string, null]>; + body?: string | null; }; }; }; diff --git a/packages/openapi-typescript/src/transform/schema-object.ts b/packages/openapi-typescript/src/transform/schema-object.ts index 44b4b5edf..75a75a367 100644 --- a/packages/openapi-typescript/src/transform/schema-object.ts +++ b/packages/openapi-typescript/src/transform/schema-object.ts @@ -51,7 +51,7 @@ export function defaultSchemaObjectTransform(schemaObject: SchemaObject | Refere if (schemaObject.enum) { let items = schemaObject.enum as any[]; if ("type" in schemaObject) { - if (schemaObject.type === "string" || (Array.isArray(schemaObject.type) && schemaObject.type.includes("string"))) items = items.map((t) => escStr(t)); + if (schemaObject.type === "string" || (Array.isArray(schemaObject.type) && schemaObject.type.includes("string" as any))) items = items.map((t) => escStr(t)); } // if no type, assume "string" else { @@ -68,20 +68,15 @@ export function defaultSchemaObjectTransform(schemaObject: SchemaObject | Refere } if ("type" in schemaObject) { - // array type - if (Array.isArray(schemaObject.type)) { - return tsOneOf(...schemaObject.type.map((t) => transformSchemaObject({ ...schemaObject, type: t }, { path, ctx }))); - } - // "type": "null" - if (schemaObject.type === "null") return schemaObject.type; + if (schemaObject.type === "null") return "null"; - // "type": "string" / "type": "null" + // "type": "string", "type": "boolean" if (schemaObject.type === "string" || schemaObject.type === "boolean") { return schemaObject.nullable ? tsUnionOf(schemaObject.type, "null") : schemaObject.type; } - // "type": "number" / "type": "integer" + // "type": "number", "type": "integer" if (schemaObject.type === "number" || schemaObject.type === "integer") { return schemaObject.nullable ? tsUnionOf("number", "null") : "number"; } @@ -102,18 +97,18 @@ export function defaultSchemaObjectTransform(schemaObject: SchemaObject | Refere } else if (schemaObject.items) { itemType = transformSchemaObject(schemaObject.items, { path, ctx: { ...ctx, indentLv } }); } - const minItems: number = typeof schemaObject.minItems === "number" && schemaObject.minItems >= 0 ? schemaObject.minItems : 0; - const maxItems: number | undefined = typeof schemaObject.maxItems === "number" && schemaObject.maxItems >= 0 && minItems <= schemaObject.maxItems ? schemaObject.maxItems : undefined; - const estimateCodeSize = typeof maxItems !== "number" ? minItems : (maxItems * (maxItems + 1) - minItems * (minItems - 1)) / 2; + const min: number = typeof schemaObject.minItems === "number" && schemaObject.minItems >= 0 ? schemaObject.minItems : 0; + const max: number | undefined = typeof schemaObject.maxItems === "number" && schemaObject.maxItems >= 0 && min <= schemaObject.maxItems ? schemaObject.maxItems : undefined; + const estimateCodeSize = typeof max !== "number" ? min : (max * (max + 1) - min * (min - 1)) / 2; // export types - if (ctx.supportArrayLength && (minItems !== 0 || maxItems !== undefined) && estimateCodeSize < 30) { + if (ctx.supportArrayLength && (min !== 0 || max !== undefined) && estimateCodeSize < 30) { if (typeof schemaObject.maxItems !== "number") { - itemType = tsTupleOf(...Array.from({ length: minItems }).map(() => itemType), `...${tsArrayOf(itemType)}`); + itemType = tsTupleOf(...Array.from({ length: min }).map(() => itemType), `...${tsArrayOf(itemType)}`); return ctx.immutableTypes || schemaObject.readOnly ? tsReadonly(itemType) : itemType; } else { return tsUnionOf( - ...Array.from({ length: (maxItems ?? 0) - minItems + 1 }) - .map((_, i) => i + minItems) + ...Array.from({ length: (max ?? 0) - min + 1 }) + .map((_, i) => i + min) .map((n) => { const t = tsTupleOf(...Array.from({ length: n }).map(() => itemType)); return ctx.immutableTypes || schemaObject.readOnly ? tsReadonly(t) : t; @@ -126,8 +121,14 @@ export function defaultSchemaObjectTransform(schemaObject: SchemaObject | Refere itemType = tsArrayOf(itemType); } itemType = ctx.immutableTypes || schemaObject.readOnly ? tsReadonly(itemType) : itemType; + return schemaObject.nullable ? tsUnionOf(itemType, "null") : itemType; } + + // polymorphic, or 3.1 nullable + if (Array.isArray(schemaObject.type)) { + return tsUnionOf(...schemaObject.type.map((t) => transformSchemaObject({ ...schemaObject, type: t }, { path, ctx }))); + } } // "type": "object" (explicit) diff --git a/packages/openapi-typescript/src/types.ts b/packages/openapi-typescript/src/types.ts index 5eb6223d8..519a72b5f 100644 --- a/packages/openapi-typescript/src/types.ts +++ b/packages/openapi-typescript/src/types.ts @@ -432,32 +432,60 @@ export type SchemaObject = { [key: `x-${string}`]: any; } & ( | { oneOf: (SchemaObject | ReferenceObject)[] } + | StringSubtype + | NumberSubtype + | IntegerSubtype + | ArraySubtype + | BooleanSubtype + | NullSubtype + | ObjectSubtype | { type: ("string" | "number" | "integer" | "array" | "boolean" | "null" | "object")[] } - | { type: "string" } - | { type: "number"; minimum?: number; maximum?: number } - | { type: "integer"; minimum?: number; maximum?: number } - | { - type: "array"; - prefixItems?: (SchemaObject | ReferenceObject)[]; - items?: SchemaObject | ReferenceObject | (SchemaObject | ReferenceObject)[]; - minItems?: number; - maxItems?: number; - } - | { type: "boolean" } - | { type: "null" } - | { - type: "object"; - properties?: { [name: string]: SchemaObject | ReferenceObject }; - additionalProperties?: boolean | Record | SchemaObject | ReferenceObject; - required?: string[]; - allOf?: (SchemaObject | ReferenceObject)[]; - anyOf?: (SchemaObject | ReferenceObject)[]; - } | { allOf: (SchemaObject | ReferenceObject)[]; anyOf?: (SchemaObject | ReferenceObject)[]; required?: string[] } | { allOf?: (SchemaObject | ReferenceObject)[]; anyOf: (SchemaObject | ReferenceObject)[]; required?: string[] } | {} ); +export interface StringSubtype { + type: "string"; +} + +export interface NumberSubtype { + type: "number"; + minimum?: number; + maximum?: number; +} + +export interface IntegerSubtype { + type: "integer"; + minimum?: number; + maximum?: number; +} + +export interface ArraySubtype { + type: "array"; + prefixItems?: (SchemaObject | ReferenceObject)[]; + items?: SchemaObject | ReferenceObject | (SchemaObject | ReferenceObject)[]; + minItems?: number; + maxItems?: number; +} + +export interface BooleanSubtype { + type: "boolean"; +} + +export interface NullSubtype { + type: "null"; +} + +export interface ObjectSubtype { + type: "object" | ["object", "null"]; + properties?: { [name: string]: SchemaObject | ReferenceObject }; + additionalProperties?: boolean | Record | SchemaObject | ReferenceObject; + required?: string[]; + allOf?: (SchemaObject | ReferenceObject)[]; + anyOf?: (SchemaObject | ReferenceObject)[]; +} + /** * [4.8.25] Discriminator Object * When request bodies or response payloads may be one of a number of different schemas, a discriminator object can be used to aid in serialization, deserialization, and validation. The discriminator is a specific object in a schema which is used to inform the consumer of the document of an alternative schema based on the value associated with it. diff --git a/packages/openapi-typescript/test/schema-object.test.ts b/packages/openapi-typescript/test/schema-object.test.ts index f1e88bcc9..a375881d3 100644 --- a/packages/openapi-typescript/test/schema-object.test.ts +++ b/packages/openapi-typescript/test/schema-object.test.ts @@ -49,12 +49,6 @@ describe("Schema Object", () => { status?: "complete" | "incomplete"; }`); }); - - test("nullable", () => { - const schema: SchemaObject = { type: "string", nullable: true }; - const generated = transformSchemaObject(schema, options); - expect(generated).toBe("string | null"); - }); }); describe("number", () => { @@ -75,12 +69,6 @@ describe("Schema Object", () => { const generated = transformSchemaObject(schema, options); expect(generated).toBe("number"); }); - - test("nullable", () => { - const schema: SchemaObject = { type: "number", nullable: true }; - const generated = transformSchemaObject(schema, options); - expect(generated).toBe("number | null"); - }); }); describe("boolean", () => { @@ -95,12 +83,6 @@ describe("Schema Object", () => { const generated = transformSchemaObject(schema, options); expect(generated).toBe("true"); }); - - test("nullable", () => { - const schema: SchemaObject = { type: "boolean", nullable: true }; - const generated = transformSchemaObject(schema, options); - expect(generated).toBe("boolean | null"); - }); }); describe("array", () => { @@ -121,12 +103,6 @@ describe("Schema Object", () => { const generated = transformSchemaObject(schema, options); expect(generated).toBe('(components["schemas"]["ArrayItem"])[]'); }); - - test("nullable", () => { - const schema: SchemaObject = { type: "array", items: { type: "string" }, nullable: true }; - const generated = transformSchemaObject(schema, options); - expect(generated).toBe("(string)[] | null"); - }); }); describe("object", () => { @@ -240,14 +216,6 @@ describe("Schema Object", () => { [key: string]: unknown; }`); }); - - test("nullable", () => { - const schema: SchemaObject = { type: "object", properties: { string: { type: "string" } }, nullable: true }; - const generated = transformSchemaObject(schema, options); - expect(generated).toBe(`{ - string?: string; -} | null`); - }); }); describe("const", () => { @@ -272,10 +240,75 @@ describe("Schema Object", () => { }); }); + describe("nullable", () => { + describe("3.0 nullable", () => { + test("string", () => { + const generated = transformSchemaObject({ type: "string", nullable: true }, options); + expect(generated).toBe("string | null"); + }); + + test("number", () => { + const generated = transformSchemaObject({ type: "number", nullable: true }, options); + expect(generated).toBe("number | null"); + }); + + test("boolean", () => { + const generated = transformSchemaObject({ type: "boolean", nullable: true }, options); + expect(generated).toBe("boolean | null"); + }); + + test("array", () => { + const generated = transformSchemaObject({ type: "array", items: { type: "string" }, nullable: true }, options); + expect(generated).toBe("(string)[] | null"); + }); + + test("object", () => { + const generated = transformSchemaObject({ type: "object", properties: { string: { type: "string" } }, nullable: true }, options); + expect(generated).toBe(`{ + string?: string; +} | null`); + }); + }); + + describe("3.1 nullable", () => { + test("string", () => { + const generated = transformSchemaObject({ type: ["string", "null"] }, options); + expect(generated).toBe("string | null"); + }); + + test("number", () => { + const generated = transformSchemaObject({ type: ["number", "null"] }, options); + expect(generated).toBe("number | null"); + }); + + test("integer", () => { + const generated = transformSchemaObject({ type: ["integer", "null"] }, options); + expect(generated).toBe("number | null"); + }); + + test("boolean", () => { + const generated = transformSchemaObject({ type: ["boolean", "null"] }, options); + expect(generated).toBe("boolean | null"); + }); + + test("array", () => { + const generated = transformSchemaObject({ type: ["array", "null"], items: { type: "string" } } as any, options); + expect(generated).toBe("(string)[] | null"); + }); + + test("object", () => { + const generated = transformSchemaObject({ type: ["object", "null"], properties: { string: { type: "string" } } }, options); + expect(generated).toBe(`{ + string?: string; +} | null`); + }); + }); + }); + describe("polymorphic", () => { test("nullish primitive", () => { const generated = transformSchemaObject({ type: ["string", "boolean", "number", "null"] }, options); - expect(generated).toBe("OneOf<[string, boolean, number, null]>"); + expect(generated).toBe("string | boolean | number | null"); }); test("enum + polymorphism + nullable 1", () => {