diff --git a/packages/openapi-typescript/examples/digital-ocean-api.ts b/packages/openapi-typescript/examples/digital-ocean-api.ts index a2a213b96..ae50bc273 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api.ts +++ b/packages/openapi-typescript/examples/digital-ocean-api.ts @@ -701,9 +701,11 @@ export interface paths { * `/v2/cdn/endpoints/$ENDPOINT_ID/cache`. The body of the request should include * a `files` attribute containing a list of cached file paths to be purged. A * path may be for a single file or may contain a wildcard (`*`) to recursively - * purge all files under a directory. When only a wildcard is provided, all - * cached files will be purged. There is a rate limit of 50 files per 20 seconds - * that can be purged. + * purge all files under a directory. When only a wildcard is provided, all cached + * files will be purged. There is a rate limit of 50 files per 20 seconds that can + * be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds. + * Purging files using a wildcard path counts as a single request against the API's + * rate limit. Two identical purge requests cannot be sent at the same time. * */ delete: operations["cdn_purge_cache"]; @@ -1165,7 +1167,7 @@ export interface paths { get: operations["databases_list_firewall_rules"]; /** * Update Firewall Rules (Trusted Sources) for a Database - * @description To update a database cluster's firewall rules (known as "trusted sources" in the control panel), send a PUT request to `/v2/databases/$DATABASE_ID/firewall` specifying which resources should be able to open connections to the database. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses. When a tag is provided, any Droplet or Kubernetes node with that tag applied to it will have access. The firewall is limited to 100 rules (or trusted sources). When possible, we recommend [placing your databases into a VPC network](https://www.digitalocean.com/docs/networking/vpc/) to limit access to them instead of using a firewall. + * @description To update a database cluster's firewall rules (known as "trusted sources" in the control panel), send a PUT request to `/v2/databases/$DATABASE_ID/firewall` specifying which resources should be able to open connections to the database. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses. When a tag is provided, any Droplet or Kubernetes node with that tag applied to it will have access. The firewall is limited to 100 rules (or trusted sources). When possible, we recommend [placing your databases into a VPC network](https://docs.digitalocean.com/products/networking/vpc/) to limit access to them instead of using a firewall. * A successful */ put: operations["databases_update_firewall_rules"]; @@ -1578,7 +1580,7 @@ export interface paths { * Add a New Connection Pool (PostgreSQL) * @description For PostgreSQL database clusters, connection pools can be used to allow a * database to share its idle connections. The popular PostgreSQL connection - * pooling utility PgBouncer is used to provide this service. [See here for more information](https://www.digitalocean.com/docs/databases/postgresql/how-to/manage-connection-pools/) + * pooling utility PgBouncer is used to provide this service. [See here for more information](https://docs.digitalocean.com/products/databases/postgresql/how-to/manage-connection-pools/) * about how and why to use PgBouncer connection pooling including * details about the available transaction modes. * @@ -2073,6 +2075,11 @@ export interface paths { * parameter set to the name of the tag in your GET request. For example, * `/v2/droplets?tag_name=$TAG_NAME`. * + * ### GPU Droplets + * + * By default, only non-GPU Droplets are returned. To list only GPU Droplets, set + * the `type` query parameter to `gpus`. For example, `/v2/droplets?type=gpus`. + * */ get: operations["droplets_list"]; put?: never; @@ -3164,7 +3171,7 @@ export interface paths { * The request may contain a maintenance window policy describing a time period * when disruptive maintenance tasks may be carried out. Omitting the policy * implies that a window will be chosen automatically. See - * [here](https://www.digitalocean.com/docs/kubernetes/how-to/upgrade-cluster/) + * [here](https://docs.digitalocean.com/products/kubernetes/how-to/upgrade-cluster/) * for details. * */ @@ -3302,7 +3309,7 @@ export interface paths { * The resulting kubeconfig file uses token-based authentication for clusters * supporting it, and certificate-based authentication otherwise. For a list of * supported versions and more information, see "[How to Connect to a DigitalOcean - * Kubernetes Cluster with kubectl](https://www.digitalocean.com/docs/kubernetes/how-to/connect-with-kubectl/)". + * Kubernetes Cluster](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/)". * * To retrieve a kubeconfig file for use with a Kubernetes cluster, send a GET * request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/kubeconfig`. @@ -3338,7 +3345,7 @@ export interface paths { * The resulting JSON object contains token-based authentication for clusters * supporting it, and certificate-based authentication otherwise. For a list of * supported versions and more information, see "[How to Connect to a DigitalOcean - * Kubernetes Cluster with kubectl](https://www.digitalocean.com/docs/kubernetes/how-to/connect-with-kubectl/)". + * Kubernetes Cluster](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/)". * * To retrieve credentials for accessing a Kubernetes cluster, send a GET * request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/credentials`. @@ -5134,7 +5141,7 @@ export interface paths { * manifest data) after deleting one or more manifests from a repository. If * there are no unreferenced blobs resulting from the deletion of one or more * manifests, garbage collection is effectively a noop. - * [See here for more information](https://www.digitalocean.com/docs/container-registry/how-to/clean-up-container-registry/) + * [See here for more information](https://docs.digitalocean.com/products/container-registry/how-to/clean-up-container-registry/) * about how and why you should clean up your container registry periodically. * * To request a garbage collection run on your registry, send a POST request to @@ -5603,7 +5610,7 @@ export interface paths { * volumes may be attached to a Droplet at a time. Pre-formatted volumes will be * automatically mounted to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS * Droplets created on or after April 26, 2018 when attached. On older Droplets, - * [additional configuration](https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-digitalocean-block-storage-volumes-in-linux#mounting-the-filesystems) + * [additional configuration](https://docs.digitalocean.com/products/volumes/how-to/mount/) * is required. * * ## Remove a Block Storage Volume from a Droplet @@ -5716,7 +5723,7 @@ export interface paths { * volumes may be attached to a Droplet at a time. Pre-formatted volumes will be * automatically mounted to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS * Droplets created on or after April 26, 2018 when attached. On older Droplets, - * [additional configuration](https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-digitalocean-block-storage-volumes-in-linux#mounting-the-filesystems) + * [additional configuration](https://docs.digitalocean.com/products/volumes/how-to/mount/) * is required. * * ## Remove a Block Storage Volume from a Droplet @@ -5891,6 +5898,116 @@ export interface paths { patch?: never; trace?: never; }; + "/v2/vpcs/{vpc_id}/peerings": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List the Peerings of a VPC + * @description To list all of a VPC's peerings, send a GET request to + * `/v2/vpcs/$VPC_ID/peerings`. + * + */ + get: operations["vpcs_list_peerings"]; + put?: never; + /** + * Create a Peering with a VPC + * @description To create a new VPC peering for a given VPC, send a POST request to + * `/v2/vpcs/$VPC_ID/peerings`. + * + */ + post: operations["vpcs_create_peerings"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v2/vpcs/{vpc_id}/peerings/{vpc_peering_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + /** + * Update a VPC Peering + * @description To update the name of a VPC peering in a particular VPC, send a PATCH request + * to `/v2/vpcs/$VPC_ID/peerings/$VPC_PEERING_ID` with the new `name` in the + * request body. + * + */ + patch: operations["vpcs_patch_peerings"]; + trace?: never; + }; + "/v2/vpc_peerings": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List All VPC Peerings + * @description To list all of the VPC peerings on your account, send a GET request to `/v2/vpc_peerings`. + */ + get: operations["vpcPeerings_list"]; + put?: never; + /** + * Create a New VPC Peering + * @description To create a new VPC Peering, send a POST request to `/v2/vpc_peerings` + * specifying a name and a list of two VPC IDs to peer. The response code, 202 + * Accepted, does not indicate the success or failure of the operation, just + * that the request has been accepted for processing. + * + */ + post: operations["vpcPeerings_create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v2/vpc_peerings/{vpc_peering_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve an Existing VPC Peering + * @description To show information about an existing VPC Peering, send a GET request to `/v2/vpc_peerings/$VPC_PEERING_ID`. + * + */ + get: operations["vpcPeerings_get"]; + put?: never; + post?: never; + /** + * Delete a VPC peering + * @description To delete a VPC peering, send a DELETE request to `/v2/vpc_peerings/$VPC_PEERING_ID`. + * + */ + delete: operations["vpcPeerings_delete"]; + options?: never; + head?: never; + /** + * Update a VPC peering + * @description To update the name of a VPC peering, send a PATCH request to `/v2/vpc_peerings/$VPC_PEERING_ID` with the new `name` in the request body. + * + */ + patch: operations["vpcPeerings_patch"]; + trace?: never; + }; "/v2/uptime/checks": { parameters: { query?: never; @@ -6267,11 +6384,6 @@ export interface components { */ sizes: unknown; }; - /** - * @description A human-readable string that is used as a unique identifier for each region. - * @example nyc3 - */ - slug: string; action: { /** * @description A unique numeric ID that can be used to identify and reference an action. @@ -6313,7 +6425,11 @@ export interface components { */ resource_type?: string; region?: components["schemas"]["region"]; - region_slug?: components["schemas"]["slug"] & (string | null); + /** + * @description A human-readable string that is used as a unique identifier for each region. + * @example nyc3 + */ + region_slug?: string | null; }; apps_deployment_job: { /** @@ -6719,7 +6835,7 @@ export interface components { /** @description A list of environment variables made available to the component. */ envs?: components["schemas"]["app_variable_definition"][]; /** - * @description An environment slug describing the type of this app. For a full list, please refer to [the product documentation](https://www.digitalocean.com/docs/app-platform/). + * @description An environment slug describing the type of this app. For a full list, please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/). * @example node-js */ environment_slug?: string; @@ -6913,6 +7029,16 @@ export interface components { app_service_spec: components["schemas"]["app_component_base"] & components["schemas"]["app_component_instance_base"] & { cors?: components["schemas"]["apps_cors_policy"] & unknown & unknown; health_check?: components["schemas"]["app_service_spec_health_check"]; + /** + * @description The protocol which the service uses to serve traffic on the http_port. + * + * - `HTTP`: The app is serving the HTTP protocol. Default. + * - `HTTP2`: The app is serving the HTTP/2 protocol. Currently, this needs to be implemented in the service by serving HTTP/2 cleartext (h2c). + * + * @example HTTP + * @enum {string} + */ + protocol?: "HTTP" | "HTTP2"; /** * Format: int64 * @description The internal port on which this service's run command will listen. Default: 8080 @@ -7183,6 +7309,14 @@ export interface components { app_egress_spec: { type?: components["schemas"]["app_egress_type_spec"]; }; + /** @description Specification to configure maintenance settings for the app, such as maintenance mode. */ + app_maintenance_spec: { + /** + * @description Indicates whether maintenance mode should be enabled for the app. + * @example true + */ + enabled?: boolean; + }; /** * AppSpec * @description The desired configuration of an application. @@ -7216,6 +7350,7 @@ export interface components { databases?: components["schemas"]["app_database_spec"][]; ingress?: components["schemas"]["app_ingress_spec"]; egress?: components["schemas"]["app_egress_spec"]; + maintenance?: components["schemas"]["app_maintenance_spec"]; }; apps_deployment_static_site: { /** @@ -9882,6 +10017,12 @@ export interface components { * ] */ reindex_remote_whitelist?: string[]; + /** + * @description Enable or disable filtering of alerting by backend roles. + * @default false + * @example false + */ + plugins_alerting_filter_by_backend_roles_enabled: boolean; }; mongo_advanced_config: { /** @@ -10708,12 +10849,32 @@ export interface components { domain_record_soa: components["schemas"]["domain_record"] & unknown; domain_record_srv: components["schemas"]["domain_record"] & unknown; domain_record_txt: components["schemas"]["domain_record"] & unknown; + disk_info: { + /** + * @description The type of disk. All Droplets contain a `local` disk. Additionally, GPU Droplets can also have a `scratch` disk for non-persistent data. + * @example local + * @enum {string} + */ + type?: "local" | "scratch"; + size?: { + /** + * @description The amount of space allocated to the disk. + * @example 25 + */ + amount?: number; + /** + * @description The unit of measure for the disk size. + * @example gib + */ + unit?: string; + }; + }; /** * @deprecated * @description **Note**: All Droplets created after March 2017 use internal kernels by default. * These Droplets will have this attribute set to `null`. * - * The current [kernel](https://www.digitalocean.com/docs/droplets/how-to/kernel/) + * The current [kernel](https://docs.digitalocean.com/products/droplets/how-to/kernel/) * for Droplets with externally managed kernels. This will initially be set to * the kernel of the base image when the Droplet is created. * @@ -10765,7 +10926,7 @@ export interface components { * @example nyc3 * @enum {string} */ - region_slug: "ams1" | "ams2" | "ams3" | "blr1" | "fra1" | "lon1" | "nyc1" | "nyc2" | "nyc3" | "sfo1" | "sfo2" | "sfo3" | "sgp1" | "tor1"; + region_slug: "ams1" | "ams2" | "ams3" | "blr1" | "fra1" | "lon1" | "nyc1" | "nyc2" | "nyc3" | "sfo1" | "sfo2" | "sfo3" | "sgp1" | "tor1" | "syd1"; /** * @description This attribute is an array of the regions that the image is available in. The regions are represented by their identifying slug values. * @example [ @@ -10845,6 +11006,31 @@ export interface components { */ error_message?: string; }; + /** @description An object containing information about the GPU capabilities of Droplets created with this size. */ + gpu_info: { + /** + * @description The number of GPUs allocated to the Droplet. + * @example 1 + */ + count?: number; + /** + * @description The model of the GPU. + * @example nvidia_h100 + */ + model?: string; + vram?: { + /** + * @description The amount of VRAM allocated to the GPU. + * @example 25 + */ + amount?: number; + /** + * @description The unit of measure for the VRAM. + * @example gib + */ + unit?: string; + }; + }; size: { /** * @description A human-readable string that is used to uniquely identify each size. @@ -10857,7 +11043,7 @@ export interface components { */ memory: number; /** - * @description The integer of number CPUs allocated to Droplets of this size. + * @description The number of CPUs allocated to Droplets of this size. * @example 1 */ vcpus: number; @@ -10914,6 +11100,9 @@ export interface components { * @example Basic */ description: string; + /** @description An array of objects containing information about the disks available to Droplets created with this size. */ + disk_info?: components["schemas"]["disk_info"][]; + gpu_info?: components["schemas"]["gpu_info"]; }; network_v4: { /** @@ -10998,6 +11187,8 @@ export interface components { * @example 25 */ disk: number; + /** @description An array of objects containing information about the disks available to the Droplet. */ + disk_info?: components["schemas"]["disk_info"][]; /** * @description A boolean value indicating whether the Droplet has been locked, preventing actions by users. * @example false @@ -11073,6 +11264,7 @@ export interface components { * @example 760e09ef-dc84-11e8-981e-3cfdfeaae000 */ vpc_uuid?: string; + gpu_info?: components["schemas"]["gpu_info"]; }; droplet_backup_policy: { /** @@ -11634,7 +11826,7 @@ export interface components { * @description The Droplet that the floating IP has been assigned to. When you query a floating IP, if it is assigned to a Droplet, the entire Droplet object will be returned. If it is not assigned, the value will be null. * @example null */ - droplet?: Record | components["schemas"]["droplet"]; + droplet?: (Record | null) | components["schemas"]["droplet"]; /** * @description A boolean value indicating whether or not the floating IP has pending actions preventing new ones from being submitted. * @example true @@ -11975,7 +12167,7 @@ export interface components { * @description An object of key/value mappings specifying labels to apply to all nodes in a pool. Labels will automatically be applied to all existing nodes and any subsequent nodes added to the pool. Note that when a label is removed, it is not deleted from the nodes in the pool. * @example null */ - labels?: Record; + labels?: Record | null; /** @description An array of taints to apply to all nodes in a pool. Taints will automatically be applied to all existing nodes and any subsequent nodes added to the pool. When a taint is removed, it is deleted from all nodes in the pool. */ taints?: components["schemas"]["kubernetes_node_pool_taint"][]; /** @@ -12056,15 +12248,16 @@ export interface components { version: string; /** * Format: cidr - * @description The range of IP addresses in the overlay network of the Kubernetes cluster in CIDR notation. - * @example 10.244.0.0/16 + * @description The range of IP addresses for the overlay network of the Kubernetes cluster in CIDR notation. + * @example 192.168.0.0/20 */ - readonly cluster_subnet?: string; + cluster_subnet?: string; /** + * Format: cidr * @description The range of assignable IP addresses for services running in the Kubernetes cluster in CIDR notation. - * @example 10.245.0.0/16 + * @example 192.168.16.0/24 */ - readonly service_subnet?: string; + service_subnet?: string; /** * Format: uuid * @description A string specifying the UUID of the VPC to which the Kubernetes cluster is assigned. @@ -12273,7 +12466,7 @@ export interface components { * * Newly created Kubernetes clusters do not return credentials using * certificate-based authentication. For additional information, - * [see here](https://www.digitalocean.com/docs/kubernetes/how-to/connect-to-cluster/#authenticate). + * [see here](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/#authenticate). * * @example null */ @@ -12287,7 +12480,7 @@ export interface components { * * Newly created Kubernetes clusters do not return credentials using * certificate-based authentication. For additional information, - * [see here](https://www.digitalocean.com/docs/kubernetes/how-to/connect-to-cluster/#authenticate). + * [see here](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/#authenticate). * * @example null */ @@ -12698,6 +12891,13 @@ export interface components { */ disable_lets_encrypt_dns_records: boolean; firewall?: components["schemas"]["lb_firewall"]; + /** + * @description A string indicating whether the load balancer should be external or internal. Internal load balancers have no public IPs and are only accessible to resources on the same VPC network. This property cannot be updated after creating the load balancer. + * @default EXTERNAL + * @example EXTERNAL + * @enum {string} + */ + network: "EXTERNAL" | "INTERNAL"; }; load_balancer: components["schemas"]["load_balancer_base"] & { region?: unknown & components["schemas"]["region"]; @@ -13337,7 +13537,7 @@ export interface components { * @description The Droplet that the reserved IP has been assigned to. When you query a reserved IP, if it is assigned to a Droplet, the entire Droplet object will be returned. If it is not assigned, the value will be null. * @example null */ - droplet?: Record | components["schemas"]["droplet"]; + droplet?: (Record | null) | components["schemas"]["droplet"]; /** * @description A boolean value indicating whether or not the reserved IP has pending actions preventing new ones from being submitted. * @example true @@ -13730,6 +13930,44 @@ export interface components { */ created_at?: string; }; + vpc_peering_base: { + /** + * Format: uuid + * @description A unique ID that can be used to identify and reference the VPC peering. + * @example 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + */ + readonly id?: string; + /** + * Format: date-time + * @description A time value given in ISO8601 combined date and time format. + * @example 2020-03-13T19:20:47.442049222Z + */ + readonly created_at?: string; + /** + * @description The current status of the VPC peering. + * @example ACTIVE + * @enum {string} + */ + readonly status?: "PROVISIONING" | "ACTIVE" | "DELETING"; + }; + vpc_peering_create: { + /** + * @description An array of the two peered VPCs IDs. + * @example [ + * "c140286f-e6ce-4131-8b7b-df4590ce8d6a", + * "994a2735-dc84-11e8-80bc-3cfdfea9fba1" + * ] + */ + vpc_ids?: string[]; + }; + vpc_peering_updatable: { + /** + * @description The name of the VPC peering. Must be unique within the team and may only contain alphanumeric characters and dashes. + * @example nyc1-blr1-peering + */ + name?: string; + }; + vpc_peering: components["schemas"]["vpc_peering_base"] & components["schemas"]["vpc_peering_create"] & components["schemas"]["vpc_peering_updatable"]; check_base: { /** * Format: uuid @@ -16524,6 +16762,90 @@ export interface components { } & components["schemas"]["pagination"] & components["schemas"]["meta"]; }; }; + /** @description The response will be a JSON object with a key called `peerings`. This will be set to an array of objects, each of which will contain the standard attributes associated with a VPC peering. */ + vpc_peerings: { + headers: { + "ratelimit-limit": components["headers"]["ratelimit-limit"]; + "ratelimit-remaining": components["headers"]["ratelimit-remaining"]; + "ratelimit-reset": components["headers"]["ratelimit-reset"]; + [name: string]: unknown; + }; + content: { + "application/json": { + peerings?: components["schemas"]["vpc_peering"][]; + } & components["schemas"]["pagination"] & components["schemas"]["meta"]; + }; + }; + /** @description The response will be a JSON object with a key called `peering`, containing the standard attributes associated with a VPC peering. */ + vpc_peering: { + headers: { + "ratelimit-limit": components["headers"]["ratelimit-limit"]; + "ratelimit-remaining": components["headers"]["ratelimit-remaining"]; + "ratelimit-reset": components["headers"]["ratelimit-reset"]; + [name: string]: unknown; + }; + content: { + "application/json": { + peering?: components["schemas"]["vpc_peering"]; + }; + }; + }; + /** @description The response will be a JSON object with a key called `vpc_peerings`. This will be set to an array of objects, each of which will contain the standard attributes associated with a VPC peering. */ + all_vpc_peerings: { + headers: { + "ratelimit-limit": components["headers"]["ratelimit-limit"]; + "ratelimit-remaining": components["headers"]["ratelimit-remaining"]; + "ratelimit-reset": components["headers"]["ratelimit-reset"]; + [name: string]: unknown; + }; + content: { + "application/json": { + vpc_peerings?: components["schemas"]["vpc_peering"][]; + } & components["schemas"]["pagination"] & components["schemas"]["meta"]; + }; + }; + /** @description The response will be a JSON object with a key called `vpc_peering`. The value of this will be an object that contains the standard attributes associated with a VPC peering. */ + provisioning_vpc_peering: { + headers: { + "ratelimit-limit": components["headers"]["ratelimit-limit"]; + "ratelimit-remaining": components["headers"]["ratelimit-remaining"]; + "ratelimit-reset": components["headers"]["ratelimit-reset"]; + [name: string]: unknown; + }; + content: { + "application/json": { + vpc_peering?: components["schemas"]["vpc_peering"]; + }; + }; + }; + /** @description The response will be a JSON object with a key called `vpc_peering`. The value of this will be an object that contains the standard attributes associated with a VPC peering. */ + active_vpc_peering: { + headers: { + "ratelimit-limit": components["headers"]["ratelimit-limit"]; + "ratelimit-remaining": components["headers"]["ratelimit-remaining"]; + "ratelimit-reset": components["headers"]["ratelimit-reset"]; + [name: string]: unknown; + }; + content: { + "application/json": { + vpc_peering?: components["schemas"]["vpc_peering"]; + }; + }; + }; + /** @description The response will be a JSON object with a key called `vpc_peering`. The value of this will be an object that contains the standard attributes associated with a VPC peering. */ + deleting_vpc_peering: { + headers: { + "ratelimit-limit": components["headers"]["ratelimit-limit"]; + "ratelimit-remaining": components["headers"]["ratelimit-remaining"]; + "ratelimit-reset": components["headers"]["ratelimit-reset"]; + [name: string]: unknown; + }; + content: { + "application/json": { + vpc_peering?: components["schemas"]["vpc_peering"]; + }; + }; + }; /** @description The response will be a JSON object with a key called `checks`. This will be set to an array of objects, each of which will contain the standard attributes associated with an uptime check */ all_checks: { headers: { @@ -16781,7 +17103,7 @@ export interface components { */ domain_record_id: number; /** - * @description Used to filter Droplets by a specific tag. Can not be combined with `name`. + * @description Used to filter Droplets by a specific tag. Can not be combined with `name` or `type`. * @example env:prod */ droplet_tag_name: string; @@ -16790,6 +17112,11 @@ export interface components { * @example web-01 */ droplet_name: string; + /** + * @description When `type` is set to `gpus`, only GPU Droplets will be returned. By default, only non-GPU Droplets are returned. Can not be combined with `tag_name`. + * @example droplets + */ + droplet_type: "droplets" | "gpus"; /** * @description Specifies Droplets to be deleted by tag. * @example env:test @@ -17030,6 +17357,11 @@ export interface components { * @example droplet */ vpc_resource_type: string; + /** + * @description A unique identifier for a VPC peering. + * @example 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + */ + vpc_peering_id: string; /** * @description A unique identifier for a check. * @example 4de7ac8b-495b-4884-9a69-1050c6793cd6 @@ -20456,7 +20788,7 @@ export interface operations { */ page?: components["parameters"]["page"]; /** - * @description Used to filter Droplets by a specific tag. Can not be combined with `name`. + * @description Used to filter Droplets by a specific tag. Can not be combined with `name` or `type`. * @example env:prod */ tag_name?: components["parameters"]["droplet_tag_name"]; @@ -20465,6 +20797,11 @@ export interface operations { * @example web-01 */ name?: components["parameters"]["droplet_name"]; + /** + * @description When `type` is set to `gpus`, only GPU Droplets will be returned. By default, only non-GPU Droplets are returned. Can not be combined with `tag_name`. + * @example droplets + */ + type?: components["parameters"]["droplet_type"]; }; header?: never; path?: never; @@ -20773,7 +21110,7 @@ export interface operations { parameters: { query?: { /** - * @description Used to filter Droplets by a specific tag. Can not be combined with `name`. + * @description Used to filter Droplets by a specific tag. Can not be combined with `name` or `type`. * @example env:prod */ tag_name?: components["parameters"]["droplet_tag_name"]; @@ -23099,7 +23436,7 @@ export interface operations { * `v1/insights/lbaas/avg_cpu_utilization_percent`|alert on the percent of CPU utilization|load balancer ID * `v1/insights/lbaas/connection_utilization_percent`|alert on the percent of connection utilization|load balancer ID * `v1/insights/lbaas/droplet_health`|alert on Droplet health status changes|load balancer ID - * `v1/insights/lbaas/tls_connections_per_second_utilization_percent`|alert on the percent of TLS connections per second utilization|load balancer ID + * `v1/insights/lbaas/tls_connections_per_second_utilization_percent`|alert on the percent of TLS connections per second utilization (requires at least one HTTPS forwarding rule)|load balancer ID * `v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx`|alert on the percent increase of 5xx level http errors over 5m|load balancer ID * `v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx`|alert on the percent increase of 4xx level http errors over 5m|load balancer ID * `v1/insights/lbaas/increase_in_http_error_rate_count_5xx`|alert on the count of 5xx level http errors over 5m|load balancer ID @@ -23181,7 +23518,7 @@ export interface operations { * `v1/insights/lbaas/avg_cpu_utilization_percent`|alert on the percent of CPU utilization|load balancer ID * `v1/insights/lbaas/connection_utilization_percent`|alert on the percent of connection utilization|load balancer ID * `v1/insights/lbaas/droplet_health`|alert on Droplet health status changes|load balancer ID - * `v1/insights/lbaas/tls_connections_per_second_utilization_percent`|alert on the percent of TLS connections per second utilization|load balancer ID + * `v1/insights/lbaas/tls_connections_per_second_utilization_percent`|alert on the percent of TLS connections per second utilization (requires at least one HTTPS forwarding rule)|load balancer ID * `v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx`|alert on the percent increase of 5xx level http errors over 5m|load balancer ID * `v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx`|alert on the percent increase of 4xx level http errors over 5m|load balancer ID * `v1/insights/lbaas/increase_in_http_error_rate_count_5xx`|alert on the count of 5xx level http errors over 5m|load balancer ID @@ -26425,6 +26762,237 @@ export interface operations { default: components["responses"]["unexpected_error"]; }; }; + vpcs_list_peerings: { + parameters: { + query?: { + /** + * @description Number of items returned per page + * @example 2 + */ + per_page?: components["parameters"]["per_page"]; + /** + * @description Which 'page' of paginated results to return. + * @example 1 + */ + page?: components["parameters"]["page"]; + }; + header?: never; + path: { + /** + * @description A unique identifier for a VPC. + * @example 4de7ac8b-495b-4884-9a69-1050c6793cd6 + */ + vpc_id: components["parameters"]["vpc_id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: components["responses"]["vpc_peerings"]; + 401: components["responses"]["unauthorized"]; + 404: components["responses"]["not_found"]; + 429: components["responses"]["too_many_requests"]; + 500: components["responses"]["server_error"]; + default: components["responses"]["unexpected_error"]; + }; + }; + vpcs_create_peerings: { + parameters: { + query?: never; + header?: never; + path: { + /** + * @description A unique identifier for a VPC. + * @example 4de7ac8b-495b-4884-9a69-1050c6793cd6 + */ + vpc_id: components["parameters"]["vpc_id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** + * @description The name of the VPC peering. Must be unique and may only contain alphanumeric characters, dashes, and periods. + * @example nyc1-blr1-peering + */ + name: string; + /** + * Format: uuid + * @description The ID of the VPC to peer with. + * @example c140286f-e6ce-4131-8b7b-df4590ce8d6a + */ + vpc_id: string; + }; + }; + }; + responses: { + 202: components["responses"]["vpc_peering"]; + 401: components["responses"]["unauthorized"]; + 404: components["responses"]["not_found"]; + 429: components["responses"]["too_many_requests"]; + 500: components["responses"]["server_error"]; + default: components["responses"]["unexpected_error"]; + }; + }; + vpcs_patch_peerings: { + parameters: { + query?: never; + header?: never; + path: { + /** + * @description A unique identifier for a VPC. + * @example 4de7ac8b-495b-4884-9a69-1050c6793cd6 + */ + vpc_id: components["parameters"]["vpc_id"]; + /** + * @description A unique identifier for a VPC peering. + * @example 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + */ + vpc_peering_id: components["parameters"]["vpc_peering_id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": WithRequired; + }; + }; + responses: { + 200: components["responses"]["vpc_peering"]; + 401: components["responses"]["unauthorized"]; + 404: components["responses"]["not_found"]; + 429: components["responses"]["too_many_requests"]; + 500: components["responses"]["server_error"]; + default: components["responses"]["unexpected_error"]; + }; + }; + vpcPeerings_list: { + parameters: { + query?: { + /** + * @description Number of items returned per page + * @example 2 + */ + per_page?: components["parameters"]["per_page"]; + /** + * @description Which 'page' of paginated results to return. + * @example 1 + */ + page?: components["parameters"]["page"]; + /** + * @description The slug identifier for the region where the resource is available. + * @example nyc3 + */ + region?: components["parameters"]["region"]; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: components["responses"]["all_vpc_peerings"]; + 401: components["responses"]["unauthorized"]; + 404: components["responses"]["not_found"]; + 429: components["responses"]["too_many_requests"]; + 500: components["responses"]["server_error"]; + default: components["responses"]["unexpected_error"]; + }; + }; + vpcPeerings_create: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": WithRequired & WithRequired; + }; + }; + responses: { + 202: components["responses"]["provisioning_vpc_peering"]; + 401: components["responses"]["unauthorized"]; + 429: components["responses"]["too_many_requests"]; + 500: components["responses"]["server_error"]; + default: components["responses"]["unexpected_error"]; + }; + }; + vpcPeerings_get: { + parameters: { + query?: never; + header?: never; + path: { + /** + * @description A unique identifier for a VPC peering. + * @example 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + */ + vpc_peering_id: components["parameters"]["vpc_peering_id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: components["responses"]["active_vpc_peering"]; + 401: components["responses"]["unauthorized"]; + 404: components["responses"]["not_found"]; + 429: components["responses"]["too_many_requests"]; + 500: components["responses"]["server_error"]; + default: components["responses"]["unexpected_error"]; + }; + }; + vpcPeerings_delete: { + parameters: { + query?: never; + header?: never; + path: { + /** + * @description A unique identifier for a VPC peering. + * @example 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + */ + vpc_peering_id: components["parameters"]["vpc_peering_id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 202: components["responses"]["deleting_vpc_peering"]; + 401: components["responses"]["unauthorized"]; + 404: components["responses"]["not_found"]; + 429: components["responses"]["too_many_requests"]; + 500: components["responses"]["server_error"]; + default: components["responses"]["unexpected_error"]; + }; + }; + vpcPeerings_patch: { + parameters: { + query?: never; + header?: never; + path: { + /** + * @description A unique identifier for a VPC peering. + * @example 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + */ + vpc_peering_id: components["parameters"]["vpc_peering_id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": WithRequired; + }; + }; + responses: { + 200: components["responses"]["active_vpc_peering"]; + 401: components["responses"]["unauthorized"]; + 404: components["responses"]["not_found"]; + 429: components["responses"]["too_many_requests"]; + 500: components["responses"]["server_error"]; + default: components["responses"]["unexpected_error"]; + }; + }; uptime_list_checks: { parameters: { query?: { diff --git a/packages/openapi-typescript/examples/digital-ocean-api/DigitalOcean-public.v2.yaml b/packages/openapi-typescript/examples/digital-ocean-api/DigitalOcean-public.v2.yaml index 3b95f9380..f477db6b3 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/DigitalOcean-public.v2.yaml +++ b/packages/openapi-typescript/examples/digital-ocean-api/DigitalOcean-public.v2.yaml @@ -23,7 +23,7 @@ tags: description: |- 1-Click applications are pre-built Droplet images or Kubernetes apps with software, features, and configuration details already set up for you. They can be found in the - [DigitalOcean Marketplace](https://www.digitalocean.com/docs/marketplace). + [DigitalOcean Marketplace](https://marketplace.digitalocean.com/). - name: Account description: Provides information about your current account. @@ -66,7 +66,7 @@ tags: **Balance:** By sending requests to the `/v2/customers/my/balance` endpoint, you can retrieve the balance information for the requested customer account. - **Invoices:** [Invoices](https://www.digitalocean.com/docs/accounts/billing/invoices/) + **Invoices:** [Invoices](https://docs.digitalocean.com/platform/billing/invoices/) are generated on the first of each month for every DigitalOcean customer. An invoice preview is generated daily, which can be accessed with the `preview` keyword in place of `$INVOICE_UUID`. To interact with @@ -81,7 +81,7 @@ tags: - name: Block Storage description: |- - [DigitalOcean Block Storage Volumes](https://www.digitalocean.com/docs/volumes/) + [DigitalOcean Block Storage Volumes](https://docs.digitalocean.com/products/volumes/) provide expanded storage capacity for your Droplets and can be moved between Droplets within a specific region. @@ -106,18 +106,20 @@ tags: - name: CDN Endpoints description: |- Content hosted in DigitalOcean's object storage solution, - [Spaces](https://www.digitalocean.com/docs/spaces/overview/), + [Spaces](https://docs.digitalocean.com/products/spaces/), can optionally be served by our globally distributed Content Delivery Network (CDN). By sending requests to `/v2/cdn/endpoints`, you can list, create, or delete CDN Endpoints as well as purge cached content. To use a custom subdomain to access the CDN Endpoint, provide the ID of a DigitalOcean managed TLS certificate and the fully qualified domain name - for the custom subdomain. + for the custom subdomain. + + CDN endpoints have a rate limit of five requests per 10 seconds. - name: Certificates description: |- In order to perform SSL termination on load balancers, DigitalOcean offers - two types of [SSL certificate management](https://www.digitalocean.com/docs/accounts/security/#certificates): + two types of [SSL certificate management](https://docs.digitalocean.com/platform/teams/manage-certificates): * **Custom**: User-generated certificates may be uploaded to DigitalOcean where they will be placed in a fully encrypted and isolated storage system. @@ -130,7 +132,7 @@ tags: - name: Container Registry description: |- DigitalOcean offers the ability for you to create a - [private container registry](https://www.digitalocean.com/docs/images/container-registry/quickstart/) + [private container registry](https://docs.digitalocean.com/products/container-registry/) to store your Docker images for use with your Kubernetes clusters. This container registry runs inside the same datacenters as your cluster, ensuring reliable and performant rollout of image deployments. @@ -140,12 +142,12 @@ tags: - name: Databases description: |- - DigitalOcean's [managed database service](https://www.digitalocean.com/docs/databases) + DigitalOcean's [managed database service](https://docs.digitalocean.com/products/databases) simplifies the creation and management of highly available database clusters. Currently, it - offers support for [PostgreSQL](http://www.digitalocean.com/docs/databases/postgresql/), - [Redis](https://www.digitalocean.com/docs/databases/redis/), - [MySQL](https://www.digitalocean.com/docs/databases/mysql/), - [MongoDB](https://www.digitalocean.com/docs/databases/mongodb/), and + offers support for [PostgreSQL](http://docs.digitalocean.com/products/databases/postgresql/), + [Redis](https://docs.digitalocean.com/products/databases/redis/), + [MySQL](https://docs.digitalocean.com/products/databases/mysql/), + [MongoDB](https://docs.digitalocean.com/products/databases/mongodb/), and [OpenSearch](https://docs.digitalocean.com/products/databases/opensearch/). By sending requests to the `/v2/databases` endpoint, you can list, create, or delete @@ -170,7 +172,7 @@ tags: and manage DNS zone files by adding and modifying individual records for a domain. - The [DigitalOcean DNS management interface](https://www.digitalocean.com/docs/networking/dns/) + The [DigitalOcean DNS management interface](https://docs.digitalocean.com/products/networking/dns/) allows you to configure the following DNS records: Name | Description | @@ -189,7 +191,7 @@ tags: description: |- Domain resources are domain names that you have purchased from a domain name registrar that you are managing through the - [DigitalOcean DNS interface](https://www.digitalocean.com/docs/networking/dns/). + [DigitalOcean DNS interface](https://docs.digitalocean.com/products/networking/dns/). This resource establishes top-level control over each domain. Actions that affect individual domain records should be taken on the @@ -217,7 +219,7 @@ tags: - name: Droplets description: |- - A [Droplet](https://www.digitalocean.com/docs/droplets/) is a DigitalOcean + A [Droplet](https://docs.digitalocean.com/products/droplets/) is a DigitalOcean virtual machine. By sending requests to the Droplet endpoint, you can list, create, or delete Droplets. @@ -228,7 +230,7 @@ tags: - name: Firewalls description: |- - [DigitalOcean Cloud Firewalls](https://www.digitalocean.com/docs/networking/firewalls/) + [DigitalOcean Cloud Firewalls](https://docs.digitalocean.com/products/networking/firewalls/) provide the ability to restrict network access to and from a Droplet allowing you to define which ports will accept inbound or outbound connections. By sending requests to the `/v2/firewalls` endpoint, you can @@ -271,7 +273,7 @@ tags: will contain the field `reserved_ips` in addition to the `floating_ips` field. Floating IPs retrieved using the Projects API will retain the original name. - [DigitalOcean Floating IPs](https://www.digitalocean.com/docs/networking/floating-ips/) + [DigitalOcean Floating IPs](https://docs.digitalocean.com/products/networking/reserved-ips/) are publicly-accessible static IP addresses that can be mapped to one of your Droplets. They can be used to create highly available setups or other configurations requiring movable addresses. @@ -296,26 +298,26 @@ tags: - name: Images description: |- - A DigitalOcean [image](https://www.digitalocean.com/docs/images/) can be + A DigitalOcean [image](https://docs.digitalocean.com/products/images/) can be used to create a Droplet and may come in a number of flavors. Currently, there are five types of images: snapshots, backups, applications, distributions, and custom images. - * [Snapshots](https://www.digitalocean.com/docs/images/snapshots/) provide + * [Snapshots](https://docs.digitalocean.com/products/snapshots/) provide a full copy of an existing Droplet instance taken on demand. - * [Backups](https://www.digitalocean.com/docs/images/backups/) are similar + * [Backups](https://docs.digitalocean.com/products/backups/) are similar to snapshots but are created automatically at regular intervals when enabled for a Droplet. - * [Custom images](https://www.digitalocean.com/docs/images/custom-images/) + * [Custom images](https://docs.digitalocean.com/products/custom-images/) are Linux-based virtual machine images (raw, qcow2, vhdx, vdi, and vmdk formats are supported) that you may upload for use on DigitalOcean. * Distributions are the public Linux distributions that are available to be used as a base to create Droplets. - * Applications, or [1-Click Apps](https://www.digitalocean.com/docs/one-clicks/), + * Applications, or [1-Click Apps](https://docs.digitalocean.com/products/marketplace/), are distributions pre-configured with additional software. To interact with images, you will generally send requests to the images @@ -323,7 +325,7 @@ tags: - name: Kubernetes description: |- - [DigitalOcean Kubernetes](https://www.digitalocean.com/docs/kubernetes/) + [DigitalOcean Kubernetes](https://docs.digitalocean.com/products/kubernetes/) allows you to quickly deploy scalable and secure Kubernetes clusters. By sending requests to the `/v2/kubernetes/clusters` endpoint, you can list, create, or delete clusters as well as scale node pools up and down, @@ -332,7 +334,7 @@ tags: - name: Load Balancers description: |- - [DigitalOcean Load Balancers](https://www.digitalocean.com/docs/networking/load-balancers/) + [DigitalOcean Load Balancers](https://docs.digitalocean.com/products/networking/load-balancers/) provide a way to distribute traffic across multiple Droplets. By sending requests to the `/v2/load_balancers` endpoint, you can list, create, or delete load balancers as well as add or remove Droplets, forwarding rules, @@ -449,7 +451,7 @@ tags: - name: Snapshots description: |- - [Snapshots](https://www.digitalocean.com/docs/images/snapshots/) are saved + [Snapshots](https://docs.digitalocean.com/products/snapshots/) are saved instances of a Droplet or a block storage volume, which is reflected in the `resource_type` attribute. In order to avoid problems with compressing filesystems, each defines a `min_disk_size` attribute which is the minimum @@ -478,9 +480,16 @@ tags: To interact with Uptime, you will generally send requests to the Uptime endpoint at `/v2/uptime/`. + - name: VPC Peerings + description: |- + [VPC Peerings](https://docs.digitalocean.com/products/networking/vpc/how-to/create-peering/) + join two VPC networks with a secure, private connection. This allows + resources in those networks to connect to each other's private IP addresses + as if they were in the same network. + - name: VPCs description: |- - [VPCs (virtual private clouds)](https://www.digitalocean.com/docs/networking/vpc/) + [VPCs (virtual private clouds)](https://docs.digitalocean.com/products/networking/vpc/) allow you to create virtual networks containing resources that can communicate with each other in full isolation using private IP addresses. @@ -1635,6 +1644,33 @@ paths: get: $ref: 'resources/vpcs/vpcs_list_members.yml' + /v2/vpcs/{vpc_id}/peerings: + get: + $ref: 'resources/vpcs/vpcs_list_peerings.yml' + + post: + $ref: 'resources/vpcs/vpcs_create_peerings.yml' + + /v2/vpcs/{vpc_id}/peerings/{vpc_peering_id}: + patch: + $ref: 'resources/vpcs/vpcs_update_peerings.yml' + + /v2/vpc_peerings: + get: + $ref: 'resources/vpc_peerings/vpc_peerings_list.yml' + + post: + $ref: 'resources/vpc_peerings/vpc_peerings_create.yml' + + /v2/vpc_peerings/{vpc_peering_id}: + get: + $ref: 'resources/vpc_peerings/vpc_peerings_get.yml' + + patch: + $ref: 'resources/vpc_peerings/vpc_peerings_update.yml' + + delete: + $ref: 'resources/vpc_peerings/vpc_peerings_delete.yml' /v2/uptime/checks: get: diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/actions/models/action.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/actions/models/action.yml index 71e3a7700..258622294 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/actions/models/action.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/actions/models/action.yml @@ -49,7 +49,8 @@ properties: $ref: '../../regions/models/region.yml' region_slug: - allOf: - - $ref: '../../regions/models/region.yml#/properties/slug' - - type: string - nullable: true \ No newline at end of file + type: string + nullable: true + description: A human-readable string that is used as a unique identifier + for each region. + example: nyc3 diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_component_base.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_component_base.yml index ab973c885..99230a789 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_component_base.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_component_base.yml @@ -55,7 +55,7 @@ properties: environment_slug: type: string description: An environment slug describing the type of this app. For a full list, - please refer to [the product documentation](https://www.digitalocean.com/docs/app-platform/). + please refer to [the product documentation](https://docs.digitalocean.com/products/app-platform/). example: node-js log_destinations: diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_maintenance_spec.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_maintenance_spec.yml new file mode 100644 index 000000000..7cdfcffc0 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_maintenance_spec.yml @@ -0,0 +1,7 @@ +type: object +description: Specification to configure maintenance settings for the app, such as maintenance mode. +properties: + enabled: + type: boolean + description: Indicates whether maintenance mode should be enabled for the app. + example: true diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_service_spec.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_service_spec.yml index 73bb70b73..c91d26469 100755 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_service_spec.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_service_spec.yml @@ -13,6 +13,18 @@ allOf: health_check: $ref: app_service_spec_health_check.yml + protocol: + type: string + description: | + The protocol which the service uses to serve traffic on the http_port. + + - `HTTP`: The app is serving the HTTP protocol. Default. + - `HTTP2`: The app is serving the HTTP/2 protocol. Currently, this needs to be implemented in the service by serving HTTP/2 cleartext (h2c). + enum: + - HTTP + - HTTP2 + example: HTTP + http_port: type: integer description: |- diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_spec.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_spec.yml index 97675a63e..07a38ba19 100755 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_spec.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/apps/models/app_spec.yml @@ -77,5 +77,8 @@ properties: egress: $ref: app_egress_spec.yml + maintenance: + $ref: app_maintenance_spec.yml + required: - name diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/cdn/cdn_purge_cache.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/cdn/cdn_purge_cache.yml index 058322535..c80c180f9 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/cdn/cdn_purge_cache.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/cdn/cdn_purge_cache.yml @@ -7,9 +7,11 @@ description: | `/v2/cdn/endpoints/$ENDPOINT_ID/cache`. The body of the request should include a `files` attribute containing a list of cached file paths to be purged. A path may be for a single file or may contain a wildcard (`*`) to recursively - purge all files under a directory. When only a wildcard is provided, all - cached files will be purged. There is a rate limit of 50 files per 20 seconds - that can be purged. + purge all files under a directory. When only a wildcard is provided, all cached + files will be purged. There is a rate limit of 50 files per 20 seconds that can + be purged. CDN endpoints have a rate limit of 5 requests per 10 seconds. + Purging files using a wildcard path counts as a single request against the API's + rate limit. Two identical purge requests cannot be sent at the same time. tags: - CDN Endpoints diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/certificates/certificates_get.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/certificates/certificates_get.yml index 94c98ef7a..1f9d8059e 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/certificates/certificates_get.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/certificates/certificates_get.yml @@ -39,5 +39,5 @@ x-codeSamples: security: - bearer_auth: - - 'cdn:read' + - 'certificate:read' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/certificates/certificates_list.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/certificates/certificates_list.yml index 5ca386d4c..3914fa7a3 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/certificates/certificates_list.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/certificates/certificates_list.yml @@ -38,4 +38,4 @@ x-codeSamples: security: - bearer_auth: - - 'cdn:read' + - 'certificate:read' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/databases_add_connectionPool.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/databases_add_connectionPool.yml index c2500da3a..7b31f54ad 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/databases_add_connectionPool.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/databases_add_connectionPool.yml @@ -5,7 +5,7 @@ summary: Add a New Connection Pool (PostgreSQL) description: | For PostgreSQL database clusters, connection pools can be used to allow a database to share its idle connections. The popular PostgreSQL connection - pooling utility PgBouncer is used to provide this service. [See here for more information](https://www.digitalocean.com/docs/databases/postgresql/how-to/manage-connection-pools/) + pooling utility PgBouncer is used to provide this service. [See here for more information](https://docs.digitalocean.com/products/databases/postgresql/how-to/manage-connection-pools/) about how and why to use PgBouncer connection pooling including details about the available transaction modes. diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/databases_update_firewall_rules.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/databases_update_firewall_rules.yml index 5661f2f6a..6b6125fe5 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/databases_update_firewall_rules.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/databases_update_firewall_rules.yml @@ -11,7 +11,7 @@ description: >- provided, any Droplet or Kubernetes node with that tag applied to it will have access. The firewall is limited to 100 rules (or trusted sources). When possible, we recommend - [placing your databases into a VPC network](https://www.digitalocean.com/docs/networking/vpc/) + [placing your databases into a VPC network](https://docs.digitalocean.com/products/networking/vpc/) to limit access to them instead of using a firewall. A successful diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/models/advanced_config/opensearch_advanced_config.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/models/advanced_config/opensearch_advanced_config.yml index b72e7b1de..1fe6c867d 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/models/advanced_config/opensearch_advanced_config.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/databases/models/advanced_config/opensearch_advanced_config.yml @@ -205,7 +205,7 @@ properties: type: integer example: 2500000 minimum: 1 - maximum: 9223372036854776000 + maximum: 9223372036854775807 default: 2500000 ism_history_rollover_check_period_hours: description: >- @@ -269,7 +269,7 @@ properties: default: use-context cluster_routing_allocation_node_concurrent_recoveries: description: >- - Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node . + Maximum concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen per node . type: integer example: 2 minimum: 2 @@ -279,6 +279,12 @@ properties: description: >- Allowlist of remote IP addresses for reindexing. Changing this value will cause all OpenSearch instances to restart. type: array - items: + items: type: string - example: ["255.255.223.233:9200", "222.33.222.222:6300"] \ No newline at end of file + example: ["255.255.223.233:9200", "222.33.222.222:6300"] + plugins_alerting_filter_by_backend_roles_enabled: + description: >- + Enable or disable filtering of alerting by backend roles. + type: boolean + example: false + default: false diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/droplets_list.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/droplets_list.yml index 5d37ed30c..9b700e109 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/droplets_list.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/droplets_list.yml @@ -16,6 +16,11 @@ description: | parameter set to the name of the tag in your GET request. For example, `/v2/droplets?tag_name=$TAG_NAME`. + ### GPU Droplets + + By default, only non-GPU Droplets are returned. To list only GPU Droplets, set + the `type` query parameter to `gpus`. For example, `/v2/droplets?type=gpus`. + tags: - Droplets @@ -24,6 +29,7 @@ parameters: - $ref: '../../shared/parameters.yml#/page' - $ref: 'parameters.yml#/droplet_tag_name' - $ref: 'parameters.yml#/droplet_name' + - $ref: 'parameters.yml#/droplet_type' responses: '200': diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet.yml index 778e0acf2..ce7460f4b 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet.yml @@ -28,6 +28,13 @@ properties: example: 25 description: The size of the Droplet's disk in gigabytes. + disk_info: + type: array + description: An array of objects containing information about the disks + available to the Droplet. + items: + $ref: '../../sizes/models/disk_info.yml' + locked: type: boolean example: false @@ -147,6 +154,9 @@ properties: description: A string specifying the UUID of the VPC to which the Droplet is assigned. + gpu_info: + $ref: '../../sizes/models/gpu_info.yml' + required: - id - name diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet_actions.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet_actions.yml index 19e895d19..f106a5c97 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet_actions.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet_actions.yml @@ -34,7 +34,7 @@ droplet_action_enable_backups: allOf: - $ref: 'droplet_backup_policy.yml' - description: An object specifying the backup policy for the Droplet. If - omitted, the default backup policy will be used. + omitted, the backup plan will default to daily. example: type: enable_backups diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet_create.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet_create.yml index 637217044..b4ffb6032 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet_create.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/droplet_create.yml @@ -49,7 +49,7 @@ properties: allOf: - $ref: 'droplet_backup_policy.yml' - description: An object specifying the backup policy for the Droplet. If - omitted and `backups` is `true`, the default backup policy will be used. + omitted and `backups` is `true`, the backup plan will default to daily. ipv6: type: boolean diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/kernel.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/kernel.yml index 58b19a0ab..08e6aa587 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/kernel.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/models/kernel.yml @@ -4,7 +4,7 @@ description: | **Note**: All Droplets created after March 2017 use internal kernels by default. These Droplets will have this attribute set to `null`. - The current [kernel](https://www.digitalocean.com/docs/droplets/how-to/kernel/) + The current [kernel](https://docs.digitalocean.com/products/droplets/how-to/kernel/) for Droplets with externally managed kernels. This will initially be set to the kernel of the base image when the Droplet is created. @@ -28,4 +28,4 @@ properties: type: string example: 2016.07.13-DigitalOcean_loader_Ubuntu description: A standard kernel version string representing the version, - patch, and release information. \ No newline at end of file + patch, and release information. diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/parameters.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/parameters.yml index 77cb72d66..80ea30561 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/parameters.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/parameters.yml @@ -12,12 +12,26 @@ droplet_tag_name: in: query name: tag_name description: Used to filter Droplets by a specific tag. Can not be combined - with `name`. + with `name` or `type`. required: false schema: type: string example: env:prod +droplet_type: + in: query + name: type + description: When `type` is set to `gpus`, only GPU Droplets will be returned. + By default, only non-GPU Droplets are returned. Can not be combined with + `tag_name`. + required: false + schema: + type: string + enum: + - droplets + - gpus + example: droplets + droplet_delete_tag_name: in: query name: tag_name diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/responses/all_droplets.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/responses/all_droplets.yml index bfc3799ec..6f987c588 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/responses/all_droplets.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/responses/all_droplets.yml @@ -25,3 +25,5 @@ content: $ref: 'examples.yml#/droplets_all' Droplets Filtered By Tag: $ref: 'examples.yml#/droplets_tagged' + GPU Droplets: + $ref: 'examples.yml#/gpu_droplets' \ No newline at end of file diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/responses/examples.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/responses/examples.yml index 447c26ce2..c0d40eea9 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/responses/examples.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/droplets/responses/examples.yml @@ -6,6 +6,11 @@ droplets_all: memory: 1024 vcpus: 1 disk: 25 + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" locked: false status: active kernel: null @@ -126,6 +131,11 @@ droplets_all: memory: 1024 vcpus: 1 disk: 25 + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" locked: false status: active kernel: null @@ -239,6 +249,11 @@ droplets_all: memory: 1024 vcpus: 1 disk: 25 + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" locked: false status: active kernel: null @@ -360,6 +375,11 @@ droplets_tagged: memory: 1024 vcpus: 1 disk: 25 + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" locked: false status: active kernel: null @@ -480,6 +500,11 @@ droplets_tagged: memory: 1024 vcpus: 1 disk: 25 + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" locked: false status: active kernel: null @@ -594,6 +619,143 @@ droplets_tagged: total: 2 +gpu_droplets: + value: + droplets: + - id: 448543583 + name: ml-ai-ubuntu-gpu-h100x1-80gb-tor1 + memory: 245760 + vcpus: 20 + disk: 720 + disk_info: + - type: local + size: + amount: 720 + unit: gib + - type: scratch + size: + amount: 5120 + unit: gib + locked: false + status: active + kernel: null + created_at: 2024-09-30T15:23:36Z + features: + - droplet_agent + - private_networking + backup_ids: [] + next_backup_window: null + snapshot_ids: [] + image: + id: 166407044 + name: AI/ML Ready H100x1 + distribution: Ubuntu + slug: gpu-h100x1-base + public: true + regions: + - nyc3 + - nyc1 + - sfo1 + - nyc2 + - ams2 + - sgp1 + - lon1 + - ams3 + - fra1 + - tor1 + - sfo2 + - blr1 + - sfo3 + - syd1 + created_at: 2024-09-27T15:35:19Z + min_disk_size: 25 + type: base + size_gigabytes: 18.47 + description: GPU H100 1x Base Image + tags: [] + status: available + volume_ids: [] + size: + slug: gpu-h100x1-80gb + memory: 245760 + vcpus: 20 + disk: 720 + transfer: 15 + price_monthly: 4529.3 + price_hourly: 6.74 + regions: + - tor1 + available: true + description: H100 GPU - 1X + gpu_info: + count: 1 + vram: + amount: 80 + unit: gib + model: nvidia_h100 + disk_info: + - type: local + size: + amount: 720 + unit: gib + - type: scratch + size: + amount: 5120 + unit: gib + size_slug: gpu-h100x1-80gb + networks: + v4: + - ip_address: '10.128.192.124' + netmask: '255.255.0.0' + gateway: nil + type: private + - ip_address: '192.241.165.154' + netmask: '255.255.255.0' + gateway: '192.241.165.1' + type: public + v6: [] + region: + name: Toronto 1 + slug: tor1 + features: + - backups + - ipv6 + - metadata + - install_agent + - storage + - image_transfer + - server_id + - management_networking + available: true + sizes: + - s-1vcpu-1gb + - s-1vcpu-2gb + - s-1vcpu-3gb + - s-2vcpu-2gb + - s-3vcpu-1gb + - s-2vcpu-4gb + - s-4vcpu-8gb + - s-6vcpu-16gb + - s-8vcpu-32gb + - s-12vcpu-48gb + - s-16vcpu-64gb + - s-20vcpu-96gb + - s-24vcpu-128gb + - s-32vcpu-192g + - gpu-h100x1-80gb + - gpu-h100x8-640gb + tags: [] + vpc_uuid: e2fdd15c-6ae6-4c11-8c5d-72dae2ba1ad1 + gpu_info: + count: 1 + vram: + amount: 80 + unit: gib + model: nvidia_h100 + links: {} + meta: + total: 1 + droplet_single: value: droplet: @@ -602,6 +764,11 @@ droplet_single: memory: 1024 vcpus: 1 disk: 25 + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" locked: false status: active kernel: null @@ -726,6 +893,11 @@ droplet_create_response: memory: 1024 vcpus: 1 disk: 25 + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" locked: false status: new kernel: null @@ -839,6 +1011,11 @@ droplet_multi_create_response: memory: 1024 vcpus: 1 disk: 25 + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" locked: false status: new kernel: null @@ -943,6 +1120,11 @@ droplet_multi_create_response: memory: 1024 vcpus: 1 disk: 25 + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" locked: false status: new kernel: null diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_add_rules.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_add_rules.yml index 11de54796..2f04e1646 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_add_rules.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_add_rules.yml @@ -76,4 +76,4 @@ x-codeSamples: security: - bearer_auth: - - 'firewall:create' + - 'firewall:update' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_add_tags.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_add_tags.yml index 712535d2c..6fec85907 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_add_tags.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_add_tags.yml @@ -66,4 +66,4 @@ x-codeSamples: security: - bearer_auth: - - 'firewall:create' + - 'firewall:update' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_assign_droplets.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_assign_droplets.yml index 14f80c1fe..0f076b6d0 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_assign_droplets.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_assign_droplets.yml @@ -69,4 +69,4 @@ x-codeSamples: security: - bearer_auth: - - 'firewall:create' + - 'firewall:update' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_droplets.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_droplets.yml index 5b8110532..8f48c7f05 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_droplets.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_droplets.yml @@ -69,4 +69,4 @@ x-codeSamples: security: - bearer_auth: - - 'firewall:delete' + - 'firewall:update' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_rules.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_rules.yml index fd56b2a39..057356256 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_rules.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_rules.yml @@ -76,4 +76,4 @@ x-codeSamples: security: - bearer_auth: - - 'firewall:delete' + - 'firewall:update' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_tags.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_tags.yml index 4282d92f7..5bd1d3e4f 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_tags.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/firewalls/firewalls_delete_tags.yml @@ -66,4 +66,4 @@ x-codeSamples: security: - bearer_auth: - - 'firewall:delete' + - 'firewall:update' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_create_cluster.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_create_cluster.yml index f5bc62c11..454e249db 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_create_cluster.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_create_cluster.yml @@ -10,7 +10,7 @@ description: | The request may contain a maintenance window policy describing a time period when disruptive maintenance tasks may be carried out. Omitting the policy implies that a window will be chosen automatically. See - [here](https://www.digitalocean.com/docs/kubernetes/how-to/upgrade-cluster/) + [here](https://docs.digitalocean.com/products/kubernetes/how-to/upgrade-cluster/) for details. tags: diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_get_credentials.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_get_credentials.yml index 23faf9bfd..1c0443ac0 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_get_credentials.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_get_credentials.yml @@ -9,7 +9,7 @@ description: | The resulting JSON object contains token-based authentication for clusters supporting it, and certificate-based authentication otherwise. For a list of supported versions and more information, see "[How to Connect to a DigitalOcean - Kubernetes Cluster with kubectl](https://www.digitalocean.com/docs/kubernetes/how-to/connect-with-kubectl/)". + Kubernetes Cluster](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/)". To retrieve credentials for accessing a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/credentials`. diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_get_kubeconfig.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_get_kubeconfig.yml index e2c6f374a..0314737a8 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_get_kubeconfig.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/kubernetes_get_kubeconfig.yml @@ -10,7 +10,7 @@ description: | The resulting kubeconfig file uses token-based authentication for clusters supporting it, and certificate-based authentication otherwise. For a list of supported versions and more information, see "[How to Connect to a DigitalOcean - Kubernetes Cluster with kubectl](https://www.digitalocean.com/docs/kubernetes/how-to/connect-with-kubectl/)". + Kubernetes Cluster](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/)". To retrieve a kubeconfig file for use with a Kubernetes cluster, send a GET request to `/v2/kubernetes/clusters/$K8S_CLUSTER_ID/kubeconfig`. diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/models/cluster.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/models/cluster.yml index 44b4b4ad8..6411eb765 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/models/cluster.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/models/cluster.yml @@ -32,15 +32,14 @@ properties: cluster_subnet: type: string format: cidr - readOnly: true - example: 10.244.0.0/16 - description: The range of IP addresses in the overlay network of the + example: 192.168.0.0/20 + description: The range of IP addresses for the overlay network of the Kubernetes cluster in CIDR notation. service_subnet: type: string - readOnly: true - example: 10.245.0.0/16 + format: cidr + example: 192.168.16.0/24 description: The range of assignable IP addresses for services running in the Kubernetes cluster in CIDR notation. diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/models/credentials.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/models/credentials.yml index 1578ef862..2e2a42706 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/models/credentials.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/kubernetes/models/credentials.yml @@ -27,7 +27,7 @@ properties: Newly created Kubernetes clusters do not return credentials using certificate-based authentication. For additional information, - [see here](https://www.digitalocean.com/docs/kubernetes/how-to/connect-to-cluster/#authenticate). + [see here](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/#authenticate). client_key_data: type: string @@ -42,7 +42,7 @@ properties: Newly created Kubernetes clusters do not return credentials using certificate-based authentication. For additional information, - [see here](https://www.digitalocean.com/docs/kubernetes/how-to/connect-to-cluster/#authenticate). + [see here](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/#authenticate). token: type: string diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/load_balancers/models/load_balancer_base.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/load_balancers/models/load_balancer_base.yml index fd41ac391..73265f81b 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/load_balancers/models/load_balancer_base.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/load_balancers/models/load_balancer_base.yml @@ -157,5 +157,17 @@ properties: firewall: $ref: 'lb_firewall.yml' + network: + type: string + example: EXTERNAL + enum: + - EXTERNAL + - INTERNAL + default: EXTERNAL + description: A string indicating whether the load balancer should be external + or internal. Internal load balancers have no public IPs and are only accessible + to resources on the same VPC network. This property cannot be updated after + creating the load balancer. + required: - forwarding_rules diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/monitoring/monitoring_create_alertPolicy.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/monitoring/monitoring_create_alertPolicy.yml index 367259a2a..08f871b92 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/monitoring/monitoring_create_alertPolicy.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/monitoring/monitoring_create_alertPolicy.yml @@ -44,7 +44,7 @@ requestBody: `v1/insights/lbaas/avg_cpu_utilization_percent`|alert on the percent of CPU utilization|load balancer ID `v1/insights/lbaas/connection_utilization_percent`|alert on the percent of connection utilization|load balancer ID `v1/insights/lbaas/droplet_health`|alert on Droplet health status changes|load balancer ID - `v1/insights/lbaas/tls_connections_per_second_utilization_percent`|alert on the percent of TLS connections per second utilization|load balancer ID + `v1/insights/lbaas/tls_connections_per_second_utilization_percent`|alert on the percent of TLS connections per second utilization (requires at least one HTTPS forwarding rule)|load balancer ID `v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx`|alert on the percent increase of 5xx level http errors over 5m|load balancer ID `v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx`|alert on the percent increase of 4xx level http errors over 5m|load balancer ID `v1/insights/lbaas/increase_in_http_error_rate_count_5xx`|alert on the count of 5xx level http errors over 5m|load balancer ID diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/monitoring/monitoring_update_alertPolicy.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/monitoring/monitoring_update_alertPolicy.yml index 0bf239d38..6d1b99516 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/monitoring/monitoring_update_alertPolicy.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/monitoring/monitoring_update_alertPolicy.yml @@ -49,7 +49,7 @@ requestBody: `v1/insights/lbaas/avg_cpu_utilization_percent`|alert on the percent of CPU utilization|load balancer ID `v1/insights/lbaas/connection_utilization_percent`|alert on the percent of connection utilization|load balancer ID `v1/insights/lbaas/droplet_health`|alert on Droplet health status changes|load balancer ID - `v1/insights/lbaas/tls_connections_per_second_utilization_percent`|alert on the percent of TLS connections per second utilization|load balancer ID + `v1/insights/lbaas/tls_connections_per_second_utilization_percent`|alert on the percent of TLS connections per second utilization (requires at least one HTTPS forwarding rule)|load balancer ID `v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx`|alert on the percent increase of 5xx level http errors over 5m|load balancer ID `v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx`|alert on the percent increase of 4xx level http errors over 5m|load balancer ID `v1/insights/lbaas/increase_in_http_error_rate_count_5xx`|alert on the count of 5xx level http errors over 5m|load balancer ID diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/registry/registry_run_garbageCollection.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/registry/registry_run_garbageCollection.yml index 57c8c0a64..2303af381 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/registry/registry_run_garbageCollection.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/registry/registry_run_garbageCollection.yml @@ -7,7 +7,7 @@ description: | manifest data) after deleting one or more manifests from a repository. If there are no unreferenced blobs resulting from the deletion of one or more manifests, garbage collection is effectively a noop. - [See here for more information](https://www.digitalocean.com/docs/container-registry/how-to/clean-up-container-registry/) + [See here for more information](https://docs.digitalocean.com/products/container-registry/how-to/clean-up-container-registry/) about how and why you should clean up your container registry periodically. To request a garbage collection run on your registry, send a POST request to diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/disk_info.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/disk_info.yml new file mode 100644 index 000000000..1b9ba6245 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/disk_info.yml @@ -0,0 +1,22 @@ +type: object + +properties: + type: + type: string + enum: + - local + - scratch + description: The type of disk. All Droplets contain a `local` disk. Additionally, + GPU Droplets can also have a `scratch` disk for non-persistent data. + example: local + size: + type: object + properties: + amount: + type: integer + description: The amount of space allocated to the disk. + example: 25 + unit: + type: string + description: The unit of measure for the disk size. + example: gib diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/gpu_info.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/gpu_info.yml new file mode 100644 index 000000000..ffcd4c6ee --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/gpu_info.yml @@ -0,0 +1,25 @@ +type: object +description: >- + An object containing information about the GPU capabilities of Droplets + created with this size. + +properties: + count: + type: integer + description: The number of GPUs allocated to the Droplet. + example: 1 + model: + type: string + description: The model of the GPU. + example: nvidia_h100 + vram: + type: object + properties: + amount: + type: integer + description: The amount of VRAM allocated to the GPU. + example: 25 + unit: + type: string + description: The unit of measure for the VRAM. + example: gib diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/size.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/size.yml index 7193ba7a0..1f62f31e9 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/size.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/models/size.yml @@ -18,7 +18,7 @@ properties: vcpus: type: integer example: 1 - description: The integer of number CPUs allocated to Droplets of this size. + description: The number of CPUs allocated to Droplets of this size. disk: type: integer @@ -85,6 +85,16 @@ properties: example: Basic, General Purpose, CPU-Optimized, Memory-Optimized, or Storage-Optimized. + disk_info: + type: array + description: An array of objects containing information about the disks + available to Droplets created with this size. + items: + $ref: './disk_info.yml' + + gpu_info: + $ref: './gpu_info.yml' + required: - available - disk diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/responses/all_sizes.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/responses/all_sizes.yml index 4ef6715fc..17d51f2cc 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/responses/all_sizes.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/sizes/responses/all_sizes.yml @@ -51,6 +51,11 @@ content: - tor1 available: true description: Basic + disk_info: + - type: "local" + size: + amount: 25 + unit: "gib" links: pages: last: "https://api.digitalocean.com/v2/sizes?page=64&per_page=1" diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/volumes/volumeActions_post.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/volumes/volumeActions_post.yml index f3733d880..67dabd1a1 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/volumes/volumeActions_post.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/volumes/volumeActions_post.yml @@ -20,7 +20,7 @@ description: | volumes may be attached to a Droplet at a time. Pre-formatted volumes will be automatically mounted to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS Droplets created on or after April 26, 2018 when attached. On older Droplets, - [additional configuration](https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-digitalocean-block-storage-volumes-in-linux#mounting-the-filesystems) + [additional configuration](https://docs.digitalocean.com/products/volumes/how-to/mount/) is required. ## Remove a Block Storage Volume from a Droplet diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/volumes/volumeActions_post_byId.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/volumes/volumeActions_post_byId.yml index 084c5b255..316ab95bf 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/volumes/volumeActions_post_byId.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/volumes/volumeActions_post_byId.yml @@ -19,7 +19,7 @@ description: | volumes may be attached to a Droplet at a time. Pre-formatted volumes will be automatically mounted to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOS Droplets created on or after April 26, 2018 when attached. On older Droplets, - [additional configuration](https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-digitalocean-block-storage-volumes-in-linux#mounting-the-filesystems) + [additional configuration](https://docs.digitalocean.com/products/volumes/how-to/mount/) is required. ## Remove a Block Storage Volume from a Droplet diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_create.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_create.yml new file mode 100644 index 000000000..86217fabc --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_create.yml @@ -0,0 +1,8 @@ +lang: cURL +source: |- + curl -X POST \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ + -d '{"name": "my-first-vpc-peering", "vpc_ids": [ "997615ce-132d-4bae-9270-9ee21b395e5d", "e51aed59-3bb1-4a6a-8de0-9d1329e9c997"]}' \ + "https://api.digitalocean.com/v2/vpc_peerings" + diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_delete.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_delete.yml new file mode 100644 index 000000000..b7e56238e --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_delete.yml @@ -0,0 +1,7 @@ +lang: cURL +source: |- + curl -X DELETE \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ + "https://api.digitalocean.com/v2/vpc_peerings/6b5c619c-359c-44ca-87e2-47e98170c01d" + diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_get.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_get.yml new file mode 100644 index 000000000..af316b8ed --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_get.yml @@ -0,0 +1,6 @@ +lang: cURL +source: |- + curl -X GET \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ + "https://api.digitalocean.com/v2/vpc_peerings/5a4981aa-9653-4bd1-bef5-d6bff52042e4" diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_list.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_list.yml new file mode 100644 index 000000000..ff5564e33 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_list.yml @@ -0,0 +1,6 @@ +lang: cURL +source: |- + curl -X GET \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ + "https://api.digitalocean.com/v2/vpc_peerings?region=sfo3&page=1&per_page=20" diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_update.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_update.yml new file mode 100644 index 000000000..30c0daf9d --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/examples/curl/vpc_peerings_update.yml @@ -0,0 +1,7 @@ +lang: cURL +source: |- + curl -X PATCH \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ + -d '{"name":"renamed-vpc-peering"}' \ + "https://api.digitalocean.com/v2/vpc_peerings/5a4981aa-9653-4bd1-bef5-d6bff52042e4" diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/models/vpc_peering.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/models/vpc_peering.yml new file mode 100644 index 000000000..2351b3af7 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/models/vpc_peering.yml @@ -0,0 +1,58 @@ +vpc_peering: + type: object + allOf: + - $ref: '#/vpc_peering_base' + - $ref: '#/vpc_peering_create' + - $ref: '#/vpc_peering_updatable' + +vpc_peering_base: + type: object + properties: + id: + type: string + format: uuid + readOnly: true + example: 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + description: A unique ID that can be used to identify and reference the VPC peering. + + created_at: + type: string + format: date-time + readOnly: true + example: "2020-03-13T19:20:47.442049222Z" + description: A time value given in ISO8601 combined date and time format. + + status: + type: string + enum: + - PROVISIONING + - ACTIVE + - DELETING + readOnly: true + example: "ACTIVE" + description: The current status of the VPC peering. + +vpc_peering_create: + type: object + properties: + vpc_ids: + type: array + items: + type: string + format: uuid + minItems: 2 + maxItems: 2 + example: + - c140286f-e6ce-4131-8b7b-df4590ce8d6a + - 994a2735-dc84-11e8-80bc-3cfdfea9fba1 + description: An array of the two peered VPCs IDs. + +vpc_peering_updatable: + type: object + properties: + name: + type: string + pattern: '^[a-zA-Z0-9\-]+$' + example: nyc1-blr1-peering + description: The name of the VPC peering. Must be unique within the team + and may only contain alphanumeric characters and dashes. diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/parameters.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/parameters.yml new file mode 100644 index 000000000..72b4f8737 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/parameters.yml @@ -0,0 +1,9 @@ +vpc_peering_id: + in: path + name: vpc_peering_id + description: A unique identifier for a VPC peering. + required: true + schema: + type: string + format: uuid + example: 5a4981aa-9653-4bd1-bef5-d6bff52042e4 diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/active_vpc_peering.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/active_vpc_peering.yml new file mode 100644 index 000000000..59bb40ce7 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/active_vpc_peering.yml @@ -0,0 +1,29 @@ +description: The response will be a JSON object with a key called `vpc_peering`. + The value of this will be an object that contains the standard attributes + associated with a VPC peering. + +headers: + ratelimit-limit: + $ref: '../../../shared/headers.yml#/ratelimit-limit' + ratelimit-remaining: + $ref: '../../../shared/headers.yml#/ratelimit-remaining' + ratelimit-reset: + $ref: '../../../shared/headers.yml#/ratelimit-reset' + +content: + application/json: + schema: + type: object + properties: + vpc_peering: + $ref: '../models/vpc_peering.yml#/vpc_peering' + + example: + vpc_peering: + id: 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + name: example-vpc-peering + vpc_ids: + - 997615ce-132d-4bae-9270-9ee21b395e5d + - e51aed59-3bb1-4a6a-8de0-9d1329e9c997 + created_at: '2024-01-09T20:44:32Z' + status: ACTIVE \ No newline at end of file diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/all_vpc_peerings.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/all_vpc_peerings.yml new file mode 100644 index 000000000..0abac4ced --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/all_vpc_peerings.yml @@ -0,0 +1,48 @@ +description: >- + The response will be a JSON object with a key called `vpc_peerings`. This + will be set to an array of objects, each of which will contain the standard + attributes associated with a VPC peering. + +headers: + ratelimit-limit: + $ref: '../../../shared/headers.yml#/ratelimit-limit' + ratelimit-remaining: + $ref: '../../../shared/headers.yml#/ratelimit-remaining' + ratelimit-reset: + $ref: '../../../shared/headers.yml#/ratelimit-reset' + +content: + application/json: + schema: + allOf: + - type: object + properties: + vpc_peerings: + type: array + items: + $ref: '../models/vpc_peering.yml#/vpc_peering' + - $ref: '../../../shared/pages.yml#/pagination' + - $ref: '../../../shared/meta.yml' + + example: + vpc_peerings: + - id: 6b5c619c-359c-44ca-87e2-47e98170c01d + name: example-vpc-peering + vpc_ids: + - 997615ce-132d-4bae-9270-9ee21b395e5d + - e51aed59-3bb1-4a6a-8de0-9d1329e9c997 + created_at: '2024-01-09T20:44:32Z' + status: ACTIVE + - id: c212b274-911c-44cc-a117-23b7da4a2922 + name: another-vpc-peering + vpc_ids: + - 5a100736-b085-4f69-81fd-feee325784bb + - c140286f-e6ce-4131-8b7b-df4590ce8d6a + created_at: '2024-01-10T13:29:58Z' + status: ACTIVE + links: {} + meta: + total: 2 + + + diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/deleting_vpc_peering.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/deleting_vpc_peering.yml new file mode 100644 index 000000000..816d6c7b2 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/deleting_vpc_peering.yml @@ -0,0 +1,29 @@ +description: The response will be a JSON object with a key called `vpc_peering`. + The value of this will be an object that contains the standard attributes + associated with a VPC peering. + +headers: + ratelimit-limit: + $ref: '../../../shared/headers.yml#/ratelimit-limit' + ratelimit-remaining: + $ref: '../../../shared/headers.yml#/ratelimit-remaining' + ratelimit-reset: + $ref: '../../../shared/headers.yml#/ratelimit-reset' + +content: + application/json: + schema: + type: object + properties: + vpc_peering: + $ref: '../models/vpc_peering.yml#/vpc_peering' + + example: + vpc_peering: + id: 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + name: example-vpc-peering + vpc_ids: + - 997615ce-132d-4bae-9270-9ee21b395e5d + - e51aed59-3bb1-4a6a-8de0-9d1329e9c997 + created_at: '2024-01-09T20:44:32Z' + status: DELETING \ No newline at end of file diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/provisioning_vpc_peering.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/provisioning_vpc_peering.yml new file mode 100644 index 000000000..1668eae58 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/responses/provisioning_vpc_peering.yml @@ -0,0 +1,29 @@ +description: The response will be a JSON object with a key called `vpc_peering`. + The value of this will be an object that contains the standard attributes + associated with a VPC peering. + +headers: + ratelimit-limit: + $ref: '../../../shared/headers.yml#/ratelimit-limit' + ratelimit-remaining: + $ref: '../../../shared/headers.yml#/ratelimit-remaining' + ratelimit-reset: + $ref: '../../../shared/headers.yml#/ratelimit-reset' + +content: + application/json: + schema: + type: object + properties: + vpc_peering: + $ref: '../models/vpc_peering.yml#/vpc_peering' + + example: + vpc_peering: + id: 5a4981aa-9653-4bd1-bef5-d6bff52042e4 + name: example-vpc-peering + vpc_ids: + - 997615ce-132d-4bae-9270-9ee21b395e5d + - e51aed59-3bb1-4a6a-8de0-9d1329e9c997 + created_at: '2024-01-09T20:44:32Z' + status: PROVISIONING \ No newline at end of file diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_create.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_create.yml new file mode 100644 index 000000000..bf33b902c --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_create.yml @@ -0,0 +1,51 @@ +operationId: vpcPeerings_create + +summary: Create a New VPC Peering + +description: | + To create a new VPC Peering, send a POST request to `/v2/vpc_peerings` + specifying a name and a list of two VPC IDs to peer. The response code, 202 + Accepted, does not indicate the success or failure of the operation, just + that the request has been accepted for processing. + +tags: + - VPC Peerings + +requestBody: + required: true + + content: + application/json: + schema: + type: object + allOf: + - $ref: 'models/vpc_peering.yml#/vpc_peering_updatable' + - $ref: 'models/vpc_peering.yml#/vpc_peering_create' + + required: + - name + - vpc_ids + + +responses: + '202': + $ref: 'responses/provisioning_vpc_peering.yml' + + '401': + $ref: '../../shared/responses/unauthorized.yml' + + '429': + $ref: '../../shared/responses/too_many_requests.yml' + + '500': + $ref: '../../shared/responses/server_error.yml' + + default: + $ref: '../../shared/responses/unexpected_error.yml' + +x-codeSamples: + - $ref: 'examples/curl/vpc_peerings_create.yml' + +security: + - bearer_auth: + - 'vpc_peering:create' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_delete.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_delete.yml new file mode 100644 index 000000000..485ec25ba --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_delete.yml @@ -0,0 +1,38 @@ +operationId: vpcPeerings_delete + +summary: Delete a VPC peering + +description: | + To delete a VPC peering, send a DELETE request to `/v2/vpc_peerings/$VPC_PEERING_ID`. + +tags: + - VPC Peerings + +parameters: + - $ref: 'parameters.yml#/vpc_peering_id' + +responses: + '202': + $ref: 'responses/deleting_vpc_peering.yml' + + '401': + $ref: '../../shared/responses/unauthorized.yml' + + '404': + $ref: '../../shared/responses/not_found.yml' + + '429': + $ref: '../../shared/responses/too_many_requests.yml' + + '500': + $ref: '../../shared/responses/server_error.yml' + + default: + $ref: '../../shared/responses/unexpected_error.yml' + +x-codeSamples: + - $ref: 'examples/curl/vpc_peerings_delete.yml' + +security: + - bearer_auth: + - 'vpc_peering:delete' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_get.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_get.yml new file mode 100644 index 000000000..8a3cd72db --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_get.yml @@ -0,0 +1,38 @@ +operationId: vpcPeerings_get + +summary: Retrieve an Existing VPC Peering + +description: | + To show information about an existing VPC Peering, send a GET request to `/v2/vpc_peerings/$VPC_PEERING_ID`. + +tags: + - VPC Peerings + +parameters: + - $ref: 'parameters.yml#/vpc_peering_id' + +responses: + '200': + $ref: 'responses/active_vpc_peering.yml' + + '401': + $ref: '../../shared/responses/unauthorized.yml' + + '404': + $ref: '../../shared/responses/not_found.yml' + + '429': + $ref: '../../shared/responses/too_many_requests.yml' + + '500': + $ref: '../../shared/responses/server_error.yml' + + default: + $ref: '../../shared/responses/unexpected_error.yml' + +x-codeSamples: + - $ref: 'examples/curl/vpc_peerings_get.yml' + +security: + - bearer_auth: + - 'vpc_peering:read' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_list.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_list.yml new file mode 100644 index 000000000..83e2f95c2 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_list.yml @@ -0,0 +1,42 @@ +operationId: vpcPeerings_list + +summary: List All VPC Peerings + +description: To list all of the VPC peerings on your account, send a GET request + to `/v2/vpc_peerings`. + +tags: + - VPC Peerings + +parameters: + - $ref: '../../shared/parameters.yml#/per_page' + - $ref: '../../shared/parameters.yml#/page' + - $ref: '../../shared/parameters.yml#/region' + + +responses: + '200': + $ref: 'responses/all_vpc_peerings.yml' + + '401': + $ref: '../../shared/responses/unauthorized.yml' + + '404': + $ref: '../../shared/responses/not_found.yml' + + '429': + $ref: '../../shared/responses/too_many_requests.yml' + + '500': + $ref: '../../shared/responses/server_error.yml' + + default: + $ref: '../../shared/responses/unexpected_error.yml' + +x-codeSamples: + - $ref: 'examples/curl/vpc_peerings_list.yml' + + +security: + - bearer_auth: + - 'vpc_peering:read' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_update.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_update.yml new file mode 100644 index 000000000..5fc5ce040 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpc_peerings/vpc_peerings_update.yml @@ -0,0 +1,51 @@ +operationId: vpcPeerings_patch + +summary: Update a VPC peering + +description: | + To update the name of a VPC peering, send a PATCH request to `/v2/vpc_peerings/$VPC_PEERING_ID` with the new `name` in the request body. + +tags: + - VPC Peerings + +parameters: + - $ref: 'parameters.yml#/vpc_peering_id' + +requestBody: + required: true + + content: + application/json: + schema: + type: object + allOf: + - $ref: 'models/vpc_peering.yml#/vpc_peering_updatable' + + required: + - name + +responses: + '200': + $ref: 'responses/active_vpc_peering.yml' + + '401': + $ref: '../../shared/responses/unauthorized.yml' + + '404': + $ref: '../../shared/responses/not_found.yml' + + '429': + $ref: '../../shared/responses/too_many_requests.yml' + + '500': + $ref: '../../shared/responses/server_error.yml' + + default: + $ref: '../../shared/responses/unexpected_error.yml' + +x-codeSamples: + - $ref: 'examples/curl/vpc_peerings_update.yml' + +security: + - bearer_auth: + - 'vpc_peering:update' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/examples/curl/vpcs_create_peerings.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/examples/curl/vpcs_create_peerings.yml new file mode 100644 index 000000000..ccedb7e9e --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/examples/curl/vpcs_create_peerings.yml @@ -0,0 +1,7 @@ +lang: cURL +source: |- + curl -X POST \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ + -d '{"name":"example-vpc-peering", "vpc_id": "e51aed59-3bb1-4a6a-8de0-9d1329e9c997"}' \ + "https://api.digitalocean.com/v2/vpcs/5a4981aa-9653-4bd1-bef5-d6bff52042e4/peerings" diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/examples/curl/vpcs_list_peerings.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/examples/curl/vpcs_list_peerings.yml new file mode 100644 index 000000000..1fa768cd0 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/examples/curl/vpcs_list_peerings.yml @@ -0,0 +1,6 @@ +lang: cURL +source: |- + curl -X GET \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ + "https://api.digitalocean.com/v2/vpcs/5a4981aa-9653-4bd1-bef5-d6bff52042e4/peerings" diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/examples/curl/vpcs_update_peerings.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/examples/curl/vpcs_update_peerings.yml new file mode 100644 index 000000000..fb1d03bb7 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/examples/curl/vpcs_update_peerings.yml @@ -0,0 +1,7 @@ +lang: cURL +source: |- + curl -X PATCH \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ + -d '{"name": "renamed-my-first-vpc-peering"}' \ + "https://api.digitalocean.com/v2/vpcs/997615ce-132d-4bae-9270-9ee21b395e5d/peerings/6b5c619c-359c-44ca-87e2-47e98170c01d" diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/parameters.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/parameters.yml index 075c32789..b0b51c79f 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/parameters.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/parameters.yml @@ -17,3 +17,13 @@ vpc_resource_type: schema: type: string example: droplet + +vpc_peering_id: + in: path + name: vpc_peering_id + description: A unique identifier for a VPC peering. + required: true + schema: + type: string + format: uuid + example: 5a4981aa-9653-4bd1-bef5-d6bff52042e4 \ No newline at end of file diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/responses/vpc_peering.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/responses/vpc_peering.yml new file mode 100644 index 000000000..63e6a72d5 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/responses/vpc_peering.yml @@ -0,0 +1,29 @@ +description: >- + The response will be a JSON object with a key called `peering`, containing + the standard attributes associated with a VPC peering. + +headers: + ratelimit-limit: + $ref: '../../../shared/headers.yml#/ratelimit-limit' + ratelimit-remaining: + $ref: '../../../shared/headers.yml#/ratelimit-remaining' + ratelimit-reset: + $ref: '../../../shared/headers.yml#/ratelimit-reset' + +content: + application/json: + schema: + type: object + properties: + peering: + $ref: '../../vpc_peerings/models/vpc_peering.yml#/vpc_peering' + + example: + peering: + id: 6b5c619c-359c-44ca-87e2-47e98170c01d + name: example-vpc-peering + vpc_ids: + - 997615ce-132d-4bae-9270-9ee21b395e5d + - e51aed59-3bb1-4a6a-8de0-9d1329e9c997 + created_at: '2024-01-09T20:44:32Z' + status: PROVISIONING diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/responses/vpc_peerings.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/responses/vpc_peerings.yml new file mode 100644 index 000000000..1744a616c --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/responses/vpc_peerings.yml @@ -0,0 +1,45 @@ +description: >- + The response will be a JSON object with a key called `peerings`. This + will be set to an array of objects, each of which will contain the standard + attributes associated with a VPC peering. + +headers: + ratelimit-limit: + $ref: '../../../shared/headers.yml#/ratelimit-limit' + ratelimit-remaining: + $ref: '../../../shared/headers.yml#/ratelimit-remaining' + ratelimit-reset: + $ref: '../../../shared/headers.yml#/ratelimit-reset' + +content: + application/json: + schema: + allOf: + - type: object + properties: + peerings: + type: array + items: + $ref: '../../vpc_peerings/models/vpc_peering.yml#/vpc_peering' + - $ref: '../../../shared/pages.yml#/pagination' + - $ref: '../../../shared/meta.yml' + + example: + peerings: + - id: 6b5c619c-359c-44ca-87e2-47e98170c01d + name: example-vpc-peering + vpc_ids: + - 997615ce-132d-4bae-9270-9ee21b395e5d + - e51aed59-3bb1-4a6a-8de0-9d1329e9c997 + created_at: '2024-01-09T20:44:32Z' + status: ACTIVE + - id: c212b274-911c-44cc-a117-23b7da4a2922 + name: another-vpc-peering + vpc_ids: + - 5a100736-b085-4f69-81fd-feee325784bb + - c140286f-e6ce-4131-8b7b-df4590ce8d6a + created_at: '2024-01-10T13:29:58Z' + status: ACTIVE + links: {} + meta: + total: 2 \ No newline at end of file diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/vpcs_create_peerings.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/vpcs_create_peerings.yml new file mode 100644 index 000000000..134482998 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/vpcs_create_peerings.yml @@ -0,0 +1,63 @@ +operationId: vpcs_create_peerings + +summary: Create a Peering with a VPC + +description: | + To create a new VPC peering for a given VPC, send a POST request to + `/v2/vpcs/$VPC_ID/peerings`. + +tags: + - VPCs + +parameters: + - $ref: 'parameters.yml#/vpc_id' + +requestBody: + required: true + + content: + application/json: + schema: + type: object + properties: + name: + type: string + pattern: '^[a-zA-Z0-9\-\.]+$' + example: nyc1-blr1-peering + description: The name of the VPC peering. Must be unique and may only contain + alphanumeric characters, dashes, and periods. + vpc_id: + type: string + format: uuid + example: c140286f-e6ce-4131-8b7b-df4590ce8d6a + description: The ID of the VPC to peer with. + + required: + - name + - vpc_id + +responses: + '202': + $ref: 'responses/vpc_peering.yml' + + '401': + $ref: '../../shared/responses/unauthorized.yml' + + '404': + $ref: '../../shared/responses/not_found.yml' + + '429': + $ref: '../../shared/responses/too_many_requests.yml' + + '500': + $ref: '../../shared/responses/server_error.yml' + + default: + $ref: '../../shared/responses/unexpected_error.yml' + +x-codeSamples: + - $ref: 'examples/curl/vpcs_create_peerings.yml' + +security: + - bearer_auth: + - 'vpc_peering:create' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/vpcs_list_peerings.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/vpcs_list_peerings.yml new file mode 100644 index 000000000..815814e39 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/vpcs_list_peerings.yml @@ -0,0 +1,41 @@ +operationId: vpcs_list_peerings + +summary: List the Peerings of a VPC + +description: | + To list all of a VPC's peerings, send a GET request to + `/v2/vpcs/$VPC_ID/peerings`. + +tags: + - VPCs + +parameters: + - $ref: 'parameters.yml#/vpc_id' + - $ref: '../../shared/parameters.yml#/per_page' + - $ref: '../../shared/parameters.yml#/page' + +responses: + '200': + $ref: 'responses/vpc_peerings.yml' + + '401': + $ref: '../../shared/responses/unauthorized.yml' + + '404': + $ref: '../../shared/responses/not_found.yml' + + '429': + $ref: '../../shared/responses/too_many_requests.yml' + + '500': + $ref: '../../shared/responses/server_error.yml' + + default: + $ref: '../../shared/responses/unexpected_error.yml' + +x-codeSamples: + - $ref: 'examples/curl/vpcs_list_peerings.yml' + +security: + - bearer_auth: + - 'vpc_peering:read' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/vpcs_update_peerings.yml b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/vpcs_update_peerings.yml new file mode 100644 index 000000000..8a792d568 --- /dev/null +++ b/packages/openapi-typescript/examples/digital-ocean-api/resources/vpcs/vpcs_update_peerings.yml @@ -0,0 +1,54 @@ +operationId: vpcs_patch_peerings + +summary: Update a VPC Peering + +description: | + To update the name of a VPC peering in a particular VPC, send a PATCH request + to `/v2/vpcs/$VPC_ID/peerings/$VPC_PEERING_ID` with the new `name` in the + request body. + +tags: + - VPCs + +parameters: + - $ref: 'parameters.yml#/vpc_id' + - $ref: 'parameters.yml#/vpc_peering_id' + +requestBody: + required: true + + content: + application/json: + schema: + type: object + allOf: + - $ref: '../vpc_peerings/models/vpc_peering.yml#/vpc_peering_updatable' + + required: + - name + +responses: + '200': + $ref: 'responses/vpc_peering.yml' + + '401': + $ref: '../../shared/responses/unauthorized.yml' + + '404': + $ref: '../../shared/responses/not_found.yml' + + '429': + $ref: '../../shared/responses/too_many_requests.yml' + + '500': + $ref: '../../shared/responses/server_error.yml' + + default: + $ref: '../../shared/responses/unexpected_error.yml' + +x-codeSamples: + - $ref: 'examples/curl/vpcs_update_peerings.yml' + +security: + - bearer_auth: + - 'vpc_peering:update' diff --git a/packages/openapi-typescript/examples/digital-ocean-api/shared/attributes/region_slug.yml b/packages/openapi-typescript/examples/digital-ocean-api/shared/attributes/region_slug.yml index 54e5d143c..721a7d973 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api/shared/attributes/region_slug.yml +++ b/packages/openapi-typescript/examples/digital-ocean-api/shared/attributes/region_slug.yml @@ -17,4 +17,5 @@ enum: - sfo3 - sgp1 - tor1 + - syd1 example: nyc3 diff --git a/packages/openapi-typescript/examples/github-api-export-type-immutable.ts b/packages/openapi-typescript/examples/github-api-export-type-immutable.ts index e0a3b0a55..b6e3efad2 100644 --- a/packages/openapi-typescript/examples/github-api-export-type-immutable.ts +++ b/packages/openapi-typescript/examples/github-api-export-type-immutable.ts @@ -453,7 +453,7 @@ export type paths = { * List accepted assignments for an assignment * @description Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. */ - readonly get: operations["classroom/list-accepted-assigments-for-an-assignment"]; + readonly get: operations["classroom/list-accepted-assignments-for-an-assignment"]; readonly put?: never; readonly post?: never; readonly delete?: never; @@ -612,7 +612,7 @@ export type paths = { /** * List all Copilot seat assignments for an enterprise * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. * @@ -643,7 +643,7 @@ export type paths = { /** * Get a summary of Copilot usage for enterprise members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, @@ -728,7 +728,7 @@ export type paths = { /** * Get a summary of Copilot usage for an enterprise team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -1609,10 +1609,10 @@ export type paths = { /** * Update an organization * @description > [!WARNING] - * > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). + * > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). * * > [!WARNING] - * > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). + * > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). * * Updates the organization's profile and member privileges. * @@ -1842,6 +1842,180 @@ export type paths = { readonly patch?: never; readonly trace?: never; }; + readonly "/orgs/{org}/actions/runner-groups": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * List self-hosted runner groups for an organization + * @description Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly get: operations["actions/list-self-hosted-runner-groups-for-org"]; + readonly put?: never; + /** + * Create a self-hosted runner group for an organization + * @description Creates a new self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly post: operations["actions/create-self-hosted-runner-group-for-org"]; + readonly delete?: never; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * Get a self-hosted runner group for an organization + * @description Gets a specific self-hosted runner group for an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly get: operations["actions/get-self-hosted-runner-group-for-org"]; + readonly put?: never; + readonly post?: never; + /** + * Delete a self-hosted runner group from an organization + * @description Deletes a self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly delete: operations["actions/delete-self-hosted-runner-group-from-org"]; + readonly options?: never; + readonly head?: never; + /** + * Update a self-hosted runner group for an organization + * @description Updates the `name` and `visibility` of a self-hosted runner group in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly patch: operations["actions/update-self-hosted-runner-group-for-org"]; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * List repository access to a self-hosted runner group in an organization + * @description Lists the repositories with access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly get: operations["actions/list-repo-access-to-self-hosted-runner-group-in-org"]; + /** + * Set repository access for a self-hosted runner group in an organization + * @description Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly put: operations["actions/set-repo-access-to-self-hosted-runner-group-in-org"]; + readonly post?: never; + readonly delete?: never; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + readonly get?: never; + /** + * Add repository access to a self-hosted runner group in an organization + * @description Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly put: operations["actions/add-repo-access-to-self-hosted-runner-group-in-org"]; + readonly post?: never; + /** + * Remove repository access to a self-hosted runner group in an organization + * @description Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly delete: operations["actions/remove-repo-access-to-self-hosted-runner-group-in-org"]; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * List self-hosted runners in a group for an organization + * @description Lists self-hosted runners that are in a specific organization group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly get: operations["actions/list-self-hosted-runners-in-group-for-org"]; + /** + * Set self-hosted runners in a group for an organization + * @description Replaces the list of self-hosted runners that are part of an organization runner group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly put: operations["actions/set-self-hosted-runners-in-group-for-org"]; + readonly post?: never; + readonly delete?: never; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + readonly get?: never; + /** + * Add a self-hosted runner to a group for an organization + * @description Adds a self-hosted runner to a runner group configured in an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly put: operations["actions/add-self-hosted-runner-to-group-for-org"]; + readonly post?: never; + /** + * Remove a self-hosted runner from a group for an organization + * @description Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly delete: operations["actions/remove-self-hosted-runner-from-group-for-org"]; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; readonly "/orgs/{org}/actions/runners": { readonly parameters: { readonly query?: never; @@ -2912,7 +3086,7 @@ export type paths = { /** * Get Copilot seat information and settings for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets information about an organization's Copilot subscription, including seat breakdown * and feature policies. To configure these settings, go to your organization's settings on GitHub.com. @@ -2941,7 +3115,7 @@ export type paths = { /** * List all Copilot seat assignments for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. * Only organization owners can view assigned seats. @@ -2969,7 +3143,7 @@ export type paths = { /** * Add teams to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for all users within each specified team. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -2988,7 +3162,7 @@ export type paths = { /** * Remove teams from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for all members of each team specified. * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3019,7 +3193,7 @@ export type paths = { /** * Add users to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for each user specified. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -3038,7 +3212,7 @@ export type paths = { /** * Remove users from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for each user specified. * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3067,7 +3241,7 @@ export type paths = { /** * Get a summary of Copilot usage for organization members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -3831,7 +4005,7 @@ export type paths = { /** * Get Copilot seat assignment details for a user * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. * @@ -5051,7 +5225,7 @@ export type paths = { /** * Get a summary of Copilot usage for a team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -5689,7 +5863,7 @@ export type paths = { * Enable or disable a security feature for an organization * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + * > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). * * Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -5949,7 +6123,7 @@ export type paths = { * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." * * > [!NOTE] - * > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + * > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. */ readonly get: operations["rate-limit/get"]; readonly put?: never; @@ -8355,7 +8529,7 @@ export type paths = { * and `0` is returned in this field. * * > [!WARNING] - * > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + * > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ @@ -8894,8 +9068,6 @@ export type paths = { * @description Gets your public key, which you need to encrypt secrets. You need to * encrypt a secret before you can create or update secrets. * - * Anyone with read access to the repository can use this endpoint. - * * If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ readonly get: operations["codespaces/get-repo-public-key"]; @@ -11038,7 +11210,7 @@ export type paths = { * @description View the progress of an import. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). * * **Import status** * @@ -11082,7 +11254,7 @@ export type paths = { * return a status `422 Unprocessable Entity` response. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly put: operations["migrations/start-import"]; readonly post?: never; @@ -11092,7 +11264,7 @@ export type paths = { * @description Stop an import for a repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly delete: operations["migrations/cancel-import"]; readonly options?: never; @@ -11108,7 +11280,7 @@ export type paths = { * You can select the project to import by providing one of the objects in the `project_choices` array in the update request. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly patch: operations["migrations/update-import"]; readonly trace?: never; @@ -11128,7 +11300,7 @@ export type paths = { * This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly get: operations["migrations/get-commit-authors"]; readonly put?: never; @@ -11159,7 +11331,7 @@ export type paths = { * new commits to the repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly patch: operations["migrations/map-commit-author"]; readonly trace?: never; @@ -11177,7 +11349,7 @@ export type paths = { * @description List files larger than 100MB found during the import * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly get: operations["migrations/get-large-files"]; readonly put?: never; @@ -11211,7 +11383,7 @@ export type paths = { * site](https://docs.github.com/repositories/working-with-files/managing-large-files). * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly patch: operations["migrations/set-lfs-preference"]; readonly trace?: never; @@ -11540,7 +11712,7 @@ export type paths = { readonly head?: never; /** * Update an issue - * @description Issue owners and users with push access can edit an issue. + * @description Issue owners and users with push access or Triage role can edit an issue. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -12638,7 +12810,7 @@ export type paths = { * * If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. * - * The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + * The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. * * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -12991,6 +13163,7 @@ export type paths = { /** * Update a pull request branch * @description Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + * Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. */ readonly put: operations["pulls/update-branch"]; readonly post?: never; @@ -13885,10 +14058,10 @@ export type paths = { readonly cookie?: never; }; /** - * Deprecated - List tag protection states for a repository + * Closing down - List tag protection states for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. * * This returns the tag protection states of a repository. * @@ -13897,10 +14070,10 @@ export type paths = { readonly get: operations["repos/list-tag-protection"]; readonly put?: never; /** - * Deprecated - Create a tag protection state for a repository + * Closing down - Create a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. * * This creates a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -13923,10 +14096,10 @@ export type paths = { readonly put?: never; readonly post?: never; /** - * Deprecated - Delete a tag protection state for a repository + * Closing down - Delete a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. * * This deletes a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -14428,7 +14601,7 @@ export type paths = { * Get a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. */ readonly get: operations["teams/get-legacy"]; readonly put?: never; @@ -14437,7 +14610,7 @@ export type paths = { * Delete a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. * * To delete a team, the authenticated user must be an organization owner or team maintainer. * @@ -14450,7 +14623,7 @@ export type paths = { * Update a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. * * To edit a team, the authenticated user must either be an organization owner or a team maintainer. * @@ -14471,7 +14644,7 @@ export type paths = { * List discussions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. * * List all discussions on a team's page. * @@ -14483,7 +14656,7 @@ export type paths = { * Create a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. * * Creates a new discussion post on a team's page. * @@ -14509,7 +14682,7 @@ export type paths = { * Get a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. * * Get a specific discussion on a team's page. * @@ -14522,7 +14695,7 @@ export type paths = { * Delete a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. * * Delete a discussion from a team's page. * @@ -14535,7 +14708,7 @@ export type paths = { * Update a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. * * Edits the title and body text of a discussion post. Only the parameters you provide are updated. * @@ -14555,7 +14728,7 @@ export type paths = { * List discussion comments (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. * * List all comments on a team discussion. * @@ -14567,7 +14740,7 @@ export type paths = { * Create a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. * * Creates a new comment on a team discussion. * @@ -14593,7 +14766,7 @@ export type paths = { * Get a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. * * Get a specific comment on a team discussion. * @@ -14606,7 +14779,7 @@ export type paths = { * Delete a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. * * Deletes a comment on a team discussion. * @@ -14619,7 +14792,7 @@ export type paths = { * Update a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. * * Edits the body text of a discussion comment. * @@ -14639,7 +14812,7 @@ export type paths = { * List reactions for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. * * List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14651,7 +14824,7 @@ export type paths = { * Create reaction for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. * * Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14677,7 +14850,7 @@ export type paths = { * List reactions for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. * * List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14689,7 +14862,7 @@ export type paths = { * Create reaction for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. * * Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14715,7 +14888,7 @@ export type paths = { * List pending team invitations (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. * * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ @@ -14739,7 +14912,7 @@ export type paths = { * List team members (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. * * Team members will include the members of child teams. */ @@ -14762,7 +14935,7 @@ export type paths = { /** * Get team member (Legacy) * @deprecated - * @description The "Get team member" endpoint (described below) is deprecated. + * @description The "Get team member" endpoint (described below) is closing down. * * We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. * @@ -14772,7 +14945,7 @@ export type paths = { /** * Add team member (Legacy) * @deprecated - * @description The "Add team member" endpoint (described below) is deprecated. + * @description The "Add team member" endpoint (described below) is closing down. * * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. * @@ -14790,7 +14963,7 @@ export type paths = { /** * Remove team member (Legacy) * @deprecated - * @description The "Remove team member" endpoint (described below) is deprecated. + * @description The "Remove team member" endpoint (described below) is closing down. * * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. * @@ -14818,7 +14991,7 @@ export type paths = { * Get team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. * * Team members will include the members of child teams. * @@ -14834,7 +15007,7 @@ export type paths = { * Add or update team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14853,7 +15026,7 @@ export type paths = { * Remove team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14879,7 +15052,7 @@ export type paths = { * List team projects (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. * * Lists the organization projects for a team. */ @@ -14903,7 +15076,7 @@ export type paths = { * Check team permissions for a project (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. * * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. */ @@ -14912,7 +15085,7 @@ export type paths = { * Add or update team project permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. * * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. */ @@ -14922,7 +15095,7 @@ export type paths = { * Remove a project from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. * * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. */ @@ -14943,7 +15116,7 @@ export type paths = { * List team repositories (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. */ readonly get: operations["teams/list-repos-legacy"]; readonly put?: never; @@ -14965,7 +15138,7 @@ export type paths = { * Check team permissions for a repository (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. * * > [!NOTE] * > Repositories inherited through a parent team will also be checked. @@ -14977,7 +15150,7 @@ export type paths = { * Add or update team repository permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. * * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. * @@ -14989,7 +15162,7 @@ export type paths = { * Remove a repository from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. * * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. */ @@ -15010,7 +15183,7 @@ export type paths = { * List child teams (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. */ readonly get: operations["teams/list-child-legacy"]; readonly put?: never; @@ -16652,7 +16825,7 @@ export type paths = { }; /** * List events for the authenticated user - * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). * * > [!NOTE] * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -17516,6 +17689,8 @@ export type components = { readonly site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ readonly starred_at?: string; + /** @example public */ + readonly user_view_type?: string; }; /** * @description The type of credit the user is receiving. @@ -17710,6 +17885,8 @@ export type components = { readonly site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ readonly starred_at?: string; + /** @example public */ + readonly user_view_type?: string; } | null; /** * GitHub app @@ -18227,7 +18404,7 @@ export type components = { */ readonly organization_custom_properties?: "read" | "write" | "admin"; /** - * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in beta and is subject to change. + * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change. * @enum {string} */ readonly organization_copilot_seat_management?: "write"; @@ -18262,7 +18439,7 @@ export type components = { */ readonly organization_plan?: "read"; /** - * @description The level of permission to grant the access token to manage organization projects and projects beta (where available). + * @description The level of permission to grant the access token to manage organization projects and projects public preview (where available). * @enum {string} */ readonly organization_projects?: "read" | "write" | "admin"; @@ -18706,7 +18883,7 @@ export type components = { readonly allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -19290,7 +19467,7 @@ export type components = { * Organization Simple * @description A GitHub organization. */ - readonly "organization-simple": { + readonly "nullable-organization-simple": { /** @example github */ readonly login: string; /** @example 1 */ @@ -19324,7 +19501,7 @@ export type components = { readonly avatar_url: string; /** @example A great organization */ readonly description: string | null; - }; + } | null; /** * Team Simple * @description Groups of organization members that gives permissions on specified repositories. @@ -19451,12 +19628,8 @@ export type components = { * @description Information about a Copilot Business seat assignment for a user, team, or organization. */ readonly "copilot-seat-details": { - /** @description The assignee that has been granted access to GitHub Copilot. */ - readonly assignee: { - readonly [key: string]: unknown; - } & components["schemas"]["simple-user"]; - /** @description The organization to which this seat belongs. */ - readonly organization?: components["schemas"]["organization-simple"] | null; + readonly assignee: components["schemas"]["simple-user"]; + readonly organization?: components["schemas"]["nullable-organization-simple"]; /** @description The team through which the assignee is granted access to GitHub Copilot, if applicable. */ readonly assigning_team?: (components["schemas"]["team"] | components["schemas"]["enterprise-team"]) | null; /** @@ -19481,6 +19654,11 @@ export type components = { * @description Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. */ readonly updated_at?: string; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + readonly plan_type?: "business" | "enterprise" | "unknown"; }; /** * Copilot Usage Metrics @@ -19991,6 +20169,10 @@ export type components = { * @enum {string} */ readonly validity?: "active" | "inactive" | "unknown"; + /** @description Whether the secret was publicly leaked. */ + readonly publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or enterprise. */ + readonly multi_repo?: boolean | null; }; /** * Actor @@ -20463,6 +20645,11 @@ export type components = { readonly login: string; /** Format: int64 */ readonly id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + readonly user_view_type: "public"; readonly node_id: string; /** Format: uri */ readonly avatar_url: string; @@ -20512,8 +20699,6 @@ export type components = { readonly space: number; readonly private_repos: number; }; - /** Format: date-time */ - readonly suspended_at?: string | null; /** @example 1 */ readonly private_gists?: number; /** @example 2 */ @@ -20988,6 +21173,10 @@ export type components = { /** @enum {string} */ readonly status?: "enabled" | "disabled"; }; + readonly secret_scanning_ai_detection?: { + /** @enum {string} */ + readonly status?: "enabled" | "disabled"; + }; } | null; /** * Minimal Repository @@ -21254,6 +21443,45 @@ export type components = { */ readonly repository_url?: string; }; + /** + * Organization Simple + * @description A GitHub organization. + */ + readonly "organization-simple": { + /** @example github */ + readonly login: string; + /** @example 1 */ + readonly id: number; + /** @example MDEyOk9yZ2FuaXphdGlvbjE= */ + readonly node_id: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github + */ + readonly url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/repos + */ + readonly repos_url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/events + */ + readonly events_url: string; + /** @example https://api.github.com/orgs/github/hooks */ + readonly hooks_url: string; + /** @example https://api.github.com/orgs/github/issues */ + readonly issues_url: string; + /** @example https://api.github.com/orgs/github/members{/member} */ + readonly members_url: string; + /** @example https://api.github.com/orgs/github/public_members{/member} */ + readonly public_members_url: string; + /** @example https://github.com/images/error/octocat_happy.gif */ + readonly avatar_url: string; + /** @example A great organization */ + readonly description: string | null; + }; /** * Organization Full * @description Organization Full @@ -21339,7 +21567,12 @@ export type components = { readonly private_gists?: number | null; /** @example 10000 */ readonly disk_usage?: number | null; - /** @example 8 */ + /** + * @description The number of collaborators on private repositories. + * + * This field may be null if the number of private repositories is over 50,000. + * @example 8 + */ readonly collaborators?: number | null; /** * Format: email @@ -21378,7 +21611,7 @@ export type components = { readonly web_commit_signoff_required?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. * @@ -21388,7 +21621,7 @@ export type components = { readonly advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21398,7 +21631,7 @@ export type components = { readonly dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21408,7 +21641,7 @@ export type components = { readonly dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21418,7 +21651,7 @@ export type components = { readonly dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21428,7 +21661,7 @@ export type components = { readonly secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21541,6 +21774,31 @@ export type components = { readonly default_workflow_permissions?: components["schemas"]["actions-default-workflow-permissions"]; readonly can_approve_pull_request_reviews?: components["schemas"]["actions-can-approve-pull-request-reviews"]; }; + readonly "runner-groups-org": { + readonly id: number; + readonly name: string; + readonly visibility: string; + readonly default: boolean; + /** @description Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` */ + readonly selected_repositories_url?: string; + readonly runners_url: string; + readonly hosted_runners_url?: string; + readonly inherited: boolean; + readonly inherited_allows_public_repositories?: boolean; + readonly allows_public_repositories: boolean; + /** + * @description If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified. + * @default false + */ + readonly workflow_restrictions_read_only: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + readonly restricted_to_workflows: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + readonly selected_workflows?: readonly string[]; + }; /** * Self hosted runner label * @description A label for a self hosted runner @@ -21850,7 +22108,7 @@ export type components = { * @description The type of the code security configuration. * @enum {string} */ - readonly target_type?: "global" | "organization"; + readonly target_type?: "global" | "organization" | "enterprise"; /** @description A description of the code security configuration */ readonly description?: string; /** @@ -21898,6 +22156,24 @@ export type components = { * @enum {string} */ readonly secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + readonly secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + readonly secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + readonly reviewers?: readonly { + /** @description The ID of the team or role selected as a bypass reviewer */ + readonly reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + readonly reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -22225,8 +22501,8 @@ export type components = { readonly inactive_this_cycle?: number; }; /** - * Copilot Business Organization Details - * @description Information about the seat breakdown and policies set for an organization with a Copilot Business subscription. + * Copilot Organization Details + * @description Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription. */ readonly "copilot-organization-details": { readonly seat_breakdown: components["schemas"]["copilot-seat-breakdown"]; @@ -22255,6 +22531,11 @@ export type components = { * @enum {string} */ readonly seat_management_setting: "assign_all" | "assign_selected" | "disabled" | "unconfigured"; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + readonly plan_type?: "business" | "enterprise" | "unknown"; } & { readonly [key: string]: unknown; }; @@ -22933,6 +23214,8 @@ export type components = { readonly site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ readonly starred_at?: string; + /** @example public */ + readonly user_view_type?: string; }; /** * Package Version @@ -23485,7 +23768,7 @@ export type components = { readonly allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -23893,7 +24176,8 @@ export type components = { */ readonly actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey"; /** - * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets. + * @default always * @enum {string} */ readonly bypass_mode: "always" | "pull_request"; @@ -23963,7 +24247,9 @@ export type components = { }; /** * Organization ruleset conditions - * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * @description Conditions for an organization ruleset. + * The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + * The push rulesets conditions object does not require the `ref_name` property. */ readonly "org-ruleset-conditions": (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-name-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-id-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-property-target"]); /** @@ -24351,7 +24637,7 @@ export type components = { readonly html?: { /** @description The html URL of the ruleset */ readonly href?: string; - }; + } | null; }; readonly conditions?: (components["schemas"]["repository-ruleset-conditions"] | components["schemas"]["org-ruleset-conditions"]) | null; readonly rules?: readonly components["schemas"]["repository-rule"][]; @@ -26462,6 +26748,7 @@ export type components = { readonly received_events_url?: string; readonly type?: string; readonly site_admin?: boolean; + readonly user_view_type?: string; }[]; readonly teams: readonly { readonly id?: number; @@ -26517,6 +26804,8 @@ export type components = { readonly type?: string; /** @example false */ readonly site_admin?: boolean; + /** @example public */ + readonly user_view_type?: string; }; readonly name?: string; readonly client_id?: string; @@ -27687,6 +27976,8 @@ export type components = { }; /** @example admin */ readonly role_name: string; + /** @example public */ + readonly user_view_type?: string; }; /** * Repository Invitation @@ -27802,6 +28093,8 @@ export type components = { }; /** @example admin */ readonly role_name: string; + /** @example public */ + readonly user_view_type?: string; } | null; /** * Repository Collaborator Permission @@ -28175,6 +28468,7 @@ export type components = { readonly name: string; readonly path: string; readonly sha: string; + readonly content?: string; /** Format: uri */ readonly url: string; /** Format: uri */ @@ -28188,7 +28482,6 @@ export type components = { readonly size: number; readonly name: string; readonly path: string; - readonly content?: string; readonly sha: string; /** Format: uri */ readonly url: string; @@ -28250,7 +28543,10 @@ export type components = { * @description Content File */ readonly "content-file": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ readonly type: "file"; readonly encoding: string; readonly size: number; @@ -28284,7 +28580,10 @@ export type components = { * @description An object describing a symlink */ readonly "content-symlink": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ readonly type: "symlink"; readonly target: string; readonly size: number; @@ -28313,7 +28612,10 @@ export type components = { * @description An object describing a submodule */ readonly "content-submodule": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ readonly type: "submodule"; /** Format: uri */ readonly submodule_git_url: string; @@ -28442,6 +28744,7 @@ export type components = { readonly contributions: number; readonly email?: string; readonly name?: string; + readonly user_view_type?: string; }; /** @description A Dependabot alert. */ readonly "dependabot-alert": { @@ -28797,7 +29100,7 @@ export type components = { readonly environment: string; /** * Format: uri - * @description Deprecated: the URL to associate with this status. + * @description Closing down notice: the URL to associate with this status. * @default * @example https://example.com/deployment/42/output */ @@ -30159,12 +30462,12 @@ export type components = { */ readonly path: string; /** - * @description The line index in the diff to which the comment applies. This field is deprecated; use `line` instead. + * @description The line index in the diff to which the comment applies. This field is closing down; use `line` instead. * @example 1 */ readonly position?: number; /** - * @description The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead. + * @description The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead. * @example 4 */ readonly original_position?: number; @@ -30824,361 +31127,16 @@ export type components = { readonly head: { readonly label: string; readonly ref: string; - readonly repo: { - readonly archive_url: string; - readonly assignees_url: string; - readonly blobs_url: string; - readonly branches_url: string; - readonly collaborators_url: string; - readonly comments_url: string; - readonly commits_url: string; - readonly compare_url: string; - readonly contents_url: string; - /** Format: uri */ - readonly contributors_url: string; - /** Format: uri */ - readonly deployments_url: string; - readonly description: string | null; - /** Format: uri */ - readonly downloads_url: string; - /** Format: uri */ - readonly events_url: string; - readonly fork: boolean; - /** Format: uri */ - readonly forks_url: string; - readonly full_name: string; - readonly git_commits_url: string; - readonly git_refs_url: string; - readonly git_tags_url: string; - /** Format: uri */ - readonly hooks_url: string; - /** Format: uri */ - readonly html_url: string; - readonly id: number; - readonly node_id: string; - readonly issue_comment_url: string; - readonly issue_events_url: string; - readonly issues_url: string; - readonly keys_url: string; - readonly labels_url: string; - /** Format: uri */ - readonly languages_url: string; - /** Format: uri */ - readonly merges_url: string; - readonly milestones_url: string; - readonly name: string; - readonly notifications_url: string; - readonly owner: { - /** Format: uri */ - readonly avatar_url: string; - readonly events_url: string; - /** Format: uri */ - readonly followers_url: string; - readonly following_url: string; - readonly gists_url: string; - readonly gravatar_id: string | null; - /** Format: uri */ - readonly html_url: string; - readonly id: number; - readonly node_id: string; - readonly login: string; - /** Format: uri */ - readonly organizations_url: string; - /** Format: uri */ - readonly received_events_url: string; - /** Format: uri */ - readonly repos_url: string; - readonly site_admin: boolean; - readonly starred_url: string; - /** Format: uri */ - readonly subscriptions_url: string; - readonly type: string; - /** Format: uri */ - readonly url: string; - }; - readonly private: boolean; - readonly pulls_url: string; - readonly releases_url: string; - /** Format: uri */ - readonly stargazers_url: string; - readonly statuses_url: string; - /** Format: uri */ - readonly subscribers_url: string; - /** Format: uri */ - readonly subscription_url: string; - /** Format: uri */ - readonly tags_url: string; - /** Format: uri */ - readonly teams_url: string; - readonly trees_url: string; - /** Format: uri */ - readonly url: string; - readonly clone_url: string; - readonly default_branch: string; - readonly forks: number; - readonly forks_count: number; - readonly git_url: string; - readonly has_downloads: boolean; - readonly has_issues: boolean; - readonly has_projects: boolean; - readonly has_wiki: boolean; - readonly has_pages: boolean; - readonly has_discussions: boolean; - /** Format: uri */ - readonly homepage: string | null; - readonly language: string | null; - readonly master_branch?: string; - readonly archived: boolean; - readonly disabled: boolean; - /** @description The repository visibility: public, private, or internal. */ - readonly visibility?: string; - /** Format: uri */ - readonly mirror_url: string | null; - readonly open_issues: number; - readonly open_issues_count: number; - readonly permissions?: { - readonly admin: boolean; - readonly maintain?: boolean; - readonly push: boolean; - readonly triage?: boolean; - readonly pull: boolean; - }; - readonly temp_clone_token?: string; - readonly allow_merge_commit?: boolean; - readonly allow_squash_merge?: boolean; - readonly allow_rebase_merge?: boolean; - readonly license: { - readonly key: string; - readonly name: string; - /** Format: uri */ - readonly url: string | null; - readonly spdx_id: string | null; - readonly node_id: string; - } | null; - /** Format: date-time */ - readonly pushed_at: string; - readonly size: number; - readonly ssh_url: string; - readonly stargazers_count: number; - /** Format: uri */ - readonly svn_url: string; - readonly topics?: readonly string[]; - readonly watchers: number; - readonly watchers_count: number; - /** Format: date-time */ - readonly created_at: string; - /** Format: date-time */ - readonly updated_at: string; - readonly allow_forking?: boolean; - readonly is_template?: boolean; - readonly web_commit_signoff_required?: boolean; - } | null; + readonly repo: components["schemas"]["repository"]; readonly sha: string; - readonly user: { - /** Format: uri */ - readonly avatar_url: string; - readonly events_url: string; - /** Format: uri */ - readonly followers_url: string; - readonly following_url: string; - readonly gists_url: string; - readonly gravatar_id: string | null; - /** Format: uri */ - readonly html_url: string; - /** Format: int64 */ - readonly id: number; - readonly node_id: string; - readonly login: string; - /** Format: uri */ - readonly organizations_url: string; - /** Format: uri */ - readonly received_events_url: string; - /** Format: uri */ - readonly repos_url: string; - readonly site_admin: boolean; - readonly starred_url: string; - /** Format: uri */ - readonly subscriptions_url: string; - readonly type: string; - /** Format: uri */ - readonly url: string; - }; + readonly user: components["schemas"]["simple-user"]; }; readonly base: { readonly label: string; readonly ref: string; - readonly repo: { - readonly archive_url: string; - readonly assignees_url: string; - readonly blobs_url: string; - readonly branches_url: string; - readonly collaborators_url: string; - readonly comments_url: string; - readonly commits_url: string; - readonly compare_url: string; - readonly contents_url: string; - /** Format: uri */ - readonly contributors_url: string; - /** Format: uri */ - readonly deployments_url: string; - readonly description: string | null; - /** Format: uri */ - readonly downloads_url: string; - /** Format: uri */ - readonly events_url: string; - readonly fork: boolean; - /** Format: uri */ - readonly forks_url: string; - readonly full_name: string; - readonly git_commits_url: string; - readonly git_refs_url: string; - readonly git_tags_url: string; - /** Format: uri */ - readonly hooks_url: string; - /** Format: uri */ - readonly html_url: string; - readonly id: number; - readonly is_template?: boolean; - readonly node_id: string; - readonly issue_comment_url: string; - readonly issue_events_url: string; - readonly issues_url: string; - readonly keys_url: string; - readonly labels_url: string; - /** Format: uri */ - readonly languages_url: string; - /** Format: uri */ - readonly merges_url: string; - readonly milestones_url: string; - readonly name: string; - readonly notifications_url: string; - readonly owner: { - /** Format: uri */ - readonly avatar_url: string; - readonly events_url: string; - /** Format: uri */ - readonly followers_url: string; - readonly following_url: string; - readonly gists_url: string; - readonly gravatar_id: string | null; - /** Format: uri */ - readonly html_url: string; - readonly id: number; - readonly node_id: string; - readonly login: string; - /** Format: uri */ - readonly organizations_url: string; - /** Format: uri */ - readonly received_events_url: string; - /** Format: uri */ - readonly repos_url: string; - readonly site_admin: boolean; - readonly starred_url: string; - /** Format: uri */ - readonly subscriptions_url: string; - readonly type: string; - /** Format: uri */ - readonly url: string; - }; - readonly private: boolean; - readonly pulls_url: string; - readonly releases_url: string; - /** Format: uri */ - readonly stargazers_url: string; - readonly statuses_url: string; - /** Format: uri */ - readonly subscribers_url: string; - /** Format: uri */ - readonly subscription_url: string; - /** Format: uri */ - readonly tags_url: string; - /** Format: uri */ - readonly teams_url: string; - readonly trees_url: string; - /** Format: uri */ - readonly url: string; - readonly clone_url: string; - readonly default_branch: string; - readonly forks: number; - readonly forks_count: number; - readonly git_url: string; - readonly has_downloads: boolean; - readonly has_issues: boolean; - readonly has_projects: boolean; - readonly has_wiki: boolean; - readonly has_pages: boolean; - readonly has_discussions: boolean; - /** Format: uri */ - readonly homepage: string | null; - readonly language: string | null; - readonly master_branch?: string; - readonly archived: boolean; - readonly disabled: boolean; - /** @description The repository visibility: public, private, or internal. */ - readonly visibility?: string; - /** Format: uri */ - readonly mirror_url: string | null; - readonly open_issues: number; - readonly open_issues_count: number; - readonly permissions?: { - readonly admin: boolean; - readonly maintain?: boolean; - readonly push: boolean; - readonly triage?: boolean; - readonly pull: boolean; - }; - readonly temp_clone_token?: string; - readonly allow_merge_commit?: boolean; - readonly allow_squash_merge?: boolean; - readonly allow_rebase_merge?: boolean; - readonly license: components["schemas"]["nullable-license-simple"]; - /** Format: date-time */ - readonly pushed_at: string; - readonly size: number; - readonly ssh_url: string; - readonly stargazers_count: number; - /** Format: uri */ - readonly svn_url: string; - readonly topics?: readonly string[]; - readonly watchers: number; - readonly watchers_count: number; - /** Format: date-time */ - readonly created_at: string; - /** Format: date-time */ - readonly updated_at: string; - readonly allow_forking?: boolean; - readonly web_commit_signoff_required?: boolean; - }; + readonly repo: components["schemas"]["repository"]; readonly sha: string; - readonly user: { - /** Format: uri */ - readonly avatar_url: string; - readonly events_url: string; - /** Format: uri */ - readonly followers_url: string; - readonly following_url: string; - readonly gists_url: string; - readonly gravatar_id: string | null; - /** Format: uri */ - readonly html_url: string; - /** Format: int64 */ - readonly id: number; - readonly node_id: string; - readonly login: string; - /** Format: uri */ - readonly organizations_url: string; - /** Format: uri */ - readonly received_events_url: string; - /** Format: uri */ - readonly repos_url: string; - readonly site_admin: boolean; - readonly starred_url: string; - /** Format: uri */ - readonly subscriptions_url: string; - readonly type: string; - /** Format: uri */ - readonly url: string; - }; + readonly user: components["schemas"]["simple-user"]; }; readonly _links: { readonly comments: components["schemas"]["link"]; @@ -31552,6 +31510,10 @@ export type components = { * @enum {string} */ readonly validity?: "active" | "inactive" | "unknown"; + /** @description Whether the detected secret was publicly leaked. */ + readonly publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories under the same organization or enterprise. */ + readonly multi_repo?: boolean | null; }; /** @description An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. */ readonly "secret-scanning-alert-resolution-comment": string | null; @@ -32446,6 +32408,7 @@ export type components = { readonly company?: string | null; /** Format: date-time */ readonly suspended_at?: string | null; + readonly user_view_type?: string; }; /** * Private User @@ -32459,6 +32422,11 @@ export type components = { * @example 1 */ readonly id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + readonly user_view_type: "private"; /** @example MDQ6VXNlcjE= */ readonly node_id: string; /** @@ -32573,8 +32541,6 @@ export type components = { readonly space: number; readonly private_repos: number; }; - /** Format: date-time */ - readonly suspended_at?: string | null; readonly business_plus?: boolean; readonly ldap_dn?: string; }; @@ -33614,7 +33580,7 @@ export type components = { readonly allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -33675,75 +33641,6 @@ export type components = { /** @description Whether anonymous git access is enabled for this repository */ readonly anonymous_access_enabled?: boolean; }; - /** - * Simple User - * @description The GitHub user that triggered the event. This property is included in every webhook payload. - */ - readonly "simple-user-webhooks": { - readonly name?: string | null; - readonly email?: string | null; - /** @example octocat */ - readonly login: string; - /** @example 1 */ - readonly id: number; - /** @example MDQ6VXNlcjE= */ - readonly node_id: string; - /** - * Format: uri - * @example https://github.com/images/error/octocat_happy.gif - */ - readonly avatar_url: string; - /** @example 41d064eb2195891e12d0413f63227ea7 */ - readonly gravatar_id: string | null; - /** - * Format: uri - * @example https://api.github.com/users/octocat - */ - readonly url: string; - /** - * Format: uri - * @example https://github.com/octocat - */ - readonly html_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/followers - */ - readonly followers_url: string; - /** @example https://api.github.com/users/octocat/following{/other_user} */ - readonly following_url: string; - /** @example https://api.github.com/users/octocat/gists{/gist_id} */ - readonly gists_url: string; - /** @example https://api.github.com/users/octocat/starred{/owner}{/repo} */ - readonly starred_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/subscriptions - */ - readonly subscriptions_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/orgs - */ - readonly organizations_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/repos - */ - readonly repos_url: string; - /** @example https://api.github.com/users/octocat/events{/privacy} */ - readonly events_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/received_events - */ - readonly received_events_url: string; - /** @example User */ - readonly type: string; - readonly site_admin: boolean; - /** @example "2020-07-09T00:17:55Z" */ - readonly starred_at?: string; - }; /** * branch protection rule * @description The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings. @@ -33954,6 +33851,7 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly webhooks_reviewers: readonly { /** User */ @@ -34043,6 +33941,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly webhooks_answer: { /** @@ -34114,6 +34013,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -34159,6 +34059,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly answer_html_url: string | null; /** @@ -34258,6 +34159,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly labels?: readonly components["schemas"]["label"][]; }; @@ -34329,6 +34231,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Label */ @@ -34458,6 +34361,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @description The changes to the comment. */ @@ -34510,6 +34414,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -34546,6 +34451,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -34633,6 +34539,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -34715,6 +34622,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -34876,6 +34784,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -34924,6 +34833,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -34992,6 +34902,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -35028,6 +34939,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -35115,6 +35027,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -35197,6 +35110,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -35358,6 +35272,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** User */ @@ -35396,6 +35311,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Marketplace Purchase */ readonly webhooks_marketplace_purchase: { @@ -35975,7 +35891,7 @@ export type components = { readonly allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -36082,6 +35998,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -36155,6 +36072,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -36276,6 +36194,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The project card's ID */ readonly id: number; @@ -36332,6 +36251,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: uri */ readonly html_url: string; @@ -36551,7 +36471,7 @@ export type components = { */ readonly squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.** * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -36639,6 +36559,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -36727,6 +36648,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -36950,6 +36872,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -37059,6 +36982,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -37294,6 +37218,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -37403,6 +37328,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -37470,6 +37396,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -37517,6 +37444,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -37740,6 +37668,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -37886,6 +37815,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @description The review that was affected. */ @@ -37959,6 +37889,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly webhooks_nullable_string: string | null; @@ -38065,6 +37996,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body: string | null; /** Format: date-time */ @@ -38212,6 +38144,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body: string | null; /** Format: date-time */ @@ -38361,6 +38294,10 @@ export type components = { * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ readonly push_protection_bypassed_at?: string | null; + /** @description Whether the detected secret was publicly leaked. */ + readonly publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or business. */ + readonly multi_repo?: boolean | null; }; /** @description The details of the security advisory, including summary, description, and severity. */ readonly webhooks_security_advisory: { @@ -38421,6 +38358,7 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly node_id: string; readonly privacy_level: string; @@ -38460,6 +38398,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** User */ readonly sponsorable: { @@ -38497,6 +38436,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Sponsorship Tier @@ -38608,7 +38548,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** branch protection configuration enabled event */ readonly "webhook-branch-protection-configuration-enabled": { @@ -38618,7 +38558,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** branch protection rule created event */ readonly "webhook-branch-protection-rule-created": { @@ -38629,7 +38569,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly rule: components["schemas"]["webhooks_rule"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** branch protection rule deleted event */ readonly "webhook-branch-protection-rule-deleted": { @@ -38640,7 +38580,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly rule: components["schemas"]["webhooks_rule"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** branch protection rule edited event */ readonly "webhook-branch-protection-rule-edited": { @@ -38691,7 +38631,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly rule: components["schemas"]["webhooks_rule"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Check Run Completed Event */ readonly "webhook-check-run-completed": { @@ -38701,7 +38641,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * Check Run Completed Event @@ -38719,7 +38659,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * Check Run Created Event @@ -38742,7 +38682,7 @@ export type components = { /** @description The integrator reference of the action requested by the user. */ readonly identifier?: string; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * Check Run Requested Action Event @@ -38760,7 +38700,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * Check Run Re-Requested Event @@ -38834,6 +38774,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -39011,7 +38952,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** check_suite requested event */ readonly "webhook-check-suite-requested": { @@ -39077,6 +39018,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -39254,7 +39196,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** check_suite rerequested event */ readonly "webhook-check-suite-rerequested": { @@ -39320,6 +39262,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -39497,7 +39440,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert appeared_in_branch event */ readonly "webhook-code-scanning-alert-appeared-in-branch": { @@ -39551,6 +39494,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39623,7 +39567,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert closed_by_user event */ readonly "webhook-code-scanning-alert-closed-by-user": { @@ -39677,6 +39621,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39756,7 +39701,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert created event */ readonly "webhook-code-scanning-alert-created": { @@ -39851,7 +39796,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert fixed event */ readonly "webhook-code-scanning-alert-fixed": { @@ -39905,6 +39850,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39986,7 +39932,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened event */ readonly "webhook-code-scanning-alert-reopened": { @@ -40001,7 +39947,7 @@ export type components = { readonly created_at: string; /** @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ readonly dismissed_at: string | null; - readonly dismissed_by: Record; + readonly 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`. */ readonly dismissed_reason: string | null; /** @@ -40079,7 +40025,7 @@ export type components = { /** @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. */ readonly ref: string | null; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened_by_user event */ readonly "webhook-code-scanning-alert-reopened-by-user": { @@ -40163,7 +40109,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** commit_comment created event */ readonly "webhook-commit-comment-created": { @@ -40172,7 +40118,7 @@ export type components = { * @enum {string} */ readonly action: "created"; - /** @description The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. */ + /** @description The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. */ readonly comment: { /** * AuthorAssociation @@ -40251,13 +40197,14 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** create event */ readonly "webhook-create": { @@ -40276,7 +40223,7 @@ export type components = { */ readonly ref_type: "tag" | "branch"; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** custom property created event */ readonly "webhook-custom-property-created": { @@ -40286,7 +40233,7 @@ export type components = { readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** custom property deleted event */ readonly "webhook-custom-property-deleted": { @@ -40299,7 +40246,7 @@ export type components = { readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** custom property updated event */ readonly "webhook-custom-property-updated": { @@ -40309,7 +40256,7 @@ export type components = { readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** Custom property values updated event */ readonly "webhook-custom-property-values-updated": { @@ -40319,7 +40266,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; /** @description The new custom property values for the repository. */ readonly new_property_values: readonly components["schemas"]["custom-property-value"][]; /** @description The old custom property values for the repository. */ @@ -40338,7 +40285,7 @@ export type components = { */ readonly ref_type: "tag" | "branch"; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-dismissed event */ readonly "webhook-dependabot-alert-auto-dismissed": { @@ -40349,7 +40296,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-reopened event */ readonly "webhook-dependabot-alert-auto-reopened": { @@ -40360,7 +40307,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert created event */ readonly "webhook-dependabot-alert-created": { @@ -40371,7 +40318,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert dismissed event */ readonly "webhook-dependabot-alert-dismissed": { @@ -40382,7 +40329,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert fixed event */ readonly "webhook-dependabot-alert-fixed": { @@ -40393,7 +40340,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reintroduced event */ readonly "webhook-dependabot-alert-reintroduced": { @@ -40404,7 +40351,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reopened event */ readonly "webhook-dependabot-alert-reopened": { @@ -40415,7 +40362,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** deploy_key created event */ readonly "webhook-deploy-key-created": { @@ -40426,7 +40373,7 @@ export type components = { readonly key: components["schemas"]["webhooks_deploy_key"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** deploy_key deleted event */ readonly "webhook-deploy-key-deleted": { @@ -40437,7 +40384,7 @@ export type components = { readonly key: components["schemas"]["webhooks_deploy_key"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** deployment created event */ readonly "webhook-deployment-created": { @@ -40485,6 +40432,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; readonly environment: string; @@ -40547,6 +40495,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -40643,7 +40592,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ readonly workflow_run: { @@ -40683,6 +40632,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -40917,6 +40867,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -40944,7 +40895,7 @@ export type components = { readonly repository?: components["schemas"]["repository-webhooks"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; readonly "webhook-deployment-review-approved": { /** @enum {string} */ @@ -40956,7 +40907,7 @@ export type components = { readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly reviewers?: components["schemas"]["webhooks_reviewers"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly since: string; readonly workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; readonly workflow_job_runs?: readonly { @@ -41007,6 +40958,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -41020,7 +40972,7 @@ export type components = { readonly display_title: string; readonly event: string; readonly head_branch: string; - readonly head_commit?: Record; + readonly head_commit?: Record | null; readonly head_repository?: { readonly archive_url?: string; readonly assignees_url?: string; @@ -41075,6 +41027,7 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41185,6 +41138,7 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41241,6 +41195,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -41260,7 +41215,7 @@ export type components = { readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly reviewers?: components["schemas"]["webhooks_reviewers"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly since: string; readonly workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; readonly workflow_job_runs?: readonly { @@ -41311,6 +41266,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -41323,7 +41279,7 @@ export type components = { readonly created_at: string; readonly event: string; readonly head_branch: string; - readonly head_commit?: Record; + readonly head_commit?: Record | null; readonly head_repository?: { readonly archive_url?: string; readonly assignees_url?: string; @@ -41378,6 +41334,7 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41488,6 +41445,7 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41544,6 +41502,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -41600,11 +41559,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @enum {string} */ readonly type?: "User" | "Team"; }[]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly since: string; readonly workflow_job_run: { readonly conclusion: unknown; @@ -41654,6 +41614,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -41666,7 +41627,7 @@ export type components = { readonly created_at: string; readonly event: string; readonly head_branch: string; - readonly head_commit?: Record; + readonly head_commit?: Record | null; readonly head_repository?: { readonly archive_url?: string; readonly assignees_url?: string; @@ -41721,6 +41682,7 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41831,6 +41793,7 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41887,6 +41850,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -41973,6 +41937,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; readonly environment: string; @@ -42035,6 +42000,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -42166,6 +42132,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: uri */ readonly deployment_url: string; @@ -42233,6 +42200,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -42326,7 +42294,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow?: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ readonly workflow_run?: { @@ -42366,6 +42334,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -42600,6 +42569,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -42619,7 +42589,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion category changed event */ readonly "webhook-discussion-category-changed": { @@ -42647,7 +42617,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion closed event */ readonly "webhook-discussion-closed": { @@ -42658,7 +42628,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion_comment created event */ readonly "webhook-discussion-comment-created": { @@ -42670,7 +42640,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion_comment deleted event */ readonly "webhook-discussion-comment-deleted": { @@ -42682,7 +42652,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion_comment edited event */ readonly "webhook-discussion-comment-edited": { @@ -42699,7 +42669,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion created event */ readonly "webhook-discussion-created": { @@ -42710,7 +42680,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion deleted event */ readonly "webhook-discussion-deleted": { @@ -42721,7 +42691,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion edited event */ readonly "webhook-discussion-edited": { @@ -42740,7 +42710,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion labeled event */ readonly "webhook-discussion-labeled": { @@ -42752,7 +42722,7 @@ export type components = { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion locked event */ readonly "webhook-discussion-locked": { @@ -42763,7 +42733,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion pinned event */ readonly "webhook-discussion-pinned": { @@ -42774,7 +42744,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion reopened event */ readonly "webhook-discussion-reopened": { @@ -42785,7 +42755,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion transferred event */ readonly "webhook-discussion-transferred": { @@ -42800,7 +42770,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion unanswered event */ readonly "webhook-discussion-unanswered": { @@ -42810,7 +42780,7 @@ export type components = { readonly old_answer: components["schemas"]["webhooks_answer"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** discussion unlabeled event */ readonly "webhook-discussion-unlabeled": { @@ -42822,7 +42792,7 @@ export type components = { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion unlocked event */ readonly "webhook-discussion-unlocked": { @@ -42833,7 +42803,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion unpinned event */ readonly "webhook-discussion-unpinned": { @@ -42844,7 +42814,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * fork event @@ -43040,6 +43010,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -43136,7 +43107,7 @@ export type components = { readonly labels_url?: string; readonly language?: unknown; readonly languages_url?: string; - readonly license?: Record; + readonly license?: Record | null; readonly merges_url?: string; readonly milestones_url?: string; readonly mirror_url?: unknown; @@ -43191,13 +43162,13 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** github_app_authorization revoked event */ readonly "webhook-github-app-authorization-revoked": { /** @enum {string} */ readonly action: "revoked"; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** gollum event */ readonly "webhook-gollum": { @@ -43225,7 +43196,7 @@ export type components = { readonly title: string; }[]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation created event */ readonly "webhook-installation-created": { @@ -43237,7 +43208,7 @@ export type components = { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: components["schemas"]["webhooks_user"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation deleted event */ readonly "webhook-installation-deleted": { @@ -43249,7 +43220,7 @@ export type components = { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: unknown; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation new_permissions_accepted event */ readonly "webhook-installation-new-permissions-accepted": { @@ -43261,7 +43232,7 @@ export type components = { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: unknown; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation_repositories added event */ readonly "webhook-installation-repositories-added": { @@ -43285,7 +43256,7 @@ export type components = { readonly repository?: components["schemas"]["repository-webhooks"]; readonly repository_selection: components["schemas"]["webhooks_repository_selection"]; readonly requester: components["schemas"]["webhooks_user"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation_repositories removed event */ readonly "webhook-installation-repositories-removed": { @@ -43309,7 +43280,7 @@ export type components = { readonly repository?: components["schemas"]["repository-webhooks"]; readonly repository_selection: components["schemas"]["webhooks_repository_selection"]; readonly requester: components["schemas"]["webhooks_user"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation suspend event */ readonly "webhook-installation-suspend": { @@ -43321,7 +43292,7 @@ export type components = { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: unknown; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; readonly "webhook-installation-target-renamed": { readonly account: { @@ -43361,6 +43332,7 @@ export type components = { readonly updated_at?: string; readonly url?: string; readonly website_url?: unknown; + readonly user_view_type?: string; }; /** @enum {string} */ readonly action: "renamed"; @@ -43376,7 +43348,7 @@ export type components = { readonly installation: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly target_type: string; }; /** installation unsuspend event */ @@ -43389,7 +43361,7 @@ export type components = { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: unknown; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issue_comment created event */ readonly "webhook-issue-comment-created": { @@ -43479,6 +43451,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43523,6 +43496,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -43559,6 +43533,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -43646,6 +43621,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -43728,6 +43704,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -43889,6 +43866,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } & { readonly active_lock_reason?: string | null; @@ -43928,8 +43906,9 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly assignees?: readonly Record[]; + readonly assignees?: readonly (Record | null)[]; readonly author_association?: string; readonly body?: string | null; readonly closed_at?: string | null; @@ -43956,10 +43935,10 @@ export type components = { }[]; readonly labels_url?: string; readonly locked: boolean; - readonly milestone?: Record; + readonly milestone?: Record | null; readonly node_id?: string; readonly number?: number; - readonly performed_via_github_app?: Record; + readonly performed_via_github_app?: Record | null; readonly reactions?: { readonly "+1"?: number; readonly "-1"?: number; @@ -44006,7 +43985,7 @@ export type components = { }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issue_comment deleted event */ readonly "webhook-issue-comment-deleted": { @@ -44055,6 +44034,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -44091,6 +44071,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44178,6 +44159,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -44260,6 +44242,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -44421,6 +44404,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } & { readonly active_lock_reason?: string | null; @@ -44460,8 +44444,9 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly assignees?: readonly Record[]; + readonly assignees?: readonly (Record | null)[]; readonly author_association?: string; readonly body?: string | null; readonly closed_at?: string | null; @@ -44488,10 +44473,10 @@ export type components = { }[]; readonly labels_url?: string; readonly locked: boolean; - readonly milestone?: Record; + readonly milestone?: Record | null; readonly node_id?: string; readonly number?: number; - readonly performed_via_github_app?: Record; + readonly performed_via_github_app?: Record | null; readonly reactions?: { readonly "+1"?: number; readonly "-1"?: number; @@ -44534,11 +44519,12 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issue_comment edited event */ readonly "webhook-issue-comment-edited": { @@ -44588,6 +44574,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -44624,6 +44611,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44711,6 +44699,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -44793,6 +44782,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -44954,6 +44944,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } & { readonly active_lock_reason?: string | null; @@ -44993,8 +44984,9 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly assignees?: readonly Record[]; + readonly assignees?: readonly (Record | null)[]; readonly author_association?: string; readonly body?: string | null; readonly closed_at?: string | null; @@ -45021,10 +45013,10 @@ export type components = { }[]; readonly labels_url?: string; readonly locked: boolean; - readonly milestone?: Record; + readonly milestone?: Record | null; readonly node_id?: string; readonly number?: number; - readonly performed_via_github_app?: Record; + readonly performed_via_github_app?: Record | null; readonly reactions?: { readonly "+1"?: number; readonly "-1"?: number; @@ -45071,7 +45063,7 @@ export type components = { }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues assigned event */ readonly "webhook-issues-assigned": { @@ -45086,7 +45078,7 @@ export type components = { readonly issue: components["schemas"]["webhooks_issue"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues closed event */ readonly "webhook-issues-closed": { @@ -45137,6 +45129,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -45173,6 +45166,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -45260,6 +45254,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -45342,6 +45337,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -45503,11 +45499,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } & { readonly active_lock_reason?: string | null; - readonly assignee?: Record; - readonly assignees?: readonly Record[]; + readonly assignee?: Record | null; + readonly assignees?: readonly (Record | null)[]; readonly author_association?: string; readonly body?: string | null; readonly closed_at: string | null; @@ -45517,13 +45514,13 @@ export type components = { readonly events_url?: string; readonly html_url?: string; readonly id?: number; - readonly labels?: readonly Record[]; + readonly labels?: readonly (Record | null)[]; readonly labels_url?: string; readonly locked?: boolean; - readonly milestone?: Record; + readonly milestone?: Record | null; readonly node_id?: string; readonly number?: number; - readonly performed_via_github_app?: Record; + readonly performed_via_github_app?: Record | null; readonly reactions?: { readonly "+1"?: number; readonly "-1"?: number; @@ -45563,11 +45560,12 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues deleted event */ readonly "webhook-issues-deleted": { @@ -45618,6 +45616,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -45741,6 +45740,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -45823,6 +45823,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -45984,11 +45985,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues demilestoned event */ readonly "webhook-issues-demilestoned": { @@ -46162,6 +46164,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -46244,6 +46247,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -46405,12 +46409,13 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly milestone?: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues edited event */ readonly "webhook-issues-edited": { @@ -46472,6 +46477,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -46595,6 +46601,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -46677,6 +46684,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -46838,12 +46846,13 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly label?: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues labeled event */ readonly "webhook-issues-labeled": { @@ -46894,6 +46903,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -47017,6 +47027,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -47099,6 +47110,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -47260,12 +47272,13 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly label?: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues locked event */ readonly "webhook-issues-locked": { @@ -47316,6 +47329,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -47352,6 +47366,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -47440,6 +47455,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -47522,6 +47538,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -47683,11 +47700,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues milestoned event */ readonly "webhook-issues-milestoned": { @@ -47861,6 +47879,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -47943,6 +47962,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -48104,12 +48124,13 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly milestone: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues opened event */ readonly "webhook-issues-opened": { @@ -48159,6 +48180,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -48195,6 +48217,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48282,6 +48305,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -48364,6 +48388,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -48525,6 +48550,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } | null; /** @@ -48724,6 +48750,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -48819,6 +48846,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -48855,6 +48883,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48942,6 +48971,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -49024,6 +49054,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -49185,11 +49216,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues pinned event */ readonly "webhook-issues-pinned": { @@ -49200,7 +49232,7 @@ export type components = { readonly issue: components["schemas"]["webhooks_issue_2"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues reopened event */ readonly "webhook-issues-reopened": { @@ -49374,6 +49406,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -49456,6 +49489,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -49617,11 +49651,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues transferred event */ readonly "webhook-issues-transferred": { @@ -49671,6 +49706,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -49707,6 +49743,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -49794,6 +49831,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -49876,6 +49914,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -50037,6 +50076,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -50239,6 +50279,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -50294,7 +50335,7 @@ export type components = { readonly issue: components["schemas"]["webhooks_issue_2"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues unassigned event */ readonly "webhook-issues-unassigned": { @@ -50309,7 +50350,7 @@ export type components = { readonly issue: components["schemas"]["webhooks_issue"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues unlabeled event */ readonly "webhook-issues-unlabeled": { @@ -50321,7 +50362,7 @@ export type components = { readonly label?: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues unlocked event */ readonly "webhook-issues-unlocked": { @@ -50372,6 +50413,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -50408,6 +50450,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -50496,6 +50539,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -50578,6 +50622,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -50739,11 +50784,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues unpinned event */ readonly "webhook-issues-unpinned": { @@ -50754,7 +50800,7 @@ export type components = { readonly issue: components["schemas"]["webhooks_issue_2"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** label created event */ readonly "webhook-label-created": { @@ -50765,7 +50811,7 @@ export type components = { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** label deleted event */ readonly "webhook-label-deleted": { @@ -50776,7 +50822,7 @@ export type components = { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** label edited event */ readonly "webhook-label-edited": { @@ -50802,7 +50848,7 @@ export type components = { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase cancelled event */ readonly "webhook-marketplace-purchase-cancelled": { @@ -50815,7 +50861,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase changed event */ readonly "webhook-marketplace-purchase-changed": { @@ -50854,7 +50900,7 @@ export type components = { readonly unit_count: number; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change event */ readonly "webhook-marketplace-purchase-pending-change": { @@ -50893,7 +50939,7 @@ export type components = { readonly unit_count: number; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change_cancelled event */ readonly "webhook-marketplace-purchase-pending-change-cancelled": { @@ -50932,7 +50978,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase purchased event */ readonly "webhook-marketplace-purchase-purchased": { @@ -50945,7 +50991,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** member added event */ readonly "webhook-member-added": { @@ -50970,7 +51016,7 @@ export type components = { readonly member: components["schemas"]["webhooks_user"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** member edited event */ readonly "webhook-member-edited": { @@ -50992,7 +51038,7 @@ export type components = { readonly member: components["schemas"]["webhooks_user"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** member removed event */ readonly "webhook-member-removed": { @@ -51003,7 +51049,7 @@ export type components = { readonly member: components["schemas"]["webhooks_user"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** membership added event */ readonly "webhook-membership-added": { @@ -51055,6 +51101,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly team: components["schemas"]["webhooks_team"]; }; @@ -51108,6 +51155,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly team: components["schemas"]["webhooks_team"]; }; @@ -51118,7 +51166,7 @@ export type components = { readonly merge_group: components["schemas"]["merge-group"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; readonly "webhook-merge-group-destroyed": { /** @enum {string} */ @@ -51132,7 +51180,7 @@ export type components = { readonly merge_group: components["schemas"]["merge-group"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** meta deleted event */ readonly "webhook-meta-deleted": { @@ -51162,7 +51210,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["nullable-repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** milestone closed event */ readonly "webhook-milestone-closed": { @@ -51173,7 +51221,7 @@ export type components = { readonly milestone: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** milestone created event */ readonly "webhook-milestone-created": { @@ -51184,7 +51232,7 @@ export type components = { readonly milestone: components["schemas"]["webhooks_milestone_3"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** milestone deleted event */ readonly "webhook-milestone-deleted": { @@ -51195,7 +51243,7 @@ export type components = { readonly milestone: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** milestone edited event */ readonly "webhook-milestone-edited": { @@ -51221,7 +51269,7 @@ export type components = { readonly milestone: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** milestone opened event */ readonly "webhook-milestone-opened": { @@ -51232,7 +51280,7 @@ export type components = { readonly milestone: components["schemas"]["webhooks_milestone_3"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** org_block blocked event */ readonly "webhook-org-block-blocked": { @@ -51243,7 +51291,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** org_block unblocked event */ readonly "webhook-org-block-unblocked": { @@ -51254,7 +51302,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** organization deleted event */ readonly "webhook-organization-deleted": { @@ -51265,7 +51313,7 @@ export type components = { readonly membership?: components["schemas"]["webhooks_membership"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** organization member_added event */ readonly "webhook-organization-member-added": { @@ -51276,7 +51324,7 @@ export type components = { readonly membership: components["schemas"]["webhooks_membership"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** organization member_invited event */ readonly "webhook-organization-member-invited": { @@ -51331,6 +51379,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly login: string | null; readonly node_id: string; @@ -51340,7 +51389,7 @@ export type components = { }; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly user?: components["schemas"]["webhooks_user"]; }; /** organization member_removed event */ @@ -51352,7 +51401,7 @@ export type components = { readonly membership: components["schemas"]["webhooks_membership"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** organization renamed event */ readonly "webhook-organization-renamed": { @@ -51368,7 +51417,7 @@ export type components = { readonly membership?: components["schemas"]["webhooks_membership"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Ruby Gems metadata */ readonly "webhook-rubygems-metadata": { @@ -51442,6 +51491,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly package_type: string; readonly package_version: { @@ -51481,12 +51531,13 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body?: string | Record; readonly body_html?: string; readonly container_metadata?: { - readonly labels?: Record; - readonly manifest?: Record; + readonly labels?: Record | null; + readonly manifest?: Record | null; readonly tag?: { readonly digest?: string; readonly name?: string; @@ -51511,19 +51562,19 @@ export type components = { readonly name?: string; readonly version?: string; readonly npm_user?: string; - readonly author?: Record; - readonly bugs?: Record; + readonly author?: Record | null; + readonly bugs?: Record | null; readonly dependencies?: Record; readonly dev_dependencies?: Record; readonly peer_dependencies?: Record; readonly optional_dependencies?: Record; readonly description?: string; - readonly dist?: Record; + readonly dist?: Record | null; readonly git_head?: string; readonly homepage?: string; readonly license?: string; readonly main?: string; - readonly repository?: Record; + readonly repository?: Record | null; readonly scripts?: Record; readonly id?: string; readonly node_version?: string; @@ -51536,7 +51587,7 @@ export type components = { readonly files?: readonly string[]; readonly bin?: Record; readonly man?: Record; - readonly directories?: Record; + readonly directories?: Record | null; readonly os?: readonly string[]; readonly cpu?: readonly string[]; readonly readme?: string; @@ -51609,6 +51660,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly created_at: string; readonly draft: boolean; @@ -51644,7 +51696,7 @@ export type components = { readonly updated_at: string | null; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** package updated event */ readonly "webhook-package-updated": { @@ -51699,6 +51751,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly package_type: string; readonly package_version: { @@ -51738,6 +51791,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body: string; readonly body_html: string; @@ -51809,6 +51863,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly created_at: string; readonly draft: boolean; @@ -51845,7 +51900,7 @@ export type components = { readonly updated_at: string; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** page_build event */ readonly "webhook-page-build": { @@ -51893,6 +51948,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly status: string; readonly updated_at: string; @@ -51904,7 +51960,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** personal_access_token_request approved event */ readonly "webhook-personal-access-token-request-approved": { @@ -51913,7 +51969,7 @@ export type components = { readonly personal_access_token_request: components["schemas"]["personal-access-token-request"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request cancelled event */ @@ -51923,7 +51979,7 @@ export type components = { readonly personal_access_token_request: components["schemas"]["personal-access-token-request"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request created event */ @@ -51933,7 +51989,7 @@ export type components = { readonly personal_access_token_request: components["schemas"]["personal-access-token-request"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly installation?: components["schemas"]["simple-installation"]; }; /** personal_access_token_request denied event */ @@ -51943,7 +51999,7 @@ export type components = { readonly personal_access_token_request: components["schemas"]["personal-access-token-request"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly installation: components["schemas"]["simple-installation"]; }; readonly "webhook-ping": { @@ -51990,7 +52046,7 @@ export type components = { readonly hook_id?: number; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; /** @description Random string of GitHub zen. */ readonly zen?: string; }; @@ -52013,7 +52069,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_card: components["schemas"]["webhooks_project_card"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_card created event */ readonly "webhook-project-card-created": { @@ -52024,7 +52080,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_card: components["schemas"]["webhooks_project_card"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_card deleted event */ readonly "webhook-project-card-deleted": { @@ -52081,6 +52137,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The project card's ID */ readonly id: number; @@ -52094,7 +52151,7 @@ export type components = { readonly url: string; }; readonly repository?: components["schemas"]["nullable-repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_card edited event */ readonly "webhook-project-card-edited": { @@ -52110,7 +52167,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_card: components["schemas"]["webhooks_project_card"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_card moved event */ readonly "webhook-project-card-moved": { @@ -52171,6 +52228,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The project card's ID */ readonly id: number; @@ -52216,7 +52274,7 @@ export type components = { readonly url?: string; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project closed event */ readonly "webhook-project-closed": { @@ -52227,7 +52285,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_column created event */ readonly "webhook-project-column-created": { @@ -52238,7 +52296,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_column: components["schemas"]["webhooks_project_column"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project_column deleted event */ readonly "webhook-project-column-deleted": { @@ -52249,7 +52307,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_column: components["schemas"]["webhooks_project_column"]; readonly repository?: components["schemas"]["nullable-repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project_column edited event */ readonly "webhook-project-column-edited": { @@ -52265,7 +52323,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_column: components["schemas"]["webhooks_project_column"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project_column moved event */ readonly "webhook-project-column-moved": { @@ -52276,7 +52334,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_column: components["schemas"]["webhooks_project_column"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project created event */ readonly "webhook-project-created": { @@ -52287,7 +52345,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project deleted event */ readonly "webhook-project-deleted": { @@ -52298,7 +52356,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["nullable-repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project edited event */ readonly "webhook-project-edited": { @@ -52320,7 +52378,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project reopened event */ readonly "webhook-project-reopened": { @@ -52331,7 +52389,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Closed Event */ readonly "webhook-projects-v2-project-closed": { @@ -52340,7 +52398,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** @description A project was created */ readonly "webhook-projects-v2-project-created": { @@ -52349,7 +52407,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Deleted Event */ readonly "webhook-projects-v2-project-deleted": { @@ -52358,7 +52416,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Edited Event */ readonly "webhook-projects-v2-project-edited": { @@ -52385,7 +52443,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Archived Event */ readonly "webhook-projects-v2-item-archived": { @@ -52395,7 +52453,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Converted Event */ readonly "webhook-projects-v2-item-converted": { @@ -52410,7 +52468,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Created Event */ readonly "webhook-projects-v2-item-created": { @@ -52419,7 +52477,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Deleted Event */ readonly "webhook-projects-v2-item-deleted": { @@ -52428,7 +52486,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Edited Event */ readonly "webhook-projects-v2-item-edited": { @@ -52454,7 +52512,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Reordered Event */ readonly "webhook-projects-v2-item-reordered": { @@ -52469,7 +52527,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Restored Event */ readonly "webhook-projects-v2-item-restored": { @@ -52479,7 +52537,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Reopened Event */ readonly "webhook-projects-v2-project-reopened": { @@ -52488,7 +52546,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Created Event */ readonly "webhook-projects-v2-status-update-created": { @@ -52497,7 +52555,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Deleted Event */ readonly "webhook-projects-v2-status-update-deleted": { @@ -52506,7 +52564,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Edited Event */ readonly "webhook-projects-v2-status-update-edited": { @@ -52539,7 +52597,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** public event */ readonly "webhook-public": { @@ -52547,7 +52605,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request assigned event */ readonly "webhook-pull-request-assigned": { @@ -52641,6 +52699,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -52677,6 +52736,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -52729,6 +52789,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -52952,6 +53013,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -53012,7 +53074,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -53061,6 +53123,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -53296,6 +53359,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -53356,7 +53420,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -53405,6 +53469,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -53472,6 +53537,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -53519,6 +53585,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -53585,6 +53652,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -53742,10 +53810,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_disabled event */ readonly "webhook-pull-request-auto-merge-disabled": { @@ -53838,6 +53907,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -53926,6 +53996,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -54149,6 +54220,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -54209,7 +54281,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -54258,6 +54330,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -54493,6 +54566,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -54553,7 +54627,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -54602,6 +54676,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -54669,6 +54744,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -54716,6 +54792,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -54782,6 +54859,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -54939,11 +55017,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly reason: string; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_enabled event */ readonly "webhook-pull-request-auto-merge-enabled": { @@ -55036,6 +55115,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -55124,6 +55204,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -55347,6 +55428,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -55407,7 +55489,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -55456,6 +55538,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -55688,6 +55771,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -55748,7 +55832,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -55797,6 +55881,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -55864,6 +55949,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -55911,6 +55997,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -55977,6 +56064,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -56134,11 +56222,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly reason?: string; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request closed event */ readonly "webhook-pull-request-closed": { @@ -56150,7 +56239,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request converted_to_draft event */ readonly "webhook-pull-request-converted-to-draft": { @@ -56162,7 +56251,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request demilestoned event */ readonly "webhook-pull-request-demilestoned": { @@ -56174,7 +56263,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["webhooks_pull_request_5"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** pull_request dequeued event */ readonly "webhook-pull-request-dequeued": { @@ -56267,6 +56356,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -56355,6 +56445,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -56578,6 +56669,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -56638,7 +56730,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -56687,6 +56779,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -56922,6 +57015,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -56982,7 +57076,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -57031,6 +57125,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -57098,6 +57193,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -57145,6 +57241,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -57211,6 +57308,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -57368,11 +57466,13 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; - readonly reason: string; + /** @enum {string} */ + readonly reason: "UNKNOWN_REMOVAL_REASON" | "MANUAL" | "MERGE" | "MERGE_CONFLICT" | "CI_FAILURE" | "CI_TIMEOUT" | "ALREADY_MERGED" | "QUEUE_CLEARED" | "ROLL_BACK" | "BRANCH_PROTECTIONS" | "GIT_TREE_INVALID" | "INVALID_MERGE_COMMIT"; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request edited event */ readonly "webhook-pull-request-edited": { @@ -57403,7 +57503,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** pull_request enqueued event */ readonly "webhook-pull-request-enqueued": { @@ -57496,6 +57596,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -57584,6 +57685,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -57807,6 +57909,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -57867,7 +57970,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -57916,6 +58019,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -58151,6 +58255,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -58211,7 +58316,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -58260,6 +58365,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -58327,6 +58433,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -58374,6 +58481,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -58440,6 +58548,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -58597,10 +58706,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request labeled event */ readonly "webhook-pull-request-labeled": { @@ -58694,6 +58804,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -58782,6 +58893,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -59005,6 +59117,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -59065,7 +59178,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -59114,6 +59227,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -59349,6 +59463,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -59409,7 +59524,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -59458,6 +59573,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -59525,6 +59641,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -59572,6 +59689,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -59638,6 +59756,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -59795,10 +59914,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request locked event */ readonly "webhook-pull-request-locked": { @@ -59891,6 +60011,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -59979,6 +60100,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -60202,6 +60324,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -60262,7 +60385,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -60311,6 +60434,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -60546,6 +60670,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -60606,7 +60731,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -60655,6 +60780,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -60722,6 +60848,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -60769,6 +60896,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -60835,6 +60963,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -60992,10 +61121,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request milestoned event */ readonly "webhook-pull-request-milestoned": { @@ -61007,7 +61137,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["webhooks_pull_request_5"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** pull_request opened event */ readonly "webhook-pull-request-opened": { @@ -61019,7 +61149,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request ready_for_review event */ readonly "webhook-pull-request-ready-for-review": { @@ -61031,7 +61161,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request reopened event */ readonly "webhook-pull-request-reopened": { @@ -61043,7 +61173,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment created event */ readonly "webhook-pull-request-review-comment-created": { @@ -61193,6 +61323,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -61279,6 +61410,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -61367,6 +61499,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -61590,6 +61723,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -61650,7 +61784,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -61699,6 +61833,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -61927,6 +62062,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -61987,7 +62123,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -62036,6 +62172,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -62107,6 +62244,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -62171,6 +62309,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -62322,10 +62461,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment deleted event */ readonly "webhook-pull-request-review-comment-deleted": { @@ -62416,6 +62556,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -62504,6 +62645,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -62727,6 +62869,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -62787,7 +62930,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -62836,6 +62979,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -63064,6 +63208,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -63124,7 +63269,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -63173,6 +63318,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -63244,6 +63390,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -63308,6 +63455,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -63459,10 +63607,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment edited event */ readonly "webhook-pull-request-review-comment-edited": { @@ -63554,6 +63703,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -63590,6 +63740,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -63642,6 +63793,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -63865,6 +64017,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -63925,7 +64078,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -63974,6 +64127,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -64202,6 +64356,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -64262,7 +64417,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -64311,6 +64466,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -64382,6 +64538,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -64446,6 +64603,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -64595,12 +64753,13 @@ export type components = { readonly subscriptions_url?: string; /** @enum {string} */ readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; + readonly user_view_type?: string; /** Format: uri */ readonly url?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review dismissed event */ readonly "webhook-pull-request-review-dismissed": { @@ -64691,6 +64850,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -64779,6 +64939,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -65002,6 +65163,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -65062,7 +65224,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -65111,6 +65273,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -65339,6 +65502,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -65399,7 +65563,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -65448,6 +65612,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -65519,6 +65684,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -65583,6 +65749,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -65734,6 +65901,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -65809,9 +65977,10 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review edited event */ readonly "webhook-pull-request-review-edited": { @@ -65908,6 +66077,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -65996,6 +66166,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -66197,6 +66368,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -66282,6 +66454,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -66488,6 +66661,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -66573,6 +66747,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -66644,6 +66819,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -66708,6 +66884,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -66859,11 +67036,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; readonly review: components["schemas"]["webhooks_review"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request review_request_removed event */ readonly "webhook-pull-request-review-request-removed": { @@ -66957,6 +67135,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -66993,6 +67172,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -67045,6 +67225,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -67268,6 +67449,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -67321,7 +67503,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -67370,6 +67552,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -67605,6 +67788,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -67665,7 +67849,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -67714,6 +67898,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -67781,6 +67966,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -67828,6 +68014,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -67894,6 +68081,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -68051,6 +68239,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -68090,8 +68279,9 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ readonly action: "review_request_removed"; @@ -68183,6 +68373,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -68219,6 +68410,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -68271,6 +68463,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -68494,6 +68687,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -68554,7 +68748,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -68603,6 +68797,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -68838,6 +69033,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -68898,7 +69094,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -68947,6 +69143,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -69014,6 +69211,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -69061,6 +69259,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -69127,6 +69326,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -69284,6 +69484,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -69342,7 +69543,7 @@ export type components = { */ readonly url: string; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request review_requested event */ readonly "webhook-pull-request-review-requested": { @@ -69436,6 +69637,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -69472,6 +69674,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -69524,6 +69727,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -69747,6 +69951,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -69807,7 +70012,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -69856,6 +70061,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -70091,6 +70297,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -70151,7 +70358,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -70200,6 +70407,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -70267,6 +70475,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -70314,6 +70523,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -70380,6 +70590,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -70537,6 +70748,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -70576,8 +70788,9 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ readonly action: "review_requested"; @@ -70669,6 +70882,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -70705,6 +70919,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -70757,6 +70972,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -70980,6 +71196,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -71040,7 +71257,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -71089,6 +71306,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -71324,6 +71542,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -71384,7 +71603,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -71433,6 +71652,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -71500,6 +71720,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -71547,6 +71768,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -71613,6 +71835,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -71770,6 +71993,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -71828,7 +72052,7 @@ export type components = { */ readonly url?: string; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review submitted event */ readonly "webhook-pull-request-review-submitted": { @@ -71919,6 +72143,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -72007,6 +72232,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -72230,6 +72456,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -72290,7 +72517,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -72339,6 +72566,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -72567,6 +72795,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -72627,7 +72856,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -72676,6 +72905,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -72747,6 +72977,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -72811,6 +73042,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -72962,11 +73194,12 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; readonly review: components["schemas"]["webhooks_review"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review_thread resolved event */ readonly "webhook-pull-request-review-thread-resolved": { @@ -73057,6 +73290,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -73145,6 +73379,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -73351,6 +73586,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -73438,6 +73674,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -73649,6 +73886,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -73736,6 +73974,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -73807,6 +74046,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -73871,6 +74111,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -74022,10 +74263,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly thread: { readonly comments: readonly { readonly _links: { @@ -74167,6 +74409,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }[]; readonly node_id: string; @@ -74261,6 +74504,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -74349,6 +74593,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -74555,6 +74800,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -74642,6 +74888,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -74853,6 +75100,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -74940,6 +75188,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -75011,6 +75260,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -75075,6 +75325,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -75226,10 +75477,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly thread: { readonly comments: readonly { readonly _links: { @@ -75371,6 +75623,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }[]; readonly node_id: string; @@ -75469,6 +75722,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -75557,6 +75811,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -75780,6 +76035,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -75840,7 +76096,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -75889,6 +76145,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -76117,6 +76374,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -76177,7 +76435,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -76226,6 +76484,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -76293,6 +76552,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -76340,6 +76600,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -76406,6 +76667,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -76563,10 +76825,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request unassigned event */ readonly "webhook-pull-request-unassigned": { @@ -76660,6 +76923,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -76748,6 +77012,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -76971,6 +77236,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -77031,7 +77297,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -77080,6 +77346,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -77315,6 +77582,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -77375,7 +77643,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -77424,6 +77692,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -77491,6 +77760,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -77538,6 +77808,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -77604,6 +77875,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -77761,10 +78033,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** pull_request unlabeled event */ readonly "webhook-pull-request-unlabeled": { @@ -77858,6 +78131,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -77946,6 +78220,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -78169,6 +78444,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -78229,7 +78505,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -78278,6 +78554,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -78506,6 +78783,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -78566,7 +78844,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -78615,6 +78893,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -78682,6 +78961,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -78729,6 +79009,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -78795,6 +79076,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -78952,10 +79234,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request unlocked event */ readonly "webhook-pull-request-unlocked": { @@ -79048,6 +79331,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -79136,6 +79420,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -79359,6 +79644,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -79419,7 +79705,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -79468,6 +79754,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -79703,6 +79990,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -79763,7 +80051,7 @@ export type components = { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -79812,6 +80100,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -79879,6 +80168,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -79926,6 +80216,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -79992,6 +80283,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -80149,10 +80441,11 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** push event */ readonly "webhook-push": { @@ -80489,6 +80782,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -80538,7 +80832,7 @@ export type components = { /** @description Whether to require contributors to sign off on web-based commits */ readonly web_commit_signoff_required?: boolean; }; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; readonly "webhook-registry-package-published": { /** @enum {string} */ @@ -80573,6 +80867,7 @@ export type components = { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly package_type: string; readonly package_version: { @@ -80595,12 +80890,13 @@ export type components = { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly body?: string | Record; readonly body_html?: string; readonly container_metadata?: { - readonly labels?: Record; - readonly manifest?: Record; + readonly labels?: Record | null; + readonly manifest?: Record | null; readonly tag?: { readonly digest?: string; readonly name?: string; @@ -80704,6 +81000,7 @@ export type components = { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly created_at?: string; readonly draft?: boolean; @@ -80734,7 +81031,7 @@ export type components = { readonly updated_at: string | null; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; readonly "webhook-registry-package-updated": { /** @enum {string} */ @@ -80769,6 +81066,7 @@ export type components = { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly package_type: string; readonly package_version: { @@ -80791,6 +81089,7 @@ export type components = { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly body: string; readonly body_html: string; @@ -80843,6 +81142,7 @@ export type components = { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly created_at: string; readonly draft: boolean; @@ -80863,11 +81163,11 @@ export type components = { readonly updated_at: string; readonly version: string; }; - readonly registry: Record; + readonly registry: Record | null; readonly updated_at: string; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** release created event */ readonly "webhook-release-created": { @@ -80878,7 +81178,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** release deleted event */ readonly "webhook-release-deleted": { @@ -80889,7 +81189,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** release edited event */ readonly "webhook-release-edited": { @@ -80914,7 +81214,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** release prereleased event */ readonly "webhook-release-prereleased": { @@ -81026,6 +81326,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body: string | null; /** Format: date-time */ @@ -81074,7 +81375,7 @@ export type components = { readonly zipball_url: string | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** release published event */ readonly "webhook-release-published": { @@ -81085,7 +81386,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release_1"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** release released event */ readonly "webhook-release-released": { @@ -81096,7 +81397,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** release unpublished event */ readonly "webhook-release-unpublished": { @@ -81107,7 +81408,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release_1"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** Repository advisory published event */ readonly "webhook-repository-advisory-published": { @@ -81118,7 +81419,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly repository_advisory: components["schemas"]["repository-advisory"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** Repository advisory reported event */ readonly "webhook-repository-advisory-reported": { @@ -81129,7 +81430,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly repository_advisory: components["schemas"]["repository-advisory"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** repository archived event */ readonly "webhook-repository-archived": { @@ -81139,7 +81440,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository created event */ readonly "webhook-repository-created": { @@ -81149,7 +81450,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository deleted event */ readonly "webhook-repository-deleted": { @@ -81159,7 +81460,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_dispatch event */ readonly "webhook-repository-dispatch-sample": { @@ -81174,7 +81475,7 @@ export type components = { readonly installation: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository edited event */ readonly "webhook-repository-edited": { @@ -81198,7 +81499,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_import event */ readonly "webhook-repository-import": { @@ -81206,7 +81507,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; /** @enum {string} */ readonly status: "success" | "cancelled" | "failure"; }; @@ -81218,7 +81519,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository publicized event */ readonly "webhook-repository-publicized": { @@ -81228,7 +81529,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository renamed event */ readonly "webhook-repository-renamed": { @@ -81245,7 +81546,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository ruleset created event */ readonly "webhook-repository-ruleset-created": { @@ -81256,7 +81557,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly repository_ruleset: components["schemas"]["repository-ruleset"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository ruleset deleted event */ readonly "webhook-repository-ruleset-deleted": { @@ -81267,7 +81568,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly repository_ruleset: components["schemas"]["repository-ruleset"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository ruleset edited event */ readonly "webhook-repository-ruleset-edited": { @@ -81325,7 +81626,7 @@ export type components = { }[]; }; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository transferred event */ readonly "webhook-repository-transferred": { @@ -81396,6 +81697,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; }; @@ -81404,7 +81706,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository unarchived event */ readonly "webhook-repository-unarchived": { @@ -81414,7 +81716,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert create event */ readonly "webhook-repository-vulnerability-alert-create": { @@ -81425,7 +81727,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert dismiss event */ readonly "webhook-repository-vulnerability-alert-dismiss": { @@ -81478,6 +81780,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly external_identifier: string; /** Format: uri */ @@ -81498,7 +81801,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert reopen event */ readonly "webhook-repository-vulnerability-alert-reopen": { @@ -81509,7 +81812,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert resolve event */ readonly "webhook-repository-vulnerability-alert-resolve": { @@ -81581,7 +81884,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** secret_scanning_alert created event */ readonly "webhook-secret-scanning-alert-created": { @@ -81592,7 +81895,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ readonly "webhook-secret-scanning-alert-location-created": { @@ -81603,13 +81906,24 @@ export type components = { readonly location: components["schemas"]["secret-scanning-location"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ readonly "webhook-secret-scanning-alert-location-created-form-encoded": { /** @description A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object. */ readonly payload: string; }; + /** secret_scanning_alert publicly leaked event */ + readonly "webhook-secret-scanning-alert-publicly-leaked": { + /** @enum {string} */ + readonly action: "publicly_leaked"; + readonly alert: components["schemas"]["secret-scanning-alert-webhook"]; + readonly enterprise?: components["schemas"]["enterprise-webhooks"]; + readonly installation?: components["schemas"]["simple-installation"]; + readonly organization?: components["schemas"]["organization-simple-webhooks"]; + readonly repository: components["schemas"]["repository-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; + }; /** secret_scanning_alert reopened event */ readonly "webhook-secret-scanning-alert-reopened": { /** @enum {string} */ @@ -81619,7 +81933,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert resolved event */ readonly "webhook-secret-scanning-alert-resolved": { @@ -81630,7 +81944,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert validated event */ readonly "webhook-secret-scanning-alert-validated": { @@ -81641,7 +81955,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** security_advisory published event */ readonly "webhook-security-advisory-published": { @@ -81652,7 +81966,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly security_advisory: components["schemas"]["webhooks_security_advisory"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** security_advisory updated event */ readonly "webhook-security-advisory-updated": { @@ -81663,7 +81977,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly security_advisory: components["schemas"]["webhooks_security_advisory"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** security_advisory withdrawn event */ readonly "webhook-security-advisory-withdrawn": { @@ -81711,7 +82025,7 @@ export type components = { }[]; readonly withdrawn_at: string; }; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** security_and_analysis event */ readonly "webhook-security-and-analysis": { @@ -81724,7 +82038,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["full-repository"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** sponsorship cancelled event */ readonly "webhook-sponsorship-cancelled": { @@ -81734,7 +82048,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship created event */ @@ -81745,7 +82059,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship edited event */ @@ -81762,7 +82076,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_cancellation event */ @@ -81774,7 +82088,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_tier_change event */ @@ -81787,7 +82101,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship tier_changed event */ @@ -81799,7 +82113,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** star created event */ @@ -81810,7 +82124,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly 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. */ readonly starred_at: string | null; }; @@ -81822,7 +82136,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly 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. */ readonly starred_at: unknown; }; @@ -81986,7 +82300,7 @@ export type components = { readonly name: string; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; /** @description The Commit SHA. */ readonly sha: string; /** @@ -82012,7 +82326,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** parent issue removed event */ readonly "webhook-sub-issues-parent-issue-removed": { @@ -82028,7 +82342,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** sub-issue added event */ readonly "webhook-sub-issues-sub-issue-added": { @@ -82044,7 +82358,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** sub-issue removed event */ readonly "webhook-sub-issues-sub-issue-removed": { @@ -82060,7 +82374,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** team_add event */ readonly "webhook-team-add": { @@ -82068,7 +82382,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team added_to_repository event */ @@ -82273,6 +82587,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -82320,7 +82635,7 @@ export type components = { readonly watchers: number; readonly watchers_count: number; }; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team created event */ @@ -82525,6 +82840,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -82572,7 +82888,7 @@ export type components = { readonly watchers: number; readonly watchers_count: number; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team deleted event */ @@ -82777,6 +83093,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -82824,7 +83141,7 @@ export type components = { readonly watchers: number; readonly watchers_count: number; }; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team edited event */ @@ -83060,6 +83377,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -83107,7 +83425,7 @@ export type components = { readonly watchers: number; readonly watchers_count: number; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team removed_from_repository event */ @@ -83312,6 +83630,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -83359,7 +83678,7 @@ export type components = { readonly watchers: number; readonly watchers_count: number; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** watch started event */ @@ -83370,7 +83689,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** workflow_dispatch event */ readonly "webhook-workflow-dispatch": { @@ -83382,7 +83701,7 @@ export type components = { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: string; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: string; }; /** workflow_job completed event */ @@ -83393,7 +83712,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow_job: { /** Format: uri */ readonly check_run_url: string; @@ -83470,7 +83789,7 @@ export type components = { readonly head_branch?: string | null; /** @description The name of the workflow. */ readonly workflow_name?: string | null; - readonly steps?: readonly Record[]; + readonly steps?: readonly (Record | null)[]; readonly url?: string; }; readonly deployment?: components["schemas"]["deployment"]; @@ -83483,7 +83802,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow_job: { /** Format: uri */ readonly check_run_url: string; @@ -83581,7 +83900,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow_job: { /** Format: uri */ readonly check_run_url: string; @@ -83635,7 +83954,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow_job: { /** Format: uri */ readonly check_run_url: string; @@ -83689,7 +84008,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ readonly workflow_run: { @@ -83729,6 +84048,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: uri */ readonly artifacts_url: string; @@ -83879,6 +84199,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ readonly private: boolean; @@ -84051,6 +84372,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ readonly private: boolean; @@ -84119,6 +84441,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -84142,7 +84465,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ readonly workflow_run: { @@ -84590,7 +84913,7 @@ export type components = { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ readonly workflow_run: { @@ -84630,6 +84953,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: uri */ readonly artifacts_url: string; @@ -84780,6 +85104,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ readonly private: boolean; @@ -84952,6 +85277,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ readonly private: boolean; @@ -85020,6 +85346,7 @@ export type components = { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -85361,6 +85688,10 @@ export type components = { readonly "secret-scanning-alert-sort": "created" | "updated"; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ readonly "secret-scanning-alert-validity": string; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + readonly "secret-scanning-alert-publicly-leaked": boolean; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + readonly "secret-scanning-alert-multi-repo": boolean; /** @description The slug of the team name. */ readonly "team-slug": string; /** @description The unique identifier of the gist. */ @@ -85393,6 +85724,10 @@ export type components = { readonly org: string; /** @description The unique identifier of the repository. */ readonly "repository-id": number; + /** @description Only return runner groups that are allowed to be used by this repository. */ + readonly "visible-to-repository": string; + /** @description Unique identifier of the self-hosted runner group. */ + readonly "runner-group-id": number; /** @description Unique identifier of the self-hosted runner. */ readonly "runner-id": number; /** @description The name of a self-hosted runner's custom label. */ @@ -85448,8 +85783,13 @@ export type components = { readonly "personal-access-token-after": string; /** @description The unique identifier of the fine-grained personal access token. */ readonly "fine-grained-personal-access-token-id": number; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ readonly "custom-property-name": string; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + readonly "ruleset-targets": string; /** @description The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned. */ readonly "ref-in-query": string; /** @description The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned. */ @@ -85542,6 +85882,8 @@ export type components = { readonly status: "queued" | "in_progress" | "completed"; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ readonly "git-ref": components["schemas"]["code-scanning-ref"]; + /** @description The number of the pull request for the results you want to list. */ + readonly "pr-alias": number; /** @description The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ readonly "alert-number": components["schemas"]["alert-number"]; /** @description The SHA of the commit. */ @@ -86340,7 +86682,7 @@ export interface operations { readonly 404: components["responses"]["not_found"]; }; }; - readonly "classroom/list-accepted-assigments-for-an-assignment": { + readonly "classroom/list-accepted-assignments-for-an-assignment": { readonly parameters: { readonly query?: { /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -86697,6 +87039,10 @@ export interface operations { readonly after?: components["parameters"]["pagination-after"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ readonly validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + readonly is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + readonly is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; readonly header?: never; readonly path: { @@ -88302,7 +88648,7 @@ export interface operations { readonly members_can_create_public_repositories?: boolean; /** * @description Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. + * **Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. * @enum {string} */ readonly members_allowed_repository_creation_type?: "all" | "private" | "none"; @@ -88335,7 +88681,7 @@ export interface operations { readonly blog?: string; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88346,7 +88692,7 @@ export interface operations { readonly advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88357,7 +88703,7 @@ export interface operations { readonly dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88368,7 +88714,7 @@ export interface operations { readonly dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88379,7 +88725,7 @@ export interface operations { readonly dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88390,7 +88736,7 @@ export interface operations { readonly secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88788,6 +89134,415 @@ export interface operations { }; }; }; + readonly "actions/list-self-hosted-runner-groups-for-org": { + readonly parameters: { + readonly query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly page?: components["parameters"]["page"]; + /** @description Only return runner groups that are allowed to be used by this repository. */ + readonly visible_to_repository?: components["parameters"]["visible-to-repository"]; + }; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly total_count: number; + readonly runner_groups: readonly components["schemas"]["runner-groups-org"][]; + }; + }; + }; + }; + }; + readonly "actions/create-self-hosted-runner-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description Name of the runner group. */ + readonly name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. + * @default all + * @enum {string} + */ + readonly visibility?: "selected" | "all" | "private"; + /** @description List of repository IDs that can access the runner group. */ + readonly selected_repository_ids?: readonly number[]; + /** @description List of runner IDs to add to the runner group. */ + readonly runners?: readonly number[]; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + readonly allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + readonly restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + readonly selected_workflows?: readonly string[]; + }; + }; + }; + readonly responses: { + /** @description Response */ + readonly 201: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + readonly "actions/get-self-hosted-runner-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + readonly "actions/delete-self-hosted-runner-group-from-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/update-self-hosted-runner-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description Name of the runner group. */ + readonly name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + * @enum {string} + */ + readonly visibility?: "selected" | "all" | "private"; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + readonly allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + readonly restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + readonly selected_workflows?: readonly string[]; + }; + }; + }; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + readonly "actions/list-repo-access-to-self-hosted-runner-group-in-org": { + readonly parameters: { + readonly query?: { + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly page?: components["parameters"]["page"]; + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly per_page?: components["parameters"]["per-page"]; + }; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly total_count: number; + readonly repositories: readonly components["schemas"]["minimal-repository"][]; + }; + }; + }; + }; + }; + readonly "actions/set-repo-access-to-self-hosted-runner-group-in-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description List of repository IDs that can access the runner group. */ + readonly selected_repository_ids: readonly number[]; + }; + }; + }; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/add-repo-access-to-self-hosted-runner-group-in-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + readonly repository_id: components["parameters"]["repository-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/remove-repo-access-to-self-hosted-runner-group-in-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + readonly repository_id: components["parameters"]["repository-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/list-self-hosted-runners-in-group-for-org": { + readonly parameters: { + readonly query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly page?: components["parameters"]["page"]; + }; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly Link: components["headers"]["link"]; + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly total_count: number; + readonly runners: readonly components["schemas"]["runner"][]; + }; + }; + }; + }; + }; + readonly "actions/set-self-hosted-runners-in-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description List of runner IDs to add to the runner group. */ + readonly runners: readonly number[]; + }; + }; + }; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/add-self-hosted-runner-to-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + readonly runner_id: components["parameters"]["runner-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/remove-self-hosted-runner-from-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + readonly runner_id: components["parameters"]["runner-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; readonly "actions/list-self-hosted-runners-for-org": { readonly parameters: { readonly query?: { @@ -89962,6 +90717,25 @@ export interface operations { * @enum {string} */ readonly secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @default disabled + * @enum {string} + */ + readonly secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + readonly secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + readonly reviewers?: readonly { + /** @description The ID of the team or role selected as a bypass reviewer */ + readonly reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + readonly reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @default disabled @@ -90166,6 +90940,24 @@ export interface operations { * @enum {string} */ readonly secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + readonly secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + readonly secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + readonly reviewers?: readonly { + /** @description The ID of the team or role selected as a bypass reviewer */ + readonly reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + readonly reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -93805,7 +94597,7 @@ export interface operations { readonly path: { /** @description The organization name. The name is not case sensitive. */ readonly org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ readonly custom_property_name: components["parameters"]["custom-property-name"]; }; readonly cookie?: never; @@ -93832,7 +94624,7 @@ export interface operations { readonly path: { /** @description The organization name. The name is not case sensitive. */ readonly org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ readonly custom_property_name: components["parameters"]["custom-property-name"]; }; readonly cookie?: never; @@ -93879,7 +94671,7 @@ export interface operations { readonly path: { /** @description The organization name. The name is not case sensitive. */ readonly org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ readonly custom_property_name: components["parameters"]["custom-property-name"]; }; readonly cookie?: never; @@ -94191,7 +94983,7 @@ export interface operations { readonly delete_branch_on_merge?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default?: boolean; @@ -94263,6 +95055,11 @@ export interface operations { readonly per_page?: components["parameters"]["per-page"]; /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ readonly page?: components["parameters"]["page"]; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + readonly targets?: components["parameters"]["ruleset-targets"]; }; readonly header?: never; readonly path: { @@ -94526,6 +95323,10 @@ export interface operations { readonly after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ readonly validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + readonly is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + readonly is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; readonly header?: never; readonly path: { @@ -94836,7 +95637,7 @@ export interface operations { */ readonly notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -94946,7 +95747,7 @@ export interface operations { */ readonly notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -96957,6 +97758,11 @@ export interface operations { /** @description Can be `enabled` or `disabled`. */ readonly status?: string; }; + /** @description Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." */ + readonly secret_scanning_ai_detection?: { + /** @description Can be `enabled` or `disabled`. */ + readonly status?: string; + }; /** @description Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." */ readonly secret_scanning_non_provider_patterns?: { /** @description Can be `enabled` or `disabled`. */ @@ -97017,7 +97823,7 @@ export interface operations { readonly allow_update_branch?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default?: boolean; @@ -99799,7 +100605,7 @@ export interface operations { readonly strict: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ readonly contexts: readonly string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100268,7 +101074,7 @@ export interface operations { readonly strict?: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ readonly contexts?: readonly string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100527,12 +101333,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ readonly apps: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100562,12 +101368,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ readonly apps: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100597,12 +101403,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ readonly apps: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100793,12 +101599,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The username for users */ readonly users: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100828,12 +101634,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The username for users */ readonly users: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100863,12 +101669,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The username for users */ readonly users: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -101458,8 +102264,14 @@ export interface operations { readonly per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ readonly ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + readonly pr?: components["parameters"]["pr-alias"]; /** @description The direction to sort the results by. */ readonly direction?: components["parameters"]["direction"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly before?: components["parameters"]["pagination-before"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly after?: components["parameters"]["pagination-after"]; /** @description The property by which to sort the results. */ readonly sort?: "created" | "updated"; /** @description If specified, only code scanning alerts with this state will be returned. */ @@ -101571,6 +102383,8 @@ export interface operations { readonly per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ readonly ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + readonly pr?: components["parameters"]["pr-alias"]; }; readonly header?: never; readonly path: { @@ -101610,6 +102424,8 @@ export interface operations { readonly page?: components["parameters"]["page"]; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ readonly per_page?: components["parameters"]["per-page"]; + /** @description The number of the pull request for the results you want to list. */ + readonly pr?: components["parameters"]["pr-alias"]; /** @description The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ readonly ref?: components["schemas"]["code-scanning-ref"]; /** @description Filter analyses belonging to the same SARIF upload. */ @@ -102176,7 +102992,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ readonly location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ readonly geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -103069,7 +103885,7 @@ export interface operations { readonly path?: string; /** @description Line index in the diff to comment on. */ readonly position?: number; - /** @description **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. */ + /** @description **Closing down notice**. Use **position** parameter instead. Line number in the file to comment on. */ readonly line?: number; }; }; @@ -103614,7 +104430,7 @@ export interface operations { readonly direction?: components["parameters"]["direction"]; /** * @deprecated - * @description **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. + * @description **Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. */ readonly page?: number; /** @@ -104325,7 +105141,7 @@ export interface operations { readonly "application/json": { /** @description A custom webhook event name. Must be 100 characters or fewer. */ readonly event_type: string; - /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. */ + /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. */ readonly client_payload?: { readonly [key: string]: unknown; }; @@ -106740,7 +107556,7 @@ export interface operations { readonly title: string | number; /** @description The contents of the issue. */ readonly 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.**_ */ + /** @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 closing down.**_ */ readonly assignee?: string | null; readonly milestone?: (string | number) | null; /** @description Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ */ @@ -107125,7 +107941,7 @@ export interface operations { readonly title?: (string | number) | null; /** @description The contents of the issue. */ readonly body?: string | null; - /** @description Username to assign to this issue. **This field is deprecated.** */ + /** @description Username to assign to this issue. **This field is closing down.** */ readonly assignee?: string | null; /** * @description The open or closed state of the issue. @@ -109569,7 +110385,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ readonly location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ readonly geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -109681,7 +110497,7 @@ export interface operations { readonly path: string; /** * @deprecated - * @description **This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. + * @description **This parameter is closing down. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. */ readonly position?: number; /** @@ -111096,6 +111912,11 @@ export interface operations { readonly page?: components["parameters"]["page"]; /** @description Include rulesets configured at higher levels that apply to this repository */ readonly includes_parents?: boolean; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + readonly targets?: components["parameters"]["ruleset-targets"]; }; readonly header?: never; readonly path: { @@ -111374,6 +112195,10 @@ export interface operations { readonly after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ readonly validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + readonly is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + readonly is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; readonly header?: never; readonly path: { @@ -112736,12 +113561,12 @@ export interface operations { readonly q: string; /** * @deprecated - * @description **This field is deprecated.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) + * @description **This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) */ readonly sort?: "indexed"; /** * @deprecated - * @description **This field is deprecated.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. + * @description **This field is closing down.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ readonly order?: "desc" | "asc"; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -113080,7 +113905,7 @@ export interface operations { */ readonly notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -114372,7 +115197,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ readonly location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ readonly geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -114403,7 +115228,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ readonly location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ readonly geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; diff --git a/packages/openapi-typescript/examples/github-api-immutable.ts b/packages/openapi-typescript/examples/github-api-immutable.ts index 116d1bf01..6c1ee738e 100644 --- a/packages/openapi-typescript/examples/github-api-immutable.ts +++ b/packages/openapi-typescript/examples/github-api-immutable.ts @@ -453,7 +453,7 @@ export interface paths { * List accepted assignments for an assignment * @description Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. */ - readonly get: operations["classroom/list-accepted-assigments-for-an-assignment"]; + readonly get: operations["classroom/list-accepted-assignments-for-an-assignment"]; readonly put?: never; readonly post?: never; readonly delete?: never; @@ -612,7 +612,7 @@ export interface paths { /** * List all Copilot seat assignments for an enterprise * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. * @@ -643,7 +643,7 @@ export interface paths { /** * Get a summary of Copilot usage for enterprise members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, @@ -728,7 +728,7 @@ export interface paths { /** * Get a summary of Copilot usage for an enterprise team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -1609,10 +1609,10 @@ export interface paths { /** * Update an organization * @description > [!WARNING] - * > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). + * > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). * * > [!WARNING] - * > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). + * > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). * * Updates the organization's profile and member privileges. * @@ -1842,6 +1842,180 @@ export interface paths { readonly patch?: never; readonly trace?: never; }; + readonly "/orgs/{org}/actions/runner-groups": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * List self-hosted runner groups for an organization + * @description Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly get: operations["actions/list-self-hosted-runner-groups-for-org"]; + readonly put?: never; + /** + * Create a self-hosted runner group for an organization + * @description Creates a new self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly post: operations["actions/create-self-hosted-runner-group-for-org"]; + readonly delete?: never; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * Get a self-hosted runner group for an organization + * @description Gets a specific self-hosted runner group for an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly get: operations["actions/get-self-hosted-runner-group-for-org"]; + readonly put?: never; + readonly post?: never; + /** + * Delete a self-hosted runner group from an organization + * @description Deletes a self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly delete: operations["actions/delete-self-hosted-runner-group-from-org"]; + readonly options?: never; + readonly head?: never; + /** + * Update a self-hosted runner group for an organization + * @description Updates the `name` and `visibility` of a self-hosted runner group in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly patch: operations["actions/update-self-hosted-runner-group-for-org"]; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * List repository access to a self-hosted runner group in an organization + * @description Lists the repositories with access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly get: operations["actions/list-repo-access-to-self-hosted-runner-group-in-org"]; + /** + * Set repository access for a self-hosted runner group in an organization + * @description Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly put: operations["actions/set-repo-access-to-self-hosted-runner-group-in-org"]; + readonly post?: never; + readonly delete?: never; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + readonly get?: never; + /** + * Add repository access to a self-hosted runner group in an organization + * @description Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly put: operations["actions/add-repo-access-to-self-hosted-runner-group-in-org"]; + readonly post?: never; + /** + * Remove repository access to a self-hosted runner group in an organization + * @description Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly delete: operations["actions/remove-repo-access-to-self-hosted-runner-group-in-org"]; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * List self-hosted runners in a group for an organization + * @description Lists self-hosted runners that are in a specific organization group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly get: operations["actions/list-self-hosted-runners-in-group-for-org"]; + /** + * Set self-hosted runners in a group for an organization + * @description Replaces the list of self-hosted runners that are part of an organization runner group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly put: operations["actions/set-self-hosted-runners-in-group-for-org"]; + readonly post?: never; + readonly delete?: never; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; + readonly "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + readonly get?: never; + /** + * Add a self-hosted runner to a group for an organization + * @description Adds a self-hosted runner to a runner group configured in an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly put: operations["actions/add-self-hosted-runner-to-group-for-org"]; + readonly post?: never; + /** + * Remove a self-hosted runner from a group for an organization + * @description Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + readonly delete: operations["actions/remove-self-hosted-runner-from-group-for-org"]; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; readonly "/orgs/{org}/actions/runners": { readonly parameters: { readonly query?: never; @@ -2912,7 +3086,7 @@ export interface paths { /** * Get Copilot seat information and settings for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets information about an organization's Copilot subscription, including seat breakdown * and feature policies. To configure these settings, go to your organization's settings on GitHub.com. @@ -2941,7 +3115,7 @@ export interface paths { /** * List all Copilot seat assignments for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. * Only organization owners can view assigned seats. @@ -2969,7 +3143,7 @@ export interface paths { /** * Add teams to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for all users within each specified team. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -2988,7 +3162,7 @@ export interface paths { /** * Remove teams from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for all members of each team specified. * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3019,7 +3193,7 @@ export interface paths { /** * Add users to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for each user specified. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -3038,7 +3212,7 @@ export interface paths { /** * Remove users from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for each user specified. * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3067,7 +3241,7 @@ export interface paths { /** * Get a summary of Copilot usage for organization members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -3831,7 +4005,7 @@ export interface paths { /** * Get Copilot seat assignment details for a user * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. * @@ -5051,7 +5225,7 @@ export interface paths { /** * Get a summary of Copilot usage for a team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -5689,7 +5863,7 @@ export interface paths { * Enable or disable a security feature for an organization * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + * > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). * * Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -5949,7 +6123,7 @@ export interface paths { * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." * * > [!NOTE] - * > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + * > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. */ readonly get: operations["rate-limit/get"]; readonly put?: never; @@ -8355,7 +8529,7 @@ export interface paths { * and `0` is returned in this field. * * > [!WARNING] - * > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + * > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ @@ -8894,8 +9068,6 @@ export interface paths { * @description Gets your public key, which you need to encrypt secrets. You need to * encrypt a secret before you can create or update secrets. * - * Anyone with read access to the repository can use this endpoint. - * * If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ readonly get: operations["codespaces/get-repo-public-key"]; @@ -11038,7 +11210,7 @@ export interface paths { * @description View the progress of an import. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). * * **Import status** * @@ -11082,7 +11254,7 @@ export interface paths { * return a status `422 Unprocessable Entity` response. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly put: operations["migrations/start-import"]; readonly post?: never; @@ -11092,7 +11264,7 @@ export interface paths { * @description Stop an import for a repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly delete: operations["migrations/cancel-import"]; readonly options?: never; @@ -11108,7 +11280,7 @@ export interface paths { * You can select the project to import by providing one of the objects in the `project_choices` array in the update request. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly patch: operations["migrations/update-import"]; readonly trace?: never; @@ -11128,7 +11300,7 @@ export interface paths { * This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly get: operations["migrations/get-commit-authors"]; readonly put?: never; @@ -11159,7 +11331,7 @@ export interface paths { * new commits to the repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly patch: operations["migrations/map-commit-author"]; readonly trace?: never; @@ -11177,7 +11349,7 @@ export interface paths { * @description List files larger than 100MB found during the import * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly get: operations["migrations/get-large-files"]; readonly put?: never; @@ -11211,7 +11383,7 @@ export interface paths { * site](https://docs.github.com/repositories/working-with-files/managing-large-files). * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ readonly patch: operations["migrations/set-lfs-preference"]; readonly trace?: never; @@ -11540,7 +11712,7 @@ export interface paths { readonly head?: never; /** * Update an issue - * @description Issue owners and users with push access can edit an issue. + * @description Issue owners and users with push access or Triage role can edit an issue. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -12638,7 +12810,7 @@ export interface paths { * * If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. * - * The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + * The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. * * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -12991,6 +13163,7 @@ export interface paths { /** * Update a pull request branch * @description Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + * Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. */ readonly put: operations["pulls/update-branch"]; readonly post?: never; @@ -13885,10 +14058,10 @@ export interface paths { readonly cookie?: never; }; /** - * Deprecated - List tag protection states for a repository + * Closing down - List tag protection states for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. * * This returns the tag protection states of a repository. * @@ -13897,10 +14070,10 @@ export interface paths { readonly get: operations["repos/list-tag-protection"]; readonly put?: never; /** - * Deprecated - Create a tag protection state for a repository + * Closing down - Create a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. * * This creates a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -13923,10 +14096,10 @@ export interface paths { readonly put?: never; readonly post?: never; /** - * Deprecated - Delete a tag protection state for a repository + * Closing down - Delete a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. * * This deletes a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -14428,7 +14601,7 @@ export interface paths { * Get a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. */ readonly get: operations["teams/get-legacy"]; readonly put?: never; @@ -14437,7 +14610,7 @@ export interface paths { * Delete a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. * * To delete a team, the authenticated user must be an organization owner or team maintainer. * @@ -14450,7 +14623,7 @@ export interface paths { * Update a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. * * To edit a team, the authenticated user must either be an organization owner or a team maintainer. * @@ -14471,7 +14644,7 @@ export interface paths { * List discussions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. * * List all discussions on a team's page. * @@ -14483,7 +14656,7 @@ export interface paths { * Create a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. * * Creates a new discussion post on a team's page. * @@ -14509,7 +14682,7 @@ export interface paths { * Get a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. * * Get a specific discussion on a team's page. * @@ -14522,7 +14695,7 @@ export interface paths { * Delete a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. * * Delete a discussion from a team's page. * @@ -14535,7 +14708,7 @@ export interface paths { * Update a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. * * Edits the title and body text of a discussion post. Only the parameters you provide are updated. * @@ -14555,7 +14728,7 @@ export interface paths { * List discussion comments (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. * * List all comments on a team discussion. * @@ -14567,7 +14740,7 @@ export interface paths { * Create a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. * * Creates a new comment on a team discussion. * @@ -14593,7 +14766,7 @@ export interface paths { * Get a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. * * Get a specific comment on a team discussion. * @@ -14606,7 +14779,7 @@ export interface paths { * Delete a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. * * Deletes a comment on a team discussion. * @@ -14619,7 +14792,7 @@ export interface paths { * Update a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. * * Edits the body text of a discussion comment. * @@ -14639,7 +14812,7 @@ export interface paths { * List reactions for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. * * List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14651,7 +14824,7 @@ export interface paths { * Create reaction for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. * * Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14677,7 +14850,7 @@ export interface paths { * List reactions for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. * * List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14689,7 +14862,7 @@ export interface paths { * Create reaction for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. * * Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14715,7 +14888,7 @@ export interface paths { * List pending team invitations (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. * * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ @@ -14739,7 +14912,7 @@ export interface paths { * List team members (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. * * Team members will include the members of child teams. */ @@ -14762,7 +14935,7 @@ export interface paths { /** * Get team member (Legacy) * @deprecated - * @description The "Get team member" endpoint (described below) is deprecated. + * @description The "Get team member" endpoint (described below) is closing down. * * We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. * @@ -14772,7 +14945,7 @@ export interface paths { /** * Add team member (Legacy) * @deprecated - * @description The "Add team member" endpoint (described below) is deprecated. + * @description The "Add team member" endpoint (described below) is closing down. * * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. * @@ -14790,7 +14963,7 @@ export interface paths { /** * Remove team member (Legacy) * @deprecated - * @description The "Remove team member" endpoint (described below) is deprecated. + * @description The "Remove team member" endpoint (described below) is closing down. * * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. * @@ -14818,7 +14991,7 @@ export interface paths { * Get team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. * * Team members will include the members of child teams. * @@ -14834,7 +15007,7 @@ export interface paths { * Add or update team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14853,7 +15026,7 @@ export interface paths { * Remove team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14879,7 +15052,7 @@ export interface paths { * List team projects (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. * * Lists the organization projects for a team. */ @@ -14903,7 +15076,7 @@ export interface paths { * Check team permissions for a project (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. * * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. */ @@ -14912,7 +15085,7 @@ export interface paths { * Add or update team project permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. * * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. */ @@ -14922,7 +15095,7 @@ export interface paths { * Remove a project from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. * * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. */ @@ -14943,7 +15116,7 @@ export interface paths { * List team repositories (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. */ readonly get: operations["teams/list-repos-legacy"]; readonly put?: never; @@ -14965,7 +15138,7 @@ export interface paths { * Check team permissions for a repository (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. * * > [!NOTE] * > Repositories inherited through a parent team will also be checked. @@ -14977,7 +15150,7 @@ export interface paths { * Add or update team repository permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. * * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. * @@ -14989,7 +15162,7 @@ export interface paths { * Remove a repository from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. * * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. */ @@ -15010,7 +15183,7 @@ export interface paths { * List child teams (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. */ readonly get: operations["teams/list-child-legacy"]; readonly put?: never; @@ -16652,7 +16825,7 @@ export interface paths { }; /** * List events for the authenticated user - * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). * * > [!NOTE] * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -17516,6 +17689,8 @@ export interface components { readonly site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ readonly starred_at?: string; + /** @example public */ + readonly user_view_type?: string; }; /** * @description The type of credit the user is receiving. @@ -17710,6 +17885,8 @@ export interface components { readonly site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ readonly starred_at?: string; + /** @example public */ + readonly user_view_type?: string; } | null; /** * GitHub app @@ -18227,7 +18404,7 @@ export interface components { */ readonly organization_custom_properties?: "read" | "write" | "admin"; /** - * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in beta and is subject to change. + * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change. * @enum {string} */ readonly organization_copilot_seat_management?: "write"; @@ -18262,7 +18439,7 @@ export interface components { */ readonly organization_plan?: "read"; /** - * @description The level of permission to grant the access token to manage organization projects and projects beta (where available). + * @description The level of permission to grant the access token to manage organization projects and projects public preview (where available). * @enum {string} */ readonly organization_projects?: "read" | "write" | "admin"; @@ -18706,7 +18883,7 @@ export interface components { readonly allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -19290,7 +19467,7 @@ export interface components { * Organization Simple * @description A GitHub organization. */ - readonly "organization-simple": { + readonly "nullable-organization-simple": { /** @example github */ readonly login: string; /** @example 1 */ @@ -19324,7 +19501,7 @@ export interface components { readonly avatar_url: string; /** @example A great organization */ readonly description: string | null; - }; + } | null; /** * Team Simple * @description Groups of organization members that gives permissions on specified repositories. @@ -19451,12 +19628,8 @@ export interface components { * @description Information about a Copilot Business seat assignment for a user, team, or organization. */ readonly "copilot-seat-details": { - /** @description The assignee that has been granted access to GitHub Copilot. */ - readonly assignee: { - readonly [key: string]: unknown; - } & components["schemas"]["simple-user"]; - /** @description The organization to which this seat belongs. */ - readonly organization?: components["schemas"]["organization-simple"] | null; + readonly assignee: components["schemas"]["simple-user"]; + readonly organization?: components["schemas"]["nullable-organization-simple"]; /** @description The team through which the assignee is granted access to GitHub Copilot, if applicable. */ readonly assigning_team?: (components["schemas"]["team"] | components["schemas"]["enterprise-team"]) | null; /** @@ -19481,6 +19654,11 @@ export interface components { * @description Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. */ readonly updated_at?: string; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + readonly plan_type?: "business" | "enterprise" | "unknown"; }; /** * Copilot Usage Metrics @@ -19991,6 +20169,10 @@ export interface components { * @enum {string} */ readonly validity?: "active" | "inactive" | "unknown"; + /** @description Whether the secret was publicly leaked. */ + readonly publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or enterprise. */ + readonly multi_repo?: boolean | null; }; /** * Actor @@ -20463,6 +20645,11 @@ export interface components { readonly login: string; /** Format: int64 */ readonly id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + readonly user_view_type: "public"; readonly node_id: string; /** Format: uri */ readonly avatar_url: string; @@ -20512,8 +20699,6 @@ export interface components { readonly space: number; readonly private_repos: number; }; - /** Format: date-time */ - readonly suspended_at?: string | null; /** @example 1 */ readonly private_gists?: number; /** @example 2 */ @@ -20988,6 +21173,10 @@ export interface components { /** @enum {string} */ readonly status?: "enabled" | "disabled"; }; + readonly secret_scanning_ai_detection?: { + /** @enum {string} */ + readonly status?: "enabled" | "disabled"; + }; } | null; /** * Minimal Repository @@ -21254,6 +21443,45 @@ export interface components { */ readonly repository_url?: string; }; + /** + * Organization Simple + * @description A GitHub organization. + */ + readonly "organization-simple": { + /** @example github */ + readonly login: string; + /** @example 1 */ + readonly id: number; + /** @example MDEyOk9yZ2FuaXphdGlvbjE= */ + readonly node_id: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github + */ + readonly url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/repos + */ + readonly repos_url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/events + */ + readonly events_url: string; + /** @example https://api.github.com/orgs/github/hooks */ + readonly hooks_url: string; + /** @example https://api.github.com/orgs/github/issues */ + readonly issues_url: string; + /** @example https://api.github.com/orgs/github/members{/member} */ + readonly members_url: string; + /** @example https://api.github.com/orgs/github/public_members{/member} */ + readonly public_members_url: string; + /** @example https://github.com/images/error/octocat_happy.gif */ + readonly avatar_url: string; + /** @example A great organization */ + readonly description: string | null; + }; /** * Organization Full * @description Organization Full @@ -21339,7 +21567,12 @@ export interface components { readonly private_gists?: number | null; /** @example 10000 */ readonly disk_usage?: number | null; - /** @example 8 */ + /** + * @description The number of collaborators on private repositories. + * + * This field may be null if the number of private repositories is over 50,000. + * @example 8 + */ readonly collaborators?: number | null; /** * Format: email @@ -21378,7 +21611,7 @@ export interface components { readonly web_commit_signoff_required?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. * @@ -21388,7 +21621,7 @@ export interface components { readonly advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21398,7 +21631,7 @@ export interface components { readonly dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21408,7 +21641,7 @@ export interface components { readonly dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21418,7 +21651,7 @@ export interface components { readonly dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21428,7 +21661,7 @@ export interface components { readonly secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21541,6 +21774,31 @@ export interface components { readonly default_workflow_permissions?: components["schemas"]["actions-default-workflow-permissions"]; readonly can_approve_pull_request_reviews?: components["schemas"]["actions-can-approve-pull-request-reviews"]; }; + readonly "runner-groups-org": { + readonly id: number; + readonly name: string; + readonly visibility: string; + readonly default: boolean; + /** @description Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` */ + readonly selected_repositories_url?: string; + readonly runners_url: string; + readonly hosted_runners_url?: string; + readonly inherited: boolean; + readonly inherited_allows_public_repositories?: boolean; + readonly allows_public_repositories: boolean; + /** + * @description If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified. + * @default false + */ + readonly workflow_restrictions_read_only: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + readonly restricted_to_workflows: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + readonly selected_workflows?: readonly string[]; + }; /** * Self hosted runner label * @description A label for a self hosted runner @@ -21850,7 +22108,7 @@ export interface components { * @description The type of the code security configuration. * @enum {string} */ - readonly target_type?: "global" | "organization"; + readonly target_type?: "global" | "organization" | "enterprise"; /** @description A description of the code security configuration */ readonly description?: string; /** @@ -21898,6 +22156,24 @@ export interface components { * @enum {string} */ readonly secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + readonly secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + readonly secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + readonly reviewers?: readonly { + /** @description The ID of the team or role selected as a bypass reviewer */ + readonly reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + readonly reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -22225,8 +22501,8 @@ export interface components { readonly inactive_this_cycle?: number; }; /** - * Copilot Business Organization Details - * @description Information about the seat breakdown and policies set for an organization with a Copilot Business subscription. + * Copilot Organization Details + * @description Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription. */ readonly "copilot-organization-details": { readonly seat_breakdown: components["schemas"]["copilot-seat-breakdown"]; @@ -22255,6 +22531,11 @@ export interface components { * @enum {string} */ readonly seat_management_setting: "assign_all" | "assign_selected" | "disabled" | "unconfigured"; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + readonly plan_type?: "business" | "enterprise" | "unknown"; } & { readonly [key: string]: unknown; }; @@ -22933,6 +23214,8 @@ export interface components { readonly site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ readonly starred_at?: string; + /** @example public */ + readonly user_view_type?: string; }; /** * Package Version @@ -23485,7 +23768,7 @@ export interface components { readonly allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -23893,7 +24176,8 @@ export interface components { */ readonly actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey"; /** - * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets. + * @default always * @enum {string} */ readonly bypass_mode: "always" | "pull_request"; @@ -23963,7 +24247,9 @@ export interface components { }; /** * Organization ruleset conditions - * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * @description Conditions for an organization ruleset. + * The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + * The push rulesets conditions object does not require the `ref_name` property. */ readonly "org-ruleset-conditions": (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-name-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-id-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-property-target"]); /** @@ -24351,7 +24637,7 @@ export interface components { readonly html?: { /** @description The html URL of the ruleset */ readonly href?: string; - }; + } | null; }; readonly conditions?: (components["schemas"]["repository-ruleset-conditions"] | components["schemas"]["org-ruleset-conditions"]) | null; readonly rules?: readonly components["schemas"]["repository-rule"][]; @@ -26462,6 +26748,7 @@ export interface components { readonly received_events_url?: string; readonly type?: string; readonly site_admin?: boolean; + readonly user_view_type?: string; }[]; readonly teams: readonly { readonly id?: number; @@ -26517,6 +26804,8 @@ export interface components { readonly type?: string; /** @example false */ readonly site_admin?: boolean; + /** @example public */ + readonly user_view_type?: string; }; readonly name?: string; readonly client_id?: string; @@ -27687,6 +27976,8 @@ export interface components { }; /** @example admin */ readonly role_name: string; + /** @example public */ + readonly user_view_type?: string; }; /** * Repository Invitation @@ -27802,6 +28093,8 @@ export interface components { }; /** @example admin */ readonly role_name: string; + /** @example public */ + readonly user_view_type?: string; } | null; /** * Repository Collaborator Permission @@ -28175,6 +28468,7 @@ export interface components { readonly name: string; readonly path: string; readonly sha: string; + readonly content?: string; /** Format: uri */ readonly url: string; /** Format: uri */ @@ -28188,7 +28482,6 @@ export interface components { readonly size: number; readonly name: string; readonly path: string; - readonly content?: string; readonly sha: string; /** Format: uri */ readonly url: string; @@ -28250,7 +28543,10 @@ export interface components { * @description Content File */ readonly "content-file": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ readonly type: "file"; readonly encoding: string; readonly size: number; @@ -28284,7 +28580,10 @@ export interface components { * @description An object describing a symlink */ readonly "content-symlink": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ readonly type: "symlink"; readonly target: string; readonly size: number; @@ -28313,7 +28612,10 @@ export interface components { * @description An object describing a submodule */ readonly "content-submodule": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ readonly type: "submodule"; /** Format: uri */ readonly submodule_git_url: string; @@ -28442,6 +28744,7 @@ export interface components { readonly contributions: number; readonly email?: string; readonly name?: string; + readonly user_view_type?: string; }; /** @description A Dependabot alert. */ readonly "dependabot-alert": { @@ -28797,7 +29100,7 @@ export interface components { readonly environment: string; /** * Format: uri - * @description Deprecated: the URL to associate with this status. + * @description Closing down notice: the URL to associate with this status. * @default * @example https://example.com/deployment/42/output */ @@ -30159,12 +30462,12 @@ export interface components { */ readonly path: string; /** - * @description The line index in the diff to which the comment applies. This field is deprecated; use `line` instead. + * @description The line index in the diff to which the comment applies. This field is closing down; use `line` instead. * @example 1 */ readonly position?: number; /** - * @description The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead. + * @description The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead. * @example 4 */ readonly original_position?: number; @@ -30824,361 +31127,16 @@ export interface components { readonly head: { readonly label: string; readonly ref: string; - readonly repo: { - readonly archive_url: string; - readonly assignees_url: string; - readonly blobs_url: string; - readonly branches_url: string; - readonly collaborators_url: string; - readonly comments_url: string; - readonly commits_url: string; - readonly compare_url: string; - readonly contents_url: string; - /** Format: uri */ - readonly contributors_url: string; - /** Format: uri */ - readonly deployments_url: string; - readonly description: string | null; - /** Format: uri */ - readonly downloads_url: string; - /** Format: uri */ - readonly events_url: string; - readonly fork: boolean; - /** Format: uri */ - readonly forks_url: string; - readonly full_name: string; - readonly git_commits_url: string; - readonly git_refs_url: string; - readonly git_tags_url: string; - /** Format: uri */ - readonly hooks_url: string; - /** Format: uri */ - readonly html_url: string; - readonly id: number; - readonly node_id: string; - readonly issue_comment_url: string; - readonly issue_events_url: string; - readonly issues_url: string; - readonly keys_url: string; - readonly labels_url: string; - /** Format: uri */ - readonly languages_url: string; - /** Format: uri */ - readonly merges_url: string; - readonly milestones_url: string; - readonly name: string; - readonly notifications_url: string; - readonly owner: { - /** Format: uri */ - readonly avatar_url: string; - readonly events_url: string; - /** Format: uri */ - readonly followers_url: string; - readonly following_url: string; - readonly gists_url: string; - readonly gravatar_id: string | null; - /** Format: uri */ - readonly html_url: string; - readonly id: number; - readonly node_id: string; - readonly login: string; - /** Format: uri */ - readonly organizations_url: string; - /** Format: uri */ - readonly received_events_url: string; - /** Format: uri */ - readonly repos_url: string; - readonly site_admin: boolean; - readonly starred_url: string; - /** Format: uri */ - readonly subscriptions_url: string; - readonly type: string; - /** Format: uri */ - readonly url: string; - }; - readonly private: boolean; - readonly pulls_url: string; - readonly releases_url: string; - /** Format: uri */ - readonly stargazers_url: string; - readonly statuses_url: string; - /** Format: uri */ - readonly subscribers_url: string; - /** Format: uri */ - readonly subscription_url: string; - /** Format: uri */ - readonly tags_url: string; - /** Format: uri */ - readonly teams_url: string; - readonly trees_url: string; - /** Format: uri */ - readonly url: string; - readonly clone_url: string; - readonly default_branch: string; - readonly forks: number; - readonly forks_count: number; - readonly git_url: string; - readonly has_downloads: boolean; - readonly has_issues: boolean; - readonly has_projects: boolean; - readonly has_wiki: boolean; - readonly has_pages: boolean; - readonly has_discussions: boolean; - /** Format: uri */ - readonly homepage: string | null; - readonly language: string | null; - readonly master_branch?: string; - readonly archived: boolean; - readonly disabled: boolean; - /** @description The repository visibility: public, private, or internal. */ - readonly visibility?: string; - /** Format: uri */ - readonly mirror_url: string | null; - readonly open_issues: number; - readonly open_issues_count: number; - readonly permissions?: { - readonly admin: boolean; - readonly maintain?: boolean; - readonly push: boolean; - readonly triage?: boolean; - readonly pull: boolean; - }; - readonly temp_clone_token?: string; - readonly allow_merge_commit?: boolean; - readonly allow_squash_merge?: boolean; - readonly allow_rebase_merge?: boolean; - readonly license: { - readonly key: string; - readonly name: string; - /** Format: uri */ - readonly url: string | null; - readonly spdx_id: string | null; - readonly node_id: string; - } | null; - /** Format: date-time */ - readonly pushed_at: string; - readonly size: number; - readonly ssh_url: string; - readonly stargazers_count: number; - /** Format: uri */ - readonly svn_url: string; - readonly topics?: readonly string[]; - readonly watchers: number; - readonly watchers_count: number; - /** Format: date-time */ - readonly created_at: string; - /** Format: date-time */ - readonly updated_at: string; - readonly allow_forking?: boolean; - readonly is_template?: boolean; - readonly web_commit_signoff_required?: boolean; - } | null; + readonly repo: components["schemas"]["repository"]; readonly sha: string; - readonly user: { - /** Format: uri */ - readonly avatar_url: string; - readonly events_url: string; - /** Format: uri */ - readonly followers_url: string; - readonly following_url: string; - readonly gists_url: string; - readonly gravatar_id: string | null; - /** Format: uri */ - readonly html_url: string; - /** Format: int64 */ - readonly id: number; - readonly node_id: string; - readonly login: string; - /** Format: uri */ - readonly organizations_url: string; - /** Format: uri */ - readonly received_events_url: string; - /** Format: uri */ - readonly repos_url: string; - readonly site_admin: boolean; - readonly starred_url: string; - /** Format: uri */ - readonly subscriptions_url: string; - readonly type: string; - /** Format: uri */ - readonly url: string; - }; + readonly user: components["schemas"]["simple-user"]; }; readonly base: { readonly label: string; readonly ref: string; - readonly repo: { - readonly archive_url: string; - readonly assignees_url: string; - readonly blobs_url: string; - readonly branches_url: string; - readonly collaborators_url: string; - readonly comments_url: string; - readonly commits_url: string; - readonly compare_url: string; - readonly contents_url: string; - /** Format: uri */ - readonly contributors_url: string; - /** Format: uri */ - readonly deployments_url: string; - readonly description: string | null; - /** Format: uri */ - readonly downloads_url: string; - /** Format: uri */ - readonly events_url: string; - readonly fork: boolean; - /** Format: uri */ - readonly forks_url: string; - readonly full_name: string; - readonly git_commits_url: string; - readonly git_refs_url: string; - readonly git_tags_url: string; - /** Format: uri */ - readonly hooks_url: string; - /** Format: uri */ - readonly html_url: string; - readonly id: number; - readonly is_template?: boolean; - readonly node_id: string; - readonly issue_comment_url: string; - readonly issue_events_url: string; - readonly issues_url: string; - readonly keys_url: string; - readonly labels_url: string; - /** Format: uri */ - readonly languages_url: string; - /** Format: uri */ - readonly merges_url: string; - readonly milestones_url: string; - readonly name: string; - readonly notifications_url: string; - readonly owner: { - /** Format: uri */ - readonly avatar_url: string; - readonly events_url: string; - /** Format: uri */ - readonly followers_url: string; - readonly following_url: string; - readonly gists_url: string; - readonly gravatar_id: string | null; - /** Format: uri */ - readonly html_url: string; - readonly id: number; - readonly node_id: string; - readonly login: string; - /** Format: uri */ - readonly organizations_url: string; - /** Format: uri */ - readonly received_events_url: string; - /** Format: uri */ - readonly repos_url: string; - readonly site_admin: boolean; - readonly starred_url: string; - /** Format: uri */ - readonly subscriptions_url: string; - readonly type: string; - /** Format: uri */ - readonly url: string; - }; - readonly private: boolean; - readonly pulls_url: string; - readonly releases_url: string; - /** Format: uri */ - readonly stargazers_url: string; - readonly statuses_url: string; - /** Format: uri */ - readonly subscribers_url: string; - /** Format: uri */ - readonly subscription_url: string; - /** Format: uri */ - readonly tags_url: string; - /** Format: uri */ - readonly teams_url: string; - readonly trees_url: string; - /** Format: uri */ - readonly url: string; - readonly clone_url: string; - readonly default_branch: string; - readonly forks: number; - readonly forks_count: number; - readonly git_url: string; - readonly has_downloads: boolean; - readonly has_issues: boolean; - readonly has_projects: boolean; - readonly has_wiki: boolean; - readonly has_pages: boolean; - readonly has_discussions: boolean; - /** Format: uri */ - readonly homepage: string | null; - readonly language: string | null; - readonly master_branch?: string; - readonly archived: boolean; - readonly disabled: boolean; - /** @description The repository visibility: public, private, or internal. */ - readonly visibility?: string; - /** Format: uri */ - readonly mirror_url: string | null; - readonly open_issues: number; - readonly open_issues_count: number; - readonly permissions?: { - readonly admin: boolean; - readonly maintain?: boolean; - readonly push: boolean; - readonly triage?: boolean; - readonly pull: boolean; - }; - readonly temp_clone_token?: string; - readonly allow_merge_commit?: boolean; - readonly allow_squash_merge?: boolean; - readonly allow_rebase_merge?: boolean; - readonly license: components["schemas"]["nullable-license-simple"]; - /** Format: date-time */ - readonly pushed_at: string; - readonly size: number; - readonly ssh_url: string; - readonly stargazers_count: number; - /** Format: uri */ - readonly svn_url: string; - readonly topics?: readonly string[]; - readonly watchers: number; - readonly watchers_count: number; - /** Format: date-time */ - readonly created_at: string; - /** Format: date-time */ - readonly updated_at: string; - readonly allow_forking?: boolean; - readonly web_commit_signoff_required?: boolean; - }; + readonly repo: components["schemas"]["repository"]; readonly sha: string; - readonly user: { - /** Format: uri */ - readonly avatar_url: string; - readonly events_url: string; - /** Format: uri */ - readonly followers_url: string; - readonly following_url: string; - readonly gists_url: string; - readonly gravatar_id: string | null; - /** Format: uri */ - readonly html_url: string; - /** Format: int64 */ - readonly id: number; - readonly node_id: string; - readonly login: string; - /** Format: uri */ - readonly organizations_url: string; - /** Format: uri */ - readonly received_events_url: string; - /** Format: uri */ - readonly repos_url: string; - readonly site_admin: boolean; - readonly starred_url: string; - /** Format: uri */ - readonly subscriptions_url: string; - readonly type: string; - /** Format: uri */ - readonly url: string; - }; + readonly user: components["schemas"]["simple-user"]; }; readonly _links: { readonly comments: components["schemas"]["link"]; @@ -31552,6 +31510,10 @@ export interface components { * @enum {string} */ readonly validity?: "active" | "inactive" | "unknown"; + /** @description Whether the detected secret was publicly leaked. */ + readonly publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories under the same organization or enterprise. */ + readonly multi_repo?: boolean | null; }; /** @description An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. */ readonly "secret-scanning-alert-resolution-comment": string | null; @@ -32446,6 +32408,7 @@ export interface components { readonly company?: string | null; /** Format: date-time */ readonly suspended_at?: string | null; + readonly user_view_type?: string; }; /** * Private User @@ -32459,6 +32422,11 @@ export interface components { * @example 1 */ readonly id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + readonly user_view_type: "private"; /** @example MDQ6VXNlcjE= */ readonly node_id: string; /** @@ -32573,8 +32541,6 @@ export interface components { readonly space: number; readonly private_repos: number; }; - /** Format: date-time */ - readonly suspended_at?: string | null; readonly business_plus?: boolean; readonly ldap_dn?: string; }; @@ -33614,7 +33580,7 @@ export interface components { readonly allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -33675,75 +33641,6 @@ export interface components { /** @description Whether anonymous git access is enabled for this repository */ readonly anonymous_access_enabled?: boolean; }; - /** - * Simple User - * @description The GitHub user that triggered the event. This property is included in every webhook payload. - */ - readonly "simple-user-webhooks": { - readonly name?: string | null; - readonly email?: string | null; - /** @example octocat */ - readonly login: string; - /** @example 1 */ - readonly id: number; - /** @example MDQ6VXNlcjE= */ - readonly node_id: string; - /** - * Format: uri - * @example https://github.com/images/error/octocat_happy.gif - */ - readonly avatar_url: string; - /** @example 41d064eb2195891e12d0413f63227ea7 */ - readonly gravatar_id: string | null; - /** - * Format: uri - * @example https://api.github.com/users/octocat - */ - readonly url: string; - /** - * Format: uri - * @example https://github.com/octocat - */ - readonly html_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/followers - */ - readonly followers_url: string; - /** @example https://api.github.com/users/octocat/following{/other_user} */ - readonly following_url: string; - /** @example https://api.github.com/users/octocat/gists{/gist_id} */ - readonly gists_url: string; - /** @example https://api.github.com/users/octocat/starred{/owner}{/repo} */ - readonly starred_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/subscriptions - */ - readonly subscriptions_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/orgs - */ - readonly organizations_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/repos - */ - readonly repos_url: string; - /** @example https://api.github.com/users/octocat/events{/privacy} */ - readonly events_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/received_events - */ - readonly received_events_url: string; - /** @example User */ - readonly type: string; - readonly site_admin: boolean; - /** @example "2020-07-09T00:17:55Z" */ - readonly starred_at?: string; - }; /** * branch protection rule * @description The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings. @@ -33954,6 +33851,7 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly webhooks_reviewers: readonly { /** User */ @@ -34043,6 +33941,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly webhooks_answer: { /** @@ -34114,6 +34013,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -34159,6 +34059,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly answer_html_url: string | null; /** @@ -34258,6 +34159,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly labels?: readonly components["schemas"]["label"][]; }; @@ -34329,6 +34231,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Label */ @@ -34458,6 +34361,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @description The changes to the comment. */ @@ -34510,6 +34414,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -34546,6 +34451,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -34633,6 +34539,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -34715,6 +34622,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -34876,6 +34784,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -34924,6 +34833,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -34992,6 +34902,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -35028,6 +34939,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -35115,6 +35027,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -35197,6 +35110,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -35358,6 +35272,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** User */ @@ -35396,6 +35311,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Marketplace Purchase */ readonly webhooks_marketplace_purchase: { @@ -35975,7 +35891,7 @@ export interface components { readonly allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -36082,6 +35998,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -36155,6 +36072,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -36276,6 +36194,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The project card's ID */ readonly id: number; @@ -36332,6 +36251,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: uri */ readonly html_url: string; @@ -36551,7 +36471,7 @@ export interface components { */ readonly squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.** * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -36639,6 +36559,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -36727,6 +36648,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -36950,6 +36872,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -37059,6 +36982,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -37294,6 +37218,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -37403,6 +37328,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -37470,6 +37396,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -37517,6 +37444,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -37740,6 +37668,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -37886,6 +37815,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @description The review that was affected. */ @@ -37959,6 +37889,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly webhooks_nullable_string: string | null; @@ -38065,6 +37996,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body: string | null; /** Format: date-time */ @@ -38212,6 +38144,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body: string | null; /** Format: date-time */ @@ -38361,6 +38294,10 @@ export interface components { * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ readonly push_protection_bypassed_at?: string | null; + /** @description Whether the detected secret was publicly leaked. */ + readonly publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or business. */ + readonly multi_repo?: boolean | null; }; /** @description The details of the security advisory, including summary, description, and severity. */ readonly webhooks_security_advisory: { @@ -38421,6 +38358,7 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly node_id: string; readonly privacy_level: string; @@ -38460,6 +38398,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** User */ readonly sponsorable: { @@ -38497,6 +38436,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Sponsorship Tier @@ -38608,7 +38548,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** branch protection configuration enabled event */ readonly "webhook-branch-protection-configuration-enabled": { @@ -38618,7 +38558,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** branch protection rule created event */ readonly "webhook-branch-protection-rule-created": { @@ -38629,7 +38569,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly rule: components["schemas"]["webhooks_rule"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** branch protection rule deleted event */ readonly "webhook-branch-protection-rule-deleted": { @@ -38640,7 +38580,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly rule: components["schemas"]["webhooks_rule"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** branch protection rule edited event */ readonly "webhook-branch-protection-rule-edited": { @@ -38691,7 +38631,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly rule: components["schemas"]["webhooks_rule"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Check Run Completed Event */ readonly "webhook-check-run-completed": { @@ -38701,7 +38641,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * Check Run Completed Event @@ -38719,7 +38659,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * Check Run Created Event @@ -38742,7 +38682,7 @@ export interface components { /** @description The integrator reference of the action requested by the user. */ readonly identifier?: string; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * Check Run Requested Action Event @@ -38760,7 +38700,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * Check Run Re-Requested Event @@ -38834,6 +38774,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -39011,7 +38952,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** check_suite requested event */ readonly "webhook-check-suite-requested": { @@ -39077,6 +39018,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -39254,7 +39196,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** check_suite rerequested event */ readonly "webhook-check-suite-rerequested": { @@ -39320,6 +39262,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -39497,7 +39440,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert appeared_in_branch event */ readonly "webhook-code-scanning-alert-appeared-in-branch": { @@ -39551,6 +39494,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39623,7 +39567,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert closed_by_user event */ readonly "webhook-code-scanning-alert-closed-by-user": { @@ -39677,6 +39621,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39756,7 +39701,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert created event */ readonly "webhook-code-scanning-alert-created": { @@ -39851,7 +39796,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert fixed event */ readonly "webhook-code-scanning-alert-fixed": { @@ -39905,6 +39850,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39986,7 +39932,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened event */ readonly "webhook-code-scanning-alert-reopened": { @@ -40001,7 +39947,7 @@ export interface components { readonly created_at: string; /** @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ readonly dismissed_at: string | null; - readonly dismissed_by: Record; + readonly 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`. */ readonly dismissed_reason: string | null; /** @@ -40079,7 +40025,7 @@ export interface components { /** @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. */ readonly ref: string | null; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened_by_user event */ readonly "webhook-code-scanning-alert-reopened-by-user": { @@ -40163,7 +40109,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: components["schemas"]["webhooks_code_scanning_ref"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** commit_comment created event */ readonly "webhook-commit-comment-created": { @@ -40172,7 +40118,7 @@ export interface components { * @enum {string} */ readonly action: "created"; - /** @description The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. */ + /** @description The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. */ readonly comment: { /** * AuthorAssociation @@ -40251,13 +40197,14 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** create event */ readonly "webhook-create": { @@ -40276,7 +40223,7 @@ export interface components { */ readonly ref_type: "tag" | "branch"; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** custom property created event */ readonly "webhook-custom-property-created": { @@ -40286,7 +40233,7 @@ export interface components { readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** custom property deleted event */ readonly "webhook-custom-property-deleted": { @@ -40299,7 +40246,7 @@ export interface components { readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** custom property updated event */ readonly "webhook-custom-property-updated": { @@ -40309,7 +40256,7 @@ export interface components { readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** Custom property values updated event */ readonly "webhook-custom-property-values-updated": { @@ -40319,7 +40266,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; /** @description The new custom property values for the repository. */ readonly new_property_values: readonly components["schemas"]["custom-property-value"][]; /** @description The old custom property values for the repository. */ @@ -40338,7 +40285,7 @@ export interface components { */ readonly ref_type: "tag" | "branch"; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-dismissed event */ readonly "webhook-dependabot-alert-auto-dismissed": { @@ -40349,7 +40296,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-reopened event */ readonly "webhook-dependabot-alert-auto-reopened": { @@ -40360,7 +40307,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert created event */ readonly "webhook-dependabot-alert-created": { @@ -40371,7 +40318,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert dismissed event */ readonly "webhook-dependabot-alert-dismissed": { @@ -40382,7 +40329,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert fixed event */ readonly "webhook-dependabot-alert-fixed": { @@ -40393,7 +40340,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reintroduced event */ readonly "webhook-dependabot-alert-reintroduced": { @@ -40404,7 +40351,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reopened event */ readonly "webhook-dependabot-alert-reopened": { @@ -40415,7 +40362,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** deploy_key created event */ readonly "webhook-deploy-key-created": { @@ -40426,7 +40373,7 @@ export interface components { readonly key: components["schemas"]["webhooks_deploy_key"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** deploy_key deleted event */ readonly "webhook-deploy-key-deleted": { @@ -40437,7 +40384,7 @@ export interface components { readonly key: components["schemas"]["webhooks_deploy_key"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** deployment created event */ readonly "webhook-deployment-created": { @@ -40485,6 +40432,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; readonly environment: string; @@ -40547,6 +40495,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -40643,7 +40592,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ readonly workflow_run: { @@ -40683,6 +40632,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -40917,6 +40867,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -40944,7 +40895,7 @@ export interface components { readonly repository?: components["schemas"]["repository-webhooks"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly installation?: components["schemas"]["simple-installation"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; readonly "webhook-deployment-review-approved": { /** @enum {string} */ @@ -40956,7 +40907,7 @@ export interface components { readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly reviewers?: components["schemas"]["webhooks_reviewers"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly since: string; readonly workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; readonly workflow_job_runs?: readonly { @@ -41007,6 +40958,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -41020,7 +40972,7 @@ export interface components { readonly display_title: string; readonly event: string; readonly head_branch: string; - readonly head_commit?: Record; + readonly head_commit?: Record | null; readonly head_repository?: { readonly archive_url?: string; readonly assignees_url?: string; @@ -41075,6 +41027,7 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41185,6 +41138,7 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41241,6 +41195,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -41260,7 +41215,7 @@ export interface components { readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly reviewers?: components["schemas"]["webhooks_reviewers"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly since: string; readonly workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; readonly workflow_job_runs?: readonly { @@ -41311,6 +41266,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -41323,7 +41279,7 @@ export interface components { readonly created_at: string; readonly event: string; readonly head_branch: string; - readonly head_commit?: Record; + readonly head_commit?: Record | null; readonly head_repository?: { readonly archive_url?: string; readonly assignees_url?: string; @@ -41378,6 +41334,7 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41488,6 +41445,7 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41544,6 +41502,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -41600,11 +41559,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @enum {string} */ readonly type?: "User" | "Team"; }[]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly since: string; readonly workflow_job_run: { readonly conclusion: unknown; @@ -41654,6 +41614,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -41666,7 +41627,7 @@ export interface components { readonly created_at: string; readonly event: string; readonly head_branch: string; - readonly head_commit?: Record; + readonly head_commit?: Record | null; readonly head_repository?: { readonly archive_url?: string; readonly assignees_url?: string; @@ -41721,6 +41682,7 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41831,6 +41793,7 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly private?: boolean; readonly pulls_url?: string; @@ -41887,6 +41850,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -41973,6 +41937,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; readonly environment: string; @@ -42035,6 +42000,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -42166,6 +42132,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: uri */ readonly deployment_url: string; @@ -42233,6 +42200,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -42326,7 +42294,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow?: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ readonly workflow_run?: { @@ -42366,6 +42334,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly artifacts_url?: string; readonly cancel_url?: string; @@ -42600,6 +42569,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -42619,7 +42589,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion category changed event */ readonly "webhook-discussion-category-changed": { @@ -42647,7 +42617,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion closed event */ readonly "webhook-discussion-closed": { @@ -42658,7 +42628,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion_comment created event */ readonly "webhook-discussion-comment-created": { @@ -42670,7 +42640,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion_comment deleted event */ readonly "webhook-discussion-comment-deleted": { @@ -42682,7 +42652,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion_comment edited event */ readonly "webhook-discussion-comment-edited": { @@ -42699,7 +42669,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion created event */ readonly "webhook-discussion-created": { @@ -42710,7 +42680,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion deleted event */ readonly "webhook-discussion-deleted": { @@ -42721,7 +42691,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion edited event */ readonly "webhook-discussion-edited": { @@ -42740,7 +42710,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion labeled event */ readonly "webhook-discussion-labeled": { @@ -42752,7 +42722,7 @@ export interface components { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion locked event */ readonly "webhook-discussion-locked": { @@ -42763,7 +42733,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion pinned event */ readonly "webhook-discussion-pinned": { @@ -42774,7 +42744,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion reopened event */ readonly "webhook-discussion-reopened": { @@ -42785,7 +42755,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion transferred event */ readonly "webhook-discussion-transferred": { @@ -42800,7 +42770,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion unanswered event */ readonly "webhook-discussion-unanswered": { @@ -42810,7 +42780,7 @@ export interface components { readonly old_answer: components["schemas"]["webhooks_answer"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** discussion unlabeled event */ readonly "webhook-discussion-unlabeled": { @@ -42822,7 +42792,7 @@ export interface components { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion unlocked event */ readonly "webhook-discussion-unlocked": { @@ -42833,7 +42803,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** discussion unpinned event */ readonly "webhook-discussion-unpinned": { @@ -42844,7 +42814,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** * fork event @@ -43040,6 +43010,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -43136,7 +43107,7 @@ export interface components { readonly labels_url?: string; readonly language?: unknown; readonly languages_url?: string; - readonly license?: Record; + readonly license?: Record | null; readonly merges_url?: string; readonly milestones_url?: string; readonly mirror_url?: unknown; @@ -43191,13 +43162,13 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** github_app_authorization revoked event */ readonly "webhook-github-app-authorization-revoked": { /** @enum {string} */ readonly action: "revoked"; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** gollum event */ readonly "webhook-gollum": { @@ -43225,7 +43196,7 @@ export interface components { readonly title: string; }[]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation created event */ readonly "webhook-installation-created": { @@ -43237,7 +43208,7 @@ export interface components { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: components["schemas"]["webhooks_user"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation deleted event */ readonly "webhook-installation-deleted": { @@ -43249,7 +43220,7 @@ export interface components { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: unknown; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation new_permissions_accepted event */ readonly "webhook-installation-new-permissions-accepted": { @@ -43261,7 +43232,7 @@ export interface components { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: unknown; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation_repositories added event */ readonly "webhook-installation-repositories-added": { @@ -43285,7 +43256,7 @@ export interface components { readonly repository?: components["schemas"]["repository-webhooks"]; readonly repository_selection: components["schemas"]["webhooks_repository_selection"]; readonly requester: components["schemas"]["webhooks_user"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation_repositories removed event */ readonly "webhook-installation-repositories-removed": { @@ -43309,7 +43280,7 @@ export interface components { readonly repository?: components["schemas"]["repository-webhooks"]; readonly repository_selection: components["schemas"]["webhooks_repository_selection"]; readonly requester: components["schemas"]["webhooks_user"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** installation suspend event */ readonly "webhook-installation-suspend": { @@ -43321,7 +43292,7 @@ export interface components { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: unknown; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; readonly "webhook-installation-target-renamed": { readonly account: { @@ -43361,6 +43332,7 @@ export interface components { readonly updated_at?: string; readonly url?: string; readonly website_url?: unknown; + readonly user_view_type?: string; }; /** @enum {string} */ readonly action: "renamed"; @@ -43376,7 +43348,7 @@ export interface components { readonly installation: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly target_type: string; }; /** installation unsuspend event */ @@ -43389,7 +43361,7 @@ export interface components { readonly repositories?: components["schemas"]["webhooks_repositories"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly requester?: unknown; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issue_comment created event */ readonly "webhook-issue-comment-created": { @@ -43479,6 +43451,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43523,6 +43496,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -43559,6 +43533,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -43646,6 +43621,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -43728,6 +43704,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -43889,6 +43866,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } & { readonly active_lock_reason?: string | null; @@ -43928,8 +43906,9 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly assignees?: readonly Record[]; + readonly assignees?: readonly (Record | null)[]; readonly author_association?: string; readonly body?: string | null; readonly closed_at?: string | null; @@ -43956,10 +43935,10 @@ export interface components { }[]; readonly labels_url?: string; readonly locked: boolean; - readonly milestone?: Record; + readonly milestone?: Record | null; readonly node_id?: string; readonly number?: number; - readonly performed_via_github_app?: Record; + readonly performed_via_github_app?: Record | null; readonly reactions?: { readonly "+1"?: number; readonly "-1"?: number; @@ -44006,7 +43985,7 @@ export interface components { }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issue_comment deleted event */ readonly "webhook-issue-comment-deleted": { @@ -44055,6 +44034,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -44091,6 +44071,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44178,6 +44159,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -44260,6 +44242,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -44421,6 +44404,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } & { readonly active_lock_reason?: string | null; @@ -44460,8 +44444,9 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly assignees?: readonly Record[]; + readonly assignees?: readonly (Record | null)[]; readonly author_association?: string; readonly body?: string | null; readonly closed_at?: string | null; @@ -44488,10 +44473,10 @@ export interface components { }[]; readonly labels_url?: string; readonly locked: boolean; - readonly milestone?: Record; + readonly milestone?: Record | null; readonly node_id?: string; readonly number?: number; - readonly performed_via_github_app?: Record; + readonly performed_via_github_app?: Record | null; readonly reactions?: { readonly "+1"?: number; readonly "-1"?: number; @@ -44534,11 +44519,12 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issue_comment edited event */ readonly "webhook-issue-comment-edited": { @@ -44588,6 +44574,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -44624,6 +44611,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44711,6 +44699,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -44793,6 +44782,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -44954,6 +44944,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } & { readonly active_lock_reason?: string | null; @@ -44993,8 +44984,9 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly assignees?: readonly Record[]; + readonly assignees?: readonly (Record | null)[]; readonly author_association?: string; readonly body?: string | null; readonly closed_at?: string | null; @@ -45021,10 +45013,10 @@ export interface components { }[]; readonly labels_url?: string; readonly locked: boolean; - readonly milestone?: Record; + readonly milestone?: Record | null; readonly node_id?: string; readonly number?: number; - readonly performed_via_github_app?: Record; + readonly performed_via_github_app?: Record | null; readonly reactions?: { readonly "+1"?: number; readonly "-1"?: number; @@ -45071,7 +45063,7 @@ export interface components { }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues assigned event */ readonly "webhook-issues-assigned": { @@ -45086,7 +45078,7 @@ export interface components { readonly issue: components["schemas"]["webhooks_issue"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues closed event */ readonly "webhook-issues-closed": { @@ -45137,6 +45129,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -45173,6 +45166,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -45260,6 +45254,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -45342,6 +45337,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -45503,11 +45499,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } & { readonly active_lock_reason?: string | null; - readonly assignee?: Record; - readonly assignees?: readonly Record[]; + readonly assignee?: Record | null; + readonly assignees?: readonly (Record | null)[]; readonly author_association?: string; readonly body?: string | null; readonly closed_at: string | null; @@ -45517,13 +45514,13 @@ export interface components { readonly events_url?: string; readonly html_url?: string; readonly id?: number; - readonly labels?: readonly Record[]; + readonly labels?: readonly (Record | null)[]; readonly labels_url?: string; readonly locked?: boolean; - readonly milestone?: Record; + readonly milestone?: Record | null; readonly node_id?: string; readonly number?: number; - readonly performed_via_github_app?: Record; + readonly performed_via_github_app?: Record | null; readonly reactions?: { readonly "+1"?: number; readonly "-1"?: number; @@ -45563,11 +45560,12 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues deleted event */ readonly "webhook-issues-deleted": { @@ -45618,6 +45616,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -45741,6 +45740,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -45823,6 +45823,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -45984,11 +45985,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues demilestoned event */ readonly "webhook-issues-demilestoned": { @@ -46162,6 +46164,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -46244,6 +46247,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -46405,12 +46409,13 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly milestone?: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues edited event */ readonly "webhook-issues-edited": { @@ -46472,6 +46477,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -46595,6 +46601,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -46677,6 +46684,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -46838,12 +46846,13 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly label?: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues labeled event */ readonly "webhook-issues-labeled": { @@ -46894,6 +46903,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -47017,6 +47027,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -47099,6 +47110,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -47260,12 +47272,13 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly label?: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues locked event */ readonly "webhook-issues-locked": { @@ -47316,6 +47329,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -47352,6 +47366,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -47440,6 +47455,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -47522,6 +47538,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -47683,11 +47700,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues milestoned event */ readonly "webhook-issues-milestoned": { @@ -47861,6 +47879,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -47943,6 +47962,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -48104,12 +48124,13 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly milestone: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues opened event */ readonly "webhook-issues-opened": { @@ -48159,6 +48180,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -48195,6 +48217,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48282,6 +48305,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -48364,6 +48388,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -48525,6 +48550,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; } | null; /** @@ -48724,6 +48750,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -48819,6 +48846,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -48855,6 +48883,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48942,6 +48971,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -49024,6 +49054,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -49185,11 +49216,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues pinned event */ readonly "webhook-issues-pinned": { @@ -49200,7 +49232,7 @@ export interface components { readonly issue: components["schemas"]["webhooks_issue_2"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues reopened event */ readonly "webhook-issues-reopened": { @@ -49374,6 +49406,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -49456,6 +49489,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -49617,11 +49651,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues transferred event */ readonly "webhook-issues-transferred": { @@ -49671,6 +49706,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -49707,6 +49743,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -49794,6 +49831,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -49876,6 +49914,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -50037,6 +50076,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** @@ -50239,6 +50279,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -50294,7 +50335,7 @@ export interface components { readonly issue: components["schemas"]["webhooks_issue_2"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues unassigned event */ readonly "webhook-issues-unassigned": { @@ -50309,7 +50350,7 @@ export interface components { readonly issue: components["schemas"]["webhooks_issue"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues unlabeled event */ readonly "webhook-issues-unlabeled": { @@ -50321,7 +50362,7 @@ export interface components { readonly label?: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues unlocked event */ readonly "webhook-issues-unlocked": { @@ -50372,6 +50413,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -50408,6 +50450,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -50496,6 +50539,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -50578,6 +50622,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ readonly permissions?: { @@ -50739,11 +50784,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** issues unpinned event */ readonly "webhook-issues-unpinned": { @@ -50754,7 +50800,7 @@ export interface components { readonly issue: components["schemas"]["webhooks_issue_2"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** label created event */ readonly "webhook-label-created": { @@ -50765,7 +50811,7 @@ export interface components { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** label deleted event */ readonly "webhook-label-deleted": { @@ -50776,7 +50822,7 @@ export interface components { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** label edited event */ readonly "webhook-label-edited": { @@ -50802,7 +50848,7 @@ export interface components { readonly label: components["schemas"]["webhooks_label"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase cancelled event */ readonly "webhook-marketplace-purchase-cancelled": { @@ -50815,7 +50861,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase changed event */ readonly "webhook-marketplace-purchase-changed": { @@ -50854,7 +50900,7 @@ export interface components { readonly unit_count: number; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change event */ readonly "webhook-marketplace-purchase-pending-change": { @@ -50893,7 +50939,7 @@ export interface components { readonly unit_count: number; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change_cancelled event */ readonly "webhook-marketplace-purchase-pending-change-cancelled": { @@ -50932,7 +50978,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase purchased event */ readonly "webhook-marketplace-purchase-purchased": { @@ -50945,7 +50991,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** member added event */ readonly "webhook-member-added": { @@ -50970,7 +51016,7 @@ export interface components { readonly member: components["schemas"]["webhooks_user"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** member edited event */ readonly "webhook-member-edited": { @@ -50992,7 +51038,7 @@ export interface components { readonly member: components["schemas"]["webhooks_user"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** member removed event */ readonly "webhook-member-removed": { @@ -51003,7 +51049,7 @@ export interface components { readonly member: components["schemas"]["webhooks_user"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** membership added event */ readonly "webhook-membership-added": { @@ -51055,6 +51101,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly team: components["schemas"]["webhooks_team"]; }; @@ -51108,6 +51155,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly team: components["schemas"]["webhooks_team"]; }; @@ -51118,7 +51166,7 @@ export interface components { readonly merge_group: components["schemas"]["merge-group"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; readonly "webhook-merge-group-destroyed": { /** @enum {string} */ @@ -51132,7 +51180,7 @@ export interface components { readonly merge_group: components["schemas"]["merge-group"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** meta deleted event */ readonly "webhook-meta-deleted": { @@ -51162,7 +51210,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["nullable-repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** milestone closed event */ readonly "webhook-milestone-closed": { @@ -51173,7 +51221,7 @@ export interface components { readonly milestone: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** milestone created event */ readonly "webhook-milestone-created": { @@ -51184,7 +51232,7 @@ export interface components { readonly milestone: components["schemas"]["webhooks_milestone_3"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** milestone deleted event */ readonly "webhook-milestone-deleted": { @@ -51195,7 +51243,7 @@ export interface components { readonly milestone: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** milestone edited event */ readonly "webhook-milestone-edited": { @@ -51221,7 +51269,7 @@ export interface components { readonly milestone: components["schemas"]["webhooks_milestone"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** milestone opened event */ readonly "webhook-milestone-opened": { @@ -51232,7 +51280,7 @@ export interface components { readonly milestone: components["schemas"]["webhooks_milestone_3"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** org_block blocked event */ readonly "webhook-org-block-blocked": { @@ -51243,7 +51291,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** org_block unblocked event */ readonly "webhook-org-block-unblocked": { @@ -51254,7 +51302,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** organization deleted event */ readonly "webhook-organization-deleted": { @@ -51265,7 +51313,7 @@ export interface components { readonly membership?: components["schemas"]["webhooks_membership"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** organization member_added event */ readonly "webhook-organization-member-added": { @@ -51276,7 +51324,7 @@ export interface components { readonly membership: components["schemas"]["webhooks_membership"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** organization member_invited event */ readonly "webhook-organization-member-invited": { @@ -51331,6 +51379,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly login: string | null; readonly node_id: string; @@ -51340,7 +51389,7 @@ export interface components { }; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly user?: components["schemas"]["webhooks_user"]; }; /** organization member_removed event */ @@ -51352,7 +51401,7 @@ export interface components { readonly membership: components["schemas"]["webhooks_membership"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** organization renamed event */ readonly "webhook-organization-renamed": { @@ -51368,7 +51417,7 @@ export interface components { readonly membership?: components["schemas"]["webhooks_membership"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Ruby Gems metadata */ readonly "webhook-rubygems-metadata": { @@ -51442,6 +51491,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly package_type: string; readonly package_version: { @@ -51481,12 +51531,13 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body?: string | Record; readonly body_html?: string; readonly container_metadata?: { - readonly labels?: Record; - readonly manifest?: Record; + readonly labels?: Record | null; + readonly manifest?: Record | null; readonly tag?: { readonly digest?: string; readonly name?: string; @@ -51511,19 +51562,19 @@ export interface components { readonly name?: string; readonly version?: string; readonly npm_user?: string; - readonly author?: Record; - readonly bugs?: Record; + readonly author?: Record | null; + readonly bugs?: Record | null; readonly dependencies?: Record; readonly dev_dependencies?: Record; readonly peer_dependencies?: Record; readonly optional_dependencies?: Record; readonly description?: string; - readonly dist?: Record; + readonly dist?: Record | null; readonly git_head?: string; readonly homepage?: string; readonly license?: string; readonly main?: string; - readonly repository?: Record; + readonly repository?: Record | null; readonly scripts?: Record; readonly id?: string; readonly node_version?: string; @@ -51536,7 +51587,7 @@ export interface components { readonly files?: readonly string[]; readonly bin?: Record; readonly man?: Record; - readonly directories?: Record; + readonly directories?: Record | null; readonly os?: readonly string[]; readonly cpu?: readonly string[]; readonly readme?: string; @@ -51609,6 +51660,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly created_at: string; readonly draft: boolean; @@ -51644,7 +51696,7 @@ export interface components { readonly updated_at: string | null; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** package updated event */ readonly "webhook-package-updated": { @@ -51699,6 +51751,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly package_type: string; readonly package_version: { @@ -51738,6 +51791,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body: string; readonly body_html: string; @@ -51809,6 +51863,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly created_at: string; readonly draft: boolean; @@ -51845,7 +51900,7 @@ export interface components { readonly updated_at: string; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** page_build event */ readonly "webhook-page-build": { @@ -51893,6 +51948,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly status: string; readonly updated_at: string; @@ -51904,7 +51960,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** personal_access_token_request approved event */ readonly "webhook-personal-access-token-request-approved": { @@ -51913,7 +51969,7 @@ export interface components { readonly personal_access_token_request: components["schemas"]["personal-access-token-request"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request cancelled event */ @@ -51923,7 +51979,7 @@ export interface components { readonly personal_access_token_request: components["schemas"]["personal-access-token-request"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request created event */ @@ -51933,7 +51989,7 @@ export interface components { readonly personal_access_token_request: components["schemas"]["personal-access-token-request"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly installation?: components["schemas"]["simple-installation"]; }; /** personal_access_token_request denied event */ @@ -51943,7 +51999,7 @@ export interface components { readonly personal_access_token_request: components["schemas"]["personal-access-token-request"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly installation: components["schemas"]["simple-installation"]; }; readonly "webhook-ping": { @@ -51990,7 +52046,7 @@ export interface components { readonly hook_id?: number; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; /** @description Random string of GitHub zen. */ readonly zen?: string; }; @@ -52013,7 +52069,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_card: components["schemas"]["webhooks_project_card"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_card created event */ readonly "webhook-project-card-created": { @@ -52024,7 +52080,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_card: components["schemas"]["webhooks_project_card"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_card deleted event */ readonly "webhook-project-card-deleted": { @@ -52081,6 +52137,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The project card's ID */ readonly id: number; @@ -52094,7 +52151,7 @@ export interface components { readonly url: string; }; readonly repository?: components["schemas"]["nullable-repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_card edited event */ readonly "webhook-project-card-edited": { @@ -52110,7 +52167,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_card: components["schemas"]["webhooks_project_card"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_card moved event */ readonly "webhook-project-card-moved": { @@ -52171,6 +52228,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description The project card's ID */ readonly id: number; @@ -52216,7 +52274,7 @@ export interface components { readonly url?: string; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project closed event */ readonly "webhook-project-closed": { @@ -52227,7 +52285,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project_column created event */ readonly "webhook-project-column-created": { @@ -52238,7 +52296,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_column: components["schemas"]["webhooks_project_column"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project_column deleted event */ readonly "webhook-project-column-deleted": { @@ -52249,7 +52307,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_column: components["schemas"]["webhooks_project_column"]; readonly repository?: components["schemas"]["nullable-repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project_column edited event */ readonly "webhook-project-column-edited": { @@ -52265,7 +52323,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_column: components["schemas"]["webhooks_project_column"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project_column moved event */ readonly "webhook-project-column-moved": { @@ -52276,7 +52334,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project_column: components["schemas"]["webhooks_project_column"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project created event */ readonly "webhook-project-created": { @@ -52287,7 +52345,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** project deleted event */ readonly "webhook-project-deleted": { @@ -52298,7 +52356,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["nullable-repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project edited event */ readonly "webhook-project-edited": { @@ -52320,7 +52378,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** project reopened event */ readonly "webhook-project-reopened": { @@ -52331,7 +52389,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly project: components["schemas"]["webhooks_project"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Closed Event */ readonly "webhook-projects-v2-project-closed": { @@ -52340,7 +52398,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** @description A project was created */ readonly "webhook-projects-v2-project-created": { @@ -52349,7 +52407,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Deleted Event */ readonly "webhook-projects-v2-project-deleted": { @@ -52358,7 +52416,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Edited Event */ readonly "webhook-projects-v2-project-edited": { @@ -52385,7 +52443,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Archived Event */ readonly "webhook-projects-v2-item-archived": { @@ -52395,7 +52453,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Converted Event */ readonly "webhook-projects-v2-item-converted": { @@ -52410,7 +52468,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Created Event */ readonly "webhook-projects-v2-item-created": { @@ -52419,7 +52477,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Deleted Event */ readonly "webhook-projects-v2-item-deleted": { @@ -52428,7 +52486,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Edited Event */ readonly "webhook-projects-v2-item-edited": { @@ -52454,7 +52512,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Reordered Event */ readonly "webhook-projects-v2-item-reordered": { @@ -52469,7 +52527,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Restored Event */ readonly "webhook-projects-v2-item-restored": { @@ -52479,7 +52537,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_item: components["schemas"]["projects-v2-item"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Reopened Event */ readonly "webhook-projects-v2-project-reopened": { @@ -52488,7 +52546,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2: components["schemas"]["projects-v2"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Created Event */ readonly "webhook-projects-v2-status-update-created": { @@ -52497,7 +52555,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Deleted Event */ readonly "webhook-projects-v2-status-update-deleted": { @@ -52506,7 +52564,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Edited Event */ readonly "webhook-projects-v2-status-update-edited": { @@ -52539,7 +52597,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization: components["schemas"]["organization-simple-webhooks"]; readonly projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** public event */ readonly "webhook-public": { @@ -52547,7 +52605,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request assigned event */ readonly "webhook-pull-request-assigned": { @@ -52641,6 +52699,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -52677,6 +52736,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -52729,6 +52789,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -52952,6 +53013,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -53012,7 +53074,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -53061,6 +53123,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -53296,6 +53359,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -53356,7 +53420,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -53405,6 +53469,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -53472,6 +53537,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -53519,6 +53585,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -53585,6 +53652,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -53742,10 +53810,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_disabled event */ readonly "webhook-pull-request-auto-merge-disabled": { @@ -53838,6 +53907,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -53926,6 +53996,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -54149,6 +54220,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -54209,7 +54281,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -54258,6 +54330,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -54493,6 +54566,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -54553,7 +54627,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -54602,6 +54676,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -54669,6 +54744,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -54716,6 +54792,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -54782,6 +54859,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -54939,11 +55017,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly reason: string; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_enabled event */ readonly "webhook-pull-request-auto-merge-enabled": { @@ -55036,6 +55115,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -55124,6 +55204,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -55347,6 +55428,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -55407,7 +55489,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -55456,6 +55538,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -55688,6 +55771,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -55748,7 +55832,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -55797,6 +55881,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -55864,6 +55949,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -55911,6 +55997,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -55977,6 +56064,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -56134,11 +56222,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly reason?: string; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request closed event */ readonly "webhook-pull-request-closed": { @@ -56150,7 +56239,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request converted_to_draft event */ readonly "webhook-pull-request-converted-to-draft": { @@ -56162,7 +56251,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request demilestoned event */ readonly "webhook-pull-request-demilestoned": { @@ -56174,7 +56263,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["webhooks_pull_request_5"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** pull_request dequeued event */ readonly "webhook-pull-request-dequeued": { @@ -56267,6 +56356,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -56355,6 +56445,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -56578,6 +56669,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -56638,7 +56730,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -56687,6 +56779,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -56922,6 +57015,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -56982,7 +57076,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -57031,6 +57125,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -57098,6 +57193,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -57145,6 +57241,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -57211,6 +57308,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -57368,11 +57466,13 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; - readonly reason: string; + /** @enum {string} */ + readonly reason: "UNKNOWN_REMOVAL_REASON" | "MANUAL" | "MERGE" | "MERGE_CONFLICT" | "CI_FAILURE" | "CI_TIMEOUT" | "ALREADY_MERGED" | "QUEUE_CLEARED" | "ROLL_BACK" | "BRANCH_PROTECTIONS" | "GIT_TREE_INVALID" | "INVALID_MERGE_COMMIT"; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request edited event */ readonly "webhook-pull-request-edited": { @@ -57403,7 +57503,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** pull_request enqueued event */ readonly "webhook-pull-request-enqueued": { @@ -57496,6 +57596,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -57584,6 +57685,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -57807,6 +57909,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -57867,7 +57970,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -57916,6 +58019,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -58151,6 +58255,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -58211,7 +58316,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -58260,6 +58365,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -58327,6 +58433,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -58374,6 +58481,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -58440,6 +58548,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -58597,10 +58706,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request labeled event */ readonly "webhook-pull-request-labeled": { @@ -58694,6 +58804,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -58782,6 +58893,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -59005,6 +59117,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -59065,7 +59178,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -59114,6 +59227,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -59349,6 +59463,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -59409,7 +59524,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -59458,6 +59573,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -59525,6 +59641,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -59572,6 +59689,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -59638,6 +59756,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -59795,10 +59914,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request locked event */ readonly "webhook-pull-request-locked": { @@ -59891,6 +60011,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -59979,6 +60100,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -60202,6 +60324,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -60262,7 +60385,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -60311,6 +60434,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -60546,6 +60670,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -60606,7 +60731,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -60655,6 +60780,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -60722,6 +60848,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -60769,6 +60896,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -60835,6 +60963,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -60992,10 +61121,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request milestoned event */ readonly "webhook-pull-request-milestoned": { @@ -61007,7 +61137,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["webhooks_pull_request_5"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** pull_request opened event */ readonly "webhook-pull-request-opened": { @@ -61019,7 +61149,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request ready_for_review event */ readonly "webhook-pull-request-ready-for-review": { @@ -61031,7 +61161,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request reopened event */ readonly "webhook-pull-request-reopened": { @@ -61043,7 +61173,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly pull_request: components["schemas"]["pull-request-webhook"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment created event */ readonly "webhook-pull-request-review-comment-created": { @@ -61193,6 +61323,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -61279,6 +61410,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -61367,6 +61499,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -61590,6 +61723,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -61650,7 +61784,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -61699,6 +61833,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -61927,6 +62062,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -61987,7 +62123,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -62036,6 +62172,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -62107,6 +62244,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -62171,6 +62309,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -62322,10 +62461,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment deleted event */ readonly "webhook-pull-request-review-comment-deleted": { @@ -62416,6 +62556,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -62504,6 +62645,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -62727,6 +62869,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -62787,7 +62930,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -62836,6 +62979,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -63064,6 +63208,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -63124,7 +63269,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -63173,6 +63318,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -63244,6 +63390,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -63308,6 +63455,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -63459,10 +63607,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment edited event */ readonly "webhook-pull-request-review-comment-edited": { @@ -63554,6 +63703,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -63590,6 +63740,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -63642,6 +63793,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -63865,6 +64017,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -63925,7 +64078,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -63974,6 +64127,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -64202,6 +64356,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -64262,7 +64417,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -64311,6 +64466,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -64382,6 +64538,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -64446,6 +64603,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -64595,12 +64753,13 @@ export interface components { readonly subscriptions_url?: string; /** @enum {string} */ readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; + readonly user_view_type?: string; /** Format: uri */ readonly url?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review dismissed event */ readonly "webhook-pull-request-review-dismissed": { @@ -64691,6 +64850,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -64779,6 +64939,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -65002,6 +65163,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -65062,7 +65224,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -65111,6 +65273,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -65339,6 +65502,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -65399,7 +65563,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -65448,6 +65612,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -65519,6 +65684,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -65583,6 +65749,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -65734,6 +65901,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -65809,9 +65977,10 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review edited event */ readonly "webhook-pull-request-review-edited": { @@ -65908,6 +66077,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -65996,6 +66166,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -66197,6 +66368,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -66282,6 +66454,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -66488,6 +66661,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -66573,6 +66747,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -66644,6 +66819,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -66708,6 +66884,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -66859,11 +67036,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; readonly review: components["schemas"]["webhooks_review"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request review_request_removed event */ readonly "webhook-pull-request-review-request-removed": { @@ -66957,6 +67135,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -66993,6 +67172,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -67045,6 +67225,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -67268,6 +67449,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -67321,7 +67503,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -67370,6 +67552,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -67605,6 +67788,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -67665,7 +67849,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -67714,6 +67898,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -67781,6 +67966,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -67828,6 +68014,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -67894,6 +68081,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -68051,6 +68239,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -68090,8 +68279,9 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ readonly action: "review_request_removed"; @@ -68183,6 +68373,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -68219,6 +68410,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -68271,6 +68463,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -68494,6 +68687,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -68554,7 +68748,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -68603,6 +68797,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -68838,6 +69033,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -68898,7 +69094,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -68947,6 +69143,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -69014,6 +69211,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -69061,6 +69259,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -69127,6 +69326,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -69284,6 +69484,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -69342,7 +69543,7 @@ export interface components { */ readonly url: string; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request review_requested event */ readonly "webhook-pull-request-review-requested": { @@ -69436,6 +69637,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -69472,6 +69674,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -69524,6 +69727,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -69747,6 +69951,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -69807,7 +70012,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -69856,6 +70061,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -70091,6 +70297,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -70151,7 +70358,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -70200,6 +70407,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -70267,6 +70475,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -70314,6 +70523,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -70380,6 +70590,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -70537,6 +70748,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -70576,8 +70788,9 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ readonly action: "review_requested"; @@ -70669,6 +70882,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -70705,6 +70919,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -70757,6 +70972,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -70980,6 +71196,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -71040,7 +71257,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -71089,6 +71306,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -71324,6 +71542,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -71384,7 +71603,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -71433,6 +71652,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -71500,6 +71720,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -71547,6 +71768,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -71613,6 +71835,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -71770,6 +71993,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; @@ -71828,7 +72052,7 @@ export interface components { */ readonly url?: string; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review submitted event */ readonly "webhook-pull-request-review-submitted": { @@ -71919,6 +72143,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -72007,6 +72232,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -72230,6 +72456,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -72290,7 +72517,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -72339,6 +72566,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -72567,6 +72795,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -72627,7 +72856,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -72676,6 +72905,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -72747,6 +72977,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -72811,6 +73042,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -72962,11 +73194,12 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; readonly review: components["schemas"]["webhooks_review"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request_review_thread resolved event */ readonly "webhook-pull-request-review-thread-resolved": { @@ -73057,6 +73290,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -73145,6 +73379,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -73351,6 +73586,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -73438,6 +73674,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -73649,6 +73886,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -73736,6 +73974,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -73807,6 +74046,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -73871,6 +74111,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -74022,10 +74263,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly thread: { readonly comments: readonly { readonly _links: { @@ -74167,6 +74409,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }[]; readonly node_id: string; @@ -74261,6 +74504,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -74349,6 +74593,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -74555,6 +74800,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -74642,6 +74888,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -74853,6 +75100,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -74940,6 +75188,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -75011,6 +75260,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -75075,6 +75325,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -75226,10 +75477,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly thread: { readonly comments: readonly { readonly _links: { @@ -75371,6 +75623,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }[]; readonly node_id: string; @@ -75469,6 +75722,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -75557,6 +75811,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -75780,6 +76035,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -75840,7 +76096,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -75889,6 +76145,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -76117,6 +76374,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -76177,7 +76435,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -76226,6 +76484,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -76293,6 +76552,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -76340,6 +76600,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -76406,6 +76667,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -76563,10 +76825,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request unassigned event */ readonly "webhook-pull-request-unassigned": { @@ -76660,6 +76923,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -76748,6 +77012,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -76971,6 +77236,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -77031,7 +77297,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -77080,6 +77346,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -77315,6 +77582,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -77375,7 +77643,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -77424,6 +77692,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -77491,6 +77760,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -77538,6 +77808,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -77604,6 +77875,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -77761,10 +78033,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** pull_request unlabeled event */ readonly "webhook-pull-request-unlabeled": { @@ -77858,6 +78131,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -77946,6 +78220,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -78169,6 +78444,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -78229,7 +78505,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -78278,6 +78554,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -78506,6 +78783,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -78566,7 +78844,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -78615,6 +78893,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -78682,6 +78961,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -78729,6 +79009,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -78795,6 +79076,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -78952,10 +79234,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** pull_request unlocked event */ readonly "webhook-pull-request-unlocked": { @@ -79048,6 +79331,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly assignees: readonly ({ /** Format: uri */ @@ -79136,6 +79420,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * @description The merge method to use. @@ -79359,6 +79644,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -79419,7 +79705,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -79468,6 +79754,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly body: string | null; @@ -79703,6 +79990,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -79763,7 +80051,7 @@ export interface components { /** Format: uri */ readonly url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default: boolean; @@ -79812,6 +80100,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; /** Format: uri */ @@ -79879,6 +80168,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** * Milestone @@ -79926,6 +80216,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly description: string | null; /** Format: date-time */ @@ -79992,6 +80283,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null) | { readonly deleted?: boolean; /** @description Description of the team */ @@ -80149,10 +80441,11 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** push event */ readonly "webhook-push": { @@ -80489,6 +80782,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -80538,7 +80832,7 @@ export interface components { /** @description Whether to require contributors to sign off on web-based commits */ readonly web_commit_signoff_required?: boolean; }; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; readonly "webhook-registry-package-published": { /** @enum {string} */ @@ -80573,6 +80867,7 @@ export interface components { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly package_type: string; readonly package_version: { @@ -80595,12 +80890,13 @@ export interface components { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly body?: string | Record; readonly body_html?: string; readonly container_metadata?: { - readonly labels?: Record; - readonly manifest?: Record; + readonly labels?: Record | null; + readonly manifest?: Record | null; readonly tag?: { readonly digest?: string; readonly name?: string; @@ -80704,6 +81000,7 @@ export interface components { readonly subscriptions_url?: string; readonly type?: string; readonly url?: string; + readonly user_view_type?: string; }; readonly created_at?: string; readonly draft?: boolean; @@ -80734,7 +81031,7 @@ export interface components { readonly updated_at: string | null; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; readonly "webhook-registry-package-updated": { /** @enum {string} */ @@ -80769,6 +81066,7 @@ export interface components { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly package_type: string; readonly package_version: { @@ -80791,6 +81089,7 @@ export interface components { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly body: string; readonly body_html: string; @@ -80843,6 +81142,7 @@ export interface components { readonly subscriptions_url: string; readonly type: string; readonly url: string; + readonly user_view_type?: string; }; readonly created_at: string; readonly draft: boolean; @@ -80863,11 +81163,11 @@ export interface components { readonly updated_at: string; readonly version: string; }; - readonly registry: Record; + readonly registry: Record | null; readonly updated_at: string; }; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** release created event */ readonly "webhook-release-created": { @@ -80878,7 +81178,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** release deleted event */ readonly "webhook-release-deleted": { @@ -80889,7 +81189,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** release edited event */ readonly "webhook-release-edited": { @@ -80914,7 +81214,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** release prereleased event */ readonly "webhook-release-prereleased": { @@ -81026,6 +81326,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly body: string | null; /** Format: date-time */ @@ -81074,7 +81375,7 @@ export interface components { readonly zipball_url: string | null; }; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** release published event */ readonly "webhook-release-published": { @@ -81085,7 +81386,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release_1"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** release released event */ readonly "webhook-release-released": { @@ -81096,7 +81397,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** release unpublished event */ readonly "webhook-release-unpublished": { @@ -81107,7 +81408,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly release: components["schemas"]["webhooks_release_1"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** Repository advisory published event */ readonly "webhook-repository-advisory-published": { @@ -81118,7 +81419,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly repository_advisory: components["schemas"]["repository-advisory"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** Repository advisory reported event */ readonly "webhook-repository-advisory-reported": { @@ -81129,7 +81430,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; readonly repository_advisory: components["schemas"]["repository-advisory"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** repository archived event */ readonly "webhook-repository-archived": { @@ -81139,7 +81440,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository created event */ readonly "webhook-repository-created": { @@ -81149,7 +81450,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository deleted event */ readonly "webhook-repository-deleted": { @@ -81159,7 +81460,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_dispatch event */ readonly "webhook-repository-dispatch-sample": { @@ -81174,7 +81475,7 @@ export interface components { readonly installation: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository edited event */ readonly "webhook-repository-edited": { @@ -81198,7 +81499,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_import event */ readonly "webhook-repository-import": { @@ -81206,7 +81507,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; /** @enum {string} */ readonly status: "success" | "cancelled" | "failure"; }; @@ -81218,7 +81519,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository publicized event */ readonly "webhook-repository-publicized": { @@ -81228,7 +81529,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository renamed event */ readonly "webhook-repository-renamed": { @@ -81245,7 +81546,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository ruleset created event */ readonly "webhook-repository-ruleset-created": { @@ -81256,7 +81557,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly repository_ruleset: components["schemas"]["repository-ruleset"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository ruleset deleted event */ readonly "webhook-repository-ruleset-deleted": { @@ -81267,7 +81568,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly repository_ruleset: components["schemas"]["repository-ruleset"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository ruleset edited event */ readonly "webhook-repository-ruleset-edited": { @@ -81325,7 +81626,7 @@ export interface components { }[]; }; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository transferred event */ readonly "webhook-repository-transferred": { @@ -81396,6 +81697,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; }; }; @@ -81404,7 +81706,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository unarchived event */ readonly "webhook-repository-unarchived": { @@ -81414,7 +81716,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert create event */ readonly "webhook-repository-vulnerability-alert-create": { @@ -81425,7 +81727,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert dismiss event */ readonly "webhook-repository-vulnerability-alert-dismiss": { @@ -81478,6 +81780,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly external_identifier: string; /** Format: uri */ @@ -81498,7 +81801,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert reopen event */ readonly "webhook-repository-vulnerability-alert-reopen": { @@ -81509,7 +81812,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert resolve event */ readonly "webhook-repository-vulnerability-alert-resolve": { @@ -81581,7 +81884,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** secret_scanning_alert created event */ readonly "webhook-secret-scanning-alert-created": { @@ -81592,7 +81895,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ readonly "webhook-secret-scanning-alert-location-created": { @@ -81603,13 +81906,24 @@ export interface components { readonly location: components["schemas"]["secret-scanning-location"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ readonly "webhook-secret-scanning-alert-location-created-form-encoded": { /** @description A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object. */ readonly payload: string; }; + /** secret_scanning_alert publicly leaked event */ + readonly "webhook-secret-scanning-alert-publicly-leaked": { + /** @enum {string} */ + readonly action: "publicly_leaked"; + readonly alert: components["schemas"]["secret-scanning-alert-webhook"]; + readonly enterprise?: components["schemas"]["enterprise-webhooks"]; + readonly installation?: components["schemas"]["simple-installation"]; + readonly organization?: components["schemas"]["organization-simple-webhooks"]; + readonly repository: components["schemas"]["repository-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; + }; /** secret_scanning_alert reopened event */ readonly "webhook-secret-scanning-alert-reopened": { /** @enum {string} */ @@ -81619,7 +81933,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert resolved event */ readonly "webhook-secret-scanning-alert-resolved": { @@ -81630,7 +81944,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert validated event */ readonly "webhook-secret-scanning-alert-validated": { @@ -81641,7 +81955,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** security_advisory published event */ readonly "webhook-security-advisory-published": { @@ -81652,7 +81966,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly security_advisory: components["schemas"]["webhooks_security_advisory"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** security_advisory updated event */ readonly "webhook-security-advisory-updated": { @@ -81663,7 +81977,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; readonly security_advisory: components["schemas"]["webhooks_security_advisory"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** security_advisory withdrawn event */ readonly "webhook-security-advisory-withdrawn": { @@ -81711,7 +82025,7 @@ export interface components { }[]; readonly withdrawn_at: string; }; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** security_and_analysis event */ readonly "webhook-security-and-analysis": { @@ -81724,7 +82038,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["full-repository"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** sponsorship cancelled event */ readonly "webhook-sponsorship-cancelled": { @@ -81734,7 +82048,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship created event */ @@ -81745,7 +82059,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship edited event */ @@ -81762,7 +82076,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_cancellation event */ @@ -81774,7 +82088,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_tier_change event */ @@ -81787,7 +82101,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship tier_changed event */ @@ -81799,7 +82113,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** star created event */ @@ -81810,7 +82124,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly 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. */ readonly starred_at: string | null; }; @@ -81822,7 +82136,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly 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. */ readonly starred_at: unknown; }; @@ -81986,7 +82300,7 @@ export interface components { readonly name: string; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; /** @description The Commit SHA. */ readonly sha: string; /** @@ -82012,7 +82326,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** parent issue removed event */ readonly "webhook-sub-issues-parent-issue-removed": { @@ -82028,7 +82342,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** sub-issue added event */ readonly "webhook-sub-issues-sub-issue-added": { @@ -82044,7 +82358,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** sub-issue removed event */ readonly "webhook-sub-issues-sub-issue-removed": { @@ -82060,7 +82374,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository?: components["schemas"]["repository-webhooks"]; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; }; /** team_add event */ readonly "webhook-team-add": { @@ -82068,7 +82382,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team added_to_repository event */ @@ -82273,6 +82587,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -82320,7 +82635,7 @@ export interface components { readonly watchers: number; readonly watchers_count: number; }; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team created event */ @@ -82525,6 +82840,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -82572,7 +82888,7 @@ export interface components { readonly watchers: number; readonly watchers_count: number; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team deleted event */ @@ -82777,6 +83093,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -82824,7 +83141,7 @@ export interface components { readonly watchers: number; readonly watchers_count: number; }; - readonly sender?: components["schemas"]["simple-user-webhooks"]; + readonly sender?: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team edited event */ @@ -83060,6 +83377,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -83107,7 +83425,7 @@ export interface components { readonly watchers: number; readonly watchers_count: number; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** team removed_from_repository event */ @@ -83312,6 +83630,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; readonly permissions?: { readonly admin: boolean; @@ -83359,7 +83678,7 @@ export interface components { readonly watchers: number; readonly watchers_count: number; }; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly team: components["schemas"]["webhooks_team_1"]; }; /** watch started event */ @@ -83370,7 +83689,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; }; /** workflow_dispatch event */ readonly "webhook-workflow-dispatch": { @@ -83382,7 +83701,7 @@ export interface components { readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly ref: string; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: string; }; /** workflow_job completed event */ @@ -83393,7 +83712,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow_job: { /** Format: uri */ readonly check_run_url: string; @@ -83470,7 +83789,7 @@ export interface components { readonly head_branch?: string | null; /** @description The name of the workflow. */ readonly workflow_name?: string | null; - readonly steps?: readonly Record[]; + readonly steps?: readonly (Record | null)[]; readonly url?: string; }; readonly deployment?: components["schemas"]["deployment"]; @@ -83483,7 +83802,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow_job: { /** Format: uri */ readonly check_run_url: string; @@ -83581,7 +83900,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow_job: { /** Format: uri */ readonly check_run_url: string; @@ -83635,7 +83954,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow_job: { /** Format: uri */ readonly check_run_url: string; @@ -83689,7 +84008,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ readonly workflow_run: { @@ -83729,6 +84048,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: uri */ readonly artifacts_url: string; @@ -83879,6 +84199,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ readonly private: boolean; @@ -84051,6 +84372,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ readonly private: boolean; @@ -84119,6 +84441,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -84142,7 +84465,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ readonly workflow_run: { @@ -84590,7 +84913,7 @@ export interface components { readonly installation?: components["schemas"]["simple-installation"]; readonly organization?: components["schemas"]["organization-simple-webhooks"]; readonly repository: components["schemas"]["repository-webhooks"]; - readonly sender: components["schemas"]["simple-user-webhooks"]; + readonly sender: components["schemas"]["simple-user"]; readonly workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ readonly workflow_run: { @@ -84630,6 +84953,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: uri */ readonly artifacts_url: string; @@ -84780,6 +85104,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ readonly private: boolean; @@ -84952,6 +85277,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ readonly private: boolean; @@ -85020,6 +85346,7 @@ export interface components { readonly type?: "Bot" | "User" | "Organization"; /** Format: uri */ readonly url?: string; + readonly user_view_type?: string; } | null; /** Format: date-time */ readonly updated_at: string; @@ -85361,6 +85688,10 @@ export interface components { readonly "secret-scanning-alert-sort": "created" | "updated"; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ readonly "secret-scanning-alert-validity": string; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + readonly "secret-scanning-alert-publicly-leaked": boolean; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + readonly "secret-scanning-alert-multi-repo": boolean; /** @description The slug of the team name. */ readonly "team-slug": string; /** @description The unique identifier of the gist. */ @@ -85393,6 +85724,10 @@ export interface components { readonly org: string; /** @description The unique identifier of the repository. */ readonly "repository-id": number; + /** @description Only return runner groups that are allowed to be used by this repository. */ + readonly "visible-to-repository": string; + /** @description Unique identifier of the self-hosted runner group. */ + readonly "runner-group-id": number; /** @description Unique identifier of the self-hosted runner. */ readonly "runner-id": number; /** @description The name of a self-hosted runner's custom label. */ @@ -85448,8 +85783,13 @@ export interface components { readonly "personal-access-token-after": string; /** @description The unique identifier of the fine-grained personal access token. */ readonly "fine-grained-personal-access-token-id": number; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ readonly "custom-property-name": string; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + readonly "ruleset-targets": string; /** @description The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned. */ readonly "ref-in-query": string; /** @description The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned. */ @@ -85542,6 +85882,8 @@ export interface components { readonly status: "queued" | "in_progress" | "completed"; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ readonly "git-ref": components["schemas"]["code-scanning-ref"]; + /** @description The number of the pull request for the results you want to list. */ + readonly "pr-alias": number; /** @description The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ readonly "alert-number": components["schemas"]["alert-number"]; /** @description The SHA of the commit. */ @@ -86340,7 +86682,7 @@ export interface operations { readonly 404: components["responses"]["not_found"]; }; }; - readonly "classroom/list-accepted-assigments-for-an-assignment": { + readonly "classroom/list-accepted-assignments-for-an-assignment": { readonly parameters: { readonly query?: { /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -86697,6 +87039,10 @@ export interface operations { readonly after?: components["parameters"]["pagination-after"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ readonly validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + readonly is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + readonly is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; readonly header?: never; readonly path: { @@ -88302,7 +88648,7 @@ export interface operations { readonly members_can_create_public_repositories?: boolean; /** * @description Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. + * **Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. * @enum {string} */ readonly members_allowed_repository_creation_type?: "all" | "private" | "none"; @@ -88335,7 +88681,7 @@ export interface operations { readonly blog?: string; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88346,7 +88692,7 @@ export interface operations { readonly advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88357,7 +88703,7 @@ export interface operations { readonly dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88368,7 +88714,7 @@ export interface operations { readonly dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88379,7 +88725,7 @@ export interface operations { readonly dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88390,7 +88736,7 @@ export interface operations { readonly secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88788,6 +89134,415 @@ export interface operations { }; }; }; + readonly "actions/list-self-hosted-runner-groups-for-org": { + readonly parameters: { + readonly query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly page?: components["parameters"]["page"]; + /** @description Only return runner groups that are allowed to be used by this repository. */ + readonly visible_to_repository?: components["parameters"]["visible-to-repository"]; + }; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly total_count: number; + readonly runner_groups: readonly components["schemas"]["runner-groups-org"][]; + }; + }; + }; + }; + }; + readonly "actions/create-self-hosted-runner-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description Name of the runner group. */ + readonly name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. + * @default all + * @enum {string} + */ + readonly visibility?: "selected" | "all" | "private"; + /** @description List of repository IDs that can access the runner group. */ + readonly selected_repository_ids?: readonly number[]; + /** @description List of runner IDs to add to the runner group. */ + readonly runners?: readonly number[]; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + readonly allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + readonly restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + readonly selected_workflows?: readonly string[]; + }; + }; + }; + readonly responses: { + /** @description Response */ + readonly 201: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + readonly "actions/get-self-hosted-runner-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + readonly "actions/delete-self-hosted-runner-group-from-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/update-self-hosted-runner-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description Name of the runner group. */ + readonly name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + * @enum {string} + */ + readonly visibility?: "selected" | "all" | "private"; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + readonly allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + readonly restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + readonly selected_workflows?: readonly string[]; + }; + }; + }; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + readonly "actions/list-repo-access-to-self-hosted-runner-group-in-org": { + readonly parameters: { + readonly query?: { + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly page?: components["parameters"]["page"]; + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly per_page?: components["parameters"]["per-page"]; + }; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly total_count: number; + readonly repositories: readonly components["schemas"]["minimal-repository"][]; + }; + }; + }; + }; + }; + readonly "actions/set-repo-access-to-self-hosted-runner-group-in-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description List of repository IDs that can access the runner group. */ + readonly selected_repository_ids: readonly number[]; + }; + }; + }; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/add-repo-access-to-self-hosted-runner-group-in-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + readonly repository_id: components["parameters"]["repository-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/remove-repo-access-to-self-hosted-runner-group-in-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + readonly repository_id: components["parameters"]["repository-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/list-self-hosted-runners-in-group-for-org": { + readonly parameters: { + readonly query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly page?: components["parameters"]["page"]; + }; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 200: { + headers: { + readonly Link: components["headers"]["link"]; + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly total_count: number; + readonly runners: readonly components["schemas"]["runner"][]; + }; + }; + }; + }; + }; + readonly "actions/set-self-hosted-runners-in-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description List of runner IDs to add to the runner group. */ + readonly runners: readonly number[]; + }; + }; + }; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/add-self-hosted-runner-to-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + readonly runner_id: components["parameters"]["runner-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "actions/remove-self-hosted-runner-from-group-for-org": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + /** @description The organization name. The name is not case sensitive. */ + readonly org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + readonly runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + readonly runner_id: components["parameters"]["runner-id"]; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Response */ + readonly 204: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; readonly "actions/list-self-hosted-runners-for-org": { readonly parameters: { readonly query?: { @@ -89962,6 +90717,25 @@ export interface operations { * @enum {string} */ readonly secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @default disabled + * @enum {string} + */ + readonly secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + readonly secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + readonly reviewers?: readonly { + /** @description The ID of the team or role selected as a bypass reviewer */ + readonly reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + readonly reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @default disabled @@ -90166,6 +90940,24 @@ export interface operations { * @enum {string} */ readonly secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + readonly secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + readonly secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + readonly reviewers?: readonly { + /** @description The ID of the team or role selected as a bypass reviewer */ + readonly reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + readonly reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -93805,7 +94597,7 @@ export interface operations { readonly path: { /** @description The organization name. The name is not case sensitive. */ readonly org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ readonly custom_property_name: components["parameters"]["custom-property-name"]; }; readonly cookie?: never; @@ -93832,7 +94624,7 @@ export interface operations { readonly path: { /** @description The organization name. The name is not case sensitive. */ readonly org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ readonly custom_property_name: components["parameters"]["custom-property-name"]; }; readonly cookie?: never; @@ -93879,7 +94671,7 @@ export interface operations { readonly path: { /** @description The organization name. The name is not case sensitive. */ readonly org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ readonly custom_property_name: components["parameters"]["custom-property-name"]; }; readonly cookie?: never; @@ -94191,7 +94983,7 @@ export interface operations { readonly delete_branch_on_merge?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default?: boolean; @@ -94263,6 +95055,11 @@ export interface operations { readonly per_page?: components["parameters"]["per-page"]; /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ readonly page?: components["parameters"]["page"]; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + readonly targets?: components["parameters"]["ruleset-targets"]; }; readonly header?: never; readonly path: { @@ -94526,6 +95323,10 @@ export interface operations { readonly after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ readonly validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + readonly is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + readonly is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; readonly header?: never; readonly path: { @@ -94836,7 +95637,7 @@ export interface operations { */ readonly notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -94946,7 +95747,7 @@ export interface operations { */ readonly notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -96957,6 +97758,11 @@ export interface operations { /** @description Can be `enabled` or `disabled`. */ readonly status?: string; }; + /** @description Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." */ + readonly secret_scanning_ai_detection?: { + /** @description Can be `enabled` or `disabled`. */ + readonly status?: string; + }; /** @description Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." */ readonly secret_scanning_non_provider_patterns?: { /** @description Can be `enabled` or `disabled`. */ @@ -97017,7 +97823,7 @@ export interface operations { readonly allow_update_branch?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ readonly use_squash_pr_title_as_default?: boolean; @@ -99799,7 +100605,7 @@ export interface operations { readonly strict: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ readonly contexts: readonly string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100268,7 +101074,7 @@ export interface operations { readonly strict?: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ readonly contexts?: readonly string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100527,12 +101333,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ readonly apps: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100562,12 +101368,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ readonly apps: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100597,12 +101403,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ readonly apps: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100793,12 +101599,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The username for users */ readonly users: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100828,12 +101634,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The username for users */ readonly users: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -100863,12 +101669,12 @@ export interface operations { }; readonly cookie?: never; }; - readonly requestBody?: { + readonly requestBody: { readonly content: { readonly "application/json": { /** @description The username for users */ readonly users: readonly string[]; - } | readonly string[]; + }; }; }; readonly responses: { @@ -101458,8 +102264,14 @@ export interface operations { readonly per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ readonly ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + readonly pr?: components["parameters"]["pr-alias"]; /** @description The direction to sort the results by. */ readonly direction?: components["parameters"]["direction"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly before?: components["parameters"]["pagination-before"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + readonly after?: components["parameters"]["pagination-after"]; /** @description The property by which to sort the results. */ readonly sort?: "created" | "updated"; /** @description If specified, only code scanning alerts with this state will be returned. */ @@ -101571,6 +102383,8 @@ export interface operations { readonly per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ readonly ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + readonly pr?: components["parameters"]["pr-alias"]; }; readonly header?: never; readonly path: { @@ -101610,6 +102424,8 @@ export interface operations { readonly page?: components["parameters"]["page"]; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ readonly per_page?: components["parameters"]["per-page"]; + /** @description The number of the pull request for the results you want to list. */ + readonly pr?: components["parameters"]["pr-alias"]; /** @description The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ readonly ref?: components["schemas"]["code-scanning-ref"]; /** @description Filter analyses belonging to the same SARIF upload. */ @@ -102176,7 +102992,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ readonly location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ readonly geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -103069,7 +103885,7 @@ export interface operations { readonly path?: string; /** @description Line index in the diff to comment on. */ readonly position?: number; - /** @description **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. */ + /** @description **Closing down notice**. Use **position** parameter instead. Line number in the file to comment on. */ readonly line?: number; }; }; @@ -103614,7 +104430,7 @@ export interface operations { readonly direction?: components["parameters"]["direction"]; /** * @deprecated - * @description **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. + * @description **Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. */ readonly page?: number; /** @@ -104325,7 +105141,7 @@ export interface operations { readonly "application/json": { /** @description A custom webhook event name. Must be 100 characters or fewer. */ readonly event_type: string; - /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. */ + /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. */ readonly client_payload?: { readonly [key: string]: unknown; }; @@ -106740,7 +107556,7 @@ export interface operations { readonly title: string | number; /** @description The contents of the issue. */ readonly 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.**_ */ + /** @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 closing down.**_ */ readonly assignee?: string | null; readonly milestone?: (string | number) | null; /** @description Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ */ @@ -107125,7 +107941,7 @@ export interface operations { readonly title?: (string | number) | null; /** @description The contents of the issue. */ readonly body?: string | null; - /** @description Username to assign to this issue. **This field is deprecated.** */ + /** @description Username to assign to this issue. **This field is closing down.** */ readonly assignee?: string | null; /** * @description The open or closed state of the issue. @@ -109569,7 +110385,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ readonly location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ readonly geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -109681,7 +110497,7 @@ export interface operations { readonly path: string; /** * @deprecated - * @description **This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. + * @description **This parameter is closing down. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. */ readonly position?: number; /** @@ -111096,6 +111912,11 @@ export interface operations { readonly page?: components["parameters"]["page"]; /** @description Include rulesets configured at higher levels that apply to this repository */ readonly includes_parents?: boolean; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + readonly targets?: components["parameters"]["ruleset-targets"]; }; readonly header?: never; readonly path: { @@ -111374,6 +112195,10 @@ export interface operations { readonly after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ readonly validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + readonly is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + readonly is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; readonly header?: never; readonly path: { @@ -112736,12 +113561,12 @@ export interface operations { readonly q: string; /** * @deprecated - * @description **This field is deprecated.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) + * @description **This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) */ readonly sort?: "indexed"; /** * @deprecated - * @description **This field is deprecated.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. + * @description **This field is closing down.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ readonly order?: "desc" | "asc"; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -113080,7 +113905,7 @@ export interface operations { */ readonly notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -114372,7 +115197,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ readonly location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ readonly geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -114403,7 +115228,7 @@ export interface operations { /** @description The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. */ readonly location?: string; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ readonly geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; diff --git a/packages/openapi-typescript/examples/github-api-next.ts b/packages/openapi-typescript/examples/github-api-next.ts index 4c940d413..65b9870e6 100644 --- a/packages/openapi-typescript/examples/github-api-next.ts +++ b/packages/openapi-typescript/examples/github-api-next.ts @@ -453,7 +453,7 @@ export interface paths { * List accepted assignments for an assignment * @description Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. */ - get: operations["classroom/list-accepted-assigments-for-an-assignment"]; + get: operations["classroom/list-accepted-assignments-for-an-assignment"]; put?: never; post?: never; delete?: never; @@ -612,7 +612,7 @@ export interface paths { /** * List all Copilot seat assignments for an enterprise * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. * @@ -643,7 +643,7 @@ export interface paths { /** * Get a summary of Copilot usage for enterprise members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, @@ -728,7 +728,7 @@ export interface paths { /** * Get a summary of Copilot usage for an enterprise team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -1609,10 +1609,10 @@ export interface paths { /** * Update an organization * @description > [!WARNING] - * > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). + * > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). * * > [!WARNING] - * > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). + * > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). * * Updates the organization's profile and member privileges. * @@ -1842,6 +1842,180 @@ export interface paths { patch?: never; trace?: never; }; + "/orgs/{org}/actions/runner-groups": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List self-hosted runner groups for an organization + * @description Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runner-groups-for-org"]; + put?: never; + /** + * Create a self-hosted runner group for an organization + * @description Creates a new self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + post: operations["actions/create-self-hosted-runner-group-for-org"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get a self-hosted runner group for an organization + * @description Gets a specific self-hosted runner group for an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/get-self-hosted-runner-group-for-org"]; + put?: never; + post?: never; + /** + * Delete a self-hosted runner group from an organization + * @description Deletes a self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/delete-self-hosted-runner-group-from-org"]; + options?: never; + head?: never; + /** + * Update a self-hosted runner group for an organization + * @description Updates the `name` and `visibility` of a self-hosted runner group in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + patch: operations["actions/update-self-hosted-runner-group-for-org"]; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List repository access to a self-hosted runner group in an organization + * @description Lists the repositories with access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-repo-access-to-self-hosted-runner-group-in-org"]; + /** + * Set repository access for a self-hosted runner group in an organization + * @description Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-repo-access-to-self-hosted-runner-group-in-org"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Add repository access to a self-hosted runner group in an organization + * @description Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-repo-access-to-self-hosted-runner-group-in-org"]; + post?: never; + /** + * Remove repository access to a self-hosted runner group in an organization + * @description Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-repo-access-to-self-hosted-runner-group-in-org"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List self-hosted runners in a group for an organization + * @description Lists self-hosted runners that are in a specific organization group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runners-in-group-for-org"]; + /** + * Set self-hosted runners in a group for an organization + * @description Replaces the list of self-hosted runners that are part of an organization runner group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-self-hosted-runners-in-group-for-org"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Add a self-hosted runner to a group for an organization + * @description Adds a self-hosted runner to a runner group configured in an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-self-hosted-runner-to-group-for-org"]; + post?: never; + /** + * Remove a self-hosted runner from a group for an organization + * @description Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-self-hosted-runner-from-group-for-org"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/orgs/{org}/actions/runners": { parameters: { query?: never; @@ -2912,7 +3086,7 @@ export interface paths { /** * Get Copilot seat information and settings for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets information about an organization's Copilot subscription, including seat breakdown * and feature policies. To configure these settings, go to your organization's settings on GitHub.com. @@ -2941,7 +3115,7 @@ export interface paths { /** * List all Copilot seat assignments for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. * Only organization owners can view assigned seats. @@ -2969,7 +3143,7 @@ export interface paths { /** * Add teams to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for all users within each specified team. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -2988,7 +3162,7 @@ export interface paths { /** * Remove teams from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for all members of each team specified. * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3019,7 +3193,7 @@ export interface paths { /** * Add users to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for each user specified. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -3038,7 +3212,7 @@ export interface paths { /** * Remove users from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for each user specified. * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3067,7 +3241,7 @@ export interface paths { /** * Get a summary of Copilot usage for organization members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -3831,7 +4005,7 @@ export interface paths { /** * Get Copilot seat assignment details for a user * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. * @@ -5051,7 +5225,7 @@ export interface paths { /** * Get a summary of Copilot usage for a team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -5689,7 +5863,7 @@ export interface paths { * Enable or disable a security feature for an organization * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + * > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). * * Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -5949,7 +6123,7 @@ export interface paths { * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." * * > [!NOTE] - * > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + * > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. */ get: operations["rate-limit/get"]; put?: never; @@ -8355,7 +8529,7 @@ export interface paths { * and `0` is returned in this field. * * > [!WARNING] - * > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + * > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ @@ -8894,8 +9068,6 @@ export interface paths { * @description Gets your public key, which you need to encrypt secrets. You need to * encrypt a secret before you can create or update secrets. * - * Anyone with read access to the repository can use this endpoint. - * * If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ get: operations["codespaces/get-repo-public-key"]; @@ -11038,7 +11210,7 @@ export interface paths { * @description View the progress of an import. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). * * **Import status** * @@ -11082,7 +11254,7 @@ export interface paths { * return a status `422 Unprocessable Entity` response. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ put: operations["migrations/start-import"]; post?: never; @@ -11092,7 +11264,7 @@ export interface paths { * @description Stop an import for a repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ delete: operations["migrations/cancel-import"]; options?: never; @@ -11108,7 +11280,7 @@ export interface paths { * You can select the project to import by providing one of the objects in the `project_choices` array in the update request. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/update-import"]; trace?: never; @@ -11128,7 +11300,7 @@ export interface paths { * This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-commit-authors"]; put?: never; @@ -11159,7 +11331,7 @@ export interface paths { * new commits to the repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/map-commit-author"]; trace?: never; @@ -11177,7 +11349,7 @@ export interface paths { * @description List files larger than 100MB found during the import * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-large-files"]; put?: never; @@ -11211,7 +11383,7 @@ export interface paths { * site](https://docs.github.com/repositories/working-with-files/managing-large-files). * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/set-lfs-preference"]; trace?: never; @@ -11540,7 +11712,7 @@ export interface paths { head?: never; /** * Update an issue - * @description Issue owners and users with push access can edit an issue. + * @description Issue owners and users with push access or Triage role can edit an issue. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -12638,7 +12810,7 @@ export interface paths { * * If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. * - * The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + * The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. * * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -12991,6 +13163,7 @@ export interface paths { /** * Update a pull request branch * @description Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + * Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. */ put: operations["pulls/update-branch"]; post?: never; @@ -13885,10 +14058,10 @@ export interface paths { cookie?: never; }; /** - * Deprecated - List tag protection states for a repository + * Closing down - List tag protection states for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. * * This returns the tag protection states of a repository. * @@ -13897,10 +14070,10 @@ export interface paths { get: operations["repos/list-tag-protection"]; put?: never; /** - * Deprecated - Create a tag protection state for a repository + * Closing down - Create a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. * * This creates a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -13923,10 +14096,10 @@ export interface paths { put?: never; post?: never; /** - * Deprecated - Delete a tag protection state for a repository + * Closing down - Delete a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. * * This deletes a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -14428,7 +14601,7 @@ export interface paths { * Get a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. */ get: operations["teams/get-legacy"]; put?: never; @@ -14437,7 +14610,7 @@ export interface paths { * Delete a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. * * To delete a team, the authenticated user must be an organization owner or team maintainer. * @@ -14450,7 +14623,7 @@ export interface paths { * Update a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. * * To edit a team, the authenticated user must either be an organization owner or a team maintainer. * @@ -14471,7 +14644,7 @@ export interface paths { * List discussions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. * * List all discussions on a team's page. * @@ -14483,7 +14656,7 @@ export interface paths { * Create a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. * * Creates a new discussion post on a team's page. * @@ -14509,7 +14682,7 @@ export interface paths { * Get a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. * * Get a specific discussion on a team's page. * @@ -14522,7 +14695,7 @@ export interface paths { * Delete a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. * * Delete a discussion from a team's page. * @@ -14535,7 +14708,7 @@ export interface paths { * Update a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. * * Edits the title and body text of a discussion post. Only the parameters you provide are updated. * @@ -14555,7 +14728,7 @@ export interface paths { * List discussion comments (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. * * List all comments on a team discussion. * @@ -14567,7 +14740,7 @@ export interface paths { * Create a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. * * Creates a new comment on a team discussion. * @@ -14593,7 +14766,7 @@ export interface paths { * Get a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. * * Get a specific comment on a team discussion. * @@ -14606,7 +14779,7 @@ export interface paths { * Delete a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. * * Deletes a comment on a team discussion. * @@ -14619,7 +14792,7 @@ export interface paths { * Update a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. * * Edits the body text of a discussion comment. * @@ -14639,7 +14812,7 @@ export interface paths { * List reactions for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. * * List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14651,7 +14824,7 @@ export interface paths { * Create reaction for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. * * Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14677,7 +14850,7 @@ export interface paths { * List reactions for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. * * List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14689,7 +14862,7 @@ export interface paths { * Create reaction for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. * * Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14715,7 +14888,7 @@ export interface paths { * List pending team invitations (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. * * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ @@ -14739,7 +14912,7 @@ export interface paths { * List team members (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. * * Team members will include the members of child teams. */ @@ -14762,7 +14935,7 @@ export interface paths { /** * Get team member (Legacy) * @deprecated - * @description The "Get team member" endpoint (described below) is deprecated. + * @description The "Get team member" endpoint (described below) is closing down. * * We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. * @@ -14772,7 +14945,7 @@ export interface paths { /** * Add team member (Legacy) * @deprecated - * @description The "Add team member" endpoint (described below) is deprecated. + * @description The "Add team member" endpoint (described below) is closing down. * * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. * @@ -14790,7 +14963,7 @@ export interface paths { /** * Remove team member (Legacy) * @deprecated - * @description The "Remove team member" endpoint (described below) is deprecated. + * @description The "Remove team member" endpoint (described below) is closing down. * * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. * @@ -14818,7 +14991,7 @@ export interface paths { * Get team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. * * Team members will include the members of child teams. * @@ -14834,7 +15007,7 @@ export interface paths { * Add or update team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14853,7 +15026,7 @@ export interface paths { * Remove team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14879,7 +15052,7 @@ export interface paths { * List team projects (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. * * Lists the organization projects for a team. */ @@ -14903,7 +15076,7 @@ export interface paths { * Check team permissions for a project (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. * * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. */ @@ -14912,7 +15085,7 @@ export interface paths { * Add or update team project permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. * * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. */ @@ -14922,7 +15095,7 @@ export interface paths { * Remove a project from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. * * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. */ @@ -14943,7 +15116,7 @@ export interface paths { * List team repositories (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. */ get: operations["teams/list-repos-legacy"]; put?: never; @@ -14965,7 +15138,7 @@ export interface paths { * Check team permissions for a repository (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. * * > [!NOTE] * > Repositories inherited through a parent team will also be checked. @@ -14977,7 +15150,7 @@ export interface paths { * Add or update team repository permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. * * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. * @@ -14989,7 +15162,7 @@ export interface paths { * Remove a repository from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. * * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. */ @@ -15010,7 +15183,7 @@ export interface paths { * List child teams (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. */ get: operations["teams/list-child-legacy"]; put?: never; @@ -16652,7 +16825,7 @@ export interface paths { }; /** * List events for the authenticated user - * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). * * > [!NOTE] * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -17970,7 +18143,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > Webhook events for Dependabot alerts are currently in public preview and subject to change. * @description A Dependabot alert was automatically closed by a Dependabot auto-triage rule. */ post: operations["dependabot-alert/auto-dismissed"]; @@ -17997,7 +18170,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > Webhook events for Dependabot alerts are currently in public preview and subject to change. * @description A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed. */ post: operations["dependabot-alert/auto-reopened"]; @@ -18024,7 +18197,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > Webhook events for Dependabot alerts are currently in public preview and subject to change. * @description A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. */ post: operations["dependabot-alert/created"]; @@ -18051,7 +18224,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > Webhook events for Dependabot alerts are currently in public preview and subject to change. * @description A Dependabot alert was manually closed. */ post: operations["dependabot-alert/dismissed"]; @@ -18078,7 +18251,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > Webhook events for Dependabot alerts are currently in public preview and subject to change. * @description A manifest file change removed a vulnerability. */ post: operations["dependabot-alert/fixed"]; @@ -18105,7 +18278,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > Webhook events for Dependabot alerts are currently in public preview and subject to change. * @description A manifest file change introduced a vulnerable dependency that had previously been fixed. */ post: operations["dependabot-alert/reintroduced"]; @@ -18132,7 +18305,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. * * > [!NOTE] - * > Webhook events for Dependabot alerts are currently in beta and subject to change. + * > Webhook events for Dependabot alerts are currently in public preview and subject to change. * @description A Dependabot alert was manually reopened. */ post: operations["dependabot-alert/reopened"]; @@ -18348,7 +18521,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A comment on the discussion was marked as the answer. */ post: operations["discussion/answered"]; @@ -18375,7 +18548,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description The category of a discussion was changed. */ post: operations["discussion/category-changed"]; @@ -18402,7 +18575,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A discussion was closed. */ post: operations["discussion/closed"]; @@ -18429,7 +18602,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A comment on a discussion was created. */ post: operations["discussion-comment/created"]; @@ -18456,7 +18629,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A comment on a discussion was deleted. */ post: operations["discussion-comment/deleted"]; @@ -18483,7 +18656,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A comment on a discussion was edited. */ post: operations["discussion-comment/edited"]; @@ -18510,7 +18683,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A discussion was created. */ post: operations["discussion/created"]; @@ -18537,7 +18710,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A discussion was deleted. */ post: operations["discussion/deleted"]; @@ -18564,7 +18737,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description The title or body on a discussion was edited, or the category of the discussion was changed. */ post: operations["discussion/edited"]; @@ -18591,7 +18764,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A label was added to a discussion. */ post: operations["discussion/labeled"]; @@ -18618,7 +18791,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A discussion was locked. */ post: operations["discussion/locked"]; @@ -18645,7 +18818,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A discussion was pinned. */ post: operations["discussion/pinned"]; @@ -18672,7 +18845,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A discussion was reopened. */ post: operations["discussion/reopened"]; @@ -18699,7 +18872,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A discussion was transferred to another repository. */ post: operations["discussion/transferred"]; @@ -18726,7 +18899,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A comment on the discussion was unmarked as the answer. */ post: operations["discussion/unanswered"]; @@ -18753,7 +18926,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A label was removed from a discussion. */ post: operations["discussion/unlabeled"]; @@ -18780,7 +18953,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A discussion was unlocked. */ post: operations["discussion/unlocked"]; @@ -18807,7 +18980,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. * * > [!NOTE] - * > Webhook events for GitHub Discussions are currently in beta and subject to change. + * > Webhook events for GitHub Discussions are currently in public preview and subject to change. * @description A discussion was unpinned. */ post: operations["discussion/unpinned"]; @@ -20227,7 +20400,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was approved. */ post: operations["personal-access-token-request/approved"]; @@ -20252,7 +20425,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was cancelled by the requester. */ post: operations["personal-access-token-request/cancelled"]; @@ -20277,7 +20450,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was created. */ post: operations["personal-access-token-request/created"]; @@ -20302,7 +20475,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. * * > [!NOTE] - * > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + * > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. * @description A fine-grained personal access token request was denied. */ post: operations["personal-access-token-request/denied"]; @@ -20710,7 +20883,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was closed. */ post: operations["projects-v2/closed"]; @@ -20737,7 +20910,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was created. */ post: operations["projects-v2/created"]; @@ -20764,7 +20937,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was deleted. */ post: operations["projects-v2/deleted"]; @@ -20791,7 +20964,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The title, description, or README of a project in the organization was changed. */ post: operations["projects-v2/edited"]; @@ -20818,7 +20991,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/archived"]; @@ -20845,7 +21018,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A draft issue in an organization project was converted to an issue. */ post: operations["projects-v2-item/converted"]; @@ -20872,7 +21045,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was added to a project in the organization. */ post: operations["projects-v2-item/created"]; @@ -20899,7 +21072,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An item was deleted from a project in the organization. */ post: operations["projects-v2-item/deleted"]; @@ -20926,7 +21099,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. */ post: operations["projects-v2-item/edited"]; @@ -20953,7 +21126,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. */ post: operations["projects-v2-item/reordered"]; @@ -20980,7 +21153,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." */ post: operations["projects-v2-item/restored"]; @@ -21007,7 +21180,7 @@ export interface webhooks { * To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. * * > [!NOTE] - * > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + * > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). * @description A project in the organization was reopened. */ post: operations["projects-v2/reopened"]; @@ -22404,7 +22577,7 @@ export interface webhooks { * This event occurs when there is activity relating to a security vulnerability alert in a repository. * * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + * > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was created. */ post: operations["repository-vulnerability-alert/create"]; @@ -22427,7 +22600,7 @@ export interface webhooks { * This event occurs when there is activity relating to a security vulnerability alert in a repository. * * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + * > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was dismissed. */ post: operations["repository-vulnerability-alert/dismiss"]; @@ -22450,7 +22623,7 @@ export interface webhooks { * This event occurs when there is activity relating to a security vulnerability alert in a repository. * * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + * > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. * @description A previously dismissed or resolved repository vulnerability alert was reopened. */ post: operations["repository-vulnerability-alert/reopen"]; @@ -22473,7 +22646,7 @@ export interface webhooks { * This event occurs when there is activity relating to a security vulnerability alert in a repository. * * > [!WARNING] - * > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + * > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. * @description A repository vulnerability alert was marked as resolved. */ post: operations["repository-vulnerability-alert/resolve"]; @@ -22533,6 +22706,30 @@ export interface webhooks { patch?: never; trace?: never; }; + "secret-scanning-alert-publicly-leaked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. + * + * For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + * @description A secret scanning alert was detected in a public repo. + */ + post: operations["secret-scanning-alert/publicly-leaked"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "secret-scanning-alert-reopened": { parameters: { query?: never; @@ -23476,6 +23673,7 @@ export interface components { type: string; site_admin: boolean; starred_at?: string; + user_view_type?: string; }; /** * @description The type of credit the user is receiving. @@ -23979,7 +24177,7 @@ export interface components { */ organization_custom_properties?: "read" | "write" | "admin"; /** - * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in beta and is subject to change. + * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change. * @enum {string} */ organization_copilot_seat_management?: "write"; @@ -24014,7 +24212,7 @@ export interface components { */ organization_plan?: "read"; /** - * @description The level of permission to grant the access token to manage organization projects and projects beta (where available). + * @description The level of permission to grant the access token to manage organization projects and projects public preview (where available). * @enum {string} */ organization_projects?: "read" | "write" | "admin"; @@ -24312,7 +24510,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -24770,12 +24968,8 @@ export interface components { * @description Information about a Copilot Business seat assignment for a user, team, or organization. */ "copilot-seat-details": { - /** @description The assignee that has been granted access to GitHub Copilot. */ - assignee: { - [key: string]: unknown; - } & components["schemas"]["simple-user"]; - /** @description The organization to which this seat belongs. */ - organization?: (Record | null) & components["schemas"]["organization-simple"]; + assignee: components["schemas"]["simple-user"]; + organization?: null | components["schemas"]["organization-simple"]; /** @description The team through which the assignee is granted access to GitHub Copilot, if applicable. */ assigning_team?: (null | Record) & (components["schemas"]["team"] | components["schemas"]["enterprise-team"]); /** @@ -24800,6 +24994,11 @@ export interface components { * @description Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. */ updated_at?: string; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; }; /** * Copilot Usage Metrics @@ -25208,6 +25407,10 @@ export interface components { * @enum {string} */ validity?: "active" | "inactive" | "unknown"; + /** @description Whether the secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or enterprise. */ + multi_repo?: boolean | null; }; /** * Actor @@ -25516,6 +25719,11 @@ export interface components { login: string; /** Format: int64 */ id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + user_view_type: "public"; node_id: string; /** Format: uri */ avatar_url: string; @@ -25565,8 +25773,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; private_gists?: number; total_private_repos?: number; owned_private_repos?: number; @@ -25858,6 +26064,10 @@ export interface components { /** @enum {string} */ status?: "enabled" | "disabled"; }; + secret_scanning_ai_detection?: { + /** @enum {string} */ + status?: "enabled" | "disabled"; + }; } | null; /** * Minimal Repository @@ -26063,6 +26273,9 @@ export interface components { owned_private_repos?: number; private_gists?: number | null; disk_usage?: number | null; + /** @description The number of collaborators on private repositories. + * + * This field may be null if the number of private repositories is over 50,000. */ collaborators?: number | null; /** Format: email */ billing_email?: string | null; @@ -26087,7 +26300,7 @@ export interface components { web_commit_signoff_required?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. * @@ -26096,7 +26309,7 @@ export interface components { advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -26105,7 +26318,7 @@ export interface components { dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -26114,7 +26327,7 @@ export interface components { dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -26123,7 +26336,7 @@ export interface components { dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -26132,7 +26345,7 @@ export interface components { secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -26226,6 +26439,31 @@ export interface components { default_workflow_permissions?: components["schemas"]["actions-default-workflow-permissions"]; can_approve_pull_request_reviews?: components["schemas"]["actions-can-approve-pull-request-reviews"]; }; + "runner-groups-org": { + id: number; + name: string; + visibility: string; + default: boolean; + /** @description Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` */ + selected_repositories_url?: string; + runners_url: string; + hosted_runners_url?: string; + inherited: boolean; + inherited_allows_public_repositories?: boolean; + allows_public_repositories: boolean; + /** + * @description If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified. + * @default false + */ + workflow_restrictions_read_only: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; /** * Self hosted runner label * @description A label for a self hosted runner @@ -26484,7 +26722,7 @@ export interface components { * @description The type of the code security configuration. * @enum {string} */ - target_type?: "global" | "organization"; + target_type?: "global" | "organization" | "enterprise"; /** @description A description of the code security configuration */ description?: string; /** @@ -26532,6 +26770,24 @@ export interface components { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -26780,8 +27036,8 @@ export interface components { inactive_this_cycle?: number; }; /** - * Copilot Business Organization Details - * @description Information about the seat breakdown and policies set for an organization with a Copilot Business subscription. + * Copilot Organization Details + * @description Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription. */ "copilot-organization-details": { seat_breakdown: components["schemas"]["copilot-seat-breakdown"]; @@ -26810,6 +27066,11 @@ export interface components { * @enum {string} */ seat_management_setting: "assign_all" | "assign_selected" | "disabled" | "unconfigured"; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; } & { [key: string]: unknown; }; @@ -27087,6 +27348,7 @@ export interface components { type: string; site_admin: boolean; starred_at?: string; + user_view_type?: string; }; /** * Package Version @@ -27491,7 +27753,8 @@ export interface components { */ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey"; /** - * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets. + * @default always * @enum {string} */ bypass_mode: "always" | "pull_request"; @@ -27561,7 +27824,9 @@ export interface components { }; /** * Organization ruleset conditions - * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * @description Conditions for an organization ruleset. + * The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + * The push rulesets conditions object does not require the `ref_name` property. */ "org-ruleset-conditions": (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-name-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-id-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-property-target"]); /** @@ -27949,7 +28214,7 @@ export interface components { html?: { /** @description The html URL of the ruleset */ href?: string; - }; + } | null; }; conditions?: (null | (components["schemas"]["repository-ruleset-conditions"] | components["schemas"]["org-ruleset-conditions"])) | components["schemas"]["repository-ruleset-conditions"] | components["schemas"]["org-ruleset-conditions"]; rules?: components["schemas"]["repository-rule"][]; @@ -29417,6 +29682,7 @@ export interface components { received_events_url?: string; type?: string; site_admin?: boolean; + user_view_type?: string; }[]; teams: { id?: number; @@ -29461,6 +29727,7 @@ export interface components { received_events_url?: string; type?: string; site_admin?: boolean; + user_view_type?: string; }; name?: string; client_id?: string; @@ -30292,6 +30559,7 @@ export interface components { admin: boolean; }; role_name: string; + user_view_type?: string; }; /** * Repository Invitation @@ -30589,6 +30857,7 @@ export interface components { name: string; path: string; sha: string; + content?: string; /** Format: uri */ url: string; /** Format: uri */ @@ -30602,7 +30871,6 @@ export interface components { size: number; name: string; path: string; - content?: string; sha: string; /** Format: uri */ url: string; @@ -30664,7 +30932,10 @@ export interface components { * @description Content File */ "content-file": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "file"; encoding: string; size: number; @@ -30696,7 +30967,10 @@ export interface components { * @description An object describing a symlink */ "content-symlink": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "symlink"; target: string; size: number; @@ -30725,7 +30999,10 @@ export interface components { * @description An object describing a submodule */ "content-submodule": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "submodule"; /** Format: uri */ submodule_git_url: string; @@ -30854,6 +31131,7 @@ export interface components { contributions: number; email?: string; name?: string; + user_view_type?: string; }; /** @description A Dependabot alert. */ "dependabot-alert": { @@ -31092,7 +31370,7 @@ export interface components { environment: string; /** * Format: uri - * @description Deprecated: the URL to associate with this status. + * @description Closing down notice: the URL to associate with this status. * @default */ target_url: string; @@ -32056,9 +32334,9 @@ export interface components { diff_hunk: string; /** @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. This field is deprecated; use `line` instead. */ + /** @description The line index in the diff to which the comment applies. This field is closing down; use `line` instead. */ position?: number; - /** @description The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead. */ + /** @description The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead. */ original_position?: number; /** @description The SHA of the commit to which the comment applies. */ commit_id: string; @@ -32517,361 +32795,16 @@ export interface components { head: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - 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: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: { - key: string; - name: string; - /** Format: uri */ - url: string | null; - spdx_id: string | null; - node_id: string; - } | null; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - is_template?: boolean; - web_commit_signoff_required?: boolean; - } | null; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - /** Format: int64 */ - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; base: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - is_template?: boolean; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - 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: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: null | components["schemas"]["license-simple"]; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - web_commit_signoff_required?: boolean; - }; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - /** Format: int64 */ - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; _links: { comments: components["schemas"]["link"]; @@ -33155,6 +33088,10 @@ export interface components { * @enum {string} */ validity?: "active" | "inactive" | "unknown"; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories under the same organization or enterprise. */ + multi_repo?: boolean | 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": string | null; @@ -33953,6 +33890,7 @@ export interface components { company?: string | null; /** Format: date-time */ suspended_at?: string | null; + user_view_type?: string; }; /** * Private User @@ -33962,6 +33900,11 @@ export interface components { login: string; /** Format: int64 */ id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + user_view_type: "private"; node_id: string; /** Format: uri */ avatar_url: string; @@ -34017,8 +33960,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; business_plus?: boolean; ldap_dn?: string; }; @@ -34773,7 +34714,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -34832,41 +34773,6 @@ export interface components { /** @description Whether anonymous git access is enabled for this repository */ anonymous_access_enabled?: boolean; }; - /** - * Simple User - * @description The GitHub user that triggered the event. This property is included in every webhook payload. - */ - "simple-user-webhooks": { - name?: string | null; - email?: string | null; - login: string; - id: number; - node_id: string; - /** Format: uri */ - avatar_url: string; - gravatar_id: string | null; - /** Format: uri */ - url: string; - /** Format: uri */ - html_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - repos_url: string; - events_url: string; - /** Format: uri */ - received_events_url: string; - type: string; - site_admin: boolean; - starred_at?: string; - }; /** * branch protection rule * @description The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings. @@ -35038,6 +34944,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; webhooks_reviewers: { /** User */ @@ -35127,6 +35034,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; webhooks_answer: { /** @@ -35198,6 +35106,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -35243,6 +35152,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; answer_html_url: string | null; /** @@ -35341,6 +35251,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; labels?: components["schemas"]["label"][]; }; @@ -35412,6 +35323,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Label */ @@ -35541,6 +35453,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The changes to the comment. */ @@ -35593,6 +35506,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -35629,6 +35543,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -35716,6 +35631,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -35798,6 +35714,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -35959,6 +35876,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -36007,6 +35925,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -36075,6 +35994,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -36111,6 +36031,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -36198,6 +36119,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -36280,6 +36202,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -36441,6 +36364,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** User */ @@ -36479,6 +36403,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Marketplace Purchase */ webhooks_marketplace_purchase: { @@ -36657,6 +36582,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -36730,6 +36656,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -36851,6 +36778,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -36907,6 +36835,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ html_url: string; @@ -37090,7 +37019,7 @@ export interface components { */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.** * @default false */ use_squash_pr_title_as_default: boolean; @@ -37178,6 +37107,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -37266,6 +37196,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -37489,6 +37420,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -37598,6 +37530,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -37833,6 +37766,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -37942,6 +37876,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -38009,6 +37944,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -38056,6 +37992,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -38279,6 +38216,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -38425,6 +38363,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The review that was affected. */ @@ -38498,6 +38437,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; webhooks_nullable_string: string | null; @@ -38604,6 +38544,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -38751,6 +38692,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -38900,6 +38842,10 @@ export interface components { * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ push_protection_bypassed_at?: string | null; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or business. */ + multi_repo?: boolean | null; }; /** @description The details of the security advisory, including summary, description, and severity. */ webhooks_security_advisory: { @@ -38960,6 +38906,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; node_id: string; privacy_level: string; @@ -38999,6 +38946,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** User */ sponsorable: { @@ -39036,6 +38984,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Sponsorship Tier @@ -39147,7 +39096,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection configuration enabled event */ "webhook-branch-protection-configuration-enabled": { @@ -39157,7 +39106,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule created event */ "webhook-branch-protection-rule-created": { @@ -39168,7 +39117,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule deleted event */ "webhook-branch-protection-rule-deleted": { @@ -39179,7 +39128,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule edited event */ "webhook-branch-protection-rule-edited": { @@ -39230,7 +39179,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Check Run Completed Event */ "webhook-check-run-completed": { @@ -39240,7 +39189,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Completed Event @@ -39258,7 +39207,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Created Event @@ -39281,7 +39230,7 @@ export interface components { /** @description The integrator reference of the action requested by the user. */ identifier?: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Requested Action Event @@ -39299,7 +39248,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Re-Requested Event @@ -39373,6 +39322,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39550,7 +39500,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite requested event */ "webhook-check-suite-requested": { @@ -39616,6 +39566,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39793,7 +39744,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite rerequested event */ "webhook-check-suite-rerequested": { @@ -39859,6 +39810,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -40036,7 +39988,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert appeared_in_branch event */ "webhook-code-scanning-alert-appeared-in-branch": { @@ -40090,6 +40042,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -40162,7 +40115,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert closed_by_user event */ "webhook-code-scanning-alert-closed-by-user": { @@ -40216,6 +40169,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -40295,7 +40249,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert created event */ "webhook-code-scanning-alert-created": { @@ -40390,7 +40344,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert fixed event */ "webhook-code-scanning-alert-fixed": { @@ -40444,6 +40398,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -40525,7 +40480,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened event */ "webhook-code-scanning-alert-reopened": { @@ -40618,7 +40573,7 @@ export interface components { /** @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: string | null; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened_by_user event */ "webhook-code-scanning-alert-reopened-by-user": { @@ -40702,7 +40657,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** commit_comment created event */ "webhook-commit-comment-created": { @@ -40711,7 +40666,7 @@ export interface components { * @enum {string} */ action: "created"; - /** @description The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. */ + /** @description The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. */ comment: { /** * AuthorAssociation @@ -40790,13 +40745,14 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** create event */ "webhook-create": { @@ -40815,7 +40771,7 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** custom property created event */ "webhook-custom-property-created": { @@ -40825,7 +40781,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property deleted event */ "webhook-custom-property-deleted": { @@ -40838,7 +40794,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property updated event */ "webhook-custom-property-updated": { @@ -40848,7 +40804,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Custom property values updated event */ "webhook-custom-property-values-updated": { @@ -40858,7 +40814,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; repository: components["schemas"]["repository-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; /** @description The new custom property values for the repository. */ new_property_values: components["schemas"]["custom-property-value"][]; /** @description The old custom property values for the repository. */ @@ -40877,7 +40833,7 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-dismissed event */ "webhook-dependabot-alert-auto-dismissed": { @@ -40888,7 +40844,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { @@ -40899,7 +40855,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert created event */ "webhook-dependabot-alert-created": { @@ -40910,7 +40866,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert dismissed event */ "webhook-dependabot-alert-dismissed": { @@ -40921,7 +40877,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert fixed event */ "webhook-dependabot-alert-fixed": { @@ -40932,7 +40888,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reintroduced event */ "webhook-dependabot-alert-reintroduced": { @@ -40943,7 +40899,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reopened event */ "webhook-dependabot-alert-reopened": { @@ -40954,7 +40910,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key created event */ "webhook-deploy-key-created": { @@ -40965,7 +40921,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key deleted event */ "webhook-deploy-key-deleted": { @@ -40976,7 +40932,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deployment created event */ "webhook-deployment-created": { @@ -41024,6 +40980,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -41086,6 +41043,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -41182,7 +41140,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run: { @@ -41222,6 +41180,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41456,6 +41415,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41483,7 +41443,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; organization?: components["schemas"]["organization-simple-webhooks"]; installation?: components["schemas"]["simple-installation"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-deployment-review-approved": { /** @enum {string} */ @@ -41495,7 +41455,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -41546,6 +41506,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41614,6 +41575,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41724,6 +41686,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41780,6 +41743,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41799,7 +41763,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -41850,6 +41814,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41917,6 +41882,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -42027,6 +41993,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -42083,6 +42050,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -42139,11 +42107,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @enum {string} */ type?: "User" | "Team"; }[]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run: { conclusion: null; @@ -42193,6 +42162,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -42260,6 +42230,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -42370,6 +42341,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -42426,6 +42398,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -42512,6 +42485,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -42574,6 +42548,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42705,6 +42680,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ deployment_url: string; @@ -42772,6 +42748,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42865,7 +42842,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow?: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run?: { @@ -42905,6 +42882,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -43139,6 +43117,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -43158,7 +43137,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion category changed event */ "webhook-discussion-category-changed": { @@ -43186,7 +43165,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion closed event */ "webhook-discussion-closed": { @@ -43197,7 +43176,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment created event */ "webhook-discussion-comment-created": { @@ -43209,7 +43188,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment deleted event */ "webhook-discussion-comment-deleted": { @@ -43221,7 +43200,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment edited event */ "webhook-discussion-comment-edited": { @@ -43238,7 +43217,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion created event */ "webhook-discussion-created": { @@ -43249,7 +43228,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion deleted event */ "webhook-discussion-deleted": { @@ -43260,7 +43239,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion edited event */ "webhook-discussion-edited": { @@ -43279,7 +43258,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion labeled event */ "webhook-discussion-labeled": { @@ -43291,7 +43270,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion locked event */ "webhook-discussion-locked": { @@ -43302,7 +43281,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion pinned event */ "webhook-discussion-pinned": { @@ -43313,7 +43292,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion reopened event */ "webhook-discussion-reopened": { @@ -43324,7 +43303,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion transferred event */ "webhook-discussion-transferred": { @@ -43339,7 +43318,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unanswered event */ "webhook-discussion-unanswered": { @@ -43349,7 +43328,7 @@ export interface components { old_answer: components["schemas"]["webhooks_answer"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** discussion unlabeled event */ "webhook-discussion-unlabeled": { @@ -43361,7 +43340,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unlocked event */ "webhook-discussion-unlocked": { @@ -43372,7 +43351,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unpinned event */ "webhook-discussion-unpinned": { @@ -43383,7 +43362,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * fork event @@ -43579,6 +43558,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -43730,13 +43710,13 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** github_app_authorization revoked event */ "webhook-github-app-authorization-revoked": { /** @enum {string} */ action: "revoked"; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** gollum event */ "webhook-gollum": { @@ -43764,7 +43744,7 @@ export interface components { title: string; }[]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation created event */ "webhook-installation-created": { @@ -43776,7 +43756,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation deleted event */ "webhook-installation-deleted": { @@ -43788,7 +43768,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation new_permissions_accepted event */ "webhook-installation-new-permissions-accepted": { @@ -43800,7 +43780,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories added event */ "webhook-installation-repositories-added": { @@ -43824,7 +43804,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories removed event */ "webhook-installation-repositories-removed": { @@ -43848,7 +43828,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation suspend event */ "webhook-installation-suspend": { @@ -43860,7 +43840,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-installation-target-renamed": { account: { @@ -43900,6 +43880,7 @@ export interface components { updated_at?: string; url?: string; website_url?: null; + user_view_type?: string; }; /** @enum {string} */ action: "renamed"; @@ -43915,7 +43896,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; target_type: string; }; /** installation unsuspend event */ @@ -43928,7 +43909,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment created event */ "webhook-issue-comment-created": { @@ -44018,6 +43999,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -44062,6 +44044,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -44098,6 +44081,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44185,6 +44169,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -44267,6 +44252,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -44428,6 +44414,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -44467,6 +44454,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees?: (Record | null)[]; author_association?: string; @@ -44545,7 +44533,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment deleted event */ "webhook-issue-comment-deleted": { @@ -44594,6 +44582,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -44630,6 +44619,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44717,6 +44707,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -44799,6 +44790,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -44960,6 +44952,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -44999,6 +44992,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees?: (Record | null)[]; author_association?: string; @@ -45073,11 +45067,12 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment edited event */ "webhook-issue-comment-edited": { @@ -45127,6 +45122,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -45163,6 +45159,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -45250,6 +45247,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -45332,6 +45330,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -45493,6 +45492,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -45532,6 +45532,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees?: (Record | null)[]; author_association?: string; @@ -45610,7 +45611,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues assigned event */ "webhook-issues-assigned": { @@ -45625,7 +45626,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues closed event */ "webhook-issues-closed": { @@ -45676,6 +45677,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -45712,6 +45714,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -45799,6 +45802,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -45881,6 +45885,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -46042,6 +46047,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -46102,11 +46108,12 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues deleted event */ "webhook-issues-deleted": { @@ -46157,6 +46164,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -46280,6 +46288,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -46362,6 +46371,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -46523,11 +46533,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues demilestoned event */ "webhook-issues-demilestoned": { @@ -46701,6 +46712,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -46783,6 +46795,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -46944,12 +46957,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone?: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues edited event */ "webhook-issues-edited": { @@ -47011,6 +47025,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47134,6 +47149,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47216,6 +47232,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -47377,12 +47394,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues labeled event */ "webhook-issues-labeled": { @@ -47433,6 +47451,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47556,6 +47575,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47638,6 +47658,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -47799,12 +47820,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues locked event */ "webhook-issues-locked": { @@ -47855,6 +47877,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47891,6 +47914,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -47979,6 +48003,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -48061,6 +48086,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -48222,11 +48248,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues milestoned event */ "webhook-issues-milestoned": { @@ -48400,6 +48427,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -48482,6 +48510,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -48643,12 +48672,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues opened event */ "webhook-issues-opened": { @@ -48698,6 +48728,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -48734,6 +48765,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48821,6 +48853,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -48903,6 +48936,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -49064,6 +49098,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } | null; /** @@ -49263,6 +49298,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -49358,6 +49394,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -49394,6 +49431,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -49481,6 +49519,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49563,6 +49602,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -49724,11 +49764,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues pinned event */ "webhook-issues-pinned": { @@ -49739,7 +49780,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues reopened event */ "webhook-issues-reopened": { @@ -49913,6 +49954,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49995,6 +50037,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -50156,11 +50199,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues transferred event */ "webhook-issues-transferred": { @@ -50210,6 +50254,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -50246,6 +50291,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -50333,6 +50379,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -50415,6 +50462,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -50576,6 +50624,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -50778,6 +50827,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -50833,7 +50883,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unassigned event */ "webhook-issues-unassigned": { @@ -50848,7 +50898,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlabeled event */ "webhook-issues-unlabeled": { @@ -50860,7 +50910,7 @@ export interface components { label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlocked event */ "webhook-issues-unlocked": { @@ -50911,6 +50961,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -50947,6 +50998,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -51035,6 +51087,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -51117,6 +51170,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -51278,11 +51332,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unpinned event */ "webhook-issues-unpinned": { @@ -51293,7 +51348,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label created event */ "webhook-label-created": { @@ -51304,7 +51359,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** label deleted event */ "webhook-label-deleted": { @@ -51315,7 +51370,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label edited event */ "webhook-label-edited": { @@ -51341,7 +51396,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase cancelled event */ "webhook-marketplace-purchase-cancelled": { @@ -51354,7 +51409,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase changed event */ "webhook-marketplace-purchase-changed": { @@ -51393,7 +51448,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change event */ "webhook-marketplace-purchase-pending-change": { @@ -51432,7 +51487,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change_cancelled event */ "webhook-marketplace-purchase-pending-change-cancelled": { @@ -51471,7 +51526,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase purchased event */ "webhook-marketplace-purchase-purchased": { @@ -51484,7 +51539,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member added event */ "webhook-member-added": { @@ -51509,7 +51564,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member edited event */ "webhook-member-edited": { @@ -51531,7 +51586,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member removed event */ "webhook-member-removed": { @@ -51542,7 +51597,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** membership added event */ "webhook-membership-added": { @@ -51594,6 +51649,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -51647,6 +51703,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -51657,7 +51714,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-merge-group-destroyed": { /** @enum {string} */ @@ -51671,7 +51728,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** meta deleted event */ "webhook-meta-deleted": { @@ -51701,7 +51758,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: null | components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** milestone closed event */ "webhook-milestone-closed": { @@ -51712,7 +51769,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone created event */ "webhook-milestone-created": { @@ -51723,7 +51780,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone deleted event */ "webhook-milestone-deleted": { @@ -51734,7 +51791,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone edited event */ "webhook-milestone-edited": { @@ -51760,7 +51817,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone opened event */ "webhook-milestone-opened": { @@ -51771,7 +51828,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block blocked event */ "webhook-org-block-blocked": { @@ -51782,7 +51839,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block unblocked event */ "webhook-org-block-unblocked": { @@ -51793,7 +51850,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization deleted event */ "webhook-organization-deleted": { @@ -51804,7 +51861,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_added event */ "webhook-organization-member-added": { @@ -51815,7 +51872,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_invited event */ "webhook-organization-member-invited": { @@ -51870,6 +51927,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; login: string | null; node_id: string; @@ -51879,7 +51937,7 @@ export interface components { }; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; user?: components["schemas"]["webhooks_user"]; }; /** organization member_removed event */ @@ -51891,7 +51949,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization renamed event */ "webhook-organization-renamed": { @@ -51907,7 +51965,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Ruby Gems metadata */ "webhook-rubygems-metadata": { @@ -51981,6 +52039,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -52020,6 +52079,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body?: string | Record; body_html?: string; @@ -52148,6 +52208,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -52183,7 +52244,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** package updated event */ "webhook-package-updated": { @@ -52238,6 +52299,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -52277,6 +52339,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string; body_html: string; @@ -52348,6 +52411,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -52384,7 +52448,7 @@ export interface components { updated_at: string; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** page_build event */ "webhook-page-build": { @@ -52432,6 +52496,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; status: string; updated_at: string; @@ -52443,7 +52508,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** personal_access_token_request approved event */ "webhook-personal-access-token-request-approved": { @@ -52452,7 +52517,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request cancelled event */ @@ -52462,7 +52527,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request created event */ @@ -52472,7 +52537,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation?: components["schemas"]["simple-installation"]; }; /** personal_access_token_request denied event */ @@ -52482,7 +52547,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; organization: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; "webhook-ping": { @@ -52529,7 +52594,7 @@ export interface components { hook_id?: number; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; /** @description Random string of GitHub zen. */ zen?: string; }; @@ -52552,7 +52617,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card created event */ "webhook-project-card-created": { @@ -52563,7 +52628,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card deleted event */ "webhook-project-card-deleted": { @@ -52620,6 +52685,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -52633,7 +52699,7 @@ export interface components { url: string; }; repository?: null | components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card edited event */ "webhook-project-card-edited": { @@ -52649,7 +52715,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card moved event */ "webhook-project-card-moved": { @@ -52710,6 +52776,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -52755,7 +52822,7 @@ export interface components { url?: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project closed event */ "webhook-project-closed": { @@ -52766,7 +52833,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_column created event */ "webhook-project-column-created": { @@ -52777,7 +52844,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column deleted event */ "webhook-project-column-deleted": { @@ -52788,7 +52855,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: null | components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column edited event */ "webhook-project-column-edited": { @@ -52804,7 +52871,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column moved event */ "webhook-project-column-moved": { @@ -52815,7 +52882,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project created event */ "webhook-project-created": { @@ -52826,7 +52893,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project deleted event */ "webhook-project-deleted": { @@ -52837,7 +52904,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: null | components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project edited event */ "webhook-project-edited": { @@ -52859,7 +52926,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project reopened event */ "webhook-project-reopened": { @@ -52870,7 +52937,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Closed Event */ "webhook-projects-v2-project-closed": { @@ -52879,7 +52946,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -52888,7 +52955,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Deleted Event */ "webhook-projects-v2-project-deleted": { @@ -52897,7 +52964,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Edited Event */ "webhook-projects-v2-project-edited": { @@ -52924,7 +52991,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Archived Event */ "webhook-projects-v2-item-archived": { @@ -52934,7 +53001,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Converted Event */ "webhook-projects-v2-item-converted": { @@ -52949,7 +53016,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Created Event */ "webhook-projects-v2-item-created": { @@ -52958,7 +53025,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Deleted Event */ "webhook-projects-v2-item-deleted": { @@ -52967,7 +53034,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Edited Event */ "webhook-projects-v2-item-edited": { @@ -52993,7 +53060,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -53008,7 +53075,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Restored Event */ "webhook-projects-v2-item-restored": { @@ -53018,7 +53085,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Reopened Event */ "webhook-projects-v2-project-reopened": { @@ -53027,7 +53094,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Created Event */ "webhook-projects-v2-status-update-created": { @@ -53036,7 +53103,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Deleted Event */ "webhook-projects-v2-status-update-deleted": { @@ -53045,7 +53112,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Edited Event */ "webhook-projects-v2-status-update-edited": { @@ -53078,7 +53145,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** public event */ "webhook-public": { @@ -53086,7 +53153,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request assigned event */ "webhook-pull-request-assigned": { @@ -53180,6 +53247,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -53216,6 +53284,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -53268,6 +53337,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -53491,6 +53561,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -53551,7 +53622,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -53600,6 +53671,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -53835,6 +53907,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -53895,7 +53968,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -53944,6 +54017,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -54011,6 +54085,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -54058,6 +54133,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -54124,6 +54200,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -54281,10 +54358,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_disabled event */ "webhook-pull-request-auto-merge-disabled": { @@ -54377,6 +54455,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -54465,6 +54544,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -54688,6 +54768,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -54748,7 +54829,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -54797,6 +54878,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -55032,6 +55114,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55092,7 +55175,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -55141,6 +55224,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -55208,6 +55292,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -55255,6 +55340,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -55321,6 +55407,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -55478,11 +55565,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_enabled event */ "webhook-pull-request-auto-merge-enabled": { @@ -55575,6 +55663,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -55663,6 +55752,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -55886,6 +55976,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55946,7 +56037,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -55995,6 +56086,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -56227,6 +56319,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -56287,7 +56380,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -56336,6 +56429,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -56403,6 +56497,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -56450,6 +56545,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -56516,6 +56612,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -56673,11 +56770,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason?: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request closed event */ "webhook-pull-request-closed": { @@ -56689,7 +56787,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request converted_to_draft event */ "webhook-pull-request-converted-to-draft": { @@ -56701,7 +56799,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request demilestoned event */ "webhook-pull-request-demilestoned": { @@ -56713,7 +56811,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request dequeued event */ "webhook-pull-request-dequeued": { @@ -56806,6 +56904,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -56894,6 +56993,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -57117,6 +57217,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -57177,7 +57278,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -57226,6 +57327,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -57461,6 +57563,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -57521,7 +57624,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -57570,6 +57673,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -57637,6 +57741,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -57684,6 +57789,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -57750,6 +57856,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -57907,11 +58014,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - reason: string; + /** @enum {string} */ + reason: "UNKNOWN_REMOVAL_REASON" | "MANUAL" | "MERGE" | "MERGE_CONFLICT" | "CI_FAILURE" | "CI_TIMEOUT" | "ALREADY_MERGED" | "QUEUE_CLEARED" | "ROLL_BACK" | "BRANCH_PROTECTIONS" | "GIT_TREE_INVALID" | "INVALID_MERGE_COMMIT"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request edited event */ "webhook-pull-request-edited": { @@ -57942,7 +58051,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request enqueued event */ "webhook-pull-request-enqueued": { @@ -58035,6 +58144,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -58123,6 +58233,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -58346,6 +58457,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -58406,7 +58518,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -58455,6 +58567,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -58690,6 +58803,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -58750,7 +58864,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -58799,6 +58913,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -58866,6 +58981,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -58913,6 +59029,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -58979,6 +59096,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -59136,10 +59254,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request labeled event */ "webhook-pull-request-labeled": { @@ -59233,6 +59352,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -59321,6 +59441,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -59544,6 +59665,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -59604,7 +59726,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -59653,6 +59775,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -59888,6 +60011,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -59948,7 +60072,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -59997,6 +60121,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -60064,6 +60189,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -60111,6 +60237,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -60177,6 +60304,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -60334,10 +60462,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request locked event */ "webhook-pull-request-locked": { @@ -60430,6 +60559,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -60518,6 +60648,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -60741,6 +60872,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -60801,7 +60933,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -60850,6 +60982,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -61085,6 +61218,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -61145,7 +61279,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -61194,6 +61328,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -61261,6 +61396,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -61308,6 +61444,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -61374,6 +61511,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -61531,10 +61669,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request milestoned event */ "webhook-pull-request-milestoned": { @@ -61546,7 +61685,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request opened event */ "webhook-pull-request-opened": { @@ -61558,7 +61697,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request ready_for_review event */ "webhook-pull-request-ready-for-review": { @@ -61570,7 +61709,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request reopened event */ "webhook-pull-request-reopened": { @@ -61582,7 +61721,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment created event */ "webhook-pull-request-review-comment-created": { @@ -61732,6 +61871,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -61818,6 +61958,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -61906,6 +62047,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -62129,6 +62271,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -62189,7 +62332,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -62238,6 +62381,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -62466,6 +62610,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -62526,7 +62671,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -62575,6 +62720,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -62646,6 +62792,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -62710,6 +62857,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -62861,10 +63009,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment deleted event */ "webhook-pull-request-review-comment-deleted": { @@ -62955,6 +63104,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -63043,6 +63193,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -63266,6 +63417,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63326,7 +63478,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -63375,6 +63527,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -63603,6 +63756,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63663,7 +63817,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -63712,6 +63866,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -63783,6 +63938,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -63847,6 +64003,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -63998,10 +64155,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment edited event */ "webhook-pull-request-review-comment-edited": { @@ -64093,6 +64251,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -64129,6 +64288,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -64181,6 +64341,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -64404,6 +64565,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -64464,7 +64626,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -64513,6 +64675,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -64741,6 +64904,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -64801,7 +64965,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -64850,6 +65014,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -64921,6 +65086,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -64985,6 +65151,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -65134,12 +65301,13 @@ export interface components { subscriptions_url?: string; /** @enum {string} */ type?: "Bot" | "User" | "Organization" | "Mannequin"; + user_view_type?: string; /** Format: uri */ url?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review dismissed event */ "webhook-pull-request-review-dismissed": { @@ -65230,6 +65398,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -65318,6 +65487,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -65541,6 +65711,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -65601,7 +65772,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -65650,6 +65821,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -65878,6 +66050,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -65938,7 +66111,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -65987,6 +66160,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -66058,6 +66232,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -66122,6 +66297,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -66273,6 +66449,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -66348,9 +66525,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review edited event */ "webhook-pull-request-review-edited": { @@ -66447,6 +66625,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -66535,6 +66714,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -66736,6 +66916,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -66821,6 +67002,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -67027,6 +67209,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67112,6 +67295,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -67183,6 +67367,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -67247,6 +67432,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -67398,11 +67584,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request review_request_removed event */ "webhook-pull-request-review-request-removed": { @@ -67496,6 +67683,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -67532,6 +67720,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -67584,6 +67773,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -67807,6 +67997,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67860,7 +68051,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -67909,6 +68100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -68144,6 +68336,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -68204,7 +68397,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -68253,6 +68446,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -68320,6 +68514,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -68367,6 +68562,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -68433,6 +68629,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -68590,6 +68787,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -68629,8 +68827,9 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ action: "review_request_removed"; @@ -68722,6 +68921,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -68758,6 +68958,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -68810,6 +69011,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -69033,6 +69235,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -69093,7 +69296,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -69142,6 +69345,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -69377,6 +69581,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -69437,7 +69642,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -69486,6 +69691,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -69553,6 +69759,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -69600,6 +69807,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -69666,6 +69874,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -69823,6 +70032,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -69881,7 +70091,7 @@ export interface components { */ url: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request review_requested event */ "webhook-pull-request-review-requested": { @@ -69975,6 +70185,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -70011,6 +70222,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -70063,6 +70275,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -70286,6 +70499,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -70346,7 +70560,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -70395,6 +70609,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -70630,6 +70845,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -70690,7 +70906,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -70739,6 +70955,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -70806,6 +71023,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -70853,6 +71071,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -70919,6 +71138,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -71076,6 +71296,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -71115,8 +71336,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ action: "review_requested"; @@ -71208,6 +71430,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -71244,6 +71467,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -71296,6 +71520,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -71519,6 +71744,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71579,7 +71805,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -71628,6 +71854,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -71863,6 +72090,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71923,7 +72151,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -71972,6 +72200,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -72039,6 +72268,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -72086,6 +72316,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -72152,6 +72383,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -72309,6 +72541,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -72367,7 +72600,7 @@ export interface components { */ url?: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { @@ -72458,6 +72691,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -72546,6 +72780,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -72769,6 +73004,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -72829,7 +73065,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -72878,6 +73114,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -73106,6 +73343,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73166,7 +73404,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -73215,6 +73453,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -73286,6 +73525,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -73350,6 +73590,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -73501,11 +73742,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_thread resolved event */ "webhook-pull-request-review-thread-resolved": { @@ -73596,6 +73838,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -73684,6 +73927,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -73890,6 +74134,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73977,6 +74222,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -74188,6 +74434,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -74275,6 +74522,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -74346,6 +74594,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -74410,6 +74659,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -74561,10 +74811,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -74706,6 +74957,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -74800,6 +75052,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -74888,6 +75141,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -75094,6 +75348,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -75181,6 +75436,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -75392,6 +75648,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -75479,6 +75736,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -75550,6 +75808,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -75614,6 +75873,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -75765,10 +76025,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -75910,6 +76171,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -76008,6 +76270,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -76096,6 +76359,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -76319,6 +76583,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -76379,7 +76644,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -76428,6 +76693,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -76656,6 +76922,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -76716,7 +76983,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -76765,6 +77032,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -76832,6 +77100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -76879,6 +77148,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -76945,6 +77215,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -77102,10 +77373,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unassigned event */ "webhook-pull-request-unassigned": { @@ -77199,6 +77471,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -77287,6 +77560,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -77510,6 +77784,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -77570,7 +77845,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -77619,6 +77894,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -77854,6 +78130,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -77914,7 +78191,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -77963,6 +78240,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -78030,6 +78308,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -78077,6 +78356,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -78143,6 +78423,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -78300,10 +78581,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request unlabeled event */ "webhook-pull-request-unlabeled": { @@ -78397,6 +78679,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -78485,6 +78768,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -78708,6 +78992,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -78768,7 +79053,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -78817,6 +79102,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -79045,6 +79331,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -79105,7 +79392,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -79154,6 +79441,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -79221,6 +79509,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -79268,6 +79557,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -79334,6 +79624,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -79491,10 +79782,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unlocked event */ "webhook-pull-request-unlocked": { @@ -79587,6 +79879,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -79675,6 +79968,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -79898,6 +80192,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -79958,7 +80253,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -80007,6 +80302,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -80242,6 +80538,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -80302,7 +80599,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -80351,6 +80648,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -80418,6 +80716,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -80465,6 +80764,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -80531,6 +80831,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -80688,10 +80989,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** push event */ "webhook-push": { @@ -81028,6 +81330,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -81077,7 +81380,7 @@ export interface components { /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-registry-package-published": { /** @enum {string} */ @@ -81112,6 +81415,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -81134,6 +81438,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body?: string | Record; body_html?: string; @@ -81243,6 +81548,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; created_at?: string; draft?: boolean; @@ -81273,7 +81579,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-registry-package-updated": { /** @enum {string} */ @@ -81308,6 +81614,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -81330,6 +81637,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body: string; body_html: string; @@ -81382,6 +81690,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; created_at: string; draft: boolean; @@ -81406,7 +81715,7 @@ export interface components { updated_at: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release created event */ "webhook-release-created": { @@ -81417,7 +81726,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release deleted event */ "webhook-release-deleted": { @@ -81428,7 +81737,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release edited event */ "webhook-release-edited": { @@ -81453,7 +81762,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release prereleased event */ "webhook-release-prereleased": { @@ -81565,6 +81874,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -81613,7 +81923,7 @@ export interface components { zipball_url: string | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release published event */ "webhook-release-published": { @@ -81624,7 +81934,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release released event */ "webhook-release-released": { @@ -81635,7 +81945,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release unpublished event */ "webhook-release-unpublished": { @@ -81646,7 +81956,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory published event */ "webhook-repository-advisory-published": { @@ -81657,7 +81967,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory reported event */ "webhook-repository-advisory-reported": { @@ -81668,7 +81978,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** repository archived event */ "webhook-repository-archived": { @@ -81678,7 +81988,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository created event */ "webhook-repository-created": { @@ -81688,7 +81998,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository deleted event */ "webhook-repository-deleted": { @@ -81698,7 +82008,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_dispatch event */ "webhook-repository-dispatch-sample": { @@ -81713,7 +82023,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository edited event */ "webhook-repository-edited": { @@ -81737,7 +82047,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_import event */ "webhook-repository-import": { @@ -81745,7 +82055,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @enum {string} */ status: "success" | "cancelled" | "failure"; }; @@ -81757,7 +82067,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository publicized event */ "webhook-repository-publicized": { @@ -81767,7 +82077,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository renamed event */ "webhook-repository-renamed": { @@ -81784,7 +82094,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset created event */ "webhook-repository-ruleset-created": { @@ -81795,7 +82105,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset deleted event */ "webhook-repository-ruleset-deleted": { @@ -81806,7 +82116,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset edited event */ "webhook-repository-ruleset-edited": { @@ -81864,7 +82174,7 @@ export interface components { }[]; }; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository transferred event */ "webhook-repository-transferred": { @@ -81935,6 +82245,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; }; @@ -81943,7 +82254,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository unarchived event */ "webhook-repository-unarchived": { @@ -81953,7 +82264,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert create event */ "webhook-repository-vulnerability-alert-create": { @@ -81964,7 +82275,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert dismiss event */ "webhook-repository-vulnerability-alert-dismiss": { @@ -82017,6 +82328,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; external_identifier: string; /** Format: uri */ @@ -82037,7 +82349,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert reopen event */ "webhook-repository-vulnerability-alert-reopen": { @@ -82048,7 +82360,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert resolve event */ "webhook-repository-vulnerability-alert-resolve": { @@ -82120,7 +82432,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** secret_scanning_alert created event */ "webhook-secret-scanning-alert-created": { @@ -82131,7 +82443,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created": { @@ -82142,13 +82454,24 @@ export interface components { location: components["schemas"]["secret-scanning-location"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created-form-encoded": { /** @description A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object. */ payload: string; }; + /** secret_scanning_alert publicly leaked event */ + "webhook-secret-scanning-alert-publicly-leaked": { + /** @enum {string} */ + action: "publicly_leaked"; + alert: components["schemas"]["secret-scanning-alert-webhook"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; /** secret_scanning_alert reopened event */ "webhook-secret-scanning-alert-reopened": { /** @enum {string} */ @@ -82158,7 +82481,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert resolved event */ "webhook-secret-scanning-alert-resolved": { @@ -82169,7 +82492,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert validated event */ "webhook-secret-scanning-alert-validated": { @@ -82180,7 +82503,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory published event */ "webhook-security-advisory-published": { @@ -82191,7 +82514,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory updated event */ "webhook-security-advisory-updated": { @@ -82202,7 +82525,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory withdrawn event */ "webhook-security-advisory-withdrawn": { @@ -82250,7 +82573,7 @@ export interface components { }[]; withdrawn_at: string; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_and_analysis event */ "webhook-security-and-analysis": { @@ -82263,7 +82586,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["full-repository"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sponsorship cancelled event */ "webhook-sponsorship-cancelled": { @@ -82273,7 +82596,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship created event */ @@ -82284,7 +82607,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship edited event */ @@ -82301,7 +82624,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_cancellation event */ @@ -82313,7 +82636,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_tier_change event */ @@ -82326,7 +82649,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship tier_changed event */ @@ -82338,7 +82661,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** star created event */ @@ -82349,7 +82672,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + 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: string | null; }; @@ -82361,7 +82684,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + 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: null; }; @@ -82525,7 +82848,7 @@ export interface components { name: string; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @description The Commit SHA. */ sha: string; /** @@ -82551,7 +82874,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** parent issue removed event */ "webhook-sub-issues-parent-issue-removed": { @@ -82567,7 +82890,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sub-issue added event */ "webhook-sub-issues-sub-issue-added": { @@ -82583,7 +82906,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sub-issue removed event */ "webhook-sub-issues-sub-issue-removed": { @@ -82599,7 +82922,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** team_add event */ "webhook-team-add": { @@ -82607,7 +82930,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team added_to_repository event */ @@ -82812,6 +83135,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82859,7 +83183,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team created event */ @@ -83064,6 +83388,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83111,7 +83436,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team deleted event */ @@ -83316,6 +83641,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83363,7 +83689,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team edited event */ @@ -83599,6 +83925,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83646,7 +83973,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team removed_from_repository event */ @@ -83851,6 +84178,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83898,7 +84226,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** watch started event */ @@ -83909,7 +84237,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** workflow_dispatch event */ "webhook-workflow-dispatch": { @@ -83921,7 +84249,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: string; }; /** workflow_job completed event */ @@ -83932,7 +84260,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -84022,7 +84350,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -84120,7 +84448,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -84174,7 +84502,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -84228,7 +84556,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -84268,6 +84596,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -84418,6 +84747,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84590,6 +84920,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84658,6 +84989,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -84678,7 +85010,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -85126,7 +85458,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -85166,6 +85498,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -85316,6 +85649,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -85488,6 +85822,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -85556,6 +85891,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -85897,6 +86233,10 @@ export interface components { "secret-scanning-alert-sort": "created" | "updated"; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ "secret-scanning-alert-validity": string; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + "secret-scanning-alert-publicly-leaked": boolean; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + "secret-scanning-alert-multi-repo": boolean; /** @description The slug of the team name. */ "team-slug": string; /** @description The unique identifier of the gist. */ @@ -85929,6 +86269,10 @@ export interface components { org: string; /** @description The unique identifier of the repository. */ "repository-id": number; + /** @description Only return runner groups that are allowed to be used by this repository. */ + "visible-to-repository": string; + /** @description Unique identifier of the self-hosted runner group. */ + "runner-group-id": number; /** @description Unique identifier of the self-hosted runner. */ "runner-id": number; /** @description The name of a self-hosted runner's custom label. */ @@ -85984,8 +86328,13 @@ export interface components { "personal-access-token-after": string; /** @description The unique identifier of the fine-grained personal access token. */ "fine-grained-personal-access-token-id": number; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ "custom-property-name": string; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + "ruleset-targets": string; /** @description The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned. */ "ref-in-query": string; /** @description The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned. */ @@ -86078,6 +86427,8 @@ export interface components { status: "queued" | "in_progress" | "completed"; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ "git-ref": components["schemas"]["code-scanning-ref"]; + /** @description The number of the pull request for the results you want to list. */ + "pr-alias": number; /** @description The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ "alert-number": components["schemas"]["alert-number"]; /** @description The SHA of the commit. */ @@ -86857,7 +87208,7 @@ export interface operations { 404: components["responses"]["not_found"]; }; }; - "classroom/list-accepted-assigments-for-an-assignment": { + "classroom/list-accepted-assignments-for-an-assignment": { parameters: { query?: { /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -87214,6 +87565,10 @@ export interface operations { after?: components["parameters"]["pagination-after"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -88790,7 +89145,7 @@ export interface operations { members_can_create_public_repositories?: boolean; /** * @description Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. + * **Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. * @enum {string} */ members_allowed_repository_creation_type?: "all" | "private" | "none"; @@ -88822,7 +89177,7 @@ export interface operations { blog?: string; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88833,7 +89188,7 @@ export interface operations { advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88844,7 +89199,7 @@ export interface operations { dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88855,7 +89210,7 @@ export interface operations { dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88866,7 +89221,7 @@ export interface operations { dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88877,7 +89232,7 @@ export interface operations { secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -89275,6 +89630,415 @@ export interface operations { }; }; }; + "actions/list-self-hosted-runner-groups-for-org": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + /** @description Only return runner groups that are allowed to be used by this repository. */ + visible_to_repository?: components["parameters"]["visible-to-repository"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + runner_groups: components["schemas"]["runner-groups-org"][]; + }; + }; + }; + }; + }; + "actions/create-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. + * @default all + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids?: number[]; + /** @description List of runner IDs to add to the runner group. */ + runners?: number[]; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/get-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/delete-self-hosted-runner-group-from-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/update-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/list-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: { + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + repositories: components["schemas"]["minimal-repository"][]; + }; + }; + }; + }; + }; + "actions/set-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/add-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + repository_id: components["parameters"]["repository-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/remove-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + repository_id: components["parameters"]["repository-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/list-self-hosted-runners-in-group-for-org": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + Link: components["headers"]["link"]; + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + runners: components["schemas"]["runner"][]; + }; + }; + }; + }; + }; + "actions/set-self-hosted-runners-in-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description List of runner IDs to add to the runner group. */ + runners: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/add-self-hosted-runner-to-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + runner_id: components["parameters"]["runner-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/remove-self-hosted-runner-from-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + runner_id: components["parameters"]["runner-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; "actions/list-self-hosted-runners-for-org": { parameters: { query?: { @@ -90449,6 +91213,25 @@ export interface operations { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @default disabled + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @default disabled @@ -90653,6 +91436,24 @@ export interface operations { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -94284,7 +95085,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -94311,7 +95112,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -94357,7 +95158,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -94668,7 +95469,7 @@ export interface operations { delete_branch_on_merge?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -94740,6 +95541,11 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ page?: components["parameters"]["page"]; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + targets?: components["parameters"]["ruleset-targets"]; }; header?: never; path: { @@ -95003,6 +95809,10 @@ export interface operations { after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -95313,7 +96123,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -95423,7 +96233,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -97394,6 +98204,11 @@ export interface operations { /** @description Can be `enabled` or `disabled`. */ status?: string; }; + /** @description Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." */ + secret_scanning_ai_detection?: { + /** @description Can be `enabled` or `disabled`. */ + status?: string; + }; /** @description Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." */ secret_scanning_non_provider_patterns?: { /** @description Can be `enabled` or `disabled`. */ @@ -97454,7 +98269,7 @@ export interface operations { allow_update_branch?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -100226,7 +101041,7 @@ export interface operations { strict: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100695,7 +101510,7 @@ export interface operations { strict?: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts?: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100954,12 +101769,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -100989,12 +101804,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -101024,12 +101839,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -101220,12 +102035,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -101255,12 +102070,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -101290,12 +102105,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -101885,8 +102700,14 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; /** @description The direction to sort the results by. */ direction?: components["parameters"]["direction"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + before?: components["parameters"]["pagination-before"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + after?: components["parameters"]["pagination-after"]; /** @description The property by which to sort the results. */ sort?: "created" | "updated"; /** @description If specified, only code scanning alerts with this state will be returned. */ @@ -101998,6 +102819,8 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; }; header?: never; path: { @@ -102037,6 +102860,8 @@ export interface operations { page?: components["parameters"]["page"]; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ per_page?: components["parameters"]["per-page"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; /** @description The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["schemas"]["code-scanning-ref"]; /** @description Filter analyses belonging to the same SARIF upload. */ @@ -102602,7 +103427,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -103495,7 +104320,7 @@ export interface operations { path?: string; /** @description Line index in the diff to comment on. */ position?: number; - /** @description **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. */ + /** @description **Closing down notice**. Use **position** parameter instead. Line number in the file to comment on. */ line?: number; }; }; @@ -104038,7 +104863,7 @@ export interface operations { direction?: components["parameters"]["direction"]; /** * @deprecated - * @description **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. + * @description **Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. */ page?: number; /** @@ -104749,7 +105574,7 @@ export interface operations { "application/json": { /** @description A custom webhook event name. Must be 100 characters or fewer. */ event_type: string; - /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. */ + /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. */ client_payload?: { [key: string]: unknown; }; @@ -107145,7 +107970,7 @@ export interface operations { title: string | number; /** @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.**_ */ + /** @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 closing down.**_ */ assignee?: string | null; milestone?: null | 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._ */ @@ -107530,7 +108355,7 @@ export interface operations { title?: null | string | number; /** @description The contents of the issue. */ body?: string | null; - /** @description Username to assign to this issue. **This field is deprecated.** */ + /** @description Username to assign to this issue. **This field is closing down.** */ assignee?: string | null; /** * @description The open or closed state of the issue. @@ -109971,7 +110796,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -110083,7 +110908,7 @@ export interface operations { path: string; /** * @deprecated - * @description **This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. + * @description **This parameter is closing down. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. */ position?: number; /** @@ -111487,6 +112312,11 @@ export interface operations { page?: components["parameters"]["page"]; /** @description Include rulesets configured at higher levels that apply to this repository */ includes_parents?: boolean; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + targets?: components["parameters"]["ruleset-targets"]; }; header?: never; path: { @@ -111765,6 +112595,10 @@ export interface operations { after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -113127,12 +113961,12 @@ export interface operations { q: string; /** * @deprecated - * @description **This field is deprecated.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) + * @description **This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) */ sort?: "indexed"; /** * @deprecated - * @description **This field is deprecated.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. + * @description **This field is closing down.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ order?: "desc" | "asc"; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -113471,7 +114305,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -114745,7 +115579,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -114776,7 +115610,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -126505,6 +127339,43 @@ export interface operations { }; }; }; + "secret-scanning-alert/publicly-leaked": { + parameters: { + query?: never; + header?: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent"?: string; + /** @example 12312312 */ + "X-Github-Hook-Id"?: string; + /** @example issues */ + "X-Github-Event"?: string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id"?: string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type"?: string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery"?: string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256"?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-secret-scanning-alert-publicly-leaked"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; "secret-scanning-alert/reopened": { parameters: { query?: never; diff --git a/packages/openapi-typescript/examples/github-api-next.yaml b/packages/openapi-typescript/examples/github-api-next.yaml index 55f2f4d26..60e4bdc2a 100644 --- a/packages/openapi-typescript/examples/github-api-next.yaml +++ b/packages/openapi-typescript/examples/github-api-next.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: code-security description: Endpoints to manage Code security using the REST API. +- name: private-registries + description: Manage private registry configurations. servers: - url: https://api.github.com externalDocs: @@ -1194,7 +1196,7 @@ paths: the assignment. tags: - classroom - operationId: classroom/list-accepted-assigments-for-an-assignment + operationId: classroom/list-accepted-assignments-for-an-assignment externalDocs: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment @@ -1443,7 +1445,7 @@ paths: summary: List all Copilot seat assignments for an enterprise description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. @@ -1511,7 +1513,7 @@ paths: summary: Get a summary of Copilot usage for enterprise members description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, @@ -1666,6 +1668,8 @@ paths: - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -1695,7 +1699,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -3928,10 +3932,10 @@ paths: summary: Update an organization description: |- > [!WARNING] - > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). + > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). > [!WARNING] - > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). + > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). Updates the organization's profile and member privileges. @@ -4026,7 +4030,7 @@ paths: description: "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** - This parameter is deprecated and will be removed in the future. + This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description @@ -4068,7 +4072,7 @@ paths: advanced_security_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. @@ -4079,7 +4083,7 @@ paths: dependabot_alerts_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. @@ -4090,7 +4094,7 @@ paths: dependabot_security_updates_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. @@ -4101,7 +4105,7 @@ paths: dependency_graph_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. @@ -4112,7 +4116,7 @@ paths: secret_scanning_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. @@ -4123,7 +4127,7 @@ paths: secret_scanning_push_protection_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. @@ -4688,6 +4692,546 @@ paths: enabledForGitHubApps: true category: actions subcategory: permissions + "/orgs/{org}/actions/runner-groups": + get: + summary: List self-hosted runner groups for an organization + description: |- + Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-self-hosted-runner-groups-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/visible-to-repository" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - runner_groups + properties: + total_count: + type: number + runner_groups: + type: array + items: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-groups-org" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + post: + summary: Create a self-hosted runner group for an organization + description: |- + Creates a new self-hosted runner group for an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/create-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the runner group. + type: string + visibility: + description: Visibility of a runner group. You can select all repositories, + select individual repositories, or limit access to private repositories. + type: string + enum: + - selected + - all + - private + default: all + selected_repository_ids: + description: List of repository IDs that can access the runner group. + type: array + items: + type: integer + description: Unique identifier of the repository. + runners: + description: List of runner IDs to add to the runner group. + type: array + items: + type: integer + description: Unique identifier of the runner. + allows_public_repositories: + description: Whether the runner group can be used by `public` repositories. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running + only the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed + to run. This setting will be ignored unless `restricted_to_workflows` + is set to `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed + to run. Note that a ref, tag, or long SHA is required. + examples: + - octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - name + examples: + default: + value: + name: Expensive hardware runners + visibility: selected + selected_repository_ids: + - 32 + - 91 + runners: + - 9 + - 2 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}": + get: + summary: Get a self-hosted runner group for an organization + description: |- + Gets a specific self-hosted runner group for an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/get-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group-item" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + patch: + summary: Update a self-hosted runner group for an organization + description: |- + Updates the `name` and `visibility` of a self-hosted runner group in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/update-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the runner group. + type: string + visibility: + description: Visibility of a runner group. You can select all repositories, + select individual repositories, or all private repositories. + type: string + enum: + - selected + - all + - private + allows_public_repositories: + description: Whether the runner group can be used by `public` repositories. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running + only the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed + to run. This setting will be ignored unless `restricted_to_workflows` + is set to `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed + to run. Note that a ref, tag, or long SHA is required. + examples: + - octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - name + examples: + default: + value: + name: Expensive hardware runners + visibility: selected + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Delete a self-hosted runner group from an organization + description: |- + Deletes a self-hosted runner group for an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/delete-self-hosted-runner-group-from-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": + get: + summary: List repository access to a self-hosted runner group in an organization + description: |- + Lists the repositories with access to a self-hosted runner group configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: number + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/minimal-repository-paginated" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + put: + summary: Set repository access for a self-hosted runner group in an organization + description: |- + Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/set-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs that can access the runner group. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 91 + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": + put: + summary: Add repository access to a self-hosted runner group in an organization + description: |- + Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/add-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Remove repository access to a self-hosted runner group in an organization + description: |- + Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/remove-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": + get: + summary: List self-hosted runners in a group for an organization + description: |- + Lists self-hosted runners that are in a specific organization group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-self-hosted-runners-in-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - runners + properties: + total_count: + type: number + runners: + type: array + items: + "$ref": "#/components/schemas/runner" + examples: + default: + "$ref": "#/components/examples/runner-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + put: + summary: Set self-hosted runners in a group for an organization + description: |- + Replaces the list of self-hosted runners that are part of an organization runner group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/set-self-hosted-runners-in-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + runners: + description: List of runner IDs to add to the runner group. + type: array + items: + type: integer + description: Unique identifier of the runner. + required: + - runners + examples: + default: + value: + runners: + - 9 + - 2 + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": + put: + summary: Add a self-hosted runner to a group for an organization + description: |- + Adds a self-hosted runner to a runner group configured in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/add-self-hosted-runner-to-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/runner-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Remove a self-hosted runner from a group for an organization + description: |- + Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/remove-self-hosted-runner-from-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/runner-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups "/orgs/{org}/actions/runners": get: summary: List self-hosted runners for an organization @@ -6377,6 +6921,39 @@ paths: - disabled - not_set default: disabled + secret_scanning_delegated_bypass: + type: string + description: The enablement status of secret scanning delegated + bypass + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning_delegated_bypass_options: + type: object + description: Feature options for secret scanning delegated bypass + properties: + reviewers: + type: array + description: The bypass reviewers for secret scanning delegated + bypass + items: + type: object + required: + - reviewer_id + - reviewer_type + properties: + reviewer_id: + type: integer + description: The ID of the team or role selected as a + bypass reviewer + reviewer_type: + type: string + description: The type of the bypass reviewer + enum: + - TEAM + - ROLE secret_scanning_validity_checks: type: string description: The enablement status of secret scanning validity checks @@ -6665,6 +7242,38 @@ paths: - enabled - disabled - not_set + secret_scanning_delegated_bypass: + type: string + description: The enablement status of secret scanning delegated + bypass + enum: + - enabled + - disabled + - not_set + secret_scanning_delegated_bypass_options: + type: object + description: Feature options for secret scanning delegated bypass + properties: + reviewers: + type: array + description: The bypass reviewers for secret scanning delegated + bypass + items: + type: object + required: + - reviewer_id + - reviewer_type + properties: + reviewer_id: + type: integer + description: The ID of the team or role selected as a + bypass reviewer + reviewer_type: + type: string + description: The type of the bypass reviewer + enum: + - TEAM + - ROLE secret_scanning_validity_checks: type: string description: The enablement status of secret scanning validity checks @@ -7586,7 +8195,7 @@ paths: summary: Get Copilot seat information and settings for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Gets information about an organization's Copilot subscription, including seat breakdown and feature policies. To configure these settings, go to your organization's settings on GitHub.com. @@ -7633,7 +8242,7 @@ paths: summary: List all Copilot seat assignments for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. Only organization owners can view assigned seats. @@ -7695,7 +8304,7 @@ paths: summary: Add teams to the Copilot subscription for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -7779,7 +8388,7 @@ paths: summary: Remove teams from the Copilot subscription for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Cancels the Copilot seat assignment for all members of each team specified. This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -7862,7 +8471,7 @@ paths: summary: Add users to the Copilot subscription for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Purchases a GitHub Copilot seat for each user specified. The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -7946,7 +8555,7 @@ paths: summary: Remove users from the Copilot subscription for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Cancels the Copilot seat assignment for each user specified. This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -8030,7 +8639,7 @@ paths: summary: Get a summary of Copilot usage for organization members description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -9892,7 +10501,7 @@ paths: summary: Get Copilot seat assignment details for a user description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. @@ -12457,7 +13066,7 @@ paths: type: boolean description: Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property - has been deprecated. Please use `squash_merge_commit_title` instead. + is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true squash_merge_commit_title: @@ -12569,6 +13178,7 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/ruleset-targets" responses: '200': description: Response @@ -12948,6 +13558,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -13235,7 +13847,7 @@ paths: summary: Get a summary of Copilot usage for a team description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -13407,7 +14019,7 @@ paths: - notifications_disabled permission: type: string - description: "**Deprecated**. The permission that new repositories + description: "**Closing down notice**. The permission that new repositories will be added to the team with when none is specified." enum: - pull @@ -13533,7 +14145,7 @@ paths: - notifications_disabled permission: type: string - description: "**Deprecated**. The permission that new repositories + description: "**Closing down notice**. The permission that new repositories will be added to the team with when none is specified." enum: - pull @@ -14962,7 +15574,7 @@ paths: summary: Enable or disable a security feature for an organization description: |- > [!WARNING] - > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." @@ -16063,7 +16675,7 @@ paths: * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." > [!NOTE] - > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. tags: - rate-limit operationId: rate-limit/get @@ -16221,6 +16833,16 @@ paths: status: type: string description: Can be `enabled` or `disabled`. + secret_scanning_ai_detection: + type: object + description: Use the `status` property to enable or disable + secret scanning AI detection for this repository. For more + information, see "[Responsible detection of generic secrets + with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." + properties: + status: + type: string + description: Can be `enabled` or `disabled`. secret_scanning_non_provider_patterns: type: object description: Use the `status` property to enable or disable @@ -16293,7 +16915,7 @@ paths: type: boolean description: Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property - has been deprecated. Please use `squash_merge_commit_title` instead. + is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true squash_merge_commit_title: @@ -20026,12 +20648,12 @@ paths: contexts: type: array deprecated: true - description: "**Deprecated**: The list of status checks to require - in order to merge into this branch. If any of these checks - have recently been set by a particular GitHub App, they will - be required to come from that app in future for the branch - to merge. Use `checks` instead of `contexts` for more fine-grained - control." + description: "**Closing down notice**: The list of status checks + to require in order to merge into this branch. If any of these + checks have recently been set by a particular GitHub App, + they will be required to come from that app in future for + the branch to merge. Use `checks` instead of `contexts` for + more fine-grained control." items: type: string checks: @@ -20738,11 +21360,12 @@ paths: contexts: type: array deprecated: true - description: "**Deprecated**: The list of status checks to require - in order to merge into this branch. If any of these checks have - recently been set by a particular GitHub App, they will be required - to come from that app in future for the branch to merge. Use `checks` - instead of `contexts` for more fine-grained control." + description: "**Closing down notice**: The list of status checks + to require in order to merge into this branch. If any of these + checks have recently been set by a particular GitHub App, they + will be required to come from that app in future for the branch + to merge. Use `checks` instead of `contexts` for more fine-grained + control." items: type: string checks: @@ -21173,28 +21796,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -21237,28 +21856,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -21301,27 +21916,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -21631,26 +22243,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example adding a user in a branch protection rule @@ -21698,26 +22306,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example replacing a user in a branch protection rule @@ -21765,25 +22369,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example removing a user in a branch protection rule @@ -22096,6 +22697,8 @@ paths: required: - name - head_sha + discriminator: + propertyName: status oneOf: - properties: status: @@ -22845,7 +23448,10 @@ paths: - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/git-ref" + - "$ref": "#/components/parameters/pr-alias" - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" - name: sort description: The property by which to sort the results. in: query @@ -23013,6 +23619,7 @@ paths: - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/git-ref" + - "$ref": "#/components/parameters/pr-alias" responses: '200': description: Response @@ -23052,7 +23659,7 @@ paths: and `0` is returned in this field. > [!WARNING] - > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. operationId: code-scanning/list-recent-analyses @@ -23068,6 +23675,7 @@ paths: - "$ref": "#/components/parameters/tool-guid" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pr-alias" - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` @@ -24054,7 +24662,7 @@ paths: geo: description: The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, - which is being deprecated. + which is closing down. type: string enum: - EuropeWest @@ -24449,8 +25057,6 @@ paths: Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. - Anyone with read access to the repository can use this endpoint. - If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - codespaces @@ -25404,8 +26010,8 @@ paths: description: Line index in the diff to comment on. line: type: integer - description: "**Deprecated**. Use **position** parameter instead. - Line number in the file to comment on." + description: "**Closing down notice**. Use **position** parameter + instead. Line number in the file to comment on." required: - body examples: @@ -25977,6 +26583,13 @@ paths: - "$ref": "#/components/schemas/content-file" - "$ref": "#/components/schemas/content-symlink" - "$ref": "#/components/schemas/content-submodule" + discriminator: + propertyName: type + mapping: + array: "#/components/schemas/content-directory" + file: "#/components/schemas/content-file" + symlink: "#/components/schemas/content-symlink" + submodule: "#/components/schemas/content-submodule" examples: response-if-content-is-a-file: "$ref": "#/components/examples/content-file-response-if-content-is-a-file" @@ -26316,8 +26929,8 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - name: page - description: "**Deprecated**. Page number of the results to fetch. Use cursor-based - pagination with `before` or `after` instead." + description: "**Closing down notice**. Page number of the results to fetch. + Use cursor-based pagination with `before` or `after` instead." deprecated: true in: query schema: @@ -27342,7 +27955,8 @@ paths: type: object description: JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number - of top-level properties is 10. + of top-level properties is 10. The total size of the JSON payload + must be less than 64KB. additionalProperties: true maxProperties: 10 examples: @@ -30028,7 +30642,7 @@ paths: View the progress of an import. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). **Import status** @@ -30101,7 +30715,7 @@ paths: return a status `422 Unprocessable Entity` response. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/start-import @@ -30193,7 +30807,7 @@ paths: You can select the project to import by providing one of the objects in the `project_choices` array in the update request. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/update-import @@ -30279,7 +30893,7 @@ paths: Stop an import for a repository. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/cancel-import @@ -30311,7 +30925,7 @@ paths: This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/get-commit-authors @@ -30354,7 +30968,7 @@ paths: new commits to the repository. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/map-commit-author @@ -30419,7 +31033,7 @@ paths: List files larger than 100MB found during the import > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/get-large-files @@ -30462,7 +31076,7 @@ paths: site](https://docs.github.com/repositories/working-with-files/managing-large-files). > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/set-lfs-preference @@ -30915,7 +31529,7 @@ paths: 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.**_' + field is closing down.**_' milestone: oneOf: - type: string @@ -31456,7 +32070,7 @@ paths: patch: summary: Update an issue description: |- - Issue owners and users with push access can edit an issue. + Issue owners and users with push access or Triage role can edit an issue. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -31499,7 +32113,8 @@ paths: type: - string - 'null' - description: Username to assign to this issue. **This field is deprecated.** + description: Username to assign to this issue. **This field is closing + down.** state: type: string description: The open or closed state of the issue. @@ -34992,7 +35607,7 @@ paths: geo: description: The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, - which is being deprecated. + which is closing down. type: string enum: - EuropeWest @@ -35126,7 +35741,7 @@ paths: If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. - The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -35167,7 +35782,7 @@ paths: description: The relative path to the file that necessitates a comment. position: type: integer - description: '**This parameter is deprecated. Use `line` instead**. + description: '**This parameter is closing down. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first @@ -36227,8 +36842,9 @@ paths: "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch": put: summary: Update a pull request branch - description: Updates the pull request branch with the latest upstream changes - by merging HEAD from the base branch into the pull request branch. + description: |- + Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. tags: - pulls operationId: pulls/update-branch @@ -37262,6 +37878,7 @@ paths: schema: type: boolean default: true + - "$ref": "#/components/parameters/ruleset-targets" responses: '200': description: Response @@ -37641,6 +38258,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -38829,10 +39448,10 @@ paths: subcategory: repos "/repos/{owner}/{repo}/tags/protection": get: - summary: Deprecated - List tag protection states for a repository + summary: Closing down - List tag protection states for a repository description: |- > [!WARNING] - > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. This returns the tag protection states of a repository. @@ -38842,7 +39461,7 @@ paths: operationId: repos/list-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#deprecated---list-tag-protection-states-for-a-repository + url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -38871,10 +39490,10 @@ paths: removalDate: '2024-08-30' deprecated: true post: - summary: Deprecated - Create a tag protection state for a repository + summary: Closing down - Create a tag protection state for a repository description: |- > [!WARNING] - > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. This creates a tag protection state for a repository. This endpoint is only available to repository administrators. @@ -38883,7 +39502,7 @@ paths: operationId: repos/create-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#deprecated---create-a-tag-protection-state-for-a-repository + url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -38928,10 +39547,10 @@ paths: deprecated: true "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": delete: - summary: Deprecated - Delete a tag protection state for a repository + summary: Closing down - Delete a tag protection state for a repository description: |- > [!WARNING] - > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. This deletes a tag protection state for a repository. This endpoint is only available to repository administrators. @@ -38940,7 +39559,7 @@ paths: operationId: repos/delete-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#deprecated---delete-a-tag-protection-state-for-a-repository + url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -39602,7 +40221,7 @@ paths: type: string - name: sort deprecated: true - description: "**This field is deprecated.** Sorts the results of your query. + description: "**This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results)" in: query @@ -39612,9 +40231,10 @@ paths: enum: - indexed - name: order - description: "**This field is deprecated.** Determines whether the first search - result returned is the highest number of matches (`desc`) or lowest number - of matches (`asc`). This parameter is ignored unless you provide `sort`. " + description: "**This field is closing down.** Determines whether the first + search result returned is the highest number of matches (`desc`) or lowest + number of matches (`asc`). This parameter is ignored unless you provide + `sort`. " in: query deprecated: true required: false @@ -40142,7 +40762,7 @@ paths: summary: Get a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. tags: - teams operationId: teams/get-legacy @@ -40175,7 +40795,7 @@ paths: summary: Update a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. To edit a team, the authenticated user must either be an organization owner or a team maintainer. @@ -40226,7 +40846,7 @@ paths: - notifications_disabled permission: type: string - description: "**Deprecated**. The permission that new repositories + description: "**Closing down notice**. The permission that new repositories will be added to the team with when none is specified." enum: - pull @@ -40284,7 +40904,7 @@ paths: summary: Delete a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. To delete a team, the authenticated user must be an organization owner or team maintainer. @@ -40317,7 +40937,7 @@ paths: summary: List discussions (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. List all discussions on a team's page. @@ -40360,7 +40980,7 @@ paths: summary: Create a discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. Creates a new discussion post on a team's page. @@ -40427,7 +41047,7 @@ paths: summary: Get a discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. Get a specific discussion on a team's page. @@ -40463,7 +41083,7 @@ paths: summary: Update a discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. Edits the title and body text of a discussion post. Only the parameters you provide are updated. @@ -40516,7 +41136,7 @@ paths: summary: Delete a discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. Delete a discussion from a team's page. @@ -40546,7 +41166,7 @@ paths: summary: List discussion comments (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. List all comments on a team discussion. @@ -40590,7 +41210,7 @@ paths: summary: Create a discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. Creates a new comment on a team discussion. @@ -40646,7 +41266,7 @@ paths: summary: Get a discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. Get a specific comment on a team discussion. @@ -40683,7 +41303,7 @@ paths: summary: Update a discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. Edits the body text of a discussion comment. @@ -40736,7 +41356,7 @@ paths: summary: Delete a discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. Deletes a comment on a team discussion. @@ -40767,7 +41387,7 @@ paths: summary: List reactions for a team discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -40827,7 +41447,7 @@ paths: summary: Create reaction for a team discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -40893,7 +41513,7 @@ paths: summary: List reactions for a team discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -40952,7 +41572,7 @@ paths: summary: Create reaction for a team discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -41017,7 +41637,7 @@ paths: summary: List pending team invitations (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. tags: @@ -41058,7 +41678,7 @@ paths: summary: List team members (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. Team members will include the members of child teams. tags: @@ -41111,7 +41731,7 @@ paths: get: summary: Get team member (Legacy) description: |- - The "Get team member" endpoint (described below) is deprecated. + The "Get team member" endpoint (described below) is closing down. We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. @@ -41141,7 +41761,7 @@ paths: put: summary: Add team member (Legacy) description: |- - The "Add team member" endpoint (described below) is deprecated. + The "Add team member" endpoint (described below) is closing down. We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. @@ -41184,7 +41804,7 @@ paths: delete: summary: Remove team member (Legacy) description: |- - The "Remove team member" endpoint (described below) is deprecated. + The "Remove team member" endpoint (described below) is closing down. We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. @@ -41221,7 +41841,7 @@ paths: summary: Get team membership for a user (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. Team members will include the members of child teams. @@ -41264,7 +41884,7 @@ paths: summary: Add or update team membership for a user (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. @@ -41333,7 +41953,7 @@ paths: summary: Remove team membership for a user (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. @@ -41368,7 +41988,7 @@ paths: summary: List team projects (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. Lists the organization projects for a team. tags: @@ -41411,7 +42031,7 @@ paths: summary: Check team permissions for a project (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. tags: @@ -41447,7 +42067,7 @@ paths: summary: Add or update team project permissions (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. tags: @@ -41518,7 +42138,7 @@ paths: summary: Remove a project from a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. tags: @@ -41550,7 +42170,7 @@ paths: summary: List team repositories (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. tags: - teams operationId: teams/list-repos-legacy @@ -41591,7 +42211,7 @@ paths: summary: Check team permissions for a repository (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. > [!NOTE] > Repositories inherited through a parent team will also be checked. @@ -41633,7 +42253,7 @@ paths: summary: Add or update team repository permissions (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. @@ -41689,7 +42309,7 @@ paths: summary: Remove a repository from a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. tags: @@ -41718,7 +42338,7 @@ paths: summary: List child teams (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. tags: - teams operationId: teams/list-child-legacy @@ -41779,6 +42399,11 @@ paths: oneOf: - "$ref": "#/components/schemas/private-user" - "$ref": "#/components/schemas/public-user" + discriminator: + propertyName: user_view_type + mapping: + public: "#/components/schemas/public-user" + private: "#/components/schemas/private-user" examples: response-with-public-and-private-profile-information: "$ref": "#/components/examples/private-user-response-with-public-and-private-profile-information" @@ -42103,7 +42728,7 @@ paths: geo: description: The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, - which is being deprecated. + which is closing down. type: string enum: - EuropeWest @@ -42162,7 +42787,7 @@ paths: geo: description: The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, - which is being deprecated. + which is closing down. type: string enum: - EuropeWest @@ -46205,6 +46830,11 @@ paths: oneOf: - "$ref": "#/components/schemas/private-user" - "$ref": "#/components/schemas/public-user" + discriminator: + propertyName: user_view_type + mapping: + public: "#/components/schemas/public-user" + private: "#/components/schemas/private-user" examples: default-response: "$ref": "#/components/examples/public-user-default-response" @@ -46283,6 +46913,11 @@ paths: oneOf: - "$ref": "#/components/schemas/private-user" - "$ref": "#/components/schemas/public-user" + discriminator: + propertyName: user_view_type + mapping: + public: "#/components/schemas/public-user" + private: "#/components/schemas/private-user" examples: default-response: "$ref": "#/components/examples/public-user-default-response" @@ -46400,7 +47035,7 @@ paths: get: summary: List events for the authenticated user description: |- - If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). > [!NOTE] > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -49355,7 +49990,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A Dependabot alert was automatically closed by a Dependabot auto-triage rule. operationId: dependabot-alert/auto-dismissed @@ -49425,7 +50060,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed. @@ -49496,7 +50131,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. @@ -49567,7 +50202,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A Dependabot alert was manually closed. operationId: dependabot-alert/dismissed externalDocs: @@ -49636,7 +50271,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A manifest file change removed a vulnerability. operationId: dependabot-alert/fixed externalDocs: @@ -49705,7 +50340,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A manifest file change introduced a vulnerable dependency that had previously been fixed. operationId: dependabot-alert/reintroduced @@ -49775,7 +50410,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A Dependabot alert was manually reopened. operationId: dependabot-alert/reopened externalDocs: @@ -50361,7 +50996,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on the discussion was marked as the answer. operationId: discussion/answered externalDocs: @@ -50430,7 +51065,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: The category of a discussion was changed. operationId: discussion/category-changed externalDocs: @@ -50499,7 +51134,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was closed. operationId: discussion/closed externalDocs: @@ -50568,7 +51203,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on a discussion was created. operationId: discussion-comment/created externalDocs: @@ -50637,7 +51272,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on a discussion was deleted. operationId: discussion-comment/deleted externalDocs: @@ -50706,7 +51341,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on a discussion was edited. operationId: discussion-comment/edited externalDocs: @@ -50775,7 +51410,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was created. operationId: discussion/created externalDocs: @@ -50844,7 +51479,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was deleted. operationId: discussion/deleted externalDocs: @@ -50913,7 +51548,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: The title or body on a discussion was edited, or the category of the discussion was changed. operationId: discussion/edited @@ -50983,7 +51618,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A label was added to a discussion. operationId: discussion/labeled externalDocs: @@ -51052,7 +51687,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was locked. operationId: discussion/locked externalDocs: @@ -51121,7 +51756,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was pinned. operationId: discussion/pinned externalDocs: @@ -51190,7 +51825,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was reopened. operationId: discussion/reopened externalDocs: @@ -51259,7 +51894,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was transferred to another repository. operationId: discussion/transferred externalDocs: @@ -51328,7 +51963,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on the discussion was unmarked as the answer. operationId: discussion/unanswered externalDocs: @@ -51397,7 +52032,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A label was removed from a discussion. operationId: discussion/unlabeled externalDocs: @@ -51466,7 +52101,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was unlocked. operationId: discussion/unlocked externalDocs: @@ -51535,7 +52170,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was unpinned. operationId: discussion/unpinned externalDocs: @@ -55588,7 +56223,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. > [!NOTE] - > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was approved. operationId: personal-access-token-request/approved externalDocs: @@ -55653,7 +56288,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. > [!NOTE] - > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was cancelled by the requester. operationId: personal-access-token-request/cancelled @@ -55719,7 +56354,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. > [!NOTE] - > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was created. operationId: personal-access-token-request/created externalDocs: @@ -55784,7 +56419,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. > [!NOTE] - > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was denied. operationId: personal-access-token-request/denied externalDocs: @@ -56877,7 +57512,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A project in the organization was closed. operationId: projects-v2/closed externalDocs: @@ -56945,7 +57580,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A project in the organization was created. operationId: projects-v2/created externalDocs: @@ -57013,7 +57648,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A project in the organization was deleted. operationId: projects-v2/deleted externalDocs: @@ -57081,7 +57716,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: The title, description, or README of a project in the organization was changed. operationId: projects-v2/edited @@ -57150,7 +57785,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." operationId: projects-v2-item/archived @@ -57219,7 +57854,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A draft issue in an organization project was converted to an issue. operationId: projects-v2-item/converted externalDocs: @@ -57287,7 +57922,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: An item was added to a project in the organization. operationId: projects-v2-item/created externalDocs: @@ -57355,7 +57990,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: An item was deleted from a project in the organization. operationId: projects-v2-item/deleted externalDocs: @@ -57423,7 +58058,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. @@ -57493,7 +58128,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. @@ -57563,7 +58198,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." operationId: projects-v2-item/restored @@ -57632,7 +58267,7 @@ webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A project in the organization was reopened. operationId: projects-v2/reopened externalDocs: @@ -61583,7 +62218,7 @@ webhooks: This event occurs when there is activity relating to a security vulnerability alert in a repository. > [!WARNING] - > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was created. operationId: repository-vulnerability-alert/create externalDocs: @@ -61647,7 +62282,7 @@ webhooks: This event occurs when there is activity relating to a security vulnerability alert in a repository. > [!WARNING] - > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was dismissed. operationId: repository-vulnerability-alert/dismiss externalDocs: @@ -61711,7 +62346,7 @@ webhooks: This event occurs when there is activity relating to a security vulnerability alert in a repository. > [!WARNING] - > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. description: A previously dismissed or resolved repository vulnerability alert was reopened. operationId: repository-vulnerability-alert/reopen @@ -61776,7 +62411,7 @@ webhooks: This event occurs when there is activity relating to a security vulnerability alert in a repository. > [!WARNING] - > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was marked as resolved. operationId: repository-vulnerability-alert/resolve externalDocs: @@ -61979,7 +62614,7 @@ webhooks: - repository - organization - app - secret-scanning-alert-reopened: + secret-scanning-alert-publicly-leaked: post: summary: |- This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. @@ -61987,8 +62622,8 @@ webhooks: For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - description: A previously closed secret scanning alert was reopened. - operationId: secret-scanning-alert/reopened + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert parameters: @@ -62032,7 +62667,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-secret-scanning-alert-reopened" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62045,7 +62680,7 @@ webhooks: - repository - organization - app - secret-scanning-alert-resolved: + secret-scanning-alert-reopened: post: summary: |- This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. @@ -62053,8 +62688,8 @@ webhooks: For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - description: A secret scanning alert was closed. - operationId: secret-scanning-alert/resolved + description: A previously closed secret scanning alert was reopened. + operationId: secret-scanning-alert/reopened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert parameters: @@ -62098,7 +62733,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-secret-scanning-alert-resolved" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62111,7 +62746,7 @@ webhooks: - repository - organization - app - secret-scanning-alert-validated: + secret-scanning-alert-resolved: post: summary: |- This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. @@ -62119,8 +62754,8 @@ webhooks: For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - description: A secret scanning alert was validated. - operationId: secret-scanning-alert/validated + description: A secret scanning alert was closed. + operationId: secret-scanning-alert/resolved externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert parameters: @@ -62164,7 +62799,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-resolved" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62177,16 +62812,18 @@ webhooks: - repository - organization - app - security-advisory-published: + secret-scanning-alert-validated: post: summary: |- - This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. - GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - description: A security advisory was published to the GitHub community. - operationId: security-advisory/published + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was validated. + operationId: secret-scanning-alert/validated externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory + url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert parameters: - name: User-Agent in: header @@ -62228,7 +62865,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-advisory-published" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62236,17 +62873,19 @@ webhooks: x-github: githubCloudOnly: false category: webhooks - subcategory: security_advisory + subcategory: secret_scanning_alert supported-webhook-types: + - repository + - organization - app - security-advisory-updated: + security-advisory-published: post: summary: |- This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - description: The metadata or description of a security advisory was changed. - operationId: security-advisory/updated + description: A security advisory was published to the GitHub community. + operationId: security-advisory/published externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory parameters: @@ -62290,7 +62929,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-advisory-updated" + "$ref": "#/components/schemas/webhook-security-advisory-published" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62301,14 +62940,14 @@ webhooks: subcategory: security_advisory supported-webhook-types: - app - security-advisory-withdrawn: + security-advisory-updated: post: summary: |- This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." - description: A previously published security advisory was withdrawn. - operationId: security-advisory/withdrawn + description: The metadata or description of a security advisory was changed. + operationId: security-advisory/updated externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory parameters: @@ -62352,7 +62991,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" + "$ref": "#/components/schemas/webhook-security-advisory-updated" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62363,15 +63002,77 @@ webhooks: subcategory: security_advisory supported-webhook-types: - app - security-and-analysis: + security-advisory-withdrawn: post: summary: |- - This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." + This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see "[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories)." For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory). - To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. - operationId: security-and-analysis + GitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see "[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." + description: A previously published security advisory was withdrawn. + operationId: security-advisory/withdrawn externalDocs: - url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_and_analysis + url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: security_advisory + supported-webhook-types: + - app + security-and-analysis: + post: + summary: |- + This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission. + operationId: security-and-analysis + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#security_and_analysis parameters: - name: User-Agent in: header @@ -64599,6 +65300,10 @@ components: type: string examples: - '"2020-07-09T00:17:55Z"' + user_view_type: + type: string + examples: + - public required: - avatar_url - events_url @@ -65640,7 +66345,8 @@ components: type: string description: The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot - Business subscription. This property is in beta and is subject to change. + Business subscription. This property is in public preview and is subject + to change. enum: - write organization_announcement_banners: @@ -65687,7 +66393,7 @@ components: organization_projects: type: string description: The level of permission to grant the access token to manage - organization projects and projects beta (where available). + organization projects and projects public preview (where available). enum: - read - write @@ -66339,7 +67045,7 @@ components: use_squash_pr_title_as_default: type: boolean description: Whether a squash merge commit can use the pull request title - as default. **This property has been deprecated. Please use `squash_merge_commit_title` + as default. **This property is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true @@ -67530,17 +68236,10 @@ components: type: object properties: assignee: - type: object - description: The assignee that has been granted access to GitHub Copilot. - additionalProperties: true - oneOf: - - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/simple-user" organization: - type: - - object - - 'null' - description: The organization to which this seat belongs. - oneOf: + anyOf: + - type: 'null' - "$ref": "#/components/schemas/organization-simple" assigning_team: description: The team through which the assignee is granted access to GitHub @@ -67583,6 +68282,14 @@ components: format: date-time description: Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. + plan_type: + type: string + description: The Copilot plan of the organization, or the parent enterprise, + when applicable. + enum: + - business + - enterprise + - unknown required: - assignee - created_at @@ -68443,6 +69150,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. actor: title: Actor description: Actor @@ -69175,6 +69893,8 @@ components: id: type: integer format: int64 + user_view_type: + type: string node_id: type: string avatar_url: @@ -69285,11 +70005,6 @@ components: - name - space - private_repos - suspended_at: - type: - - string - - 'null' - format: date-time private_gists: type: integer examples: @@ -70136,6 +70851,14 @@ components: enum: - enabled - disabled + secret_scanning_ai_detection: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled minimal-repository: title: Minimal Repository description: Minimal Repository @@ -70766,6 +71489,10 @@ components: type: - integer - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. examples: - 8 billing_email: @@ -70849,7 +71576,7 @@ components: advanced_security_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. @@ -70860,7 +71587,7 @@ components: dependabot_alerts_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. @@ -70871,7 +71598,7 @@ components: dependabot_security_updates_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. @@ -70882,7 +71609,7 @@ components: dependency_graph_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. @@ -70893,7 +71620,7 @@ components: secret_scanning_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. @@ -70904,7 +71631,7 @@ components: secret_scanning_push_protection_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. @@ -71106,6 +71833,60 @@ components: "$ref": "#/components/schemas/actions-default-workflow-permissions" can_approve_pull_request_reviews: "$ref": "#/components/schemas/actions-can-approve-pull-request-reviews" + runner-groups-org: + type: object + properties: + id: + type: number + name: + type: string + visibility: + type: string + default: + type: boolean + selected_repositories_url: + description: Link to the selected repositories resource for this runner + group. Not present unless visibility was set to `selected` + type: string + runners_url: + type: string + hosted_runners_url: + type: string + inherited: + type: boolean + inherited_allows_public_repositories: + type: boolean + allows_public_repositories: + type: boolean + workflow_restrictions_read_only: + description: If `true`, the `restricted_to_workflows` and `selected_workflows` + fields cannot be modified. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running only + the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed to run. + This setting will be ignored unless `restricted_to_workflows` is set to + `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed to run. + Note that a ref, tag, or long SHA is required. + examples: + - octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - id + - name + - visibility + - default + - runners_url + - inherited + - allows_public_repositories runner-label: title: Self hosted runner label description: A label for a self hosted runner @@ -71621,6 +72402,7 @@ components: enum: - global - organization + - enterprise description: type: string description: A description of the code security configuration @@ -71687,6 +72469,35 @@ components: - enabled - disabled - not_set + secret_scanning_delegated_bypass: + type: string + description: The enablement status of secret scanning delegated bypass + enum: + - enabled + - disabled + - not_set + secret_scanning_delegated_bypass_options: + type: object + description: Feature options for secret scanning delegated bypass + properties: + reviewers: + type: array + description: The bypass reviewers for secret scanning delegated bypass + items: + type: object + required: + - reviewer_id + - reviewer_type + properties: + reviewer_id: + type: integer + description: The ID of the team or role selected as a bypass reviewer + reviewer_type: + type: string + description: The type of the bypass reviewer + enum: + - TEAM + - ROLE secret_scanning_validity_checks: type: string description: The enablement status of secret scanning validity checks @@ -72180,9 +72991,9 @@ components: description: The number of seats that have not used Copilot during the current billing cycle. copilot-organization-details: - title: Copilot Business Organization Details + title: Copilot Organization Details description: Information about the seat breakdown and policies set for an organization - with a Copilot Business subscription. + with a Copilot Business or Copilot Enterprise subscription. type: object properties: seat_breakdown: @@ -72228,6 +73039,14 @@ components: - assign_selected - disabled - unconfigured + plan_type: + type: string + description: The Copilot plan of the organization, or the parent enterprise, + when applicable. + enum: + - business + - enterprise + - unknown required: - seat_breakdown - public_code_suggestions @@ -72894,6 +73713,10 @@ components: type: string examples: - '"2020-07-09T00:17:55Z"' + user_view_type: + type: string + examples: + - public required: - avatar_url - events_url @@ -73959,7 +74782,6 @@ components: description: An actor that can bypass rules in a ruleset required: - actor_type - - bypass_mode properties: actor_id: type: @@ -73982,10 +74804,12 @@ components: type: string description: When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` - is not applicable for the `DeployKey` actor type. + is not applicable for the `DeployKey` actor type. Also, `pull_request` + is only applicable to branch rulesets. enum: - always - pull_request + default: always repository-ruleset-conditions: title: Repository ruleset conditions for ref names type: object @@ -74097,9 +74921,10 @@ components: org-ruleset-conditions: title: Organization ruleset conditions type: object - description: Conditions for an organization ruleset. The conditions object should - contain both `repository_name` and `ref_name` properties or both `repository_id` - and `ref_name` properties. + description: |- + Conditions for an organization ruleset. + The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + The push rulesets conditions object does not require the `ref_name` property. oneOf: - type: object title: repository_name_and_ref_name @@ -74834,7 +75659,9 @@ components: type: string description: The URL of the ruleset html: - type: object + type: + - object + - 'null' properties: href: type: string @@ -78413,6 +79240,8 @@ components: type: string site_admin: type: boolean + user_view_type: + type: string teams: type: array items: @@ -78530,6 +79359,10 @@ components: type: boolean examples: - false + user_view_type: + type: string + examples: + - public name: type: string client_id: @@ -80561,6 +81394,10 @@ components: type: string examples: - admin + user_view_type: + type: string + examples: + - public required: - avatar_url - events_url @@ -81378,6 +82215,8 @@ components: type: string sha: type: string + content: + type: string url: type: string format: uri @@ -81409,8 +82248,6 @@ components: type: string path: type: string - content: - type: string sha: type: string url: @@ -81493,8 +82330,6 @@ components: - size - type - url - - content - - encoding content-directory: title: Content Directory description: A list of directory items @@ -81977,6 +82812,8 @@ components: type: string name: type: string + user_view_type: + type: string required: - contributions - type @@ -82584,7 +83421,7 @@ components: examples: - production target_url: - description: 'Deprecated: the URL to associate with this status.' + description: 'Closing down notice: the URL to associate with this status.' default: '' type: string format: uri @@ -84918,13 +85755,13 @@ components: - config/database.yaml position: description: The line index in the diff to which the comment applies. This - field is deprecated; use `line` instead. + field is closing down; use `line` instead. type: integer examples: - 1 original_position: description: The index of the original line in the diff to which the comment - applies. This field is deprecated; use `original_line` instead. + applies. This field is closing down; use `original_line` instead. type: integer examples: - 4 @@ -86051,463 +86888,11 @@ components: ref: type: string repo: - type: - - object - - 'null' - properties: - archive_url: - type: string - assignees_url: - type: string - blobs_url: - type: string - branches_url: - type: string - collaborators_url: - type: string - comments_url: - type: string - commits_url: - type: string - compare_url: - type: string - contents_url: - type: string - contributors_url: - type: string - format: uri - deployments_url: - type: string - format: uri - description: - type: - - string - - 'null' - downloads_url: - type: string - format: uri - events_url: - type: string - format: uri - fork: - type: boolean - forks_url: - type: string - format: uri - full_name: - type: string - git_commits_url: - type: string - git_refs_url: - type: string - git_tags_url: - type: string - hooks_url: - type: string - format: uri - html_url: - type: string - format: uri - id: - type: integer - node_id: - type: string - issue_comment_url: - type: string - issue_events_url: - type: string - issues_url: - type: string - keys_url: - type: string - labels_url: - type: string - languages_url: - type: string - format: uri - merges_url: - type: string - format: uri - milestones_url: - type: string - name: - type: string - notifications_url: - type: string - owner: - type: object - properties: - avatar_url: - type: string - format: uri - events_url: - type: string - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - gravatar_id: - type: - - string - - 'null' - html_url: - type: string - format: uri - id: - type: integer - node_id: - type: string - login: - type: string - organizations_url: - type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - subscriptions_url: - type: string - format: uri - type: - type: string - url: - type: string - format: uri - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url - private: - type: boolean - pulls_url: - type: string - releases_url: - type: string - stargazers_url: - type: string - format: uri - statuses_url: - type: string - subscribers_url: - type: string - format: uri - subscription_url: - type: string - format: uri - tags_url: - type: string - format: uri - teams_url: - type: string - format: uri - trees_url: - type: string - url: - type: string - format: uri - clone_url: - type: string - default_branch: - type: string - forks: - type: integer - forks_count: - type: integer - git_url: - type: string - has_downloads: - type: boolean - has_issues: - type: boolean - has_projects: - type: boolean - has_wiki: - type: boolean - has_pages: - type: boolean - has_discussions: - type: boolean - homepage: - type: - - string - - 'null' - format: uri - language: - type: - - string - - 'null' - master_branch: - type: string - archived: - type: boolean - disabled: - type: boolean - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - mirror_url: - type: - - string - - 'null' - format: uri - open_issues: - type: integer - open_issues_count: - type: integer - permissions: - type: object - properties: - admin: - type: boolean - maintain: - type: boolean - push: - type: boolean - triage: - type: boolean - pull: - type: boolean - required: - - admin - - pull - - push - temp_clone_token: - type: string - allow_merge_commit: - type: boolean - allow_squash_merge: - type: boolean - allow_rebase_merge: - type: boolean - license: - type: - - object - - 'null' - properties: - key: - type: string - name: - type: string - url: - type: - - string - - 'null' - format: uri - spdx_id: - type: - - string - - 'null' - node_id: - type: string - required: - - key - - name - - url - - spdx_id - - node_id - pushed_at: - type: string - format: date-time - size: - type: integer - ssh_url: - type: string - stargazers_count: - type: integer - svn_url: - type: string - format: uri - topics: - type: array - items: - type: string - watchers: - type: integer - watchers_count: - type: integer - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - allow_forking: - type: boolean - is_template: - type: boolean - web_commit_signoff_required: - type: boolean - required: - - archive_url - - assignees_url - - blobs_url - - branches_url - - collaborators_url - - comments_url - - commits_url - - compare_url - - contents_url - - contributors_url - - deployments_url - - description - - downloads_url - - events_url - - fork - - forks_url - - full_name - - git_commits_url - - git_refs_url - - git_tags_url - - hooks_url - - html_url - - id - - node_id - - issue_comment_url - - issue_events_url - - issues_url - - keys_url - - labels_url - - languages_url - - merges_url - - milestones_url - - name - - notifications_url - - owner - - private - - pulls_url - - releases_url - - stargazers_url - - statuses_url - - subscribers_url - - subscription_url - - tags_url - - teams_url - - trees_url - - url - - clone_url - - default_branch - - forks - - forks_count - - git_url - - has_downloads - - has_issues - - has_projects - - has_wiki - - has_pages - - has_discussions - - homepage - - language - - archived - - disabled - - mirror_url - - open_issues - - open_issues_count - - license - - pushed_at - - size - - ssh_url - - stargazers_count - - svn_url - - watchers - - watchers_count - - created_at - - updated_at + "$ref": "#/components/schemas/repository" sha: type: string user: - type: object - properties: - avatar_url: - type: string - format: uri - events_url: - type: string - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - gravatar_id: - type: - - string - - 'null' - html_url: - type: string - format: uri - id: - type: integer - format: int64 - node_id: - type: string - login: - type: string - organizations_url: - type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - subscriptions_url: - type: string - format: uri - type: - type: string - url: - type: string - format: uri - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url + "$ref": "#/components/schemas/simple-user" required: - label - ref @@ -86522,439 +86907,11 @@ components: ref: type: string repo: - type: object - properties: - archive_url: - type: string - assignees_url: - type: string - blobs_url: - type: string - branches_url: - type: string - collaborators_url: - type: string - comments_url: - type: string - commits_url: - type: string - compare_url: - type: string - contents_url: - type: string - contributors_url: - type: string - format: uri - deployments_url: - type: string - format: uri - description: - type: - - string - - 'null' - downloads_url: - type: string - format: uri - events_url: - type: string - format: uri - fork: - type: boolean - forks_url: - type: string - format: uri - full_name: - type: string - git_commits_url: - type: string - git_refs_url: - type: string - git_tags_url: - type: string - hooks_url: - type: string - format: uri - html_url: - type: string - format: uri - id: - type: integer - is_template: - type: boolean - node_id: - type: string - issue_comment_url: - type: string - issue_events_url: - type: string - issues_url: - type: string - keys_url: - type: string - labels_url: - type: string - languages_url: - type: string - format: uri - merges_url: - type: string - format: uri - milestones_url: - type: string - name: - type: string - notifications_url: - type: string - owner: - type: object - properties: - avatar_url: - type: string - format: uri - events_url: - type: string - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - gravatar_id: - type: - - string - - 'null' - html_url: - type: string - format: uri - id: - type: integer - node_id: - type: string - login: - type: string - organizations_url: - type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - subscriptions_url: - type: string - format: uri - type: - type: string - url: - type: string - format: uri - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url - private: - type: boolean - pulls_url: - type: string - releases_url: - type: string - stargazers_url: - type: string - format: uri - statuses_url: - type: string - subscribers_url: - type: string - format: uri - subscription_url: - type: string - format: uri - tags_url: - type: string - format: uri - teams_url: - type: string - format: uri - trees_url: - type: string - url: - type: string - format: uri - clone_url: - type: string - default_branch: - type: string - forks: - type: integer - forks_count: - type: integer - git_url: - type: string - has_downloads: - type: boolean - has_issues: - type: boolean - has_projects: - type: boolean - has_wiki: - type: boolean - has_pages: - type: boolean - has_discussions: - type: boolean - homepage: - type: - - string - - 'null' - format: uri - language: - type: - - string - - 'null' - master_branch: - type: string - archived: - type: boolean - disabled: - type: boolean - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - mirror_url: - type: - - string - - 'null' - format: uri - open_issues: - type: integer - open_issues_count: - type: integer - permissions: - type: object - properties: - admin: - type: boolean - maintain: - type: boolean - push: - type: boolean - triage: - type: boolean - pull: - type: boolean - required: - - admin - - pull - - push - temp_clone_token: - type: string - allow_merge_commit: - type: boolean - allow_squash_merge: - type: boolean - allow_rebase_merge: - type: boolean - license: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/license-simple" - pushed_at: - type: string - format: date-time - size: - type: integer - ssh_url: - type: string - stargazers_count: - type: integer - svn_url: - type: string - format: uri - topics: - type: array - items: - type: string - watchers: - type: integer - watchers_count: - type: integer - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - allow_forking: - type: boolean - web_commit_signoff_required: - type: boolean - required: - - archive_url - - assignees_url - - blobs_url - - branches_url - - collaborators_url - - comments_url - - commits_url - - compare_url - - contents_url - - contributors_url - - deployments_url - - description - - downloads_url - - events_url - - fork - - forks_url - - full_name - - git_commits_url - - git_refs_url - - git_tags_url - - hooks_url - - html_url - - id - - node_id - - issue_comment_url - - issue_events_url - - issues_url - - keys_url - - labels_url - - languages_url - - merges_url - - milestones_url - - name - - notifications_url - - owner - - private - - pulls_url - - releases_url - - stargazers_url - - statuses_url - - subscribers_url - - subscription_url - - tags_url - - teams_url - - trees_url - - url - - clone_url - - default_branch - - forks - - forks_count - - git_url - - has_downloads - - has_issues - - has_projects - - has_wiki - - has_pages - - has_discussions - - homepage - - language - - archived - - disabled - - mirror_url - - open_issues - - open_issues_count - - license - - pushed_at - - size - - ssh_url - - stargazers_count - - svn_url - - watchers - - watchers_count - - created_at - - updated_at + "$ref": "#/components/schemas/repository" sha: type: string user: - type: object - properties: - avatar_url: - type: string - format: uri - events_url: - type: string - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - gravatar_id: - type: - - string - - 'null' - html_url: - type: string - format: uri - id: - type: integer - format: int64 - node_id: - type: string - login: - type: string - organizations_url: - type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - subscriptions_url: - type: string - format: uri - type: - type: string - url: - type: string - format: uri - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url + "$ref": "#/components/schemas/simple-user" required: - label - ref @@ -87703,6 +87660,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. secret-scanning-alert-resolution-comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -89572,6 +89540,8 @@ components: - string - 'null' format: date-time + user_view_type: + type: string required: - avatar_url - events_url @@ -89606,6 +89576,8 @@ components: format: int64 examples: - 1 + user_view_type: + type: string node_id: type: string examples: @@ -89798,11 +89770,6 @@ components: - name - space - private_repos - suspended_at: - type: - - string - - 'null' - format: date-time business_plus: type: boolean ldap_dn: @@ -91477,7 +91444,7 @@ components: use_squash_pr_title_as_default: type: boolean description: Whether a squash merge commit can use the pull request title - as default. **This property has been deprecated. Please use `squash_merge_commit_title` + as default. **This property is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true @@ -91629,123 +91596,6 @@ components: - watchers_count - created_at - updated_at - simple-user-webhooks: - title: Simple User - description: The GitHub user that triggered the event. This property is included - in every webhook payload. - type: object - properties: - name: - type: - - string - - 'null' - email: - type: - - string - - 'null' - login: - type: string - examples: - - octocat - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDQ6VXNlcjE= - avatar_url: - type: string - format: uri - examples: - - https://github.com/images/error/octocat_happy.gif - gravatar_id: - type: - - string - - 'null' - examples: - - 41d064eb2195891e12d0413f63227ea7 - url: - type: string - format: uri - examples: - - https://api.github.com/users/octocat - html_url: - type: string - format: uri - examples: - - https://github.com/octocat - followers_url: - type: string - format: uri - examples: - - https://api.github.com/users/octocat/followers - following_url: - type: string - examples: - - https://api.github.com/users/octocat/following{/other_user} - gists_url: - type: string - examples: - - https://api.github.com/users/octocat/gists{/gist_id} - starred_url: - type: string - examples: - - https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: - type: string - format: uri - examples: - - https://api.github.com/users/octocat/subscriptions - organizations_url: - type: string - format: uri - examples: - - https://api.github.com/users/octocat/orgs - repos_url: - type: string - format: uri - examples: - - https://api.github.com/users/octocat/repos - events_url: - type: string - examples: - - https://api.github.com/users/octocat/events{/privacy} - received_events_url: - type: string - format: uri - examples: - - https://api.github.com/users/octocat/received_events - type: - type: string - examples: - - User - site_admin: - type: boolean - starred_at: - type: string - examples: - - '"2020-07-09T00:17:55Z"' - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url webhooks_rule: title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch @@ -92242,6 +92092,8 @@ components: type: string url: type: string + user_view_type: + type: string webhooks_reviewers: type: array items: @@ -92417,6 +92269,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -92562,101 +92416,105 @@ components: url: type: string format: uri - required: - - login - - id - required: - - id - - node_id - - html_url - - parent_id - - child_comment_count - - repository_url - - discussion_id - - author_association - - user - - created_at - - updated_at - - body - discussion: - title: Discussion - description: A Discussion in a repository. - type: object - properties: - active_lock_reason: - type: - - string - - 'null' - answer_chosen_at: - type: - - string - - 'null' - answer_chosen_by: - title: User - type: - - object - - 'null' - properties: - avatar_url: - type: string - format: uri - deleted: - type: boolean - email: - type: - - string - - 'null' - events_url: - type: string - format: uri-template - followers_url: - type: string - format: uri - following_url: + user_view_type: + type: string + required: + - login + - id + required: + - id + - node_id + - html_url + - parent_id + - child_comment_count + - repository_url + - discussion_id + - author_association + - user + - created_at + - updated_at + - body + discussion: + title: Discussion + description: A Discussion in a repository. + type: object + properties: + active_lock_reason: + type: + - string + - 'null' + answer_chosen_at: + type: + - string + - 'null' + answer_chosen_by: + title: User + type: + - object + - 'null' + properties: + avatar_url: + type: string + format: uri + deleted: + type: boolean + email: + type: + - string + - 'null' + events_url: + type: string + format: uri-template + followers_url: + type: string + format: uri + following_url: + type: string + format: uri-template + gists_url: + type: string + format: uri-template + gravatar_id: + type: string + html_url: + type: string + format: uri + id: + type: integer + login: + type: string + name: + type: string + node_id: + type: string + organizations_url: + type: string + format: uri + received_events_url: + type: string + format: uri + repos_url: + type: string + format: uri + site_admin: + type: boolean + starred_url: + type: string + format: uri-template + subscriptions_url: + type: string + format: uri + type: + type: string + enum: + - Bot + - User + - Organization + url: + type: string + format: uri + user_view_type: type: string - format: uri-template - gists_url: - type: string - format: uri-template - gravatar_id: - type: string - html_url: - type: string - format: uri - id: - type: integer - login: - type: string - name: - type: string - node_id: - type: string - organizations_url: - type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - format: uri-template - subscriptions_url: - type: string - format: uri - type: - type: string - enum: - - Bot - - User - - Organization - url: - type: string - format: uri required: - login - id @@ -92865,6 +92723,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93034,6 +92894,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93291,6 +93153,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93402,6 +93266,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93474,6 +93340,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93643,6 +93511,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93862,6 +93732,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -94213,6 +94085,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -94320,6 +94194,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -94461,6 +94337,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -94532,6 +94410,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -94700,6 +94580,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -94917,6 +94799,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -95266,6 +95150,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -95358,6 +95244,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -95755,6 +95643,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -95897,6 +95787,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -96129,6 +96021,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -96243,6 +96137,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -96619,7 +96515,7 @@ components: - COMMIT_OR_PR_TITLE use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull request title - as default. **This property has been deprecated. Please use `squash_merge_commit_title` + as default. **This property is closing down. Please use `squash_merge_commit_title` instead.** type: boolean default: false @@ -96790,6 +96686,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -96961,6 +96859,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -97298,6 +97198,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -97570,6 +97472,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -97933,6 +97837,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -98205,6 +98111,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -98348,6 +98256,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -98435,6 +98345,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -98877,6 +98789,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -99172,6 +99086,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -99335,6 +99251,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -99552,6 +99470,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -99890,6 +99810,8 @@ components: url: type: string format: uri + user_view_type: + type: string body: type: - string @@ -100188,6 +100110,17 @@ components: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or business. webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -100347,6 +100280,8 @@ components: type: string url: type: string + user_view_type: + type: string node_id: type: string privacy_level: @@ -100417,6 +100352,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -100486,6 +100423,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -100710,7 +100649,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -100732,7 +100671,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -100756,7 +100695,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -100781,7 +100720,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -100917,7 +100856,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -100940,7 +100879,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -100973,7 +100912,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -101014,7 +100953,7 @@ components: user. type: string sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_run @@ -101048,7 +100987,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -101244,6 +101183,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -101675,7 +101616,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -101862,6 +101803,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -102291,7 +102234,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -102473,6 +102416,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -102901,7 +102846,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -102997,6 +102942,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -103152,7 +103099,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103248,6 +103195,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -103426,7 +103375,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103644,7 +103593,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103742,6 +103691,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -103922,7 +103873,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104141,7 +104092,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104320,7 +104271,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104338,7 +104289,7 @@ components: enum: - created comment: - description: The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) + description: The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. type: object properties: @@ -104496,6 +104447,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -104522,7 +104475,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -104559,7 +104512,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - ref_type @@ -104585,7 +104538,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition @@ -104612,7 +104565,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition @@ -104633,7 +104586,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition @@ -104654,7 +104607,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" new_property_values: type: array description: The new custom property values for the repository. @@ -104694,7 +104647,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - ref_type @@ -104720,7 +104673,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104745,7 +104698,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104770,7 +104723,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104795,7 +104748,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104820,7 +104773,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104845,7 +104798,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104870,7 +104823,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -104895,7 +104848,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - key @@ -104920,7 +104873,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - key @@ -105007,6 +104960,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -105185,6 +105140,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -105431,7 +105388,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -105506,6 +105463,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -106001,6 +105960,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -106076,7 +106037,7 @@ components: installation: "$ref": "#/components/schemas/simple-installation" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" webhook-deployment-review-approved: type: object properties: @@ -106099,7 +106060,7 @@ components: reviewers: "$ref": "#/components/schemas/webhooks_reviewers" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -106200,6 +106161,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -106351,6 +106314,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -106593,6 +106558,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -106699,6 +106666,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -106765,7 +106734,7 @@ components: reviewers: "$ref": "#/components/schemas/webhooks_reviewers" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -106867,6 +106836,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -107016,6 +106987,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -107258,6 +107231,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -107363,6 +107338,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -107499,6 +107476,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - id type: @@ -107507,7 +107486,7 @@ components: - User - Team sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -107613,6 +107592,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -107762,6 +107743,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -108004,6 +107987,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -108110,6 +108095,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -108315,6 +108302,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -108497,6 +108486,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -108806,6 +108797,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -108986,6 +108979,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -109223,7 +109218,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -109298,6 +109293,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -109794,6 +109791,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -109858,7 +109857,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109928,7 +109927,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -109954,7 +109953,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109981,7 +109980,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -110009,7 +110008,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -110049,7 +110048,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -110076,7 +110075,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110101,7 +110100,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110143,7 +110142,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110170,7 +110169,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110196,7 +110195,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110221,7 +110220,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110246,7 +110245,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110281,7 +110280,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -110305,7 +110304,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110332,7 +110331,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110358,7 +110357,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110383,7 +110382,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -110688,6 +110687,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -111078,7 +111079,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - forkee - repository @@ -111092,7 +111093,7 @@ components: enum: - revoked sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - sender @@ -111146,7 +111147,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - pages - repository @@ -111172,7 +111173,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -111199,7 +111200,7 @@ components: type: - 'null' sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -111226,7 +111227,7 @@ components: type: - 'null' sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -111274,7 +111275,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -111332,7 +111333,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -111363,7 +111364,7 @@ components: type: - 'null' sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -111450,6 +111451,8 @@ components: website_url: type: - 'null' + user_view_type: + type: string required: - id - node_id @@ -111485,7 +111488,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" target_type: type: string required: @@ -111516,7 +111519,7 @@ components: type: - 'null' sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -111680,6 +111683,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -111786,6 +111791,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -111858,6 +111865,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112027,6 +112036,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112247,6 +112258,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112599,6 +112612,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112697,6 +112712,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112868,7 +112885,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -112975,6 +112992,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113047,6 +113066,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113216,6 +113237,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113434,6 +113457,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113784,6 +113809,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113882,6 +113909,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114043,6 +114072,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - labels - state @@ -114053,7 +114084,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -114162,6 +114193,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114234,6 +114267,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114403,6 +114438,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114623,6 +114660,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114974,6 +115013,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -115072,6 +115113,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -115243,7 +115286,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -115273,7 +115316,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -115378,6 +115421,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -115450,6 +115495,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -115619,6 +115666,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -115840,6 +115889,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -116191,6 +116242,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -116354,6 +116407,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - state - closed_at @@ -116362,7 +116417,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -116462,6 +116517,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -116701,6 +116758,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -116919,6 +116978,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -117268,6 +117329,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -117298,7 +117361,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -117684,6 +117747,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: - string @@ -117894,6 +117959,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -118235,6 +118302,8 @@ components: url: type: string format: uri + user_view_type: + type: string milestone: "$ref": "#/components/schemas/webhooks_milestone" organization: @@ -118242,7 +118311,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -118363,6 +118432,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -118604,6 +118675,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -118824,6 +118897,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -119175,6 +119250,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -119207,7 +119284,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -119309,6 +119386,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -119550,6 +119629,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -119769,6 +119850,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -120120,6 +120203,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -120152,7 +120237,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -120278,6 +120363,8 @@ components: url: type: string format: uri + user_view_type: + type: string assignees: type: array items: @@ -120349,6 +120436,8 @@ components: url: type: string format: uri + user_view_type: + type: string author_association: title: AuthorAssociation description: How the author is associated with the repository. @@ -120538,6 +120627,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: - string @@ -120750,6 +120841,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -121089,12 +121182,14 @@ components: url: type: string format: uri + user_view_type: + type: string organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -121478,6 +121573,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: - string @@ -121689,6 +121786,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -122029,6 +122128,8 @@ components: url: type: string format: uri + user_view_type: + type: string milestone: "$ref": "#/components/schemas/webhooks_milestone" organization: @@ -122036,7 +122137,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -122138,6 +122239,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122209,6 +122312,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122377,6 +122482,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122595,6 +122702,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122944,6 +123053,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -123267,6 +123378,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -123530,6 +123643,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -123601,6 +123716,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -123770,6 +123887,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -123990,6 +124109,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -124340,6 +124461,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -124370,7 +124493,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -124395,7 +124518,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -124781,6 +124904,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: - string @@ -124993,6 +125118,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -125335,12 +125462,14 @@ components: url: type: string format: uri + user_view_type: + type: string organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -125439,6 +125568,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -125510,6 +125641,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -125678,6 +125811,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -125896,6 +126031,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -126245,6 +126382,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -126569,6 +126708,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -126759,7 +126900,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -126788,7 +126929,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -126815,7 +126956,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -126941,6 +127082,8 @@ components: url: type: string format: uri + user_view_type: + type: string assignees: type: array items: @@ -127012,6 +127155,8 @@ components: url: type: string format: uri + user_view_type: + type: string author_association: title: AuthorAssociation description: How the author is associated with the repository. @@ -127201,6 +127346,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: - string @@ -127411,6 +127558,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -127750,12 +127899,14 @@ components: url: type: string format: uri + user_view_type: + type: string organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -127780,7 +127931,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -127805,7 +127956,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -127829,7 +127980,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -127885,7 +128036,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -127914,7 +128065,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -128028,7 +128179,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -128140,7 +128291,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -128252,7 +128403,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -128281,7 +128432,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -128333,7 +128484,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - member @@ -128382,7 +128533,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -128408,7 +128559,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - member @@ -128503,6 +128654,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -128605,6 +128758,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -128633,7 +128788,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - merge_group @@ -128662,7 +128817,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - merge_group @@ -128792,7 +128947,7 @@ components: - type: 'null' - "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - hook_id @@ -128816,7 +128971,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -128841,7 +128996,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -128866,7 +129021,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -128922,7 +129077,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -128948,7 +129103,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -128973,7 +129128,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - blocked_user @@ -128998,7 +129153,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - blocked_user @@ -129023,7 +129178,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - organization @@ -129047,7 +129202,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - membership @@ -129156,6 +129311,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -129188,7 +129345,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" user: "$ref": "#/components/schemas/webhooks_user" required: @@ -129215,7 +129372,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - membership @@ -129248,7 +129405,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - organization @@ -129389,6 +129546,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -129465,6 +129624,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -129775,6 +129936,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -129885,7 +130048,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - package @@ -129991,6 +130154,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -130065,6 +130230,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -130220,6 +130387,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -130334,7 +130503,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - package @@ -130432,6 +130601,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -130462,7 +130633,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - id - build @@ -130483,7 +130654,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -130507,7 +130678,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -130531,7 +130702,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -130554,7 +130725,7 @@ components: enterprise: "$ref": "#/components/schemas/enterprise-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -130645,7 +130816,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" zen: description: Random string of GitHub zen. type: string @@ -130690,7 +130861,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -130715,7 +130886,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -130825,6 +130996,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -130863,7 +131036,7 @@ components: - type: 'null' - "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -130901,7 +131074,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -131023,6 +131196,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -131130,7 +131305,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -131154,7 +131329,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -131178,7 +131353,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -131203,7 +131378,7 @@ components: - type: 'null' - "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -131236,7 +131411,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -131260,7 +131435,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -131284,7 +131459,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -131310,7 +131485,7 @@ components: - type: 'null' - "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -131354,7 +131529,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -131377,7 +131552,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -131397,7 +131572,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -131418,7 +131593,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -131439,7 +131614,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -131499,7 +131674,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -131523,7 +131698,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -131557,7 +131732,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -131579,7 +131754,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -131600,7 +131775,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -131678,7 +131853,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -131713,7 +131888,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -131737,7 +131912,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -131759,7 +131934,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -131780,7 +131955,7 @@ components: projects_v2_status_update: "$ref": "#/components/schemas/projects-v2-status-update" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_status_update @@ -131801,7 +131976,7 @@ components: projects_v2_status_update: "$ref": "#/components/schemas/projects-v2-status-update" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_status_update @@ -131887,7 +132062,7 @@ components: projects_v2_status_update: "$ref": "#/components/schemas/projects-v2-status-update" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_status_update @@ -131906,7 +132081,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - repository - sender @@ -132095,6 +132270,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -132167,6 +132344,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -132266,6 +132445,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -132603,6 +132784,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -132713,7 +132896,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -132876,6 +133059,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -133243,6 +133428,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -133353,7 +133540,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -133516,6 +133703,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -133658,6 +133847,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -133745,6 +133936,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -133887,6 +134080,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -134199,6 +134394,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -134242,7 +134439,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134432,6 +134629,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -134602,6 +134801,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -134939,6 +135140,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -135049,7 +135252,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -135212,6 +135415,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -135575,6 +135780,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -135685,7 +135892,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -135848,6 +136055,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -135990,6 +136199,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136076,6 +136287,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136218,6 +136431,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136530,6 +136745,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136575,7 +136792,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -136765,6 +136982,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136935,6 +137154,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -137272,6 +137493,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -137382,7 +137605,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -137545,6 +137768,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -137907,6 +138132,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138017,7 +138244,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -138180,6 +138407,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138322,6 +138551,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138409,6 +138640,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138551,6 +138784,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138863,6 +139098,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138908,7 +139145,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -138936,7 +139173,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -138964,7 +139201,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -138992,7 +139229,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -139180,6 +139417,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -139350,6 +139589,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -139687,6 +139928,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -139797,7 +140040,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -139960,6 +140203,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -140323,6 +140568,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -140433,7 +140680,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -140596,6 +140843,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -140738,6 +140987,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -140825,6 +141076,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -140966,6 +141219,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -141269,6 +141524,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -141311,10 +141568,23 @@ components: - draft reason: type: string + enum: + - UNKNOWN_REMOVAL_REASON + - MANUAL + - MERGE + - MERGE_CONFLICT + - CI_FAILURE + - CI_TIMEOUT + - ALREADY_MERGED + - QUEUE_CLEARED + - ROLL_BACK + - BRANCH_PROTECTIONS + - GIT_TREE_INVALID + - INVALID_MERGE_COMMIT repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -141385,7 +141655,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -141574,6 +141844,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -141744,6 +142016,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -142081,6 +142355,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -142191,7 +142467,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -142354,6 +142630,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -142717,6 +142995,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -142827,7 +143107,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -142990,6 +143270,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143132,6 +143414,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143219,6 +143503,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143360,6 +143646,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143663,6 +143951,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143706,7 +143996,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -143898,6 +144188,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -144069,6 +144361,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -144406,6 +144700,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -144516,7 +144812,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -144679,6 +144975,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145046,6 +145344,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145156,7 +145456,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -145319,6 +145619,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145462,6 +145764,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145549,6 +145853,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145691,6 +145997,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -146003,6 +146311,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -146046,7 +146356,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -146235,6 +146545,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -146406,6 +146718,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -146743,6 +147057,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -146853,7 +147169,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -147016,6 +147332,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -147383,6 +147701,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -147493,7 +147813,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -147656,6 +147976,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -147799,6 +148121,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -147885,6 +148209,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -148027,6 +148353,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -148339,6 +148667,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -148382,7 +148712,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -148410,7 +148740,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -148437,7 +148767,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -148465,7 +148795,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -148493,7 +148823,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -148769,6 +149099,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -148968,6 +149300,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -149139,6 +149473,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -149476,6 +149812,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -149586,7 +149924,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -149749,6 +150087,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150103,6 +150443,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150213,7 +150555,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -150375,6 +150717,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150521,6 +150865,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150657,6 +151003,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150964,6 +151312,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -151005,7 +151355,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -151191,6 +151541,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -151361,6 +151713,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -151698,6 +152052,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -151808,7 +152164,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -151971,6 +152327,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -152325,6 +152683,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -152435,7 +152795,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -152598,6 +152958,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -152743,6 +153105,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -152878,6 +153242,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -153176,6 +153542,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -153217,7 +153585,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -153405,6 +153773,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -153476,6 +153846,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -153575,6 +153947,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -153912,6 +154286,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -154022,7 +154398,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -154185,6 +154561,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -154539,6 +154917,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -154649,7 +155029,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -154812,6 +155192,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -154958,6 +155340,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -155093,6 +155477,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -155388,6 +155774,8 @@ components: - User - Organization - Mannequin + user_view_type: + type: string url: type: string format: uri @@ -155432,7 +155820,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -155619,6 +156007,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -155790,6 +156180,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -156127,6 +156519,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -156237,7 +156631,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -156400,6 +156794,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -156754,6 +157150,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -156864,7 +157262,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -157027,6 +157425,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157172,6 +157572,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157308,6 +157710,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157615,6 +158019,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157794,6 +158200,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157810,7 +158218,7 @@ components: - author_association - _links sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - review @@ -158008,6 +158416,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -158179,6 +158589,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -158490,6 +158902,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -158730,6 +159144,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159058,6 +159474,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159298,6 +159716,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159444,6 +159864,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159580,6 +160002,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159887,6 +160311,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159932,7 +160358,7 @@ components: review: "$ref": "#/components/schemas/webhooks_review" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -160124,6 +160550,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -160195,6 +160623,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -160294,6 +160724,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -160631,6 +161063,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -160732,7 +161166,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -160895,6 +161329,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161258,6 +161694,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161368,7 +161806,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -161531,6 +161969,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161673,6 +162113,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161759,6 +162201,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161900,6 +162344,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -162221,6 +162667,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -162329,11 +162777,13 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_reviewer - action @@ -162522,6 +162972,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -162593,6 +163045,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -162692,6 +163146,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -163029,6 +163485,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -163139,7 +163597,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -163302,6 +163760,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -163665,6 +164125,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -163775,7 +164237,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -163938,6 +164400,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164080,6 +164544,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164166,6 +164632,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164307,6 +164775,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164628,6 +165098,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164782,7 +165254,7 @@ components: - repositories_url - permission sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_team - action @@ -164975,6 +165447,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -165047,6 +165521,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -165146,6 +165622,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -165483,6 +165961,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -165593,7 +166073,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -165756,6 +166236,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166119,6 +166601,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166229,7 +166713,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -166392,6 +166876,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166534,6 +167020,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166621,6 +167109,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166762,6 +167252,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -167075,6 +167567,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -167184,11 +167678,13 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_reviewer - action @@ -167378,6 +167874,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -167450,6 +167948,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -167549,6 +168049,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -167886,6 +168388,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -167996,7 +168500,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -168159,6 +168663,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -168522,6 +169028,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -168632,7 +169140,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -168795,6 +169303,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -168937,6 +169447,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169024,6 +169536,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169165,6 +169679,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169469,6 +169985,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169614,7 +170132,7 @@ components: - name - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_team - action @@ -169801,6 +170319,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169972,6 +170492,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -170309,6 +170831,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -170419,7 +170943,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -170582,6 +171106,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -170938,6 +171464,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -171048,7 +171576,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -171211,6 +171739,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -171357,6 +171887,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -171493,6 +172025,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -171800,6 +172334,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -171845,7 +172381,7 @@ components: review: "$ref": "#/components/schemas/webhooks_review" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - review @@ -172030,6 +172566,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -172200,6 +172738,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -172515,6 +173055,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -172760,6 +173302,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173094,6 +173638,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173339,6 +173885,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173484,6 +174032,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173620,6 +174170,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173927,6 +174479,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173970,7 +174524,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" thread: type: object properties: @@ -174240,6 +174794,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -174457,6 +175013,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -174625,6 +175183,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -174940,6 +175500,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -175185,6 +175747,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -175515,6 +176079,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -175760,6 +176326,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -175905,6 +176473,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -176040,6 +176610,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -176337,6 +176909,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -176380,7 +176954,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" thread: type: object properties: @@ -176647,6 +177221,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -176873,6 +177449,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -177044,6 +177622,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -177381,6 +177961,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -177491,7 +178073,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -177654,6 +178236,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -178008,6 +178592,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -178118,7 +178704,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -178281,6 +178867,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -178423,6 +179011,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -178510,6 +179100,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -178652,6 +179244,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -178964,6 +179558,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -179007,7 +179603,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -179201,6 +179797,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -179372,6 +179970,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -179711,6 +180311,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -179821,7 +180423,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -179984,6 +180586,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180351,6 +180955,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180461,7 +181067,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -180624,6 +181230,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180767,6 +181375,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180854,6 +181464,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180996,6 +181608,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -181308,6 +181922,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -181351,7 +181967,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -181542,6 +182158,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -181713,6 +182331,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182050,6 +182670,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182160,7 +182782,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -182323,6 +182945,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182681,6 +183305,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182791,7 +183417,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -182954,6 +183580,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -183096,6 +183724,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -183183,6 +183813,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -183325,6 +183957,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -183637,6 +184271,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -183680,7 +184316,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -183869,6 +184505,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -184037,6 +184675,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -184374,6 +185014,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -184484,7 +185126,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -184647,6 +185289,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -185012,6 +185656,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -185122,7 +185768,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -185285,6 +185931,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -185427,6 +186075,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -185513,6 +186163,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -185654,6 +186306,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -185956,6 +186610,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -185999,7 +186655,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -186553,6 +187209,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -186730,7 +187388,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - before @@ -186817,6 +187475,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -186882,6 +187542,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -187203,6 +187865,8 @@ components: type: string url: type: string + user_view_type: + type: string created_at: type: string draft: @@ -187287,7 +187951,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - registry_package @@ -187362,6 +188026,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -187425,6 +188091,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -187557,6 +188225,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -187664,7 +188334,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - registry_package @@ -187688,7 +188358,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -187713,7 +188383,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -187768,7 +188438,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -188010,6 +188680,8 @@ components: url: type: string format: uri + user_view_type: + type: string body: type: - string @@ -188109,7 +188781,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -188133,7 +188805,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -188157,7 +188829,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -188181,7 +188853,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -188205,7 +188877,7 @@ components: repository_advisory: "$ref": "#/components/schemas/repository-advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -188229,7 +188901,7 @@ components: repository_advisory: "$ref": "#/components/schemas/repository-advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -188251,7 +188923,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -188273,7 +188945,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -188295,7 +188967,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -188326,7 +188998,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - branch @@ -188388,7 +189060,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -188407,7 +189079,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" status: type: string enum: @@ -188435,7 +189107,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -188457,7 +189129,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -188496,7 +189168,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -188521,7 +189193,7 @@ components: repository_ruleset: "$ref": "#/components/schemas/repository-ruleset" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -188545,7 +189217,7 @@ components: repository_ruleset: "$ref": "#/components/schemas/repository-ruleset" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -188663,7 +189335,7 @@ components: from: type: string sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -188806,6 +189478,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -188822,7 +189496,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -188845,7 +189519,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -188869,7 +189543,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -188986,6 +189660,8 @@ components: url: type: string format: uri + user_view_type: + type: string external_identifier: type: string external_reference: @@ -189023,7 +189699,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -189048,7 +189724,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -189196,7 +189872,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -189221,7 +189897,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -189245,7 +189921,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - location - alert @@ -189261,6 +189937,30 @@ components: type: string required: - payload + webhook-secret-scanning-alert-publicly-leaked: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - alert + - repository webhook-secret-scanning-alert-reopened: title: secret_scanning_alert reopened event type: object @@ -189280,7 +189980,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -189304,7 +190004,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -189328,7 +190028,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -189352,7 +190052,7 @@ components: security_advisory: "$ref": "#/components/schemas/webhooks_security_advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -189375,7 +190075,7 @@ components: security_advisory: "$ref": "#/components/schemas/webhooks_security_advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -189509,7 +190209,7 @@ components: - withdrawn_at - vulnerabilities sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -189534,7 +190234,7 @@ components: repository: "$ref": "#/components/schemas/full-repository" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - changes - repository @@ -189555,7 +190255,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -189579,7 +190279,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -189615,7 +190315,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -189642,7 +190342,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -189670,7 +190370,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -189697,7 +190397,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -189722,7 +190422,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" starred_at: 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` @@ -189752,7 +190452,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" starred_at: 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` @@ -190131,7 +190831,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sha: description: The Commit SHA. type: string @@ -190191,7 +190891,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - parent_issue_id @@ -190226,7 +190926,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - parent_issue_id @@ -190261,7 +190961,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - sub_issue_id @@ -190296,7 +190996,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - sub_issue_id @@ -190317,7 +191017,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -190633,6 +191333,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -190805,7 +191507,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -191121,6 +191823,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -191293,7 +191997,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -191610,6 +192314,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -191782,7 +192488,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -192163,6 +192869,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -192335,7 +193043,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -192653,6 +193361,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -192825,7 +193535,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -192850,7 +193560,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -192875,7 +193585,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: type: string required: @@ -192901,7 +193611,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: allOf: - title: Workflow Job @@ -193176,7 +193886,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: allOf: - title: Workflow Job @@ -193477,7 +194187,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: type: object properties: @@ -193646,7 +194356,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: type: object properties: @@ -193816,7 +194526,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -193926,6 +194636,8 @@ components: url: type: string format: uri + user_view_type: + type: string artifacts_url: type: string format: uri @@ -194244,6 +194956,8 @@ components: url: type: string format: uri + user_view_type: + type: string private: description: Whether the repository is private or public. type: boolean @@ -194611,6 +195325,8 @@ components: url: type: string format: uri + user_view_type: + type: string private: description: Whether the repository is private or public. type: boolean @@ -194732,6 +195448,8 @@ components: url: type: string format: uri + user_view_type: + type: string updated_at: type: string format: date-time @@ -194772,7 +195490,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -195722,7 +196440,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -195795,6 +196513,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -196066,6 +196786,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -196431,6 +197153,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -196599,6 +197323,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -199458,6 +200184,7 @@ components: pending_cancellation_date: last_activity_at: '2021-10-14T00:53:32-06:00' last_activity_editor: vscode/1.77.3/copilot/1.86.82 + plan_type: business assignee: login: octocat id: 1 @@ -200010,6 +200737,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -200092,6 +200821,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false copilot-usage-metrics-org: value: - day: '2023-10-15' @@ -201781,6 +202512,309 @@ components: value: default_workflow_permissions: read can_approve_pull_request_reviews: true + runner-groups-org: + value: + total_count: 3 + runner_groups: + - id: 1 + name: Default + visibility: all + default: true + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/1/runners + inherited: false + allows_public_repositories: true + restricted_to_workflows: false + selected_workflows: [] + workflow_restrictions_read_only: false + - id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + inherited: true + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: true + - id: 3 + name: expensive-hardware + visibility: private + default: false + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/3/runners + inherited: false + allows_public_repositories: true + restricted_to_workflows: false + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + runner-group: + value: + id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner-groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + hosted_runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners + network_configuration_id: EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA + inherited: false + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + runner-group-item: + value: + id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + hosted_runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners + network_configuration_id: EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA + inherited: false + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + minimal-repository-paginated: + value: + total_count: 1 + repositories: + - id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: https://github.com/octocat/Hello-World.git + mirror_url: git:git.example.com/octocat/Hello-World + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + svn_url: https://svn.github.com/octocat/Hello-World + homepage: https://github.com + language: + forks_count: 9 + stargazers_count: 80 + watchers_count: 80 + size: 108 + default_branch: master + open_issues_count: 0 + is_template: true + topics: + - octocat + - atom + - electron + - api + has_issues: true + has_projects: true + has_wiki: true + has_pages: false + has_downloads: true + archived: false + disabled: false + visibility: public + pushed_at: '2011-01-26T19:06:43Z' + created_at: '2011-01-26T19:01:12Z' + updated_at: '2011-01-26T19:14:43Z' + permissions: + admin: false + push: false + pull: true + template_repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: https://github.com/octocat/Hello-World.git + mirror_url: git:git.example.com/octocat/Hello-World + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + svn_url: https://svn.github.com/octocat/Hello-World + homepage: https://github.com + organization: + language: + forks: 9 + forks_count: 9 + stargazers_count: 80 + watchers_count: 80 + watchers: 80 + size: 108 + default_branch: master + open_issues: 0 + open_issues_count: 0 + is_template: true + license: + key: mit + name: MIT License + url: https://api.github.com/licenses/mit + spdx_id: MIT + node_id: MDc6TGljZW5zZW1pdA== + html_url: https://api.github.com/licenses/mit + topics: + - octocat + - atom + - electron + - api + has_issues: true + has_projects: true + has_wiki: true + has_pages: false + has_downloads: true + archived: false + disabled: false + visibility: public + pushed_at: '2011-01-26T19:06:43Z' + created_at: '2011-01-26T19:01:12Z' + updated_at: '2011-01-26T19:14:43Z' + permissions: + admin: false + push: false + pull: true + allow_rebase_merge: true + template_repository: + temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + allow_squash_merge: true + allow_auto_merge: false + delete_branch_on_merge: true + allow_merge_commit: true + subscribers_count: 42 + network_count: 0 + temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + delete_branch_on_merge: true + subscribers_count: 42 + network_count: 0 + license: + key: mit + name: MIT License + url: https://api.github.com/licenses/mit + spdx_id: MIT + node_id: MDc6TGljZW5zZW1pdA== + forks: 1 + open_issues: 1 + watchers: 1 runner-paginated: value: total_count: 2 @@ -202401,6 +203435,12 @@ components: code_scanning_default_setup: enabled secret_scanning: enabled secret_scanning_push_protection: enabled + secret_scanning_delegated_bypass: enabled + secret_scanning_delegated_bypass_options: + reviewers: + - security_configuration_id: 17 + reviewer_id: 5678 + reviewer_type: TEAM secret_scanning_validity_checks: enabled secret_scanning_non_provider_patterns: enabled private_vulnerability_reporting: enabled @@ -202424,6 +203464,7 @@ components: code_scanning_default_setup: enabled secret_scanning: enabled secret_scanning_push_protection: enabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled private_vulnerability_reporting: enabled @@ -202448,6 +203489,7 @@ components: code_scanning_default_setup: disabled secret_scanning: enabled secret_scanning_push_protection: disabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled private_vulnerability_reporting: disabled @@ -202474,6 +203516,12 @@ components: code_scanning_default_setup: enabled secret_scanning: enabled secret_scanning_push_protection: enabled + secret_scanning_delegated_bypass: enabled + secret_scanning_delegated_bypass_options: + reviewers: + - security_configuration_id: 1325 + reviewer_id: 5678 + reviewer_type: TEAM secret_scanning_validity_checks: enabled secret_scanning_non_provider_patterns: enabled private_vulnerability_reporting: enabled @@ -202499,6 +203547,7 @@ components: code_scanning_default_setup: enabled secret_scanning: enabled secret_scanning_push_protection: enabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled private_vulnerability_reporting: enabled enforcement: enforced @@ -202522,6 +203571,7 @@ components: code_scanning_default_setup: enabled secret_scanning: disabled secret_scanning_push_protection: disabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled private_vulnerability_reporting: disabled @@ -203039,7 +204089,11 @@ components: active_this_cycle: 12 inactive_this_cycle: 11 seat_management_setting: assign_selected + ide_chat: enabled + platform_chat: enabled + cli: enabled public_code_suggestions: block + plan_type: business organization-dependabot-secret-paginated: value: total_count: 3 @@ -203551,6 +204605,7 @@ components: pending_cancellation_date: last_activity_at: '2021-10-14T00:53:32-06:00' last_activity_editor: vscode/1.77.3/copilot/1.86.82 + plan_type: business assignee: login: octocat id: 1 @@ -205081,7 +206136,7 @@ components: value: - id: 21 actor_id: 12 - username: octocat + actor_name: octocat before_sha: 893f768e172fb1bc9c5d6f3dd48557e45f14e01d after_sha: dedd88641a362b6b4ea872da4847d6131a164d01 ref: refs/heads/i-see-everything @@ -205091,7 +206146,7 @@ components: result: bypass - id: 25 actor_id: 11 - username: not-octocat + actor_name: not-octocat before_sha: 48994e4e01ccc943624c6231f172702b82b233cc after_sha: ecfd5a1025fa271a33ca5608d089476a2df3c9a1 ref: refs/heads/i-am-everything @@ -205104,7 +206159,7 @@ components: value: id: 21 actor_id: 12 - username: octocat + actor_name: octocat before_sha: 893f768e172fb1bc9c5d6f3dd48557e45f14e01d after_sha: dedd88641a362b6b4ea872da4847d6131a164d01 ref: refs/heads/i-see-everything @@ -209965,7 +211020,7 @@ components: analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 code-security-configuration-for-repository: value: - state: attached + status: attached configuration: id: 1325 target_type: organization @@ -209981,6 +211036,7 @@ components: code_scanning_default_setup: disabled secret_scanning: enabled secret_scanning_push_protection: disabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled private_vulnerability_reporting: disabled @@ -217206,6 +218262,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -217223,6 +218281,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -217242,6 +218302,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -217279,6 +218341,8 @@ components: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-location-list: value: - type: commit @@ -219169,240 +220233,6 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/user/codespaces/secrets/CODESPACE_GH_SECRET/repositories - minimal-repository-paginated: - value: - total_count: 1 - repositories: - - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: git:github.com/octocat/Hello-World.git - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: git@github.com:octocat/Hello-World.git - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: https://github.com/octocat/Hello-World.git - mirror_url: git:git.example.com/octocat/Hello-World - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - svn_url: https://svn.github.com/octocat/Hello-World - homepage: https://github.com - language: - forks_count: 9 - stargazers_count: 80 - watchers_count: 80 - size: 108 - default_branch: master - open_issues_count: 0 - is_template: true - topics: - - octocat - - atom - - electron - - api - has_issues: true - has_projects: true - has_wiki: true - has_pages: false - has_downloads: true - archived: false - disabled: false - visibility: public - pushed_at: '2011-01-26T19:06:43Z' - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - permissions: - admin: false - push: false - pull: true - template_repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: git:github.com/octocat/Hello-World.git - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: git@github.com:octocat/Hello-World.git - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: https://github.com/octocat/Hello-World.git - mirror_url: git:git.example.com/octocat/Hello-World - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - svn_url: https://svn.github.com/octocat/Hello-World - homepage: https://github.com - organization: - language: - forks: 9 - forks_count: 9 - stargazers_count: 80 - watchers_count: 80 - watchers: 80 - size: 108 - default_branch: master - open_issues: 0 - open_issues_count: 0 - is_template: true - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://api.github.com/licenses/mit - topics: - - octocat - - atom - - electron - - api - has_issues: true - has_projects: true - has_wiki: true - has_pages: false - has_downloads: true - archived: false - disabled: false - visibility: public - pushed_at: '2011-01-26T19:06:43Z' - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - permissions: - admin: false - push: false - pull: true - allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - allow_squash_merge: true - allow_auto_merge: false - delete_branch_on_merge: true - allow_merge_commit: true - subscribers_count: 42 - network_count: 0 - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true - subscribers_count: 42 - network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - forks: 1 - open_issues: 1 - watchers: 1 user-export-details: value: state: succeeded @@ -223129,6 +223959,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -223515,6 +224347,24 @@ components: required: false schema: type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false team-slug: name: team_slug description: The slug of the team name. @@ -223642,6 +224492,20 @@ components: required: true schema: type: integer + visible-to-repository: + name: visible_to_repository + description: Only return runner groups that are allowed to be used by this repository. + in: query + required: false + schema: + type: string + runner-group-id: + name: runner_group_id + description: Unique identifier of the self-hosted runner group. + in: path + required: true + schema: + type: integer runner-id: name: runner_id description: Unique identifier of the self-hosted runner. @@ -223870,11 +224734,23 @@ components: type: integer custom-property-name: name: custom_property_name - description: The custom property name. The name is case sensitive. + description: The custom property name in: path required: true schema: type: string + ruleset-targets: + name: targets + description: | + A comma-separated list of rule targets to filter by. + If provided, only rulesets that apply to the specified targets will be returned. + For example, `branch,tag,push`. + in: query + required: false + schema: + type: string + examples: + - branch,tag,push ref-in-query: name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -224256,6 +225132,13 @@ components: required: false schema: "$ref": "#/components/schemas/code-scanning-ref" + pr-alias: + name: pr + description: The number of the pull request for the results you want to list. + in: query + required: false + schema: + type: integer alert-number: name: alert_number in: path diff --git a/packages/openapi-typescript/examples/github-api-required.ts b/packages/openapi-typescript/examples/github-api-required.ts index 5657f019a..07227fad1 100644 --- a/packages/openapi-typescript/examples/github-api-required.ts +++ b/packages/openapi-typescript/examples/github-api-required.ts @@ -453,7 +453,7 @@ export interface paths { * List accepted assignments for an assignment * @description Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. */ - get: operations["classroom/list-accepted-assigments-for-an-assignment"]; + get: operations["classroom/list-accepted-assignments-for-an-assignment"]; put?: never; post?: never; delete?: never; @@ -612,7 +612,7 @@ export interface paths { /** * List all Copilot seat assignments for an enterprise * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. * @@ -643,7 +643,7 @@ export interface paths { /** * Get a summary of Copilot usage for enterprise members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, @@ -728,7 +728,7 @@ export interface paths { /** * Get a summary of Copilot usage for an enterprise team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -1609,10 +1609,10 @@ export interface paths { /** * Update an organization * @description > [!WARNING] - * > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). + * > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). * * > [!WARNING] - * > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). + * > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). * * Updates the organization's profile and member privileges. * @@ -1842,6 +1842,180 @@ export interface paths { patch?: never; trace?: never; }; + "/orgs/{org}/actions/runner-groups": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List self-hosted runner groups for an organization + * @description Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runner-groups-for-org"]; + put?: never; + /** + * Create a self-hosted runner group for an organization + * @description Creates a new self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + post: operations["actions/create-self-hosted-runner-group-for-org"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get a self-hosted runner group for an organization + * @description Gets a specific self-hosted runner group for an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/get-self-hosted-runner-group-for-org"]; + put?: never; + post?: never; + /** + * Delete a self-hosted runner group from an organization + * @description Deletes a self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/delete-self-hosted-runner-group-from-org"]; + options?: never; + head?: never; + /** + * Update a self-hosted runner group for an organization + * @description Updates the `name` and `visibility` of a self-hosted runner group in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + patch: operations["actions/update-self-hosted-runner-group-for-org"]; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List repository access to a self-hosted runner group in an organization + * @description Lists the repositories with access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-repo-access-to-self-hosted-runner-group-in-org"]; + /** + * Set repository access for a self-hosted runner group in an organization + * @description Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-repo-access-to-self-hosted-runner-group-in-org"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Add repository access to a self-hosted runner group in an organization + * @description Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-repo-access-to-self-hosted-runner-group-in-org"]; + post?: never; + /** + * Remove repository access to a self-hosted runner group in an organization + * @description Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-repo-access-to-self-hosted-runner-group-in-org"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List self-hosted runners in a group for an organization + * @description Lists self-hosted runners that are in a specific organization group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runners-in-group-for-org"]; + /** + * Set self-hosted runners in a group for an organization + * @description Replaces the list of self-hosted runners that are part of an organization runner group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-self-hosted-runners-in-group-for-org"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Add a self-hosted runner to a group for an organization + * @description Adds a self-hosted runner to a runner group configured in an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-self-hosted-runner-to-group-for-org"]; + post?: never; + /** + * Remove a self-hosted runner from a group for an organization + * @description Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-self-hosted-runner-from-group-for-org"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/orgs/{org}/actions/runners": { parameters: { query?: never; @@ -2912,7 +3086,7 @@ export interface paths { /** * Get Copilot seat information and settings for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets information about an organization's Copilot subscription, including seat breakdown * and feature policies. To configure these settings, go to your organization's settings on GitHub.com. @@ -2941,7 +3115,7 @@ export interface paths { /** * List all Copilot seat assignments for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. * Only organization owners can view assigned seats. @@ -2969,7 +3143,7 @@ export interface paths { /** * Add teams to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for all users within each specified team. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -2988,7 +3162,7 @@ export interface paths { /** * Remove teams from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for all members of each team specified. * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3019,7 +3193,7 @@ export interface paths { /** * Add users to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for each user specified. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -3038,7 +3212,7 @@ export interface paths { /** * Remove users from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for each user specified. * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3067,7 +3241,7 @@ export interface paths { /** * Get a summary of Copilot usage for organization members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -3831,7 +4005,7 @@ export interface paths { /** * Get Copilot seat assignment details for a user * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. * @@ -5051,7 +5225,7 @@ export interface paths { /** * Get a summary of Copilot usage for a team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -5689,7 +5863,7 @@ export interface paths { * Enable or disable a security feature for an organization * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + * > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). * * Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -5949,7 +6123,7 @@ export interface paths { * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." * * > [!NOTE] - * > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + * > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. */ get: operations["rate-limit/get"]; put?: never; @@ -8355,7 +8529,7 @@ export interface paths { * and `0` is returned in this field. * * > [!WARNING] - * > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + * > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ @@ -8894,8 +9068,6 @@ export interface paths { * @description Gets your public key, which you need to encrypt secrets. You need to * encrypt a secret before you can create or update secrets. * - * Anyone with read access to the repository can use this endpoint. - * * If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ get: operations["codespaces/get-repo-public-key"]; @@ -11038,7 +11210,7 @@ export interface paths { * @description View the progress of an import. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). * * **Import status** * @@ -11082,7 +11254,7 @@ export interface paths { * return a status `422 Unprocessable Entity` response. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ put: operations["migrations/start-import"]; post?: never; @@ -11092,7 +11264,7 @@ export interface paths { * @description Stop an import for a repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ delete: operations["migrations/cancel-import"]; options?: never; @@ -11108,7 +11280,7 @@ export interface paths { * You can select the project to import by providing one of the objects in the `project_choices` array in the update request. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/update-import"]; trace?: never; @@ -11128,7 +11300,7 @@ export interface paths { * This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-commit-authors"]; put?: never; @@ -11159,7 +11331,7 @@ export interface paths { * new commits to the repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/map-commit-author"]; trace?: never; @@ -11177,7 +11349,7 @@ export interface paths { * @description List files larger than 100MB found during the import * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-large-files"]; put?: never; @@ -11211,7 +11383,7 @@ export interface paths { * site](https://docs.github.com/repositories/working-with-files/managing-large-files). * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/set-lfs-preference"]; trace?: never; @@ -11540,7 +11712,7 @@ export interface paths { head?: never; /** * Update an issue - * @description Issue owners and users with push access can edit an issue. + * @description Issue owners and users with push access or Triage role can edit an issue. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -12638,7 +12810,7 @@ export interface paths { * * If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. * - * The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + * The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. * * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -12991,6 +13163,7 @@ export interface paths { /** * Update a pull request branch * @description Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + * Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. */ put: operations["pulls/update-branch"]; post?: never; @@ -13885,10 +14058,10 @@ export interface paths { cookie?: never; }; /** - * Deprecated - List tag protection states for a repository + * Closing down - List tag protection states for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. * * This returns the tag protection states of a repository. * @@ -13897,10 +14070,10 @@ export interface paths { get: operations["repos/list-tag-protection"]; put?: never; /** - * Deprecated - Create a tag protection state for a repository + * Closing down - Create a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. * * This creates a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -13923,10 +14096,10 @@ export interface paths { put?: never; post?: never; /** - * Deprecated - Delete a tag protection state for a repository + * Closing down - Delete a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. * * This deletes a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -14428,7 +14601,7 @@ export interface paths { * Get a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. */ get: operations["teams/get-legacy"]; put?: never; @@ -14437,7 +14610,7 @@ export interface paths { * Delete a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. * * To delete a team, the authenticated user must be an organization owner or team maintainer. * @@ -14450,7 +14623,7 @@ export interface paths { * Update a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. * * To edit a team, the authenticated user must either be an organization owner or a team maintainer. * @@ -14471,7 +14644,7 @@ export interface paths { * List discussions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. * * List all discussions on a team's page. * @@ -14483,7 +14656,7 @@ export interface paths { * Create a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. * * Creates a new discussion post on a team's page. * @@ -14509,7 +14682,7 @@ export interface paths { * Get a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. * * Get a specific discussion on a team's page. * @@ -14522,7 +14695,7 @@ export interface paths { * Delete a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. * * Delete a discussion from a team's page. * @@ -14535,7 +14708,7 @@ export interface paths { * Update a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. * * Edits the title and body text of a discussion post. Only the parameters you provide are updated. * @@ -14555,7 +14728,7 @@ export interface paths { * List discussion comments (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. * * List all comments on a team discussion. * @@ -14567,7 +14740,7 @@ export interface paths { * Create a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. * * Creates a new comment on a team discussion. * @@ -14593,7 +14766,7 @@ export interface paths { * Get a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. * * Get a specific comment on a team discussion. * @@ -14606,7 +14779,7 @@ export interface paths { * Delete a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. * * Deletes a comment on a team discussion. * @@ -14619,7 +14792,7 @@ export interface paths { * Update a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. * * Edits the body text of a discussion comment. * @@ -14639,7 +14812,7 @@ export interface paths { * List reactions for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. * * List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14651,7 +14824,7 @@ export interface paths { * Create reaction for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. * * Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14677,7 +14850,7 @@ export interface paths { * List reactions for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. * * List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14689,7 +14862,7 @@ export interface paths { * Create reaction for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. * * Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14715,7 +14888,7 @@ export interface paths { * List pending team invitations (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. * * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ @@ -14739,7 +14912,7 @@ export interface paths { * List team members (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. * * Team members will include the members of child teams. */ @@ -14762,7 +14935,7 @@ export interface paths { /** * Get team member (Legacy) * @deprecated - * @description The "Get team member" endpoint (described below) is deprecated. + * @description The "Get team member" endpoint (described below) is closing down. * * We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. * @@ -14772,7 +14945,7 @@ export interface paths { /** * Add team member (Legacy) * @deprecated - * @description The "Add team member" endpoint (described below) is deprecated. + * @description The "Add team member" endpoint (described below) is closing down. * * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. * @@ -14790,7 +14963,7 @@ export interface paths { /** * Remove team member (Legacy) * @deprecated - * @description The "Remove team member" endpoint (described below) is deprecated. + * @description The "Remove team member" endpoint (described below) is closing down. * * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. * @@ -14818,7 +14991,7 @@ export interface paths { * Get team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. * * Team members will include the members of child teams. * @@ -14834,7 +15007,7 @@ export interface paths { * Add or update team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14853,7 +15026,7 @@ export interface paths { * Remove team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14879,7 +15052,7 @@ export interface paths { * List team projects (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. * * Lists the organization projects for a team. */ @@ -14903,7 +15076,7 @@ export interface paths { * Check team permissions for a project (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. * * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. */ @@ -14912,7 +15085,7 @@ export interface paths { * Add or update team project permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. * * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. */ @@ -14922,7 +15095,7 @@ export interface paths { * Remove a project from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. * * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. */ @@ -14943,7 +15116,7 @@ export interface paths { * List team repositories (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. */ get: operations["teams/list-repos-legacy"]; put?: never; @@ -14965,7 +15138,7 @@ export interface paths { * Check team permissions for a repository (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. * * > [!NOTE] * > Repositories inherited through a parent team will also be checked. @@ -14977,7 +15150,7 @@ export interface paths { * Add or update team repository permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. * * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. * @@ -14989,7 +15162,7 @@ export interface paths { * Remove a repository from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. * * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. */ @@ -15010,7 +15183,7 @@ export interface paths { * List child teams (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. */ get: operations["teams/list-child-legacy"]; put?: never; @@ -16652,7 +16825,7 @@ export interface paths { }; /** * List events for the authenticated user - * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). * * > [!NOTE] * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -17516,6 +17689,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; }; /** * @description The type of credit the user is receiving. @@ -17710,6 +17885,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; } | null; /** * GitHub app @@ -18227,7 +18404,7 @@ export interface components { */ organization_custom_properties: "read" | "write" | "admin"; /** - * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in beta and is subject to change. + * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change. * @enum {string} */ organization_copilot_seat_management: "write"; @@ -18262,7 +18439,7 @@ export interface components { */ organization_plan: "read"; /** - * @description The level of permission to grant the access token to manage organization projects and projects beta (where available). + * @description The level of permission to grant the access token to manage organization projects and projects public preview (where available). * @enum {string} */ organization_projects: "read" | "write" | "admin"; @@ -18706,7 +18883,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -19290,7 +19467,7 @@ export interface components { * Organization Simple * @description A GitHub organization. */ - "organization-simple": { + "nullable-organization-simple": { /** @example github */ login: string; /** @example 1 */ @@ -19324,7 +19501,7 @@ export interface components { avatar_url: string; /** @example A great organization */ description: string | null; - }; + } | null; /** * Team Simple * @description Groups of organization members that gives permissions on specified repositories. @@ -19451,12 +19628,8 @@ export interface components { * @description Information about a Copilot Business seat assignment for a user, team, or organization. */ "copilot-seat-details": { - /** @description The assignee that has been granted access to GitHub Copilot. */ - assignee: { - [key: string]: unknown; - } & components["schemas"]["simple-user"]; - /** @description The organization to which this seat belongs. */ - organization?: components["schemas"]["organization-simple"] | null; + assignee: components["schemas"]["simple-user"]; + organization?: components["schemas"]["nullable-organization-simple"]; /** @description The team through which the assignee is granted access to GitHub Copilot, if applicable. */ assigning_team?: (components["schemas"]["team"] | components["schemas"]["enterprise-team"]) | null; /** @@ -19481,6 +19654,11 @@ export interface components { * @description Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. */ updated_at?: string; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; }; /** * Copilot Usage Metrics @@ -19991,6 +20169,10 @@ export interface components { * @enum {string} */ validity: "active" | "inactive" | "unknown"; + /** @description Whether the secret was publicly leaked. */ + publicly_leaked: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or enterprise. */ + multi_repo: boolean | null; }; /** * Actor @@ -20463,6 +20645,11 @@ export interface components { login: string; /** Format: int64 */ id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + user_view_type: "public"; node_id: string; /** Format: uri */ avatar_url: string; @@ -20512,8 +20699,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; /** @example 1 */ private_gists?: number; /** @example 2 */ @@ -20988,6 +21173,10 @@ export interface components { /** @enum {string} */ status: "enabled" | "disabled"; }; + secret_scanning_ai_detection: { + /** @enum {string} */ + status: "enabled" | "disabled"; + }; } | null; /** * Minimal Repository @@ -21254,6 +21443,45 @@ export interface components { */ repository_url?: string; }; + /** + * Organization Simple + * @description A GitHub organization. + */ + "organization-simple": { + /** @example github */ + login: string; + /** @example 1 */ + id: number; + /** @example MDEyOk9yZ2FuaXphdGlvbjE= */ + node_id: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github + */ + url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/repos + */ + repos_url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/events + */ + events_url: string; + /** @example https://api.github.com/orgs/github/hooks */ + hooks_url: string; + /** @example https://api.github.com/orgs/github/issues */ + issues_url: string; + /** @example https://api.github.com/orgs/github/members{/member} */ + members_url: string; + /** @example https://api.github.com/orgs/github/public_members{/member} */ + public_members_url: string; + /** @example https://github.com/images/error/octocat_happy.gif */ + avatar_url: string; + /** @example A great organization */ + description: string | null; + }; /** * Organization Full * @description Organization Full @@ -21339,7 +21567,12 @@ export interface components { private_gists?: number | null; /** @example 10000 */ disk_usage?: number | null; - /** @example 8 */ + /** + * @description The number of collaborators on private repositories. + * + * This field may be null if the number of private repositories is over 50,000. + * @example 8 + */ collaborators?: number | null; /** * Format: email @@ -21378,7 +21611,7 @@ export interface components { web_commit_signoff_required?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. * @@ -21388,7 +21621,7 @@ export interface components { advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21398,7 +21631,7 @@ export interface components { dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21408,7 +21641,7 @@ export interface components { dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21418,7 +21651,7 @@ export interface components { dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21428,7 +21661,7 @@ export interface components { secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21541,6 +21774,31 @@ export interface components { default_workflow_permissions: components["schemas"]["actions-default-workflow-permissions"]; can_approve_pull_request_reviews: components["schemas"]["actions-can-approve-pull-request-reviews"]; }; + "runner-groups-org": { + id: number; + name: string; + visibility: string; + default: boolean; + /** @description Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` */ + selected_repositories_url?: string; + runners_url: string; + hosted_runners_url?: string; + inherited: boolean; + inherited_allows_public_repositories?: boolean; + allows_public_repositories: boolean; + /** + * @description If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified. + * @default false + */ + workflow_restrictions_read_only: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; /** * Self hosted runner label * @description A label for a self hosted runner @@ -21850,7 +22108,7 @@ export interface components { * @description The type of the code security configuration. * @enum {string} */ - target_type: "global" | "organization"; + target_type: "global" | "organization" | "enterprise"; /** @description A description of the code security configuration */ description: string; /** @@ -21898,6 +22156,24 @@ export interface components { * @enum {string} */ secret_scanning_push_protection: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + secret_scanning_delegated_bypass: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -22225,8 +22501,8 @@ export interface components { inactive_this_cycle: number; }; /** - * Copilot Business Organization Details - * @description Information about the seat breakdown and policies set for an organization with a Copilot Business subscription. + * Copilot Organization Details + * @description Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription. */ "copilot-organization-details": { seat_breakdown: components["schemas"]["copilot-seat-breakdown"]; @@ -22255,6 +22531,11 @@ export interface components { * @enum {string} */ seat_management_setting: "assign_all" | "assign_selected" | "disabled" | "unconfigured"; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; } & { [key: string]: unknown; }; @@ -22933,6 +23214,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; }; /** * Package Version @@ -23485,7 +23768,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -23893,7 +24176,8 @@ export interface components { */ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey"; /** - * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets. + * @default always * @enum {string} */ bypass_mode: "always" | "pull_request"; @@ -23963,7 +24247,9 @@ export interface components { }; /** * Organization ruleset conditions - * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * @description Conditions for an organization ruleset. + * The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + * The push rulesets conditions object does not require the `ref_name` property. */ "org-ruleset-conditions": (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-name-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-id-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-property-target"]); /** @@ -24351,7 +24637,7 @@ export interface components { html: { /** @description The html URL of the ruleset */ href: string; - }; + } | null; }; conditions?: (components["schemas"]["repository-ruleset-conditions"] | components["schemas"]["org-ruleset-conditions"]) | null; rules?: components["schemas"]["repository-rule"][]; @@ -26462,6 +26748,7 @@ export interface components { received_events_url: string; type: string; site_admin: boolean; + user_view_type: string; }[]; teams: { id: number; @@ -26517,6 +26804,8 @@ export interface components { type: string; /** @example false */ site_admin: boolean; + /** @example public */ + user_view_type: string; }; name: string; client_id: string; @@ -27687,6 +27976,8 @@ export interface components { }; /** @example admin */ role_name: string; + /** @example public */ + user_view_type?: string; }; /** * Repository Invitation @@ -27802,6 +28093,8 @@ export interface components { }; /** @example admin */ role_name: string; + /** @example public */ + user_view_type?: string; } | null; /** * Repository Collaborator Permission @@ -28175,6 +28468,7 @@ export interface components { name: string; path: string; sha: string; + content?: string; /** Format: uri */ url: string; /** Format: uri */ @@ -28188,7 +28482,6 @@ export interface components { size: number; name: string; path: string; - content?: string; sha: string; /** Format: uri */ url: string; @@ -28250,7 +28543,10 @@ export interface components { * @description Content File */ "content-file": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "file"; encoding: string; size: number; @@ -28284,7 +28580,10 @@ export interface components { * @description An object describing a symlink */ "content-symlink": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "symlink"; target: string; size: number; @@ -28313,7 +28612,10 @@ export interface components { * @description An object describing a submodule */ "content-submodule": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "submodule"; /** Format: uri */ submodule_git_url: string; @@ -28442,6 +28744,7 @@ export interface components { contributions: number; email?: string; name?: string; + user_view_type?: string; }; /** @description A Dependabot alert. */ "dependabot-alert": { @@ -28797,7 +29100,7 @@ export interface components { environment: string; /** * Format: uri - * @description Deprecated: the URL to associate with this status. + * @description Closing down notice: the URL to associate with this status. * @default * @example https://example.com/deployment/42/output */ @@ -30159,12 +30462,12 @@ export interface components { */ path: string; /** - * @description The line index in the diff to which the comment applies. This field is deprecated; use `line` instead. + * @description The line index in the diff to which the comment applies. This field is closing down; use `line` instead. * @example 1 */ position?: number; /** - * @description The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead. + * @description The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead. * @example 4 */ original_position?: number; @@ -30824,361 +31127,16 @@ export interface components { head: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - 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: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: { - key: string; - name: string; - /** Format: uri */ - url: string | null; - spdx_id: string | null; - node_id: string; - } | null; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - is_template?: boolean; - web_commit_signoff_required?: boolean; - } | null; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - /** Format: int64 */ - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; base: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - is_template?: boolean; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - 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: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: components["schemas"]["nullable-license-simple"]; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - web_commit_signoff_required?: boolean; - }; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - /** Format: int64 */ - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; _links: { comments: components["schemas"]["link"]; @@ -31552,6 +31510,10 @@ export interface components { * @enum {string} */ validity: "active" | "inactive" | "unknown"; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked: boolean | null; + /** @description Whether the detected secret was found in multiple repositories under the same organization or enterprise. */ + multi_repo: boolean | 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": string | null; @@ -32446,6 +32408,7 @@ export interface components { company?: string | null; /** Format: date-time */ suspended_at?: string | null; + user_view_type?: string; }; /** * Private User @@ -32459,6 +32422,11 @@ export interface components { * @example 1 */ id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + user_view_type: "private"; /** @example MDQ6VXNlcjE= */ node_id: string; /** @@ -32573,8 +32541,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; business_plus?: boolean; ldap_dn?: string; }; @@ -33614,7 +33580,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -33675,75 +33641,6 @@ export interface components { /** @description Whether anonymous git access is enabled for this repository */ anonymous_access_enabled?: boolean; }; - /** - * Simple User - * @description The GitHub user that triggered the event. This property is included in every webhook payload. - */ - "simple-user-webhooks": { - name?: string | null; - email?: string | null; - /** @example octocat */ - login: string; - /** @example 1 */ - id: number; - /** @example MDQ6VXNlcjE= */ - node_id: string; - /** - * Format: uri - * @example https://github.com/images/error/octocat_happy.gif - */ - avatar_url: string; - /** @example 41d064eb2195891e12d0413f63227ea7 */ - gravatar_id: string | null; - /** - * Format: uri - * @example https://api.github.com/users/octocat - */ - url: string; - /** - * Format: uri - * @example https://github.com/octocat - */ - html_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/followers - */ - followers_url: string; - /** @example https://api.github.com/users/octocat/following{/other_user} */ - following_url: string; - /** @example https://api.github.com/users/octocat/gists{/gist_id} */ - gists_url: string; - /** @example https://api.github.com/users/octocat/starred{/owner}{/repo} */ - starred_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/subscriptions - */ - subscriptions_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/orgs - */ - organizations_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/repos - */ - repos_url: string; - /** @example https://api.github.com/users/octocat/events{/privacy} */ - events_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/received_events - */ - received_events_url: string; - /** @example User */ - type: string; - site_admin: boolean; - /** @example "2020-07-09T00:17:55Z" */ - starred_at?: string; - }; /** * branch protection rule * @description The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings. @@ -33954,6 +33851,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; webhooks_reviewers: { /** User */ @@ -34043,6 +33941,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; webhooks_answer: { /** @@ -34114,6 +34013,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -34159,6 +34059,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; answer_html_url: string | null; /** @@ -34258,6 +34159,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; labels?: components["schemas"]["label"][]; }; @@ -34329,6 +34231,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Label */ @@ -34458,6 +34361,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The changes to the comment. */ @@ -34510,6 +34414,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -34546,6 +34451,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -34633,6 +34539,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -34715,6 +34622,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -34876,6 +34784,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -34924,6 +34833,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -34992,6 +34902,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -35028,6 +34939,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -35115,6 +35027,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -35197,6 +35110,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -35358,6 +35272,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** User */ @@ -35396,6 +35311,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Marketplace Purchase */ webhooks_marketplace_purchase: { @@ -35975,7 +35891,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -36082,6 +35998,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -36155,6 +36072,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -36276,6 +36194,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -36332,6 +36251,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ html_url: string; @@ -36551,7 +36471,7 @@ export interface components { */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.** * @default false */ use_squash_pr_title_as_default: boolean; @@ -36639,6 +36559,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -36727,6 +36648,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -36950,6 +36872,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -37059,6 +36982,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -37294,6 +37218,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -37403,6 +37328,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -37470,6 +37396,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -37517,6 +37444,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -37740,6 +37668,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -37886,6 +37815,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The review that was affected. */ @@ -37959,6 +37889,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; webhooks_nullable_string: string | null; @@ -38065,6 +37996,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -38212,6 +38144,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -38361,6 +38294,10 @@ export interface components { * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ push_protection_bypassed_at: string | null; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or business. */ + multi_repo: boolean | null; }; /** @description The details of the security advisory, including summary, description, and severity. */ webhooks_security_advisory: { @@ -38421,6 +38358,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; node_id: string; privacy_level: string; @@ -38460,6 +38398,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** User */ sponsorable: { @@ -38497,6 +38436,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Sponsorship Tier @@ -38608,7 +38548,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection configuration enabled event */ "webhook-branch-protection-configuration-enabled": { @@ -38618,7 +38558,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule created event */ "webhook-branch-protection-rule-created": { @@ -38629,7 +38569,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule deleted event */ "webhook-branch-protection-rule-deleted": { @@ -38640,7 +38580,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule edited event */ "webhook-branch-protection-rule-edited": { @@ -38691,7 +38631,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Check Run Completed Event */ "webhook-check-run-completed": { @@ -38701,7 +38641,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Completed Event @@ -38719,7 +38659,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Created Event @@ -38742,7 +38682,7 @@ export interface components { /** @description The integrator reference of the action requested by the user. */ identifier: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Requested Action Event @@ -38760,7 +38700,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Re-Requested Event @@ -38834,6 +38774,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39011,7 +38952,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite requested event */ "webhook-check-suite-requested": { @@ -39077,6 +39018,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39254,7 +39196,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite rerequested event */ "webhook-check-suite-rerequested": { @@ -39320,6 +39262,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39497,7 +39440,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert appeared_in_branch event */ "webhook-code-scanning-alert-appeared-in-branch": { @@ -39551,6 +39494,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39623,7 +39567,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert closed_by_user event */ "webhook-code-scanning-alert-closed-by-user": { @@ -39677,6 +39621,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39756,7 +39701,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert created event */ "webhook-code-scanning-alert-created": { @@ -39851,7 +39796,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert fixed event */ "webhook-code-scanning-alert-fixed": { @@ -39905,6 +39850,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39986,7 +39932,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened event */ "webhook-code-scanning-alert-reopened": { @@ -40001,7 +39947,7 @@ export interface components { created_at: string; /** @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ dismissed_at: string | null; - dismissed_by: Record; + 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: string | null; /** @@ -40079,7 +40025,7 @@ export interface components { /** @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: string | null; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened_by_user event */ "webhook-code-scanning-alert-reopened-by-user": { @@ -40163,7 +40109,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** commit_comment created event */ "webhook-commit-comment-created": { @@ -40172,7 +40118,7 @@ export interface components { * @enum {string} */ action: "created"; - /** @description The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. */ + /** @description The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. */ comment: { /** * AuthorAssociation @@ -40251,13 +40197,14 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** create event */ "webhook-create": { @@ -40276,7 +40223,7 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** custom property created event */ "webhook-custom-property-created": { @@ -40286,7 +40233,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property deleted event */ "webhook-custom-property-deleted": { @@ -40299,7 +40246,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property updated event */ "webhook-custom-property-updated": { @@ -40309,7 +40256,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Custom property values updated event */ "webhook-custom-property-values-updated": { @@ -40319,7 +40266,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; repository: components["schemas"]["repository-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; /** @description The new custom property values for the repository. */ new_property_values: components["schemas"]["custom-property-value"][]; /** @description The old custom property values for the repository. */ @@ -40338,7 +40285,7 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-dismissed event */ "webhook-dependabot-alert-auto-dismissed": { @@ -40349,7 +40296,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { @@ -40360,7 +40307,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert created event */ "webhook-dependabot-alert-created": { @@ -40371,7 +40318,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert dismissed event */ "webhook-dependabot-alert-dismissed": { @@ -40382,7 +40329,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert fixed event */ "webhook-dependabot-alert-fixed": { @@ -40393,7 +40340,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reintroduced event */ "webhook-dependabot-alert-reintroduced": { @@ -40404,7 +40351,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reopened event */ "webhook-dependabot-alert-reopened": { @@ -40415,7 +40362,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key created event */ "webhook-deploy-key-created": { @@ -40426,7 +40373,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key deleted event */ "webhook-deploy-key-deleted": { @@ -40437,7 +40384,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deployment created event */ "webhook-deployment-created": { @@ -40485,6 +40432,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -40547,6 +40495,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -40643,7 +40592,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run: { @@ -40683,6 +40632,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -40917,6 +40867,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -40944,7 +40895,7 @@ export interface components { repository: components["schemas"]["repository-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; installation: components["schemas"]["simple-installation"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-deployment-review-approved": { /** @enum {string} */ @@ -40956,7 +40907,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -41007,6 +40958,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41020,7 +40972,7 @@ export interface components { display_title: string; event: string; head_branch: string; - head_commit?: Record; + head_commit?: Record | null; head_repository?: { archive_url: string; assignees_url: string; @@ -41075,6 +41027,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; private: boolean; pulls_url: string; @@ -41185,6 +41138,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; private: boolean; pulls_url: string; @@ -41241,6 +41195,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41260,7 +41215,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -41311,6 +41266,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41323,7 +41279,7 @@ export interface components { created_at: string; event: string; head_branch: string; - head_commit?: Record; + head_commit?: Record | null; head_repository?: { archive_url: string; assignees_url: string; @@ -41378,6 +41334,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; private: boolean; pulls_url: string; @@ -41488,6 +41445,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; private: boolean; pulls_url: string; @@ -41544,6 +41502,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41600,11 +41559,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @enum {string} */ type: "User" | "Team"; }[]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run: { conclusion: unknown; @@ -41654,6 +41614,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41666,7 +41627,7 @@ export interface components { created_at: string; event: string; head_branch: string; - head_commit?: Record; + head_commit?: Record | null; head_repository?: { archive_url: string; assignees_url: string; @@ -41721,6 +41682,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; private: boolean; pulls_url: string; @@ -41831,6 +41793,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; private: boolean; pulls_url: string; @@ -41887,6 +41850,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41973,6 +41937,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -42035,6 +42000,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42166,6 +42132,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ deployment_url: string; @@ -42233,6 +42200,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42326,7 +42294,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow?: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run?: { @@ -42366,6 +42334,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -42600,6 +42569,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -42619,7 +42589,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion category changed event */ "webhook-discussion-category-changed": { @@ -42647,7 +42617,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion closed event */ "webhook-discussion-closed": { @@ -42658,7 +42628,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment created event */ "webhook-discussion-comment-created": { @@ -42670,7 +42640,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment deleted event */ "webhook-discussion-comment-deleted": { @@ -42682,7 +42652,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment edited event */ "webhook-discussion-comment-edited": { @@ -42699,7 +42669,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion created event */ "webhook-discussion-created": { @@ -42710,7 +42680,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion deleted event */ "webhook-discussion-deleted": { @@ -42721,7 +42691,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion edited event */ "webhook-discussion-edited": { @@ -42740,7 +42710,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion labeled event */ "webhook-discussion-labeled": { @@ -42752,7 +42722,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion locked event */ "webhook-discussion-locked": { @@ -42763,7 +42733,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion pinned event */ "webhook-discussion-pinned": { @@ -42774,7 +42744,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion reopened event */ "webhook-discussion-reopened": { @@ -42785,7 +42755,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion transferred event */ "webhook-discussion-transferred": { @@ -42800,7 +42770,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unanswered event */ "webhook-discussion-unanswered": { @@ -42810,7 +42780,7 @@ export interface components { old_answer: components["schemas"]["webhooks_answer"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** discussion unlabeled event */ "webhook-discussion-unlabeled": { @@ -42822,7 +42792,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unlocked event */ "webhook-discussion-unlocked": { @@ -42833,7 +42803,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unpinned event */ "webhook-discussion-unpinned": { @@ -42844,7 +42814,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * fork event @@ -43040,6 +43010,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -43136,7 +43107,7 @@ export interface components { labels_url?: string; language?: unknown; languages_url?: string; - license?: Record; + license?: Record | null; merges_url?: string; milestones_url?: string; mirror_url?: unknown; @@ -43191,13 +43162,13 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** github_app_authorization revoked event */ "webhook-github-app-authorization-revoked": { /** @enum {string} */ action: "revoked"; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** gollum event */ "webhook-gollum": { @@ -43225,7 +43196,7 @@ export interface components { title: string; }[]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation created event */ "webhook-installation-created": { @@ -43237,7 +43208,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation deleted event */ "webhook-installation-deleted": { @@ -43249,7 +43220,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation new_permissions_accepted event */ "webhook-installation-new-permissions-accepted": { @@ -43261,7 +43232,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories added event */ "webhook-installation-repositories-added": { @@ -43285,7 +43256,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories removed event */ "webhook-installation-repositories-removed": { @@ -43309,7 +43280,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation suspend event */ "webhook-installation-suspend": { @@ -43321,7 +43292,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-installation-target-renamed": { account: { @@ -43361,6 +43332,7 @@ export interface components { updated_at?: string; url?: string; website_url?: unknown; + user_view_type?: string; }; /** @enum {string} */ action: "renamed"; @@ -43376,7 +43348,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; target_type: string; }; /** installation unsuspend event */ @@ -43389,7 +43361,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment created event */ "webhook-issue-comment-created": { @@ -43479,6 +43451,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43523,6 +43496,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -43559,6 +43533,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -43646,6 +43621,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -43728,6 +43704,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -43889,6 +43866,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -43928,8 +43906,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - assignees?: Record[]; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at?: string | null; @@ -43956,10 +43935,10 @@ export interface components { }[]; labels_url?: string; locked: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1": number; "-1": number; @@ -44006,7 +43985,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment deleted event */ "webhook-issue-comment-deleted": { @@ -44055,6 +44034,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -44091,6 +44071,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44178,6 +44159,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -44260,6 +44242,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -44421,6 +44404,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -44460,8 +44444,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - assignees?: Record[]; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at?: string | null; @@ -44488,10 +44473,10 @@ export interface components { }[]; labels_url?: string; locked: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1": number; "-1": number; @@ -44534,11 +44519,12 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment edited event */ "webhook-issue-comment-edited": { @@ -44588,6 +44574,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -44624,6 +44611,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44711,6 +44699,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -44793,6 +44782,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -44954,6 +44944,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -44993,8 +44984,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - assignees?: Record[]; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at?: string | null; @@ -45021,10 +45013,10 @@ export interface components { }[]; labels_url?: string; locked: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1": number; "-1": number; @@ -45071,7 +45063,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues assigned event */ "webhook-issues-assigned": { @@ -45086,7 +45078,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues closed event */ "webhook-issues-closed": { @@ -45137,6 +45129,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -45173,6 +45166,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -45260,6 +45254,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -45342,6 +45337,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -45503,11 +45499,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; - assignee?: Record; - assignees?: Record[]; + assignee?: Record | null; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at: string | null; @@ -45517,13 +45514,13 @@ export interface components { events_url?: string; html_url?: string; id?: number; - labels?: Record[]; + labels?: (Record | null)[]; labels_url?: string; locked?: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1": number; "-1": number; @@ -45563,11 +45560,12 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues deleted event */ "webhook-issues-deleted": { @@ -45618,6 +45616,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -45741,6 +45740,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -45823,6 +45823,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -45984,11 +45985,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues demilestoned event */ "webhook-issues-demilestoned": { @@ -46162,6 +46164,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -46244,6 +46247,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -46405,12 +46409,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone?: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues edited event */ "webhook-issues-edited": { @@ -46472,6 +46477,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -46595,6 +46601,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -46677,6 +46684,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -46838,12 +46846,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues labeled event */ "webhook-issues-labeled": { @@ -46894,6 +46903,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47017,6 +47027,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47099,6 +47110,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -47260,12 +47272,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues locked event */ "webhook-issues-locked": { @@ -47316,6 +47329,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47352,6 +47366,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -47440,6 +47455,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47522,6 +47538,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -47683,11 +47700,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues milestoned event */ "webhook-issues-milestoned": { @@ -47861,6 +47879,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47943,6 +47962,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -48104,12 +48124,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues opened event */ "webhook-issues-opened": { @@ -48159,6 +48180,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -48195,6 +48217,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48282,6 +48305,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -48364,6 +48388,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -48525,6 +48550,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } | null; /** @@ -48724,6 +48750,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -48819,6 +48846,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -48855,6 +48883,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48942,6 +48971,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49024,6 +49054,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -49185,11 +49216,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues pinned event */ "webhook-issues-pinned": { @@ -49200,7 +49232,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues reopened event */ "webhook-issues-reopened": { @@ -49374,6 +49406,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49456,6 +49489,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -49617,11 +49651,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues transferred event */ "webhook-issues-transferred": { @@ -49671,6 +49706,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -49707,6 +49743,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -49794,6 +49831,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49876,6 +49914,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -50037,6 +50076,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -50239,6 +50279,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -50294,7 +50335,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unassigned event */ "webhook-issues-unassigned": { @@ -50309,7 +50350,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlabeled event */ "webhook-issues-unlabeled": { @@ -50321,7 +50362,7 @@ export interface components { label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlocked event */ "webhook-issues-unlocked": { @@ -50372,6 +50413,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -50408,6 +50450,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -50496,6 +50539,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -50578,6 +50622,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -50739,11 +50784,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unpinned event */ "webhook-issues-unpinned": { @@ -50754,7 +50800,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label created event */ "webhook-label-created": { @@ -50765,7 +50811,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** label deleted event */ "webhook-label-deleted": { @@ -50776,7 +50822,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label edited event */ "webhook-label-edited": { @@ -50802,7 +50848,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase cancelled event */ "webhook-marketplace-purchase-cancelled": { @@ -50815,7 +50861,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase changed event */ "webhook-marketplace-purchase-changed": { @@ -50854,7 +50900,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change event */ "webhook-marketplace-purchase-pending-change": { @@ -50893,7 +50939,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change_cancelled event */ "webhook-marketplace-purchase-pending-change-cancelled": { @@ -50932,7 +50978,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase purchased event */ "webhook-marketplace-purchase-purchased": { @@ -50945,7 +50991,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member added event */ "webhook-member-added": { @@ -50970,7 +51016,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member edited event */ "webhook-member-edited": { @@ -50992,7 +51038,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member removed event */ "webhook-member-removed": { @@ -51003,7 +51049,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** membership added event */ "webhook-membership-added": { @@ -51055,6 +51101,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -51108,6 +51155,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -51118,7 +51166,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-merge-group-destroyed": { /** @enum {string} */ @@ -51132,7 +51180,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** meta deleted event */ "webhook-meta-deleted": { @@ -51162,7 +51210,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** milestone closed event */ "webhook-milestone-closed": { @@ -51173,7 +51221,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone created event */ "webhook-milestone-created": { @@ -51184,7 +51232,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone deleted event */ "webhook-milestone-deleted": { @@ -51195,7 +51243,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone edited event */ "webhook-milestone-edited": { @@ -51221,7 +51269,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone opened event */ "webhook-milestone-opened": { @@ -51232,7 +51280,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block blocked event */ "webhook-org-block-blocked": { @@ -51243,7 +51291,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block unblocked event */ "webhook-org-block-unblocked": { @@ -51254,7 +51302,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization deleted event */ "webhook-organization-deleted": { @@ -51265,7 +51313,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_added event */ "webhook-organization-member-added": { @@ -51276,7 +51324,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_invited event */ "webhook-organization-member-invited": { @@ -51331,6 +51379,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; login: string | null; node_id: string; @@ -51340,7 +51389,7 @@ export interface components { }; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; user?: components["schemas"]["webhooks_user"]; }; /** organization member_removed event */ @@ -51352,7 +51401,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization renamed event */ "webhook-organization-renamed": { @@ -51368,7 +51417,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Ruby Gems metadata */ "webhook-rubygems-metadata": { @@ -51442,6 +51491,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -51481,12 +51531,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body?: string | Record; body_html?: string; container_metadata?: { - labels: Record; - manifest: Record; + labels: Record | null; + manifest: Record | null; tag: { digest: string; name: string; @@ -51511,19 +51562,19 @@ export interface components { name: string; version: string; npm_user: string; - author: Record; - bugs: Record; + author: Record | null; + bugs: Record | null; dependencies: Record; dev_dependencies: Record; peer_dependencies: Record; optional_dependencies: Record; description: string; - dist: Record; + dist: Record | null; git_head: string; homepage: string; license: string; main: string; - repository: Record; + repository: Record | null; scripts: Record; id: string; node_version: string; @@ -51536,7 +51587,7 @@ export interface components { files: string[]; bin: Record; man: Record; - directories: Record; + directories: Record | null; os: string[]; cpu: string[]; readme: string; @@ -51609,6 +51660,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -51644,7 +51696,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** package updated event */ "webhook-package-updated": { @@ -51699,6 +51751,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -51738,6 +51791,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string; body_html: string; @@ -51809,6 +51863,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -51845,7 +51900,7 @@ export interface components { updated_at: string; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** page_build event */ "webhook-page-build": { @@ -51893,6 +51948,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; status: string; updated_at: string; @@ -51904,7 +51960,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** personal_access_token_request approved event */ "webhook-personal-access-token-request-approved": { @@ -51913,7 +51969,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request cancelled event */ @@ -51923,7 +51979,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request created event */ @@ -51933,7 +51989,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation?: components["schemas"]["simple-installation"]; }; /** personal_access_token_request denied event */ @@ -51943,7 +51999,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; organization: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; "webhook-ping": { @@ -51990,7 +52046,7 @@ export interface components { hook_id: number; organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @description Random string of GitHub zen. */ zen: string; }; @@ -52013,7 +52069,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card created event */ "webhook-project-card-created": { @@ -52024,7 +52080,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card deleted event */ "webhook-project-card-deleted": { @@ -52081,6 +52137,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -52094,7 +52151,7 @@ export interface components { url: string; }; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card edited event */ "webhook-project-card-edited": { @@ -52110,7 +52167,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card moved event */ "webhook-project-card-moved": { @@ -52171,6 +52228,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -52216,7 +52274,7 @@ export interface components { url?: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project closed event */ "webhook-project-closed": { @@ -52227,7 +52285,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_column created event */ "webhook-project-column-created": { @@ -52238,7 +52296,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column deleted event */ "webhook-project-column-deleted": { @@ -52249,7 +52307,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column edited event */ "webhook-project-column-edited": { @@ -52265,7 +52323,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column moved event */ "webhook-project-column-moved": { @@ -52276,7 +52334,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project created event */ "webhook-project-created": { @@ -52287,7 +52345,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project deleted event */ "webhook-project-deleted": { @@ -52298,7 +52356,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project edited event */ "webhook-project-edited": { @@ -52320,7 +52378,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project reopened event */ "webhook-project-reopened": { @@ -52331,7 +52389,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Closed Event */ "webhook-projects-v2-project-closed": { @@ -52340,7 +52398,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -52349,7 +52407,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Deleted Event */ "webhook-projects-v2-project-deleted": { @@ -52358,7 +52416,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Edited Event */ "webhook-projects-v2-project-edited": { @@ -52385,7 +52443,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Archived Event */ "webhook-projects-v2-item-archived": { @@ -52395,7 +52453,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Converted Event */ "webhook-projects-v2-item-converted": { @@ -52410,7 +52468,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Created Event */ "webhook-projects-v2-item-created": { @@ -52419,7 +52477,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Deleted Event */ "webhook-projects-v2-item-deleted": { @@ -52428,7 +52486,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Edited Event */ "webhook-projects-v2-item-edited": { @@ -52454,7 +52512,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -52469,7 +52527,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Restored Event */ "webhook-projects-v2-item-restored": { @@ -52479,7 +52537,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Reopened Event */ "webhook-projects-v2-project-reopened": { @@ -52488,7 +52546,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Created Event */ "webhook-projects-v2-status-update-created": { @@ -52497,7 +52555,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Deleted Event */ "webhook-projects-v2-status-update-deleted": { @@ -52506,7 +52564,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Edited Event */ "webhook-projects-v2-status-update-edited": { @@ -52539,7 +52597,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** public event */ "webhook-public": { @@ -52547,7 +52605,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request assigned event */ "webhook-pull-request-assigned": { @@ -52641,6 +52699,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -52677,6 +52736,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -52729,6 +52789,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -52952,6 +53013,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -53012,7 +53074,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -53061,6 +53123,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -53296,6 +53359,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -53356,7 +53420,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -53405,6 +53469,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -53472,6 +53537,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -53519,6 +53585,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -53585,6 +53652,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -53742,10 +53810,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_disabled event */ "webhook-pull-request-auto-merge-disabled": { @@ -53838,6 +53907,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -53926,6 +53996,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -54149,6 +54220,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -54209,7 +54281,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -54258,6 +54330,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -54493,6 +54566,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -54553,7 +54627,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -54602,6 +54676,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -54669,6 +54744,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -54716,6 +54792,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -54782,6 +54859,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -54939,11 +55017,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_enabled event */ "webhook-pull-request-auto-merge-enabled": { @@ -55036,6 +55115,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -55124,6 +55204,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -55347,6 +55428,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55407,7 +55489,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -55456,6 +55538,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -55688,6 +55771,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55748,7 +55832,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -55797,6 +55881,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -55864,6 +55949,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -55911,6 +55997,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -55977,6 +56064,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -56134,11 +56222,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason?: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request closed event */ "webhook-pull-request-closed": { @@ -56150,7 +56239,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request converted_to_draft event */ "webhook-pull-request-converted-to-draft": { @@ -56162,7 +56251,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request demilestoned event */ "webhook-pull-request-demilestoned": { @@ -56174,7 +56263,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request dequeued event */ "webhook-pull-request-dequeued": { @@ -56267,6 +56356,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -56355,6 +56445,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -56578,6 +56669,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -56638,7 +56730,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -56687,6 +56779,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -56922,6 +57015,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -56982,7 +57076,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -57031,6 +57125,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -57098,6 +57193,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -57145,6 +57241,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -57211,6 +57308,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -57368,11 +57466,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - reason: string; + /** @enum {string} */ + reason: "UNKNOWN_REMOVAL_REASON" | "MANUAL" | "MERGE" | "MERGE_CONFLICT" | "CI_FAILURE" | "CI_TIMEOUT" | "ALREADY_MERGED" | "QUEUE_CLEARED" | "ROLL_BACK" | "BRANCH_PROTECTIONS" | "GIT_TREE_INVALID" | "INVALID_MERGE_COMMIT"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request edited event */ "webhook-pull-request-edited": { @@ -57403,7 +57503,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request enqueued event */ "webhook-pull-request-enqueued": { @@ -57496,6 +57596,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -57584,6 +57685,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -57807,6 +57909,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -57867,7 +57970,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -57916,6 +58019,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -58151,6 +58255,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -58211,7 +58316,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -58260,6 +58365,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -58327,6 +58433,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -58374,6 +58481,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -58440,6 +58548,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -58597,10 +58706,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request labeled event */ "webhook-pull-request-labeled": { @@ -58694,6 +58804,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -58782,6 +58893,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -59005,6 +59117,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -59065,7 +59178,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -59114,6 +59227,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -59349,6 +59463,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -59409,7 +59524,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -59458,6 +59573,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -59525,6 +59641,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -59572,6 +59689,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -59638,6 +59756,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -59795,10 +59914,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request locked event */ "webhook-pull-request-locked": { @@ -59891,6 +60011,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -59979,6 +60100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -60202,6 +60324,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -60262,7 +60385,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -60311,6 +60434,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -60546,6 +60670,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -60606,7 +60731,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -60655,6 +60780,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -60722,6 +60848,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -60769,6 +60896,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -60835,6 +60963,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -60992,10 +61121,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request milestoned event */ "webhook-pull-request-milestoned": { @@ -61007,7 +61137,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request opened event */ "webhook-pull-request-opened": { @@ -61019,7 +61149,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request ready_for_review event */ "webhook-pull-request-ready-for-review": { @@ -61031,7 +61161,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request reopened event */ "webhook-pull-request-reopened": { @@ -61043,7 +61173,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment created event */ "webhook-pull-request-review-comment-created": { @@ -61193,6 +61323,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -61279,6 +61410,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -61367,6 +61499,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -61590,6 +61723,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -61650,7 +61784,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -61699,6 +61833,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -61927,6 +62062,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -61987,7 +62123,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -62036,6 +62172,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -62107,6 +62244,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -62171,6 +62309,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -62322,10 +62461,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment deleted event */ "webhook-pull-request-review-comment-deleted": { @@ -62416,6 +62556,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -62504,6 +62645,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -62727,6 +62869,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -62787,7 +62930,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -62836,6 +62979,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -63064,6 +63208,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63124,7 +63269,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -63173,6 +63318,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -63244,6 +63390,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -63308,6 +63455,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -63459,10 +63607,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment edited event */ "webhook-pull-request-review-comment-edited": { @@ -63554,6 +63703,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -63590,6 +63740,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -63642,6 +63793,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -63865,6 +64017,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63925,7 +64078,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -63974,6 +64127,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -64202,6 +64356,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -64262,7 +64417,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -64311,6 +64466,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -64382,6 +64538,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -64446,6 +64603,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -64595,12 +64753,13 @@ export interface components { subscriptions_url?: string; /** @enum {string} */ type?: "Bot" | "User" | "Organization" | "Mannequin"; + user_view_type?: string; /** Format: uri */ url?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review dismissed event */ "webhook-pull-request-review-dismissed": { @@ -64691,6 +64850,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -64779,6 +64939,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -65002,6 +65163,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -65062,7 +65224,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -65111,6 +65273,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -65339,6 +65502,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -65399,7 +65563,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -65448,6 +65612,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -65519,6 +65684,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -65583,6 +65749,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -65734,6 +65901,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -65809,9 +65977,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review edited event */ "webhook-pull-request-review-edited": { @@ -65908,6 +66077,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -65996,6 +66166,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -66197,6 +66368,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -66282,6 +66454,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -66488,6 +66661,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -66573,6 +66747,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -66644,6 +66819,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -66708,6 +66884,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -66859,11 +67036,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request review_request_removed event */ "webhook-pull-request-review-request-removed": { @@ -66957,6 +67135,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -66993,6 +67172,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -67045,6 +67225,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -67268,6 +67449,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67321,7 +67503,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -67370,6 +67552,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -67605,6 +67788,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67665,7 +67849,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -67714,6 +67898,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -67781,6 +67966,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -67828,6 +68014,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -67894,6 +68081,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -68051,6 +68239,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -68090,8 +68279,9 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ action: "review_request_removed"; @@ -68183,6 +68373,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -68219,6 +68410,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -68271,6 +68463,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -68494,6 +68687,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -68554,7 +68748,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -68603,6 +68797,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -68838,6 +69033,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -68898,7 +69094,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -68947,6 +69143,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -69014,6 +69211,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -69061,6 +69259,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -69127,6 +69326,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -69284,6 +69484,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -69342,7 +69543,7 @@ export interface components { */ url: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request review_requested event */ "webhook-pull-request-review-requested": { @@ -69436,6 +69637,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -69472,6 +69674,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -69524,6 +69727,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -69747,6 +69951,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -69807,7 +70012,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -69856,6 +70061,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -70091,6 +70297,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -70151,7 +70358,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -70200,6 +70407,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -70267,6 +70475,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -70314,6 +70523,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -70380,6 +70590,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -70537,6 +70748,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -70576,8 +70788,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ action: "review_requested"; @@ -70669,6 +70882,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -70705,6 +70919,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -70757,6 +70972,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -70980,6 +71196,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71040,7 +71257,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -71089,6 +71306,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -71324,6 +71542,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71384,7 +71603,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -71433,6 +71652,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -71500,6 +71720,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -71547,6 +71768,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -71613,6 +71835,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -71770,6 +71993,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -71828,7 +72052,7 @@ export interface components { */ url?: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { @@ -71919,6 +72143,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -72007,6 +72232,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -72230,6 +72456,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -72290,7 +72517,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -72339,6 +72566,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -72567,6 +72795,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -72627,7 +72856,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -72676,6 +72905,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -72747,6 +72977,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -72811,6 +73042,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -72962,11 +73194,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_thread resolved event */ "webhook-pull-request-review-thread-resolved": { @@ -73057,6 +73290,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -73145,6 +73379,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -73351,6 +73586,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73438,6 +73674,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -73649,6 +73886,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73736,6 +73974,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -73807,6 +74046,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -73871,6 +74111,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -74022,10 +74263,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -74167,6 +74409,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -74261,6 +74504,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -74349,6 +74593,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -74555,6 +74800,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -74642,6 +74888,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -74853,6 +75100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -74940,6 +75188,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -75011,6 +75260,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -75075,6 +75325,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -75226,10 +75477,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -75371,6 +75623,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -75469,6 +75722,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -75557,6 +75811,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -75780,6 +76035,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -75840,7 +76096,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -75889,6 +76145,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -76117,6 +76374,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -76177,7 +76435,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -76226,6 +76484,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -76293,6 +76552,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -76340,6 +76600,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -76406,6 +76667,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -76563,10 +76825,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unassigned event */ "webhook-pull-request-unassigned": { @@ -76660,6 +76923,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -76748,6 +77012,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -76971,6 +77236,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -77031,7 +77297,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -77080,6 +77346,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -77315,6 +77582,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -77375,7 +77643,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -77424,6 +77692,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -77491,6 +77760,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -77538,6 +77808,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -77604,6 +77875,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -77761,10 +78033,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request unlabeled event */ "webhook-pull-request-unlabeled": { @@ -77858,6 +78131,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -77946,6 +78220,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -78169,6 +78444,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -78229,7 +78505,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -78278,6 +78554,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -78506,6 +78783,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -78566,7 +78844,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -78615,6 +78893,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -78682,6 +78961,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -78729,6 +79009,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -78795,6 +79076,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -78952,10 +79234,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unlocked event */ "webhook-pull-request-unlocked": { @@ -79048,6 +79331,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -79136,6 +79420,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -79359,6 +79644,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -79419,7 +79705,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -79468,6 +79754,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -79703,6 +79990,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -79763,7 +80051,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -79812,6 +80100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -79879,6 +80168,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -79926,6 +80216,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -79992,6 +80283,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -80149,10 +80441,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** push event */ "webhook-push": { @@ -80489,6 +80782,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -80538,7 +80832,7 @@ export interface components { /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-registry-package-published": { /** @enum {string} */ @@ -80573,6 +80867,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -80595,12 +80890,13 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body?: string | Record; body_html?: string; container_metadata?: { - labels: Record; - manifest: Record; + labels: Record | null; + manifest: Record | null; tag: { digest: string; name: string; @@ -80704,6 +81000,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type: string; }; created_at: string; draft: boolean; @@ -80734,7 +81031,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-registry-package-updated": { /** @enum {string} */ @@ -80769,6 +81066,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -80791,6 +81089,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body: string; body_html: string; @@ -80843,6 +81142,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; created_at: string; draft: boolean; @@ -80863,11 +81163,11 @@ export interface components { updated_at: string; version: string; }; - registry: Record; + registry: Record | null; updated_at: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release created event */ "webhook-release-created": { @@ -80878,7 +81178,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release deleted event */ "webhook-release-deleted": { @@ -80889,7 +81189,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release edited event */ "webhook-release-edited": { @@ -80914,7 +81214,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release prereleased event */ "webhook-release-prereleased": { @@ -81026,6 +81326,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -81074,7 +81375,7 @@ export interface components { zipball_url: string | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release published event */ "webhook-release-published": { @@ -81085,7 +81386,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release released event */ "webhook-release-released": { @@ -81096,7 +81397,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release unpublished event */ "webhook-release-unpublished": { @@ -81107,7 +81408,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory published event */ "webhook-repository-advisory-published": { @@ -81118,7 +81419,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory reported event */ "webhook-repository-advisory-reported": { @@ -81129,7 +81430,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** repository archived event */ "webhook-repository-archived": { @@ -81139,7 +81440,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository created event */ "webhook-repository-created": { @@ -81149,7 +81450,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository deleted event */ "webhook-repository-deleted": { @@ -81159,7 +81460,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_dispatch event */ "webhook-repository-dispatch-sample": { @@ -81174,7 +81475,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository edited event */ "webhook-repository-edited": { @@ -81198,7 +81499,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_import event */ "webhook-repository-import": { @@ -81206,7 +81507,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @enum {string} */ status: "success" | "cancelled" | "failure"; }; @@ -81218,7 +81519,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository publicized event */ "webhook-repository-publicized": { @@ -81228,7 +81529,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository renamed event */ "webhook-repository-renamed": { @@ -81245,7 +81546,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset created event */ "webhook-repository-ruleset-created": { @@ -81256,7 +81557,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset deleted event */ "webhook-repository-ruleset-deleted": { @@ -81267,7 +81568,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset edited event */ "webhook-repository-ruleset-edited": { @@ -81325,7 +81626,7 @@ export interface components { }[]; }; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository transferred event */ "webhook-repository-transferred": { @@ -81396,6 +81697,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; }; @@ -81404,7 +81706,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository unarchived event */ "webhook-repository-unarchived": { @@ -81414,7 +81716,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert create event */ "webhook-repository-vulnerability-alert-create": { @@ -81425,7 +81727,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert dismiss event */ "webhook-repository-vulnerability-alert-dismiss": { @@ -81478,6 +81780,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; external_identifier: string; /** Format: uri */ @@ -81498,7 +81801,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert reopen event */ "webhook-repository-vulnerability-alert-reopen": { @@ -81509,7 +81812,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert resolve event */ "webhook-repository-vulnerability-alert-resolve": { @@ -81581,7 +81884,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** secret_scanning_alert created event */ "webhook-secret-scanning-alert-created": { @@ -81592,7 +81895,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created": { @@ -81603,13 +81906,24 @@ export interface components { location: components["schemas"]["secret-scanning-location"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created-form-encoded": { /** @description A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object. */ payload: string; }; + /** secret_scanning_alert publicly leaked event */ + "webhook-secret-scanning-alert-publicly-leaked": { + /** @enum {string} */ + action: "publicly_leaked"; + alert: components["schemas"]["secret-scanning-alert-webhook"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; /** secret_scanning_alert reopened event */ "webhook-secret-scanning-alert-reopened": { /** @enum {string} */ @@ -81619,7 +81933,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert resolved event */ "webhook-secret-scanning-alert-resolved": { @@ -81630,7 +81944,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert validated event */ "webhook-secret-scanning-alert-validated": { @@ -81641,7 +81955,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory published event */ "webhook-security-advisory-published": { @@ -81652,7 +81966,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory updated event */ "webhook-security-advisory-updated": { @@ -81663,7 +81977,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory withdrawn event */ "webhook-security-advisory-withdrawn": { @@ -81711,7 +82025,7 @@ export interface components { }[]; withdrawn_at: string; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_and_analysis event */ "webhook-security-and-analysis": { @@ -81724,7 +82038,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["full-repository"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sponsorship cancelled event */ "webhook-sponsorship-cancelled": { @@ -81734,7 +82048,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship created event */ @@ -81745,7 +82059,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship edited event */ @@ -81762,7 +82076,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_cancellation event */ @@ -81774,7 +82088,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_tier_change event */ @@ -81787,7 +82101,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship tier_changed event */ @@ -81799,7 +82113,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** star created event */ @@ -81810,7 +82124,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + 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: string | null; }; @@ -81822,7 +82136,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + 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: unknown; }; @@ -81986,7 +82300,7 @@ export interface components { name: string; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @description The Commit SHA. */ sha: string; /** @@ -82012,7 +82326,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** parent issue removed event */ "webhook-sub-issues-parent-issue-removed": { @@ -82028,7 +82342,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sub-issue added event */ "webhook-sub-issues-sub-issue-added": { @@ -82044,7 +82358,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sub-issue removed event */ "webhook-sub-issues-sub-issue-removed": { @@ -82060,7 +82374,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** team_add event */ "webhook-team-add": { @@ -82068,7 +82382,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team added_to_repository event */ @@ -82273,6 +82587,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82320,7 +82635,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team created event */ @@ -82525,6 +82840,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82572,7 +82888,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team deleted event */ @@ -82777,6 +83093,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82824,7 +83141,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team edited event */ @@ -83060,6 +83377,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83107,7 +83425,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team removed_from_repository event */ @@ -83312,6 +83630,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83359,7 +83678,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** watch started event */ @@ -83370,7 +83689,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** workflow_dispatch event */ "webhook-workflow-dispatch": { @@ -83382,7 +83701,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: string; }; /** workflow_job completed event */ @@ -83393,7 +83712,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83470,7 +83789,7 @@ export interface components { head_branch?: string | null; /** @description The name of the workflow. */ workflow_name?: string | null; - steps?: Record[]; + steps?: (Record | null)[]; url?: string; }; deployment?: components["schemas"]["deployment"]; @@ -83483,7 +83802,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83581,7 +83900,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83635,7 +83954,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83689,7 +84008,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -83729,6 +84048,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -83879,6 +84199,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84051,6 +84372,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84119,6 +84441,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -84142,7 +84465,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -84590,7 +84913,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -84630,6 +84953,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -84780,6 +85104,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84952,6 +85277,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -85020,6 +85346,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -85361,6 +85688,10 @@ export interface components { "secret-scanning-alert-sort": "created" | "updated"; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ "secret-scanning-alert-validity": string; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + "secret-scanning-alert-publicly-leaked": boolean; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + "secret-scanning-alert-multi-repo": boolean; /** @description The slug of the team name. */ "team-slug": string; /** @description The unique identifier of the gist. */ @@ -85393,6 +85724,10 @@ export interface components { org: string; /** @description The unique identifier of the repository. */ "repository-id": number; + /** @description Only return runner groups that are allowed to be used by this repository. */ + "visible-to-repository": string; + /** @description Unique identifier of the self-hosted runner group. */ + "runner-group-id": number; /** @description Unique identifier of the self-hosted runner. */ "runner-id": number; /** @description The name of a self-hosted runner's custom label. */ @@ -85448,8 +85783,13 @@ export interface components { "personal-access-token-after": string; /** @description The unique identifier of the fine-grained personal access token. */ "fine-grained-personal-access-token-id": number; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ "custom-property-name": string; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + "ruleset-targets": string; /** @description The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned. */ "ref-in-query": string; /** @description The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned. */ @@ -85542,6 +85882,8 @@ export interface components { status: "queued" | "in_progress" | "completed"; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ "git-ref": components["schemas"]["code-scanning-ref"]; + /** @description The number of the pull request for the results you want to list. */ + "pr-alias": number; /** @description The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ "alert-number": components["schemas"]["alert-number"]; /** @description The SHA of the commit. */ @@ -86340,7 +86682,7 @@ export interface operations { 404: components["responses"]["not_found"]; }; }; - "classroom/list-accepted-assigments-for-an-assignment": { + "classroom/list-accepted-assignments-for-an-assignment": { parameters: { query?: { /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -86697,6 +87039,10 @@ export interface operations { after?: components["parameters"]["pagination-after"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -88302,7 +88648,7 @@ export interface operations { members_can_create_public_repositories: boolean; /** * @description Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. + * **Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. * @enum {string} */ members_allowed_repository_creation_type: "all" | "private" | "none"; @@ -88335,7 +88681,7 @@ export interface operations { blog: string; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88346,7 +88692,7 @@ export interface operations { advanced_security_enabled_for_new_repositories: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88357,7 +88703,7 @@ export interface operations { dependabot_alerts_enabled_for_new_repositories: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88368,7 +88714,7 @@ export interface operations { dependabot_security_updates_enabled_for_new_repositories: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88379,7 +88725,7 @@ export interface operations { dependency_graph_enabled_for_new_repositories: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88390,7 +88736,7 @@ export interface operations { secret_scanning_enabled_for_new_repositories: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88788,6 +89134,415 @@ export interface operations { }; }; }; + "actions/list-self-hosted-runner-groups-for-org": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + /** @description Only return runner groups that are allowed to be used by this repository. */ + visible_to_repository?: components["parameters"]["visible-to-repository"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + runner_groups: components["schemas"]["runner-groups-org"][]; + }; + }; + }; + }; + }; + "actions/create-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. + * @default all + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids?: number[]; + /** @description List of runner IDs to add to the runner group. */ + runners?: number[]; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/get-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/delete-self-hosted-runner-group-from-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/update-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/list-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: { + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + repositories: components["schemas"]["minimal-repository"][]; + }; + }; + }; + }; + }; + "actions/set-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/add-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + repository_id: components["parameters"]["repository-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/remove-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + repository_id: components["parameters"]["repository-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/list-self-hosted-runners-in-group-for-org": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + Link: components["headers"]["link"]; + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + runners: components["schemas"]["runner"][]; + }; + }; + }; + }; + }; + "actions/set-self-hosted-runners-in-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description List of runner IDs to add to the runner group. */ + runners: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/add-self-hosted-runner-to-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + runner_id: components["parameters"]["runner-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/remove-self-hosted-runner-from-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + runner_id: components["parameters"]["runner-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; "actions/list-self-hosted-runners-for-org": { parameters: { query?: { @@ -89962,6 +90717,25 @@ export interface operations { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @default disabled + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @default disabled @@ -90166,6 +90940,24 @@ export interface operations { * @enum {string} */ secret_scanning_push_protection: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + secret_scanning_delegated_bypass: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -93805,7 +94597,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -93832,7 +94624,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -93879,7 +94671,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -94191,7 +94983,7 @@ export interface operations { delete_branch_on_merge?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -94263,6 +95055,11 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ page?: components["parameters"]["page"]; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + targets?: components["parameters"]["ruleset-targets"]; }; header?: never; path: { @@ -94526,6 +95323,10 @@ export interface operations { after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -94836,7 +95637,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -94946,7 +95747,7 @@ export interface operations { */ notification_setting: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -96957,6 +97758,11 @@ export interface operations { /** @description Can be `enabled` or `disabled`. */ status: string; }; + /** @description Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." */ + secret_scanning_ai_detection: { + /** @description Can be `enabled` or `disabled`. */ + status: string; + }; /** @description Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." */ secret_scanning_non_provider_patterns: { /** @description Can be `enabled` or `disabled`. */ @@ -97017,7 +97823,7 @@ export interface operations { allow_update_branch: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -99799,7 +100605,7 @@ export interface operations { strict: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100268,7 +101074,7 @@ export interface operations { strict: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100527,12 +101333,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -100562,12 +101368,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -100597,12 +101403,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -100793,12 +101599,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -100828,12 +101634,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -100863,12 +101669,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -101458,8 +102264,14 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; /** @description The direction to sort the results by. */ direction?: components["parameters"]["direction"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + before?: components["parameters"]["pagination-before"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + after?: components["parameters"]["pagination-after"]; /** @description The property by which to sort the results. */ sort?: "created" | "updated"; /** @description If specified, only code scanning alerts with this state will be returned. */ @@ -101571,6 +102383,8 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; }; header?: never; path: { @@ -101610,6 +102424,8 @@ export interface operations { page?: components["parameters"]["page"]; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ per_page?: components["parameters"]["per-page"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; /** @description The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["schemas"]["code-scanning-ref"]; /** @description Filter analyses belonging to the same SARIF upload. */ @@ -102176,7 +102992,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -103069,7 +103885,7 @@ export interface operations { path?: string; /** @description Line index in the diff to comment on. */ position?: number; - /** @description **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. */ + /** @description **Closing down notice**. Use **position** parameter instead. Line number in the file to comment on. */ line?: number; }; }; @@ -103614,7 +104430,7 @@ export interface operations { direction?: components["parameters"]["direction"]; /** * @deprecated - * @description **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. + * @description **Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. */ page?: number; /** @@ -104325,7 +105141,7 @@ export interface operations { "application/json": { /** @description A custom webhook event name. Must be 100 characters or fewer. */ event_type: string; - /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. */ + /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. */ client_payload?: { [key: string]: unknown; }; @@ -106740,7 +107556,7 @@ export interface operations { title: string | number; /** @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.**_ */ + /** @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 closing down.**_ */ assignee?: string | null; milestone?: (string | number) | null; /** @description Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ */ @@ -107125,7 +107941,7 @@ export interface operations { title: (string | number) | null; /** @description The contents of the issue. */ body: string | null; - /** @description Username to assign to this issue. **This field is deprecated.** */ + /** @description Username to assign to this issue. **This field is closing down.** */ assignee: string | null; /** * @description The open or closed state of the issue. @@ -109569,7 +110385,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -109681,7 +110497,7 @@ export interface operations { path: string; /** * @deprecated - * @description **This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. + * @description **This parameter is closing down. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. */ position?: number; /** @@ -111096,6 +111912,11 @@ export interface operations { page?: components["parameters"]["page"]; /** @description Include rulesets configured at higher levels that apply to this repository */ includes_parents?: boolean; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + targets?: components["parameters"]["ruleset-targets"]; }; header?: never; path: { @@ -111374,6 +112195,10 @@ export interface operations { after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -112736,12 +113561,12 @@ export interface operations { q: string; /** * @deprecated - * @description **This field is deprecated.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) + * @description **This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) */ sort?: "indexed"; /** * @deprecated - * @description **This field is deprecated.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. + * @description **This field is closing down.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ order?: "desc" | "asc"; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -113080,7 +113905,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -114372,7 +115197,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -114403,7 +115228,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; diff --git a/packages/openapi-typescript/examples/github-api-root-types.ts b/packages/openapi-typescript/examples/github-api-root-types.ts index 6b7911c8b..42cb356c9 100644 --- a/packages/openapi-typescript/examples/github-api-root-types.ts +++ b/packages/openapi-typescript/examples/github-api-root-types.ts @@ -453,7 +453,7 @@ export interface paths { * List accepted assignments for an assignment * @description Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. */ - get: operations["classroom/list-accepted-assigments-for-an-assignment"]; + get: operations["classroom/list-accepted-assignments-for-an-assignment"]; put?: never; post?: never; delete?: never; @@ -612,7 +612,7 @@ export interface paths { /** * List all Copilot seat assignments for an enterprise * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. * @@ -643,7 +643,7 @@ export interface paths { /** * Get a summary of Copilot usage for enterprise members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, @@ -728,7 +728,7 @@ export interface paths { /** * Get a summary of Copilot usage for an enterprise team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -1609,10 +1609,10 @@ export interface paths { /** * Update an organization * @description > [!WARNING] - * > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). + * > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). * * > [!WARNING] - * > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). + * > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). * * Updates the organization's profile and member privileges. * @@ -1842,6 +1842,180 @@ export interface paths { patch?: never; trace?: never; }; + "/orgs/{org}/actions/runner-groups": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List self-hosted runner groups for an organization + * @description Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runner-groups-for-org"]; + put?: never; + /** + * Create a self-hosted runner group for an organization + * @description Creates a new self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + post: operations["actions/create-self-hosted-runner-group-for-org"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get a self-hosted runner group for an organization + * @description Gets a specific self-hosted runner group for an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/get-self-hosted-runner-group-for-org"]; + put?: never; + post?: never; + /** + * Delete a self-hosted runner group from an organization + * @description Deletes a self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/delete-self-hosted-runner-group-from-org"]; + options?: never; + head?: never; + /** + * Update a self-hosted runner group for an organization + * @description Updates the `name` and `visibility` of a self-hosted runner group in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + patch: operations["actions/update-self-hosted-runner-group-for-org"]; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List repository access to a self-hosted runner group in an organization + * @description Lists the repositories with access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-repo-access-to-self-hosted-runner-group-in-org"]; + /** + * Set repository access for a self-hosted runner group in an organization + * @description Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-repo-access-to-self-hosted-runner-group-in-org"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Add repository access to a self-hosted runner group in an organization + * @description Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-repo-access-to-self-hosted-runner-group-in-org"]; + post?: never; + /** + * Remove repository access to a self-hosted runner group in an organization + * @description Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-repo-access-to-self-hosted-runner-group-in-org"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List self-hosted runners in a group for an organization + * @description Lists self-hosted runners that are in a specific organization group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runners-in-group-for-org"]; + /** + * Set self-hosted runners in a group for an organization + * @description Replaces the list of self-hosted runners that are part of an organization runner group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-self-hosted-runners-in-group-for-org"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Add a self-hosted runner to a group for an organization + * @description Adds a self-hosted runner to a runner group configured in an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-self-hosted-runner-to-group-for-org"]; + post?: never; + /** + * Remove a self-hosted runner from a group for an organization + * @description Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-self-hosted-runner-from-group-for-org"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/orgs/{org}/actions/runners": { parameters: { query?: never; @@ -2912,7 +3086,7 @@ export interface paths { /** * Get Copilot seat information and settings for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets information about an organization's Copilot subscription, including seat breakdown * and feature policies. To configure these settings, go to your organization's settings on GitHub.com. @@ -2941,7 +3115,7 @@ export interface paths { /** * List all Copilot seat assignments for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. * Only organization owners can view assigned seats. @@ -2969,7 +3143,7 @@ export interface paths { /** * Add teams to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for all users within each specified team. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -2988,7 +3162,7 @@ export interface paths { /** * Remove teams from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for all members of each team specified. * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3019,7 +3193,7 @@ export interface paths { /** * Add users to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for each user specified. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -3038,7 +3212,7 @@ export interface paths { /** * Remove users from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for each user specified. * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3067,7 +3241,7 @@ export interface paths { /** * Get a summary of Copilot usage for organization members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -3831,7 +4005,7 @@ export interface paths { /** * Get Copilot seat assignment details for a user * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. * @@ -5051,7 +5225,7 @@ export interface paths { /** * Get a summary of Copilot usage for a team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -5689,7 +5863,7 @@ export interface paths { * Enable or disable a security feature for an organization * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + * > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). * * Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -5949,7 +6123,7 @@ export interface paths { * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." * * > [!NOTE] - * > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + * > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. */ get: operations["rate-limit/get"]; put?: never; @@ -8355,7 +8529,7 @@ export interface paths { * and `0` is returned in this field. * * > [!WARNING] - * > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + * > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ @@ -8894,8 +9068,6 @@ export interface paths { * @description Gets your public key, which you need to encrypt secrets. You need to * encrypt a secret before you can create or update secrets. * - * Anyone with read access to the repository can use this endpoint. - * * If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ get: operations["codespaces/get-repo-public-key"]; @@ -11038,7 +11210,7 @@ export interface paths { * @description View the progress of an import. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). * * **Import status** * @@ -11082,7 +11254,7 @@ export interface paths { * return a status `422 Unprocessable Entity` response. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ put: operations["migrations/start-import"]; post?: never; @@ -11092,7 +11264,7 @@ export interface paths { * @description Stop an import for a repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ delete: operations["migrations/cancel-import"]; options?: never; @@ -11108,7 +11280,7 @@ export interface paths { * You can select the project to import by providing one of the objects in the `project_choices` array in the update request. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/update-import"]; trace?: never; @@ -11128,7 +11300,7 @@ export interface paths { * This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-commit-authors"]; put?: never; @@ -11159,7 +11331,7 @@ export interface paths { * new commits to the repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/map-commit-author"]; trace?: never; @@ -11177,7 +11349,7 @@ export interface paths { * @description List files larger than 100MB found during the import * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-large-files"]; put?: never; @@ -11211,7 +11383,7 @@ export interface paths { * site](https://docs.github.com/repositories/working-with-files/managing-large-files). * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/set-lfs-preference"]; trace?: never; @@ -11540,7 +11712,7 @@ export interface paths { head?: never; /** * Update an issue - * @description Issue owners and users with push access can edit an issue. + * @description Issue owners and users with push access or Triage role can edit an issue. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -12638,7 +12810,7 @@ export interface paths { * * If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. * - * The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + * The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. * * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -12991,6 +13163,7 @@ export interface paths { /** * Update a pull request branch * @description Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + * Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. */ put: operations["pulls/update-branch"]; post?: never; @@ -13885,10 +14058,10 @@ export interface paths { cookie?: never; }; /** - * Deprecated - List tag protection states for a repository + * Closing down - List tag protection states for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. * * This returns the tag protection states of a repository. * @@ -13897,10 +14070,10 @@ export interface paths { get: operations["repos/list-tag-protection"]; put?: never; /** - * Deprecated - Create a tag protection state for a repository + * Closing down - Create a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. * * This creates a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -13923,10 +14096,10 @@ export interface paths { put?: never; post?: never; /** - * Deprecated - Delete a tag protection state for a repository + * Closing down - Delete a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. * * This deletes a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -14428,7 +14601,7 @@ export interface paths { * Get a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. */ get: operations["teams/get-legacy"]; put?: never; @@ -14437,7 +14610,7 @@ export interface paths { * Delete a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. * * To delete a team, the authenticated user must be an organization owner or team maintainer. * @@ -14450,7 +14623,7 @@ export interface paths { * Update a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. * * To edit a team, the authenticated user must either be an organization owner or a team maintainer. * @@ -14471,7 +14644,7 @@ export interface paths { * List discussions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. * * List all discussions on a team's page. * @@ -14483,7 +14656,7 @@ export interface paths { * Create a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. * * Creates a new discussion post on a team's page. * @@ -14509,7 +14682,7 @@ export interface paths { * Get a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. * * Get a specific discussion on a team's page. * @@ -14522,7 +14695,7 @@ export interface paths { * Delete a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. * * Delete a discussion from a team's page. * @@ -14535,7 +14708,7 @@ export interface paths { * Update a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. * * Edits the title and body text of a discussion post. Only the parameters you provide are updated. * @@ -14555,7 +14728,7 @@ export interface paths { * List discussion comments (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. * * List all comments on a team discussion. * @@ -14567,7 +14740,7 @@ export interface paths { * Create a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. * * Creates a new comment on a team discussion. * @@ -14593,7 +14766,7 @@ export interface paths { * Get a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. * * Get a specific comment on a team discussion. * @@ -14606,7 +14779,7 @@ export interface paths { * Delete a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. * * Deletes a comment on a team discussion. * @@ -14619,7 +14792,7 @@ export interface paths { * Update a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. * * Edits the body text of a discussion comment. * @@ -14639,7 +14812,7 @@ export interface paths { * List reactions for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. * * List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14651,7 +14824,7 @@ export interface paths { * Create reaction for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. * * Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14677,7 +14850,7 @@ export interface paths { * List reactions for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. * * List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14689,7 +14862,7 @@ export interface paths { * Create reaction for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. * * Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14715,7 +14888,7 @@ export interface paths { * List pending team invitations (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. * * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ @@ -14739,7 +14912,7 @@ export interface paths { * List team members (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. * * Team members will include the members of child teams. */ @@ -14762,7 +14935,7 @@ export interface paths { /** * Get team member (Legacy) * @deprecated - * @description The "Get team member" endpoint (described below) is deprecated. + * @description The "Get team member" endpoint (described below) is closing down. * * We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. * @@ -14772,7 +14945,7 @@ export interface paths { /** * Add team member (Legacy) * @deprecated - * @description The "Add team member" endpoint (described below) is deprecated. + * @description The "Add team member" endpoint (described below) is closing down. * * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. * @@ -14790,7 +14963,7 @@ export interface paths { /** * Remove team member (Legacy) * @deprecated - * @description The "Remove team member" endpoint (described below) is deprecated. + * @description The "Remove team member" endpoint (described below) is closing down. * * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. * @@ -14818,7 +14991,7 @@ export interface paths { * Get team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. * * Team members will include the members of child teams. * @@ -14834,7 +15007,7 @@ export interface paths { * Add or update team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14853,7 +15026,7 @@ export interface paths { * Remove team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14879,7 +15052,7 @@ export interface paths { * List team projects (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. * * Lists the organization projects for a team. */ @@ -14903,7 +15076,7 @@ export interface paths { * Check team permissions for a project (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. * * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. */ @@ -14912,7 +15085,7 @@ export interface paths { * Add or update team project permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. * * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. */ @@ -14922,7 +15095,7 @@ export interface paths { * Remove a project from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. * * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. */ @@ -14943,7 +15116,7 @@ export interface paths { * List team repositories (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. */ get: operations["teams/list-repos-legacy"]; put?: never; @@ -14965,7 +15138,7 @@ export interface paths { * Check team permissions for a repository (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. * * > [!NOTE] * > Repositories inherited through a parent team will also be checked. @@ -14977,7 +15150,7 @@ export interface paths { * Add or update team repository permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. * * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. * @@ -14989,7 +15162,7 @@ export interface paths { * Remove a repository from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. * * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. */ @@ -15010,7 +15183,7 @@ export interface paths { * List child teams (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. */ get: operations["teams/list-child-legacy"]; put?: never; @@ -16652,7 +16825,7 @@ export interface paths { }; /** * List events for the authenticated user - * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). * * > [!NOTE] * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -17516,6 +17689,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; }; /** * @description The type of credit the user is receiving. @@ -17710,6 +17885,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; } | null; /** * GitHub app @@ -18227,7 +18404,7 @@ export interface components { */ organization_custom_properties?: "read" | "write" | "admin"; /** - * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in beta and is subject to change. + * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change. * @enum {string} */ organization_copilot_seat_management?: "write"; @@ -18262,7 +18439,7 @@ export interface components { */ organization_plan?: "read"; /** - * @description The level of permission to grant the access token to manage organization projects and projects beta (where available). + * @description The level of permission to grant the access token to manage organization projects and projects public preview (where available). * @enum {string} */ organization_projects?: "read" | "write" | "admin"; @@ -18706,7 +18883,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -19290,7 +19467,7 @@ export interface components { * Organization Simple * @description A GitHub organization. */ - "organization-simple": { + "nullable-organization-simple": { /** @example github */ login: string; /** @example 1 */ @@ -19324,7 +19501,7 @@ export interface components { avatar_url: string; /** @example A great organization */ description: string | null; - }; + } | null; /** * Team Simple * @description Groups of organization members that gives permissions on specified repositories. @@ -19451,12 +19628,8 @@ export interface components { * @description Information about a Copilot Business seat assignment for a user, team, or organization. */ "copilot-seat-details": { - /** @description The assignee that has been granted access to GitHub Copilot. */ - assignee: { - [key: string]: unknown; - } & components["schemas"]["simple-user"]; - /** @description The organization to which this seat belongs. */ - organization?: components["schemas"]["organization-simple"] | null; + assignee: components["schemas"]["simple-user"]; + organization?: components["schemas"]["nullable-organization-simple"]; /** @description The team through which the assignee is granted access to GitHub Copilot, if applicable. */ assigning_team?: (components["schemas"]["team"] | components["schemas"]["enterprise-team"]) | null; /** @@ -19481,6 +19654,11 @@ export interface components { * @description Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. */ updated_at?: string; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; }; /** * Copilot Usage Metrics @@ -19991,6 +20169,10 @@ export interface components { * @enum {string} */ validity?: "active" | "inactive" | "unknown"; + /** @description Whether the secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or enterprise. */ + multi_repo?: boolean | null; }; /** * Actor @@ -20463,6 +20645,11 @@ export interface components { login: string; /** Format: int64 */ id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + user_view_type: "public"; node_id: string; /** Format: uri */ avatar_url: string; @@ -20512,8 +20699,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; /** @example 1 */ private_gists?: number; /** @example 2 */ @@ -20988,6 +21173,10 @@ export interface components { /** @enum {string} */ status?: "enabled" | "disabled"; }; + secret_scanning_ai_detection?: { + /** @enum {string} */ + status?: "enabled" | "disabled"; + }; } | null; /** * Minimal Repository @@ -21254,6 +21443,45 @@ export interface components { */ repository_url?: string; }; + /** + * Organization Simple + * @description A GitHub organization. + */ + "organization-simple": { + /** @example github */ + login: string; + /** @example 1 */ + id: number; + /** @example MDEyOk9yZ2FuaXphdGlvbjE= */ + node_id: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github + */ + url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/repos + */ + repos_url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/events + */ + events_url: string; + /** @example https://api.github.com/orgs/github/hooks */ + hooks_url: string; + /** @example https://api.github.com/orgs/github/issues */ + issues_url: string; + /** @example https://api.github.com/orgs/github/members{/member} */ + members_url: string; + /** @example https://api.github.com/orgs/github/public_members{/member} */ + public_members_url: string; + /** @example https://github.com/images/error/octocat_happy.gif */ + avatar_url: string; + /** @example A great organization */ + description: string | null; + }; /** * Organization Full * @description Organization Full @@ -21339,7 +21567,12 @@ export interface components { private_gists?: number | null; /** @example 10000 */ disk_usage?: number | null; - /** @example 8 */ + /** + * @description The number of collaborators on private repositories. + * + * This field may be null if the number of private repositories is over 50,000. + * @example 8 + */ collaborators?: number | null; /** * Format: email @@ -21378,7 +21611,7 @@ export interface components { web_commit_signoff_required?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. * @@ -21388,7 +21621,7 @@ export interface components { advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21398,7 +21631,7 @@ export interface components { dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21408,7 +21641,7 @@ export interface components { dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21418,7 +21651,7 @@ export interface components { dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21428,7 +21661,7 @@ export interface components { secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21541,6 +21774,31 @@ export interface components { default_workflow_permissions?: components["schemas"]["actions-default-workflow-permissions"]; can_approve_pull_request_reviews?: components["schemas"]["actions-can-approve-pull-request-reviews"]; }; + "runner-groups-org": { + id: number; + name: string; + visibility: string; + default: boolean; + /** @description Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` */ + selected_repositories_url?: string; + runners_url: string; + hosted_runners_url?: string; + inherited: boolean; + inherited_allows_public_repositories?: boolean; + allows_public_repositories: boolean; + /** + * @description If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified. + * @default false + */ + workflow_restrictions_read_only: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; /** * Self hosted runner label * @description A label for a self hosted runner @@ -21850,7 +22108,7 @@ export interface components { * @description The type of the code security configuration. * @enum {string} */ - target_type?: "global" | "organization"; + target_type?: "global" | "organization" | "enterprise"; /** @description A description of the code security configuration */ description?: string; /** @@ -21898,6 +22156,24 @@ export interface components { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -22225,8 +22501,8 @@ export interface components { inactive_this_cycle?: number; }; /** - * Copilot Business Organization Details - * @description Information about the seat breakdown and policies set for an organization with a Copilot Business subscription. + * Copilot Organization Details + * @description Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription. */ "copilot-organization-details": { seat_breakdown: components["schemas"]["copilot-seat-breakdown"]; @@ -22255,6 +22531,11 @@ export interface components { * @enum {string} */ seat_management_setting: "assign_all" | "assign_selected" | "disabled" | "unconfigured"; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; } & { [key: string]: unknown; }; @@ -22933,6 +23214,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; }; /** * Package Version @@ -23485,7 +23768,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -23893,7 +24176,8 @@ export interface components { */ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey"; /** - * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets. + * @default always * @enum {string} */ bypass_mode: "always" | "pull_request"; @@ -23963,7 +24247,9 @@ export interface components { }; /** * Organization ruleset conditions - * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * @description Conditions for an organization ruleset. + * The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + * The push rulesets conditions object does not require the `ref_name` property. */ "org-ruleset-conditions": (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-name-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-id-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-property-target"]); /** @@ -24351,7 +24637,7 @@ export interface components { html?: { /** @description The html URL of the ruleset */ href?: string; - }; + } | null; }; conditions?: (components["schemas"]["repository-ruleset-conditions"] | components["schemas"]["org-ruleset-conditions"]) | null; rules?: components["schemas"]["repository-rule"][]; @@ -26462,6 +26748,7 @@ export interface components { received_events_url?: string; type?: string; site_admin?: boolean; + user_view_type?: string; }[]; teams: { id?: number; @@ -26517,6 +26804,8 @@ export interface components { type?: string; /** @example false */ site_admin?: boolean; + /** @example public */ + user_view_type?: string; }; name?: string; client_id?: string; @@ -27687,6 +27976,8 @@ export interface components { }; /** @example admin */ role_name: string; + /** @example public */ + user_view_type?: string; }; /** * Repository Invitation @@ -27802,6 +28093,8 @@ export interface components { }; /** @example admin */ role_name: string; + /** @example public */ + user_view_type?: string; } | null; /** * Repository Collaborator Permission @@ -28175,6 +28468,7 @@ export interface components { name: string; path: string; sha: string; + content?: string; /** Format: uri */ url: string; /** Format: uri */ @@ -28188,7 +28482,6 @@ export interface components { size: number; name: string; path: string; - content?: string; sha: string; /** Format: uri */ url: string; @@ -28250,7 +28543,10 @@ export interface components { * @description Content File */ "content-file": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "file"; encoding: string; size: number; @@ -28284,7 +28580,10 @@ export interface components { * @description An object describing a symlink */ "content-symlink": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "symlink"; target: string; size: number; @@ -28313,7 +28612,10 @@ export interface components { * @description An object describing a submodule */ "content-submodule": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "submodule"; /** Format: uri */ submodule_git_url: string; @@ -28442,6 +28744,7 @@ export interface components { contributions: number; email?: string; name?: string; + user_view_type?: string; }; /** @description A Dependabot alert. */ "dependabot-alert": { @@ -28797,7 +29100,7 @@ export interface components { environment: string; /** * Format: uri - * @description Deprecated: the URL to associate with this status. + * @description Closing down notice: the URL to associate with this status. * @default * @example https://example.com/deployment/42/output */ @@ -30159,12 +30462,12 @@ export interface components { */ path: string; /** - * @description The line index in the diff to which the comment applies. This field is deprecated; use `line` instead. + * @description The line index in the diff to which the comment applies. This field is closing down; use `line` instead. * @example 1 */ position?: number; /** - * @description The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead. + * @description The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead. * @example 4 */ original_position?: number; @@ -30824,361 +31127,16 @@ export interface components { head: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - 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: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: { - key: string; - name: string; - /** Format: uri */ - url: string | null; - spdx_id: string | null; - node_id: string; - } | null; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - is_template?: boolean; - web_commit_signoff_required?: boolean; - } | null; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - /** Format: int64 */ - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; base: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - is_template?: boolean; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - 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: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: components["schemas"]["nullable-license-simple"]; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - web_commit_signoff_required?: boolean; - }; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - /** Format: int64 */ - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; _links: { comments: components["schemas"]["link"]; @@ -31552,6 +31510,10 @@ export interface components { * @enum {string} */ validity?: "active" | "inactive" | "unknown"; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories under the same organization or enterprise. */ + multi_repo?: boolean | 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": string | null; @@ -32446,6 +32408,7 @@ export interface components { company?: string | null; /** Format: date-time */ suspended_at?: string | null; + user_view_type?: string; }; /** * Private User @@ -32459,6 +32422,11 @@ export interface components { * @example 1 */ id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + user_view_type: "private"; /** @example MDQ6VXNlcjE= */ node_id: string; /** @@ -32573,8 +32541,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; business_plus?: boolean; ldap_dn?: string; }; @@ -33614,7 +33580,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -33675,75 +33641,6 @@ export interface components { /** @description Whether anonymous git access is enabled for this repository */ anonymous_access_enabled?: boolean; }; - /** - * Simple User - * @description The GitHub user that triggered the event. This property is included in every webhook payload. - */ - "simple-user-webhooks": { - name?: string | null; - email?: string | null; - /** @example octocat */ - login: string; - /** @example 1 */ - id: number; - /** @example MDQ6VXNlcjE= */ - node_id: string; - /** - * Format: uri - * @example https://github.com/images/error/octocat_happy.gif - */ - avatar_url: string; - /** @example 41d064eb2195891e12d0413f63227ea7 */ - gravatar_id: string | null; - /** - * Format: uri - * @example https://api.github.com/users/octocat - */ - url: string; - /** - * Format: uri - * @example https://github.com/octocat - */ - html_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/followers - */ - followers_url: string; - /** @example https://api.github.com/users/octocat/following{/other_user} */ - following_url: string; - /** @example https://api.github.com/users/octocat/gists{/gist_id} */ - gists_url: string; - /** @example https://api.github.com/users/octocat/starred{/owner}{/repo} */ - starred_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/subscriptions - */ - subscriptions_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/orgs - */ - organizations_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/repos - */ - repos_url: string; - /** @example https://api.github.com/users/octocat/events{/privacy} */ - events_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/received_events - */ - received_events_url: string; - /** @example User */ - type: string; - site_admin: boolean; - /** @example "2020-07-09T00:17:55Z" */ - starred_at?: string; - }; /** * branch protection rule * @description The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings. @@ -33954,6 +33851,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; webhooks_reviewers: { /** User */ @@ -34043,6 +33941,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; webhooks_answer: { /** @@ -34114,6 +34013,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -34159,6 +34059,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; answer_html_url: string | null; /** @@ -34258,6 +34159,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; labels?: components["schemas"]["label"][]; }; @@ -34329,6 +34231,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Label */ @@ -34458,6 +34361,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The changes to the comment. */ @@ -34510,6 +34414,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -34546,6 +34451,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -34633,6 +34539,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -34715,6 +34622,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -34876,6 +34784,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -34924,6 +34833,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -34992,6 +34902,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -35028,6 +34939,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -35115,6 +35027,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -35197,6 +35110,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -35358,6 +35272,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** User */ @@ -35396,6 +35311,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Marketplace Purchase */ webhooks_marketplace_purchase: { @@ -35975,7 +35891,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -36082,6 +35998,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -36155,6 +36072,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -36276,6 +36194,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -36332,6 +36251,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ html_url: string; @@ -36551,7 +36471,7 @@ export interface components { */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.** * @default false */ use_squash_pr_title_as_default: boolean; @@ -36639,6 +36559,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -36727,6 +36648,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -36950,6 +36872,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -37059,6 +36982,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -37294,6 +37218,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -37403,6 +37328,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -37470,6 +37396,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -37517,6 +37444,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -37740,6 +37668,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -37886,6 +37815,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The review that was affected. */ @@ -37959,6 +37889,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; webhooks_nullable_string: string | null; @@ -38065,6 +37996,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -38212,6 +38144,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -38361,6 +38294,10 @@ export interface components { * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ push_protection_bypassed_at?: string | null; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or business. */ + multi_repo?: boolean | null; }; /** @description The details of the security advisory, including summary, description, and severity. */ webhooks_security_advisory: { @@ -38421,6 +38358,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; node_id: string; privacy_level: string; @@ -38460,6 +38398,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** User */ sponsorable: { @@ -38497,6 +38436,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Sponsorship Tier @@ -38608,7 +38548,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection configuration enabled event */ "webhook-branch-protection-configuration-enabled": { @@ -38618,7 +38558,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule created event */ "webhook-branch-protection-rule-created": { @@ -38629,7 +38569,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule deleted event */ "webhook-branch-protection-rule-deleted": { @@ -38640,7 +38580,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule edited event */ "webhook-branch-protection-rule-edited": { @@ -38691,7 +38631,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Check Run Completed Event */ "webhook-check-run-completed": { @@ -38701,7 +38641,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Completed Event @@ -38719,7 +38659,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Created Event @@ -38742,7 +38682,7 @@ export interface components { /** @description The integrator reference of the action requested by the user. */ identifier?: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Requested Action Event @@ -38760,7 +38700,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Re-Requested Event @@ -38834,6 +38774,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39011,7 +38952,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite requested event */ "webhook-check-suite-requested": { @@ -39077,6 +39018,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39254,7 +39196,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite rerequested event */ "webhook-check-suite-rerequested": { @@ -39320,6 +39262,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39497,7 +39440,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert appeared_in_branch event */ "webhook-code-scanning-alert-appeared-in-branch": { @@ -39551,6 +39494,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39623,7 +39567,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert closed_by_user event */ "webhook-code-scanning-alert-closed-by-user": { @@ -39677,6 +39621,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39756,7 +39701,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert created event */ "webhook-code-scanning-alert-created": { @@ -39851,7 +39796,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert fixed event */ "webhook-code-scanning-alert-fixed": { @@ -39905,6 +39850,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39986,7 +39932,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened event */ "webhook-code-scanning-alert-reopened": { @@ -40001,7 +39947,7 @@ export interface components { created_at: string; /** @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ dismissed_at: string | null; - dismissed_by: Record; + 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: string | null; /** @@ -40079,7 +40025,7 @@ export interface components { /** @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: string | null; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened_by_user event */ "webhook-code-scanning-alert-reopened-by-user": { @@ -40163,7 +40109,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** commit_comment created event */ "webhook-commit-comment-created": { @@ -40172,7 +40118,7 @@ export interface components { * @enum {string} */ action: "created"; - /** @description The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. */ + /** @description The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. */ comment: { /** * AuthorAssociation @@ -40251,13 +40197,14 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** create event */ "webhook-create": { @@ -40276,7 +40223,7 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** custom property created event */ "webhook-custom-property-created": { @@ -40286,7 +40233,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property deleted event */ "webhook-custom-property-deleted": { @@ -40299,7 +40246,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property updated event */ "webhook-custom-property-updated": { @@ -40309,7 +40256,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Custom property values updated event */ "webhook-custom-property-values-updated": { @@ -40319,7 +40266,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; repository: components["schemas"]["repository-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; /** @description The new custom property values for the repository. */ new_property_values: components["schemas"]["custom-property-value"][]; /** @description The old custom property values for the repository. */ @@ -40338,7 +40285,7 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-dismissed event */ "webhook-dependabot-alert-auto-dismissed": { @@ -40349,7 +40296,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { @@ -40360,7 +40307,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert created event */ "webhook-dependabot-alert-created": { @@ -40371,7 +40318,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert dismissed event */ "webhook-dependabot-alert-dismissed": { @@ -40382,7 +40329,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert fixed event */ "webhook-dependabot-alert-fixed": { @@ -40393,7 +40340,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reintroduced event */ "webhook-dependabot-alert-reintroduced": { @@ -40404,7 +40351,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reopened event */ "webhook-dependabot-alert-reopened": { @@ -40415,7 +40362,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key created event */ "webhook-deploy-key-created": { @@ -40426,7 +40373,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key deleted event */ "webhook-deploy-key-deleted": { @@ -40437,7 +40384,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deployment created event */ "webhook-deployment-created": { @@ -40485,6 +40432,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -40547,6 +40495,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -40643,7 +40592,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run: { @@ -40683,6 +40632,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -40917,6 +40867,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -40944,7 +40895,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; organization?: components["schemas"]["organization-simple-webhooks"]; installation?: components["schemas"]["simple-installation"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-deployment-review-approved": { /** @enum {string} */ @@ -40956,7 +40907,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -41007,6 +40958,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41020,7 +40972,7 @@ export interface components { display_title: string; event: string; head_branch: string; - head_commit?: Record; + head_commit?: Record | null; head_repository?: { archive_url?: string; assignees_url?: string; @@ -41075,6 +41027,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41185,6 +41138,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41241,6 +41195,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41260,7 +41215,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -41311,6 +41266,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41323,7 +41279,7 @@ export interface components { created_at: string; event: string; head_branch: string; - head_commit?: Record; + head_commit?: Record | null; head_repository?: { archive_url?: string; assignees_url?: string; @@ -41378,6 +41334,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41488,6 +41445,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41544,6 +41502,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41600,11 +41559,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @enum {string} */ type?: "User" | "Team"; }[]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run: { conclusion: unknown; @@ -41654,6 +41614,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41666,7 +41627,7 @@ export interface components { created_at: string; event: string; head_branch: string; - head_commit?: Record; + head_commit?: Record | null; head_repository?: { archive_url?: string; assignees_url?: string; @@ -41721,6 +41682,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41831,6 +41793,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41887,6 +41850,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41973,6 +41937,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -42035,6 +42000,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42166,6 +42132,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ deployment_url: string; @@ -42233,6 +42200,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42326,7 +42294,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow?: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run?: { @@ -42366,6 +42334,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -42600,6 +42569,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -42619,7 +42589,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion category changed event */ "webhook-discussion-category-changed": { @@ -42647,7 +42617,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion closed event */ "webhook-discussion-closed": { @@ -42658,7 +42628,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment created event */ "webhook-discussion-comment-created": { @@ -42670,7 +42640,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment deleted event */ "webhook-discussion-comment-deleted": { @@ -42682,7 +42652,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment edited event */ "webhook-discussion-comment-edited": { @@ -42699,7 +42669,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion created event */ "webhook-discussion-created": { @@ -42710,7 +42680,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion deleted event */ "webhook-discussion-deleted": { @@ -42721,7 +42691,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion edited event */ "webhook-discussion-edited": { @@ -42740,7 +42710,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion labeled event */ "webhook-discussion-labeled": { @@ -42752,7 +42722,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion locked event */ "webhook-discussion-locked": { @@ -42763,7 +42733,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion pinned event */ "webhook-discussion-pinned": { @@ -42774,7 +42744,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion reopened event */ "webhook-discussion-reopened": { @@ -42785,7 +42755,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion transferred event */ "webhook-discussion-transferred": { @@ -42800,7 +42770,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unanswered event */ "webhook-discussion-unanswered": { @@ -42810,7 +42780,7 @@ export interface components { old_answer: components["schemas"]["webhooks_answer"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** discussion unlabeled event */ "webhook-discussion-unlabeled": { @@ -42822,7 +42792,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unlocked event */ "webhook-discussion-unlocked": { @@ -42833,7 +42803,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unpinned event */ "webhook-discussion-unpinned": { @@ -42844,7 +42814,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * fork event @@ -43040,6 +43010,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -43136,7 +43107,7 @@ export interface components { labels_url?: string; language?: unknown; languages_url?: string; - license?: Record; + license?: Record | null; merges_url?: string; milestones_url?: string; mirror_url?: unknown; @@ -43191,13 +43162,13 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** github_app_authorization revoked event */ "webhook-github-app-authorization-revoked": { /** @enum {string} */ action: "revoked"; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** gollum event */ "webhook-gollum": { @@ -43225,7 +43196,7 @@ export interface components { title: string; }[]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation created event */ "webhook-installation-created": { @@ -43237,7 +43208,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation deleted event */ "webhook-installation-deleted": { @@ -43249,7 +43220,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation new_permissions_accepted event */ "webhook-installation-new-permissions-accepted": { @@ -43261,7 +43232,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories added event */ "webhook-installation-repositories-added": { @@ -43285,7 +43256,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories removed event */ "webhook-installation-repositories-removed": { @@ -43309,7 +43280,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation suspend event */ "webhook-installation-suspend": { @@ -43321,7 +43292,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-installation-target-renamed": { account: { @@ -43361,6 +43332,7 @@ export interface components { updated_at?: string; url?: string; website_url?: unknown; + user_view_type?: string; }; /** @enum {string} */ action: "renamed"; @@ -43376,7 +43348,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; target_type: string; }; /** installation unsuspend event */ @@ -43389,7 +43361,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment created event */ "webhook-issue-comment-created": { @@ -43479,6 +43451,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43523,6 +43496,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -43559,6 +43533,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -43646,6 +43621,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -43728,6 +43704,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -43889,6 +43866,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -43928,8 +43906,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - assignees?: Record[]; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at?: string | null; @@ -43956,10 +43935,10 @@ export interface components { }[]; labels_url?: string; locked: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -44006,7 +43985,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment deleted event */ "webhook-issue-comment-deleted": { @@ -44055,6 +44034,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -44091,6 +44071,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44178,6 +44159,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -44260,6 +44242,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -44421,6 +44404,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -44460,8 +44444,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - assignees?: Record[]; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at?: string | null; @@ -44488,10 +44473,10 @@ export interface components { }[]; labels_url?: string; locked: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -44534,11 +44519,12 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment edited event */ "webhook-issue-comment-edited": { @@ -44588,6 +44574,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -44624,6 +44611,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44711,6 +44699,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -44793,6 +44782,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -44954,6 +44944,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -44993,8 +44984,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - assignees?: Record[]; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at?: string | null; @@ -45021,10 +45013,10 @@ export interface components { }[]; labels_url?: string; locked: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -45071,7 +45063,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues assigned event */ "webhook-issues-assigned": { @@ -45086,7 +45078,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues closed event */ "webhook-issues-closed": { @@ -45137,6 +45129,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -45173,6 +45166,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -45260,6 +45254,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -45342,6 +45337,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -45503,11 +45499,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; - assignee?: Record; - assignees?: Record[]; + assignee?: Record | null; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at: string | null; @@ -45517,13 +45514,13 @@ export interface components { events_url?: string; html_url?: string; id?: number; - labels?: Record[]; + labels?: (Record | null)[]; labels_url?: string; locked?: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -45563,11 +45560,12 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues deleted event */ "webhook-issues-deleted": { @@ -45618,6 +45616,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -45741,6 +45740,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -45823,6 +45823,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -45984,11 +45985,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues demilestoned event */ "webhook-issues-demilestoned": { @@ -46162,6 +46164,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -46244,6 +46247,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -46405,12 +46409,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone?: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues edited event */ "webhook-issues-edited": { @@ -46472,6 +46477,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -46595,6 +46601,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -46677,6 +46684,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -46838,12 +46846,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues labeled event */ "webhook-issues-labeled": { @@ -46894,6 +46903,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47017,6 +47027,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47099,6 +47110,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -47260,12 +47272,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues locked event */ "webhook-issues-locked": { @@ -47316,6 +47329,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47352,6 +47366,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -47440,6 +47455,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47522,6 +47538,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -47683,11 +47700,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues milestoned event */ "webhook-issues-milestoned": { @@ -47861,6 +47879,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47943,6 +47962,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -48104,12 +48124,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues opened event */ "webhook-issues-opened": { @@ -48159,6 +48180,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -48195,6 +48217,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48282,6 +48305,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -48364,6 +48388,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -48525,6 +48550,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } | null; /** @@ -48724,6 +48750,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -48819,6 +48846,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -48855,6 +48883,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48942,6 +48971,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49024,6 +49054,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -49185,11 +49216,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues pinned event */ "webhook-issues-pinned": { @@ -49200,7 +49232,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues reopened event */ "webhook-issues-reopened": { @@ -49374,6 +49406,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49456,6 +49489,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -49617,11 +49651,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues transferred event */ "webhook-issues-transferred": { @@ -49671,6 +49706,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -49707,6 +49743,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -49794,6 +49831,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49876,6 +49914,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -50037,6 +50076,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -50239,6 +50279,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -50294,7 +50335,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unassigned event */ "webhook-issues-unassigned": { @@ -50309,7 +50350,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlabeled event */ "webhook-issues-unlabeled": { @@ -50321,7 +50362,7 @@ export interface components { label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlocked event */ "webhook-issues-unlocked": { @@ -50372,6 +50413,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -50408,6 +50450,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -50496,6 +50539,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -50578,6 +50622,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -50739,11 +50784,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unpinned event */ "webhook-issues-unpinned": { @@ -50754,7 +50800,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label created event */ "webhook-label-created": { @@ -50765,7 +50811,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** label deleted event */ "webhook-label-deleted": { @@ -50776,7 +50822,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label edited event */ "webhook-label-edited": { @@ -50802,7 +50848,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase cancelled event */ "webhook-marketplace-purchase-cancelled": { @@ -50815,7 +50861,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase changed event */ "webhook-marketplace-purchase-changed": { @@ -50854,7 +50900,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change event */ "webhook-marketplace-purchase-pending-change": { @@ -50893,7 +50939,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change_cancelled event */ "webhook-marketplace-purchase-pending-change-cancelled": { @@ -50932,7 +50978,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase purchased event */ "webhook-marketplace-purchase-purchased": { @@ -50945,7 +50991,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member added event */ "webhook-member-added": { @@ -50970,7 +51016,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member edited event */ "webhook-member-edited": { @@ -50992,7 +51038,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member removed event */ "webhook-member-removed": { @@ -51003,7 +51049,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** membership added event */ "webhook-membership-added": { @@ -51055,6 +51101,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -51108,6 +51155,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -51118,7 +51166,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-merge-group-destroyed": { /** @enum {string} */ @@ -51132,7 +51180,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** meta deleted event */ "webhook-meta-deleted": { @@ -51162,7 +51210,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** milestone closed event */ "webhook-milestone-closed": { @@ -51173,7 +51221,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone created event */ "webhook-milestone-created": { @@ -51184,7 +51232,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone deleted event */ "webhook-milestone-deleted": { @@ -51195,7 +51243,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone edited event */ "webhook-milestone-edited": { @@ -51221,7 +51269,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone opened event */ "webhook-milestone-opened": { @@ -51232,7 +51280,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block blocked event */ "webhook-org-block-blocked": { @@ -51243,7 +51291,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block unblocked event */ "webhook-org-block-unblocked": { @@ -51254,7 +51302,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization deleted event */ "webhook-organization-deleted": { @@ -51265,7 +51313,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_added event */ "webhook-organization-member-added": { @@ -51276,7 +51324,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_invited event */ "webhook-organization-member-invited": { @@ -51331,6 +51379,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; login: string | null; node_id: string; @@ -51340,7 +51389,7 @@ export interface components { }; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; user?: components["schemas"]["webhooks_user"]; }; /** organization member_removed event */ @@ -51352,7 +51401,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization renamed event */ "webhook-organization-renamed": { @@ -51368,7 +51417,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Ruby Gems metadata */ "webhook-rubygems-metadata": { @@ -51442,6 +51491,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -51481,12 +51531,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body?: string | Record; body_html?: string; container_metadata?: { - labels?: Record; - manifest?: Record; + labels?: Record | null; + manifest?: Record | null; tag?: { digest?: string; name?: string; @@ -51511,19 +51562,19 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: Record; - bugs?: Record; + author?: Record | null; + bugs?: Record | null; dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: Record; + dist?: Record | null; git_head?: string; homepage?: string; license?: string; main?: string; - repository?: Record; + repository?: Record | null; scripts?: Record; id?: string; node_version?: string; @@ -51536,7 +51587,7 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: Record; + directories?: Record | null; os?: string[]; cpu?: string[]; readme?: string; @@ -51609,6 +51660,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -51644,7 +51696,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** package updated event */ "webhook-package-updated": { @@ -51699,6 +51751,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -51738,6 +51791,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string; body_html: string; @@ -51809,6 +51863,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -51845,7 +51900,7 @@ export interface components { updated_at: string; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** page_build event */ "webhook-page-build": { @@ -51893,6 +51948,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; status: string; updated_at: string; @@ -51904,7 +51960,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** personal_access_token_request approved event */ "webhook-personal-access-token-request-approved": { @@ -51913,7 +51969,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request cancelled event */ @@ -51923,7 +51979,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request created event */ @@ -51933,7 +51989,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation?: components["schemas"]["simple-installation"]; }; /** personal_access_token_request denied event */ @@ -51943,7 +51999,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; organization: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; "webhook-ping": { @@ -51990,7 +52046,7 @@ export interface components { hook_id?: number; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; /** @description Random string of GitHub zen. */ zen?: string; }; @@ -52013,7 +52069,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card created event */ "webhook-project-card-created": { @@ -52024,7 +52080,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card deleted event */ "webhook-project-card-deleted": { @@ -52081,6 +52137,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -52094,7 +52151,7 @@ export interface components { url: string; }; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card edited event */ "webhook-project-card-edited": { @@ -52110,7 +52167,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card moved event */ "webhook-project-card-moved": { @@ -52171,6 +52228,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -52216,7 +52274,7 @@ export interface components { url?: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project closed event */ "webhook-project-closed": { @@ -52227,7 +52285,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_column created event */ "webhook-project-column-created": { @@ -52238,7 +52296,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column deleted event */ "webhook-project-column-deleted": { @@ -52249,7 +52307,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column edited event */ "webhook-project-column-edited": { @@ -52265,7 +52323,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column moved event */ "webhook-project-column-moved": { @@ -52276,7 +52334,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project created event */ "webhook-project-created": { @@ -52287,7 +52345,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project deleted event */ "webhook-project-deleted": { @@ -52298,7 +52356,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project edited event */ "webhook-project-edited": { @@ -52320,7 +52378,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project reopened event */ "webhook-project-reopened": { @@ -52331,7 +52389,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Closed Event */ "webhook-projects-v2-project-closed": { @@ -52340,7 +52398,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -52349,7 +52407,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Deleted Event */ "webhook-projects-v2-project-deleted": { @@ -52358,7 +52416,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Edited Event */ "webhook-projects-v2-project-edited": { @@ -52385,7 +52443,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Archived Event */ "webhook-projects-v2-item-archived": { @@ -52395,7 +52453,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Converted Event */ "webhook-projects-v2-item-converted": { @@ -52410,7 +52468,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Created Event */ "webhook-projects-v2-item-created": { @@ -52419,7 +52477,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Deleted Event */ "webhook-projects-v2-item-deleted": { @@ -52428,7 +52486,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Edited Event */ "webhook-projects-v2-item-edited": { @@ -52454,7 +52512,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -52469,7 +52527,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Restored Event */ "webhook-projects-v2-item-restored": { @@ -52479,7 +52537,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Reopened Event */ "webhook-projects-v2-project-reopened": { @@ -52488,7 +52546,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Created Event */ "webhook-projects-v2-status-update-created": { @@ -52497,7 +52555,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Deleted Event */ "webhook-projects-v2-status-update-deleted": { @@ -52506,7 +52564,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Edited Event */ "webhook-projects-v2-status-update-edited": { @@ -52539,7 +52597,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** public event */ "webhook-public": { @@ -52547,7 +52605,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request assigned event */ "webhook-pull-request-assigned": { @@ -52641,6 +52699,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -52677,6 +52736,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -52729,6 +52789,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -52952,6 +53013,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -53012,7 +53074,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -53061,6 +53123,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -53296,6 +53359,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -53356,7 +53420,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -53405,6 +53469,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -53472,6 +53537,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -53519,6 +53585,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -53585,6 +53652,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -53742,10 +53810,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_disabled event */ "webhook-pull-request-auto-merge-disabled": { @@ -53838,6 +53907,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -53926,6 +53996,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -54149,6 +54220,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -54209,7 +54281,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -54258,6 +54330,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -54493,6 +54566,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -54553,7 +54627,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -54602,6 +54676,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -54669,6 +54744,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -54716,6 +54792,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -54782,6 +54859,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -54939,11 +55017,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_enabled event */ "webhook-pull-request-auto-merge-enabled": { @@ -55036,6 +55115,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -55124,6 +55204,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -55347,6 +55428,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55407,7 +55489,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -55456,6 +55538,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -55688,6 +55771,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55748,7 +55832,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -55797,6 +55881,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -55864,6 +55949,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -55911,6 +55997,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -55977,6 +56064,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -56134,11 +56222,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason?: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request closed event */ "webhook-pull-request-closed": { @@ -56150,7 +56239,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request converted_to_draft event */ "webhook-pull-request-converted-to-draft": { @@ -56162,7 +56251,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request demilestoned event */ "webhook-pull-request-demilestoned": { @@ -56174,7 +56263,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request dequeued event */ "webhook-pull-request-dequeued": { @@ -56267,6 +56356,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -56355,6 +56445,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -56578,6 +56669,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -56638,7 +56730,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -56687,6 +56779,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -56922,6 +57015,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -56982,7 +57076,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -57031,6 +57125,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -57098,6 +57193,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -57145,6 +57241,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -57211,6 +57308,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -57368,11 +57466,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - reason: string; + /** @enum {string} */ + reason: "UNKNOWN_REMOVAL_REASON" | "MANUAL" | "MERGE" | "MERGE_CONFLICT" | "CI_FAILURE" | "CI_TIMEOUT" | "ALREADY_MERGED" | "QUEUE_CLEARED" | "ROLL_BACK" | "BRANCH_PROTECTIONS" | "GIT_TREE_INVALID" | "INVALID_MERGE_COMMIT"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request edited event */ "webhook-pull-request-edited": { @@ -57403,7 +57503,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request enqueued event */ "webhook-pull-request-enqueued": { @@ -57496,6 +57596,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -57584,6 +57685,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -57807,6 +57909,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -57867,7 +57970,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -57916,6 +58019,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -58151,6 +58255,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -58211,7 +58316,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -58260,6 +58365,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -58327,6 +58433,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -58374,6 +58481,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -58440,6 +58548,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -58597,10 +58706,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request labeled event */ "webhook-pull-request-labeled": { @@ -58694,6 +58804,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -58782,6 +58893,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -59005,6 +59117,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -59065,7 +59178,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -59114,6 +59227,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -59349,6 +59463,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -59409,7 +59524,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -59458,6 +59573,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -59525,6 +59641,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -59572,6 +59689,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -59638,6 +59756,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -59795,10 +59914,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request locked event */ "webhook-pull-request-locked": { @@ -59891,6 +60011,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -59979,6 +60100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -60202,6 +60324,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -60262,7 +60385,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -60311,6 +60434,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -60546,6 +60670,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -60606,7 +60731,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -60655,6 +60780,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -60722,6 +60848,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -60769,6 +60896,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -60835,6 +60963,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -60992,10 +61121,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request milestoned event */ "webhook-pull-request-milestoned": { @@ -61007,7 +61137,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request opened event */ "webhook-pull-request-opened": { @@ -61019,7 +61149,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request ready_for_review event */ "webhook-pull-request-ready-for-review": { @@ -61031,7 +61161,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request reopened event */ "webhook-pull-request-reopened": { @@ -61043,7 +61173,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment created event */ "webhook-pull-request-review-comment-created": { @@ -61193,6 +61323,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -61279,6 +61410,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -61367,6 +61499,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -61590,6 +61723,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -61650,7 +61784,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -61699,6 +61833,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -61927,6 +62062,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -61987,7 +62123,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -62036,6 +62172,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -62107,6 +62244,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -62171,6 +62309,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -62322,10 +62461,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment deleted event */ "webhook-pull-request-review-comment-deleted": { @@ -62416,6 +62556,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -62504,6 +62645,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -62727,6 +62869,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -62787,7 +62930,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -62836,6 +62979,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -63064,6 +63208,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63124,7 +63269,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -63173,6 +63318,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -63244,6 +63390,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -63308,6 +63455,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -63459,10 +63607,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment edited event */ "webhook-pull-request-review-comment-edited": { @@ -63554,6 +63703,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -63590,6 +63740,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -63642,6 +63793,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -63865,6 +64017,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63925,7 +64078,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -63974,6 +64127,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -64202,6 +64356,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -64262,7 +64417,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -64311,6 +64466,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -64382,6 +64538,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -64446,6 +64603,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -64595,12 +64753,13 @@ export interface components { subscriptions_url?: string; /** @enum {string} */ type?: "Bot" | "User" | "Organization" | "Mannequin"; + user_view_type?: string; /** Format: uri */ url?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review dismissed event */ "webhook-pull-request-review-dismissed": { @@ -64691,6 +64850,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -64779,6 +64939,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -65002,6 +65163,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -65062,7 +65224,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -65111,6 +65273,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -65339,6 +65502,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -65399,7 +65563,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -65448,6 +65612,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -65519,6 +65684,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -65583,6 +65749,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -65734,6 +65901,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -65809,9 +65977,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review edited event */ "webhook-pull-request-review-edited": { @@ -65908,6 +66077,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -65996,6 +66166,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -66197,6 +66368,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -66282,6 +66454,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -66488,6 +66661,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -66573,6 +66747,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -66644,6 +66819,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -66708,6 +66884,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -66859,11 +67036,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request review_request_removed event */ "webhook-pull-request-review-request-removed": { @@ -66957,6 +67135,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -66993,6 +67172,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -67045,6 +67225,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -67268,6 +67449,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67321,7 +67503,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -67370,6 +67552,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -67605,6 +67788,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67665,7 +67849,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -67714,6 +67898,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -67781,6 +67966,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -67828,6 +68014,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -67894,6 +68081,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -68051,6 +68239,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -68090,8 +68279,9 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ action: "review_request_removed"; @@ -68183,6 +68373,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -68219,6 +68410,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -68271,6 +68463,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -68494,6 +68687,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -68554,7 +68748,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -68603,6 +68797,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -68838,6 +69033,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -68898,7 +69094,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -68947,6 +69143,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -69014,6 +69211,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -69061,6 +69259,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -69127,6 +69326,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -69284,6 +69484,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -69342,7 +69543,7 @@ export interface components { */ url: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request review_requested event */ "webhook-pull-request-review-requested": { @@ -69436,6 +69637,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -69472,6 +69674,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -69524,6 +69727,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -69747,6 +69951,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -69807,7 +70012,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -69856,6 +70061,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -70091,6 +70297,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -70151,7 +70358,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -70200,6 +70407,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -70267,6 +70475,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -70314,6 +70523,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -70380,6 +70590,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -70537,6 +70748,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -70576,8 +70788,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ action: "review_requested"; @@ -70669,6 +70882,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -70705,6 +70919,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -70757,6 +70972,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -70980,6 +71196,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71040,7 +71257,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -71089,6 +71306,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -71324,6 +71542,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71384,7 +71603,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -71433,6 +71652,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -71500,6 +71720,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -71547,6 +71768,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -71613,6 +71835,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -71770,6 +71993,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -71828,7 +72052,7 @@ export interface components { */ url?: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { @@ -71919,6 +72143,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -72007,6 +72232,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -72230,6 +72456,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -72290,7 +72517,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -72339,6 +72566,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -72567,6 +72795,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -72627,7 +72856,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -72676,6 +72905,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -72747,6 +72977,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -72811,6 +73042,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -72962,11 +73194,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_thread resolved event */ "webhook-pull-request-review-thread-resolved": { @@ -73057,6 +73290,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -73145,6 +73379,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -73351,6 +73586,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73438,6 +73674,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -73649,6 +73886,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73736,6 +73974,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -73807,6 +74046,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -73871,6 +74111,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -74022,10 +74263,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -74167,6 +74409,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -74261,6 +74504,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -74349,6 +74593,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -74555,6 +74800,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -74642,6 +74888,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -74853,6 +75100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -74940,6 +75188,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -75011,6 +75260,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -75075,6 +75325,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -75226,10 +75477,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -75371,6 +75623,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -75469,6 +75722,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -75557,6 +75811,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -75780,6 +76035,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -75840,7 +76096,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -75889,6 +76145,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -76117,6 +76374,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -76177,7 +76435,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -76226,6 +76484,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -76293,6 +76552,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -76340,6 +76600,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -76406,6 +76667,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -76563,10 +76825,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unassigned event */ "webhook-pull-request-unassigned": { @@ -76660,6 +76923,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -76748,6 +77012,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -76971,6 +77236,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -77031,7 +77297,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -77080,6 +77346,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -77315,6 +77582,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -77375,7 +77643,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -77424,6 +77692,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -77491,6 +77760,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -77538,6 +77808,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -77604,6 +77875,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -77761,10 +78033,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request unlabeled event */ "webhook-pull-request-unlabeled": { @@ -77858,6 +78131,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -77946,6 +78220,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -78169,6 +78444,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -78229,7 +78505,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -78278,6 +78554,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -78506,6 +78783,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -78566,7 +78844,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -78615,6 +78893,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -78682,6 +78961,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -78729,6 +79009,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -78795,6 +79076,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -78952,10 +79234,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unlocked event */ "webhook-pull-request-unlocked": { @@ -79048,6 +79331,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -79136,6 +79420,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -79359,6 +79644,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -79419,7 +79705,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -79468,6 +79754,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -79703,6 +79990,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -79763,7 +80051,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -79812,6 +80100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -79879,6 +80168,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -79926,6 +80216,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -79992,6 +80283,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -80149,10 +80441,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** push event */ "webhook-push": { @@ -80489,6 +80782,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -80538,7 +80832,7 @@ export interface components { /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-registry-package-published": { /** @enum {string} */ @@ -80573,6 +80867,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -80595,12 +80890,13 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body?: string | Record; body_html?: string; container_metadata?: { - labels?: Record; - manifest?: Record; + labels?: Record | null; + manifest?: Record | null; tag?: { digest?: string; name?: string; @@ -80704,6 +81000,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; created_at?: string; draft?: boolean; @@ -80734,7 +81031,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-registry-package-updated": { /** @enum {string} */ @@ -80769,6 +81066,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -80791,6 +81089,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body: string; body_html: string; @@ -80843,6 +81142,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; created_at: string; draft: boolean; @@ -80863,11 +81163,11 @@ export interface components { updated_at: string; version: string; }; - registry: Record; + registry: Record | null; updated_at: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release created event */ "webhook-release-created": { @@ -80878,7 +81178,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release deleted event */ "webhook-release-deleted": { @@ -80889,7 +81189,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release edited event */ "webhook-release-edited": { @@ -80914,7 +81214,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release prereleased event */ "webhook-release-prereleased": { @@ -81026,6 +81326,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -81074,7 +81375,7 @@ export interface components { zipball_url: string | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release published event */ "webhook-release-published": { @@ -81085,7 +81386,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release released event */ "webhook-release-released": { @@ -81096,7 +81397,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release unpublished event */ "webhook-release-unpublished": { @@ -81107,7 +81408,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory published event */ "webhook-repository-advisory-published": { @@ -81118,7 +81419,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory reported event */ "webhook-repository-advisory-reported": { @@ -81129,7 +81430,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** repository archived event */ "webhook-repository-archived": { @@ -81139,7 +81440,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository created event */ "webhook-repository-created": { @@ -81149,7 +81450,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository deleted event */ "webhook-repository-deleted": { @@ -81159,7 +81460,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_dispatch event */ "webhook-repository-dispatch-sample": { @@ -81174,7 +81475,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository edited event */ "webhook-repository-edited": { @@ -81198,7 +81499,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_import event */ "webhook-repository-import": { @@ -81206,7 +81507,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @enum {string} */ status: "success" | "cancelled" | "failure"; }; @@ -81218,7 +81519,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository publicized event */ "webhook-repository-publicized": { @@ -81228,7 +81529,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository renamed event */ "webhook-repository-renamed": { @@ -81245,7 +81546,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset created event */ "webhook-repository-ruleset-created": { @@ -81256,7 +81557,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset deleted event */ "webhook-repository-ruleset-deleted": { @@ -81267,7 +81568,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset edited event */ "webhook-repository-ruleset-edited": { @@ -81325,7 +81626,7 @@ export interface components { }[]; }; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository transferred event */ "webhook-repository-transferred": { @@ -81396,6 +81697,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; }; @@ -81404,7 +81706,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository unarchived event */ "webhook-repository-unarchived": { @@ -81414,7 +81716,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert create event */ "webhook-repository-vulnerability-alert-create": { @@ -81425,7 +81727,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert dismiss event */ "webhook-repository-vulnerability-alert-dismiss": { @@ -81478,6 +81780,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; external_identifier: string; /** Format: uri */ @@ -81498,7 +81801,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert reopen event */ "webhook-repository-vulnerability-alert-reopen": { @@ -81509,7 +81812,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert resolve event */ "webhook-repository-vulnerability-alert-resolve": { @@ -81581,7 +81884,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** secret_scanning_alert created event */ "webhook-secret-scanning-alert-created": { @@ -81592,7 +81895,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created": { @@ -81603,13 +81906,24 @@ export interface components { location: components["schemas"]["secret-scanning-location"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created-form-encoded": { /** @description A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object. */ payload: string; }; + /** secret_scanning_alert publicly leaked event */ + "webhook-secret-scanning-alert-publicly-leaked": { + /** @enum {string} */ + action: "publicly_leaked"; + alert: components["schemas"]["secret-scanning-alert-webhook"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; /** secret_scanning_alert reopened event */ "webhook-secret-scanning-alert-reopened": { /** @enum {string} */ @@ -81619,7 +81933,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert resolved event */ "webhook-secret-scanning-alert-resolved": { @@ -81630,7 +81944,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert validated event */ "webhook-secret-scanning-alert-validated": { @@ -81641,7 +81955,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory published event */ "webhook-security-advisory-published": { @@ -81652,7 +81966,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory updated event */ "webhook-security-advisory-updated": { @@ -81663,7 +81977,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory withdrawn event */ "webhook-security-advisory-withdrawn": { @@ -81711,7 +82025,7 @@ export interface components { }[]; withdrawn_at: string; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_and_analysis event */ "webhook-security-and-analysis": { @@ -81724,7 +82038,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["full-repository"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sponsorship cancelled event */ "webhook-sponsorship-cancelled": { @@ -81734,7 +82048,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship created event */ @@ -81745,7 +82059,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship edited event */ @@ -81762,7 +82076,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_cancellation event */ @@ -81774,7 +82088,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_tier_change event */ @@ -81787,7 +82101,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship tier_changed event */ @@ -81799,7 +82113,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** star created event */ @@ -81810,7 +82124,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + 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: string | null; }; @@ -81822,7 +82136,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + 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: unknown; }; @@ -81986,7 +82300,7 @@ export interface components { name: string; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @description The Commit SHA. */ sha: string; /** @@ -82012,7 +82326,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** parent issue removed event */ "webhook-sub-issues-parent-issue-removed": { @@ -82028,7 +82342,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sub-issue added event */ "webhook-sub-issues-sub-issue-added": { @@ -82044,7 +82358,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sub-issue removed event */ "webhook-sub-issues-sub-issue-removed": { @@ -82060,7 +82374,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** team_add event */ "webhook-team-add": { @@ -82068,7 +82382,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team added_to_repository event */ @@ -82273,6 +82587,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82320,7 +82635,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team created event */ @@ -82525,6 +82840,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82572,7 +82888,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team deleted event */ @@ -82777,6 +83093,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82824,7 +83141,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team edited event */ @@ -83060,6 +83377,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83107,7 +83425,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team removed_from_repository event */ @@ -83312,6 +83630,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83359,7 +83678,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** watch started event */ @@ -83370,7 +83689,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** workflow_dispatch event */ "webhook-workflow-dispatch": { @@ -83382,7 +83701,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: string; }; /** workflow_job completed event */ @@ -83393,7 +83712,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83470,7 +83789,7 @@ export interface components { head_branch?: string | null; /** @description The name of the workflow. */ workflow_name?: string | null; - steps?: Record[]; + steps?: (Record | null)[]; url?: string; }; deployment?: components["schemas"]["deployment"]; @@ -83483,7 +83802,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83581,7 +83900,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83635,7 +83954,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83689,7 +84008,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -83729,6 +84048,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -83879,6 +84199,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84051,6 +84372,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84119,6 +84441,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -84142,7 +84465,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -84590,7 +84913,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -84630,6 +84953,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -84780,6 +85104,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84952,6 +85277,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -85020,6 +85346,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -85361,6 +85688,10 @@ export interface components { "secret-scanning-alert-sort": "created" | "updated"; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ "secret-scanning-alert-validity": string; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + "secret-scanning-alert-publicly-leaked": boolean; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + "secret-scanning-alert-multi-repo": boolean; /** @description The slug of the team name. */ "team-slug": string; /** @description The unique identifier of the gist. */ @@ -85393,6 +85724,10 @@ export interface components { org: string; /** @description The unique identifier of the repository. */ "repository-id": number; + /** @description Only return runner groups that are allowed to be used by this repository. */ + "visible-to-repository": string; + /** @description Unique identifier of the self-hosted runner group. */ + "runner-group-id": number; /** @description Unique identifier of the self-hosted runner. */ "runner-id": number; /** @description The name of a self-hosted runner's custom label. */ @@ -85448,8 +85783,13 @@ export interface components { "personal-access-token-after": string; /** @description The unique identifier of the fine-grained personal access token. */ "fine-grained-personal-access-token-id": number; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ "custom-property-name": string; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + "ruleset-targets": string; /** @description The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned. */ "ref-in-query": string; /** @description The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned. */ @@ -85542,6 +85882,8 @@ export interface components { status: "queued" | "in_progress" | "completed"; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ "git-ref": components["schemas"]["code-scanning-ref"]; + /** @description The number of the pull request for the results you want to list. */ + "pr-alias": number; /** @description The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ "alert-number": components["schemas"]["alert-number"]; /** @description The SHA of the commit. */ @@ -85671,7 +86013,7 @@ export type SchemaSimpleClassroomAssignment = components['schemas']['simple-clas export type SchemaClassroomAcceptedAssignment = components['schemas']['classroom-accepted-assignment']; export type SchemaClassroomAssignmentGrade = components['schemas']['classroom-assignment-grade']; export type SchemaCodeOfConduct = components['schemas']['code-of-conduct']; -export type SchemaOrganizationSimple = components['schemas']['organization-simple']; +export type SchemaNullableOrganizationSimple = components['schemas']['nullable-organization-simple']; export type SchemaNullableTeamSimple = components['schemas']['nullable-team-simple']; export type SchemaTeam = components['schemas']['team']; export type SchemaEnterpriseTeam = components['schemas']['enterprise-team']; @@ -85720,6 +86062,7 @@ export type SchemaSecurityAndAnalysis = components['schemas']['security-and-anal export type SchemaMinimalRepository = components['schemas']['minimal-repository']; export type SchemaThread = components['schemas']['thread']; export type SchemaThreadSubscription = components['schemas']['thread-subscription']; +export type SchemaOrganizationSimple = components['schemas']['organization-simple']; export type SchemaOrganizationFull = components['schemas']['organization-full']; export type SchemaActionsCacheUsageOrgEnterprise = components['schemas']['actions-cache-usage-org-enterprise']; export type SchemaActionsCacheUsageByRepository = components['schemas']['actions-cache-usage-by-repository']; @@ -85734,6 +86077,7 @@ export type SchemaActionsDefaultWorkflowPermissions = components['schemas']['act export type SchemaActionsCanApprovePullRequestReviews = components['schemas']['actions-can-approve-pull-request-reviews']; export type SchemaActionsGetDefaultWorkflowPermissions = components['schemas']['actions-get-default-workflow-permissions']; export type SchemaActionsSetDefaultWorkflowPermissions = components['schemas']['actions-set-default-workflow-permissions']; +export type SchemaRunnerGroupsOrg = components['schemas']['runner-groups-org']; export type SchemaRunnerLabel = components['schemas']['runner-label']; export type SchemaRunner = components['schemas']['runner']; export type SchemaRunnerApplication = components['schemas']['runner-application']; @@ -86096,7 +86440,6 @@ export type SchemaEnterpriseWebhooks = components['schemas']['enterprise-webhook export type SchemaSimpleInstallation = components['schemas']['simple-installation']; export type SchemaOrganizationSimpleWebhooks = components['schemas']['organization-simple-webhooks']; export type SchemaRepositoryWebhooks = components['schemas']['repository-webhooks']; -export type SchemaSimpleUserWebhooks = components['schemas']['simple-user-webhooks']; export type SchemaWebhooksRule = components['schemas']['webhooks_rule']; export type SchemaSimpleCheckSuite = components['schemas']['simple-check-suite']; export type SchemaCheckRunWithSimpleCheckSuite = components['schemas']['check-run-with-simple-check-suite']; @@ -86379,6 +86722,7 @@ export type SchemaWebhookRepositoryVulnerabilityAlertResolve = components['schem export type SchemaWebhookSecretScanningAlertCreated = components['schemas']['webhook-secret-scanning-alert-created']; export type SchemaWebhookSecretScanningAlertLocationCreated = components['schemas']['webhook-secret-scanning-alert-location-created']; export type SchemaWebhookSecretScanningAlertLocationCreatedFormEncoded = components['schemas']['webhook-secret-scanning-alert-location-created-form-encoded']; +export type SchemaWebhookSecretScanningAlertPubliclyLeaked = components['schemas']['webhook-secret-scanning-alert-publicly-leaked']; export type SchemaWebhookSecretScanningAlertReopened = components['schemas']['webhook-secret-scanning-alert-reopened']; export type SchemaWebhookSecretScanningAlertResolved = components['schemas']['webhook-secret-scanning-alert-resolved']; export type SchemaWebhookSecretScanningAlertValidated = components['schemas']['webhook-secret-scanning-alert-validated']; @@ -86469,6 +86813,8 @@ export type ParameterSecretScanningAlertSecretType = components['parameters']['s export type ParameterSecretScanningAlertResolution = components['parameters']['secret-scanning-alert-resolution']; export type ParameterSecretScanningAlertSort = components['parameters']['secret-scanning-alert-sort']; export type ParameterSecretScanningAlertValidity = components['parameters']['secret-scanning-alert-validity']; +export type ParameterSecretScanningAlertPubliclyLeaked = components['parameters']['secret-scanning-alert-publicly-leaked']; +export type ParameterSecretScanningAlertMultiRepo = components['parameters']['secret-scanning-alert-multi-repo']; export type ParameterTeamSlug = components['parameters']['team-slug']; export type ParameterGistId = components['parameters']['gist-id']; export type ParameterCommentId = components['parameters']['comment-id']; @@ -86485,6 +86831,8 @@ export type ParameterThreadId = components['parameters']['thread-id']; export type ParameterSinceOrg = components['parameters']['since-org']; export type ParameterOrg = components['parameters']['org']; export type ParameterRepositoryId = components['parameters']['repository-id']; +export type ParameterVisibleToRepository = components['parameters']['visible-to-repository']; +export type ParameterRunnerGroupId = components['parameters']['runner-group-id']; export type ParameterRunnerId = components['parameters']['runner-id']; export type ParameterRunnerLabelName = components['parameters']['runner-label-name']; export type ParameterSecretName = components['parameters']['secret-name']; @@ -86512,6 +86860,7 @@ export type ParameterPersonalAccessTokenBefore = components['parameters']['perso export type ParameterPersonalAccessTokenAfter = components['parameters']['personal-access-token-after']; export type ParameterFineGrainedPersonalAccessTokenId = components['parameters']['fine-grained-personal-access-token-id']; export type ParameterCustomPropertyName = components['parameters']['custom-property-name']; +export type ParameterRulesetTargets = components['parameters']['ruleset-targets']; export type ParameterRefInQuery = components['parameters']['ref-in-query']; export type ParameterRepositoryNameInQuery = components['parameters']['repository-name-in-query']; export type ParameterTimePeriod = components['parameters']['time-period']; @@ -86554,6 +86903,7 @@ export type ParameterCheckSuiteId = components['parameters']['check-suite-id']; export type ParameterCheckName = components['parameters']['check-name']; export type ParameterStatus = components['parameters']['status']; export type ParameterGitRef = components['parameters']['git-ref']; +export type ParameterPrAlias = components['parameters']['pr-alias']; export type ParameterAlertNumber = components['parameters']['alert-number']; export type ParameterCommitSha = components['parameters']['commit-sha']; export type ParameterCommitRef = components['parameters']['commit-ref']; @@ -87301,7 +87651,7 @@ export interface operations { 404: components["responses"]["not_found"]; }; }; - "classroom/list-accepted-assigments-for-an-assignment": { + "classroom/list-accepted-assignments-for-an-assignment": { parameters: { query?: { /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -87658,6 +88008,10 @@ export interface operations { after?: components["parameters"]["pagination-after"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -89263,7 +89617,7 @@ export interface operations { members_can_create_public_repositories?: boolean; /** * @description Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. + * **Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. * @enum {string} */ members_allowed_repository_creation_type?: "all" | "private" | "none"; @@ -89296,7 +89650,7 @@ export interface operations { blog?: string; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. * @@ -89307,7 +89661,7 @@ export interface operations { advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -89318,7 +89672,7 @@ export interface operations { dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -89329,7 +89683,7 @@ export interface operations { dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -89340,7 +89694,7 @@ export interface operations { dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -89351,7 +89705,7 @@ export interface operations { secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -89749,6 +90103,415 @@ export interface operations { }; }; }; + "actions/list-self-hosted-runner-groups-for-org": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + /** @description Only return runner groups that are allowed to be used by this repository. */ + visible_to_repository?: components["parameters"]["visible-to-repository"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + runner_groups: components["schemas"]["runner-groups-org"][]; + }; + }; + }; + }; + }; + "actions/create-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. + * @default all + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids?: number[]; + /** @description List of runner IDs to add to the runner group. */ + runners?: number[]; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/get-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/delete-self-hosted-runner-group-from-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/update-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/list-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: { + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + repositories: components["schemas"]["minimal-repository"][]; + }; + }; + }; + }; + }; + "actions/set-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/add-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + repository_id: components["parameters"]["repository-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/remove-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + repository_id: components["parameters"]["repository-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/list-self-hosted-runners-in-group-for-org": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + Link: components["headers"]["link"]; + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + runners: components["schemas"]["runner"][]; + }; + }; + }; + }; + }; + "actions/set-self-hosted-runners-in-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description List of runner IDs to add to the runner group. */ + runners: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/add-self-hosted-runner-to-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + runner_id: components["parameters"]["runner-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/remove-self-hosted-runner-from-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + runner_id: components["parameters"]["runner-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; "actions/list-self-hosted-runners-for-org": { parameters: { query?: { @@ -90923,6 +91686,25 @@ export interface operations { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @default disabled + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @default disabled @@ -91127,6 +91909,24 @@ export interface operations { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -94766,7 +95566,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -94793,7 +95593,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -94840,7 +95640,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -95152,7 +95952,7 @@ export interface operations { delete_branch_on_merge?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -95224,6 +96024,11 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ page?: components["parameters"]["page"]; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + targets?: components["parameters"]["ruleset-targets"]; }; header?: never; path: { @@ -95487,6 +96292,10 @@ export interface operations { after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -95797,7 +96606,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -95907,7 +96716,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -97918,6 +98727,11 @@ export interface operations { /** @description Can be `enabled` or `disabled`. */ status?: string; }; + /** @description Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." */ + secret_scanning_ai_detection?: { + /** @description Can be `enabled` or `disabled`. */ + status?: string; + }; /** @description Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." */ secret_scanning_non_provider_patterns?: { /** @description Can be `enabled` or `disabled`. */ @@ -97978,7 +98792,7 @@ export interface operations { allow_update_branch?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -100760,7 +101574,7 @@ export interface operations { strict: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -101229,7 +102043,7 @@ export interface operations { strict?: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts?: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -101488,12 +102302,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -101523,12 +102337,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -101558,12 +102372,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -101754,12 +102568,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -101789,12 +102603,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -101824,12 +102638,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -102419,8 +103233,14 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; /** @description The direction to sort the results by. */ direction?: components["parameters"]["direction"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + before?: components["parameters"]["pagination-before"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + after?: components["parameters"]["pagination-after"]; /** @description The property by which to sort the results. */ sort?: "created" | "updated"; /** @description If specified, only code scanning alerts with this state will be returned. */ @@ -102532,6 +103352,8 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; }; header?: never; path: { @@ -102571,6 +103393,8 @@ export interface operations { page?: components["parameters"]["page"]; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ per_page?: components["parameters"]["per-page"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; /** @description The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["schemas"]["code-scanning-ref"]; /** @description Filter analyses belonging to the same SARIF upload. */ @@ -103137,7 +103961,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -104030,7 +104854,7 @@ export interface operations { path?: string; /** @description Line index in the diff to comment on. */ position?: number; - /** @description **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. */ + /** @description **Closing down notice**. Use **position** parameter instead. Line number in the file to comment on. */ line?: number; }; }; @@ -104575,7 +105399,7 @@ export interface operations { direction?: components["parameters"]["direction"]; /** * @deprecated - * @description **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. + * @description **Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. */ page?: number; /** @@ -105286,7 +106110,7 @@ export interface operations { "application/json": { /** @description A custom webhook event name. Must be 100 characters or fewer. */ event_type: string; - /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. */ + /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. */ client_payload?: { [key: string]: unknown; }; @@ -107701,7 +108525,7 @@ export interface operations { title: string | number; /** @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.**_ */ + /** @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 closing down.**_ */ assignee?: string | null; milestone?: (string | number) | null; /** @description Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ */ @@ -108086,7 +108910,7 @@ export interface operations { title?: (string | number) | null; /** @description The contents of the issue. */ body?: string | null; - /** @description Username to assign to this issue. **This field is deprecated.** */ + /** @description Username to assign to this issue. **This field is closing down.** */ assignee?: string | null; /** * @description The open or closed state of the issue. @@ -110530,7 +111354,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -110642,7 +111466,7 @@ export interface operations { path: string; /** * @deprecated - * @description **This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. + * @description **This parameter is closing down. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. */ position?: number; /** @@ -112057,6 +112881,11 @@ export interface operations { page?: components["parameters"]["page"]; /** @description Include rulesets configured at higher levels that apply to this repository */ includes_parents?: boolean; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + targets?: components["parameters"]["ruleset-targets"]; }; header?: never; path: { @@ -112335,6 +113164,10 @@ export interface operations { after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -113697,12 +114530,12 @@ export interface operations { q: string; /** * @deprecated - * @description **This field is deprecated.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) + * @description **This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) */ sort?: "indexed"; /** * @deprecated - * @description **This field is deprecated.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. + * @description **This field is closing down.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ order?: "desc" | "asc"; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -114041,7 +114874,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -115333,7 +116166,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -115364,7 +116197,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; diff --git a/packages/openapi-typescript/examples/github-api.ts b/packages/openapi-typescript/examples/github-api.ts index 9f2016e9e..d22496238 100644 --- a/packages/openapi-typescript/examples/github-api.ts +++ b/packages/openapi-typescript/examples/github-api.ts @@ -453,7 +453,7 @@ export interface paths { * List accepted assignments for an assignment * @description Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. */ - get: operations["classroom/list-accepted-assigments-for-an-assignment"]; + get: operations["classroom/list-accepted-assignments-for-an-assignment"]; put?: never; post?: never; delete?: never; @@ -612,7 +612,7 @@ export interface paths { /** * List all Copilot seat assignments for an enterprise * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. * @@ -643,7 +643,7 @@ export interface paths { /** * Get a summary of Copilot usage for enterprise members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, @@ -728,7 +728,7 @@ export interface paths { /** * Get a summary of Copilot usage for an enterprise team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -1609,10 +1609,10 @@ export interface paths { /** * Update an organization * @description > [!WARNING] - * > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). + * > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). * * > [!WARNING] - * > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). + * > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). * * Updates the organization's profile and member privileges. * @@ -1842,6 +1842,180 @@ export interface paths { patch?: never; trace?: never; }; + "/orgs/{org}/actions/runner-groups": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List self-hosted runner groups for an organization + * @description Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runner-groups-for-org"]; + put?: never; + /** + * Create a self-hosted runner group for an organization + * @description Creates a new self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + post: operations["actions/create-self-hosted-runner-group-for-org"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get a self-hosted runner group for an organization + * @description Gets a specific self-hosted runner group for an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/get-self-hosted-runner-group-for-org"]; + put?: never; + post?: never; + /** + * Delete a self-hosted runner group from an organization + * @description Deletes a self-hosted runner group for an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/delete-self-hosted-runner-group-from-org"]; + options?: never; + head?: never; + /** + * Update a self-hosted runner group for an organization + * @description Updates the `name` and `visibility` of a self-hosted runner group in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + patch: operations["actions/update-self-hosted-runner-group-for-org"]; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List repository access to a self-hosted runner group in an organization + * @description Lists the repositories with access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-repo-access-to-self-hosted-runner-group-in-org"]; + /** + * Set repository access for a self-hosted runner group in an organization + * @description Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-repo-access-to-self-hosted-runner-group-in-org"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Add repository access to a self-hosted runner group in an organization + * @description Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-repo-access-to-self-hosted-runner-group-in-org"]; + post?: never; + /** + * Remove repository access to a self-hosted runner group in an organization + * @description Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-repo-access-to-self-hosted-runner-group-in-org"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List self-hosted runners in a group for an organization + * @description Lists self-hosted runners that are in a specific organization group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + get: operations["actions/list-self-hosted-runners-in-group-for-org"]; + /** + * Set self-hosted runners in a group for an organization + * @description Replaces the list of self-hosted runners that are part of an organization runner group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/set-self-hosted-runners-in-group-for-org"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Add a self-hosted runner to a group for an organization + * @description Adds a self-hosted runner to a runner group configured in an organization. + * + * OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + put: operations["actions/add-self-hosted-runner-to-group-for-org"]; + post?: never; + /** + * Remove a self-hosted runner from a group for an organization + * @description Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + * + * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + */ + delete: operations["actions/remove-self-hosted-runner-from-group-for-org"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/orgs/{org}/actions/runners": { parameters: { query?: never; @@ -2912,7 +3086,7 @@ export interface paths { /** * Get Copilot seat information and settings for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets information about an organization's Copilot subscription, including seat breakdown * and feature policies. To configure these settings, go to your organization's settings on GitHub.com. @@ -2941,7 +3115,7 @@ export interface paths { /** * List all Copilot seat assignments for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. * Only organization owners can view assigned seats. @@ -2969,7 +3143,7 @@ export interface paths { /** * Add teams to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for all users within each specified team. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -2988,7 +3162,7 @@ export interface paths { /** * Remove teams from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for all members of each team specified. * This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3019,7 +3193,7 @@ export interface paths { /** * Add users to the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Purchases a GitHub Copilot seat for each user specified. * The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -3038,7 +3212,7 @@ export interface paths { /** * Remove users from the Copilot subscription for an organization * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Cancels the Copilot seat assignment for each user specified. * This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -3067,7 +3241,7 @@ export interface paths { /** * Get a summary of Copilot usage for organization members * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -3831,7 +4005,7 @@ export interface paths { /** * Get Copilot seat assignment details for a user * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. * @@ -5051,7 +5225,7 @@ export interface paths { /** * Get a summary of Copilot usage for a team * @description > [!NOTE] - * > This endpoint is in beta and is subject to change. + * > This endpoint is in public preview and is subject to change. * * You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE * for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -5689,7 +5863,7 @@ export interface paths { * Enable or disable a security feature for an organization * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + * > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). * * Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." * @@ -5949,7 +6123,7 @@ export interface paths { * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." * * > [!NOTE] - * > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + * > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. */ get: operations["rate-limit/get"]; put?: never; @@ -8355,7 +8529,7 @@ export interface paths { * and `0` is returned in this field. * * > [!WARNING] - * > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + * > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. * * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. */ @@ -8894,8 +9068,6 @@ export interface paths { * @description Gets your public key, which you need to encrypt secrets. You need to * encrypt a secret before you can create or update secrets. * - * Anyone with read access to the repository can use this endpoint. - * * If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. */ get: operations["codespaces/get-repo-public-key"]; @@ -11038,7 +11210,7 @@ export interface paths { * @description View the progress of an import. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). * * **Import status** * @@ -11082,7 +11254,7 @@ export interface paths { * return a status `422 Unprocessable Entity` response. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ put: operations["migrations/start-import"]; post?: never; @@ -11092,7 +11264,7 @@ export interface paths { * @description Stop an import for a repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ delete: operations["migrations/cancel-import"]; options?: never; @@ -11108,7 +11280,7 @@ export interface paths { * You can select the project to import by providing one of the objects in the `project_choices` array in the update request. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/update-import"]; trace?: never; @@ -11128,7 +11300,7 @@ export interface paths { * This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-commit-authors"]; put?: never; @@ -11159,7 +11331,7 @@ export interface paths { * new commits to the repository. * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/map-commit-author"]; trace?: never; @@ -11177,7 +11349,7 @@ export interface paths { * @description List files larger than 100MB found during the import * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ get: operations["migrations/get-large-files"]; put?: never; @@ -11211,7 +11383,7 @@ export interface paths { * site](https://docs.github.com/repositories/working-with-files/managing-large-files). * * > [!WARNING] - * > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + * > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). */ patch: operations["migrations/set-lfs-preference"]; trace?: never; @@ -11540,7 +11712,7 @@ export interface paths { head?: never; /** * Update an issue - * @description Issue owners and users with push access can edit an issue. + * @description Issue owners and users with push access or Triage role can edit an issue. * * This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * @@ -12638,7 +12810,7 @@ export interface paths { * * If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. * - * The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + * The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. * * This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -12991,6 +13163,7 @@ export interface paths { /** * Update a pull request branch * @description Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + * Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. */ put: operations["pulls/update-branch"]; post?: never; @@ -13885,10 +14058,10 @@ export interface paths { cookie?: never; }; /** - * Deprecated - List tag protection states for a repository + * Closing down - List tag protection states for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. * * This returns the tag protection states of a repository. * @@ -13897,10 +14070,10 @@ export interface paths { get: operations["repos/list-tag-protection"]; put?: never; /** - * Deprecated - Create a tag protection state for a repository + * Closing down - Create a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. * * This creates a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -13923,10 +14096,10 @@ export interface paths { put?: never; post?: never; /** - * Deprecated - Delete a tag protection state for a repository + * Closing down - Delete a tag protection state for a repository * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + * > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. * * This deletes a tag protection state for a repository. * This endpoint is only available to repository administrators. @@ -14428,7 +14601,7 @@ export interface paths { * Get a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. */ get: operations["teams/get-legacy"]; put?: never; @@ -14437,7 +14610,7 @@ export interface paths { * Delete a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. * * To delete a team, the authenticated user must be an organization owner or team maintainer. * @@ -14450,7 +14623,7 @@ export interface paths { * Update a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. * * To edit a team, the authenticated user must either be an organization owner or a team maintainer. * @@ -14471,7 +14644,7 @@ export interface paths { * List discussions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. * * List all discussions on a team's page. * @@ -14483,7 +14656,7 @@ export interface paths { * Create a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. * * Creates a new discussion post on a team's page. * @@ -14509,7 +14682,7 @@ export interface paths { * Get a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. * * Get a specific discussion on a team's page. * @@ -14522,7 +14695,7 @@ export interface paths { * Delete a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. * * Delete a discussion from a team's page. * @@ -14535,7 +14708,7 @@ export interface paths { * Update a discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. * * Edits the title and body text of a discussion post. Only the parameters you provide are updated. * @@ -14555,7 +14728,7 @@ export interface paths { * List discussion comments (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. * * List all comments on a team discussion. * @@ -14567,7 +14740,7 @@ export interface paths { * Create a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. * * Creates a new comment on a team discussion. * @@ -14593,7 +14766,7 @@ export interface paths { * Get a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. * * Get a specific comment on a team discussion. * @@ -14606,7 +14779,7 @@ export interface paths { * Delete a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. * * Deletes a comment on a team discussion. * @@ -14619,7 +14792,7 @@ export interface paths { * Update a discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. * * Edits the body text of a discussion comment. * @@ -14639,7 +14812,7 @@ export interface paths { * List reactions for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. * * List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14651,7 +14824,7 @@ export interface paths { * Create reaction for a team discussion comment (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. * * Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). * @@ -14677,7 +14850,7 @@ export interface paths { * List reactions for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. * * List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14689,7 +14862,7 @@ export interface paths { * Create reaction for a team discussion (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. * * Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). * @@ -14715,7 +14888,7 @@ export interface paths { * List pending team invitations (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. * * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. */ @@ -14739,7 +14912,7 @@ export interface paths { * List team members (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. * * Team members will include the members of child teams. */ @@ -14762,7 +14935,7 @@ export interface paths { /** * Get team member (Legacy) * @deprecated - * @description The "Get team member" endpoint (described below) is deprecated. + * @description The "Get team member" endpoint (described below) is closing down. * * We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. * @@ -14772,7 +14945,7 @@ export interface paths { /** * Add team member (Legacy) * @deprecated - * @description The "Add team member" endpoint (described below) is deprecated. + * @description The "Add team member" endpoint (described below) is closing down. * * We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. * @@ -14790,7 +14963,7 @@ export interface paths { /** * Remove team member (Legacy) * @deprecated - * @description The "Remove team member" endpoint (described below) is deprecated. + * @description The "Remove team member" endpoint (described below) is closing down. * * We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. * @@ -14818,7 +14991,7 @@ export interface paths { * Get team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. * * Team members will include the members of child teams. * @@ -14834,7 +15007,7 @@ export interface paths { * Add or update team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14853,7 +15026,7 @@ export interface paths { * Remove team membership for a user (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. * * Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. * @@ -14879,7 +15052,7 @@ export interface paths { * List team projects (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. * * Lists the organization projects for a team. */ @@ -14903,7 +15076,7 @@ export interface paths { * Check team permissions for a project (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. * * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. */ @@ -14912,7 +15085,7 @@ export interface paths { * Add or update team project permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. * * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. */ @@ -14922,7 +15095,7 @@ export interface paths { * Remove a project from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. * * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. */ @@ -14943,7 +15116,7 @@ export interface paths { * List team repositories (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. */ get: operations["teams/list-repos-legacy"]; put?: never; @@ -14965,7 +15138,7 @@ export interface paths { * Check team permissions for a repository (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. * * > [!NOTE] * > Repositories inherited through a parent team will also be checked. @@ -14977,7 +15150,7 @@ export interface paths { * Add or update team repository permissions (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. * * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. * @@ -14989,7 +15162,7 @@ export interface paths { * Remove a repository from a team (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. * * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. */ @@ -15010,7 +15183,7 @@ export interface paths { * List child teams (Legacy) * @deprecated * @description > [!WARNING] - * > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + * > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. */ get: operations["teams/list-child-legacy"]; put?: never; @@ -16652,7 +16825,7 @@ export interface paths { }; /** * List events for the authenticated user - * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + * @description If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). * * > [!NOTE] * > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -17516,6 +17689,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; }; /** * @description The type of credit the user is receiving. @@ -17710,6 +17885,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; } | null; /** * GitHub app @@ -18227,7 +18404,7 @@ export interface components { */ organization_custom_properties?: "read" | "write" | "admin"; /** - * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in beta and is subject to change. + * @description The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change. * @enum {string} */ organization_copilot_seat_management?: "write"; @@ -18262,7 +18439,7 @@ export interface components { */ organization_plan?: "read"; /** - * @description The level of permission to grant the access token to manage organization projects and projects beta (where available). + * @description The level of permission to grant the access token to manage organization projects and projects public preview (where available). * @enum {string} */ organization_projects?: "read" | "write" | "admin"; @@ -18706,7 +18883,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -19290,7 +19467,7 @@ export interface components { * Organization Simple * @description A GitHub organization. */ - "organization-simple": { + "nullable-organization-simple": { /** @example github */ login: string; /** @example 1 */ @@ -19324,7 +19501,7 @@ export interface components { avatar_url: string; /** @example A great organization */ description: string | null; - }; + } | null; /** * Team Simple * @description Groups of organization members that gives permissions on specified repositories. @@ -19451,12 +19628,8 @@ export interface components { * @description Information about a Copilot Business seat assignment for a user, team, or organization. */ "copilot-seat-details": { - /** @description The assignee that has been granted access to GitHub Copilot. */ - assignee: { - [key: string]: unknown; - } & components["schemas"]["simple-user"]; - /** @description The organization to which this seat belongs. */ - organization?: components["schemas"]["organization-simple"] | null; + assignee: components["schemas"]["simple-user"]; + organization?: components["schemas"]["nullable-organization-simple"]; /** @description The team through which the assignee is granted access to GitHub Copilot, if applicable. */ assigning_team?: (components["schemas"]["team"] | components["schemas"]["enterprise-team"]) | null; /** @@ -19481,6 +19654,11 @@ export interface components { * @description Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. */ updated_at?: string; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; }; /** * Copilot Usage Metrics @@ -19991,6 +20169,10 @@ export interface components { * @enum {string} */ validity?: "active" | "inactive" | "unknown"; + /** @description Whether the secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or enterprise. */ + multi_repo?: boolean | null; }; /** * Actor @@ -20463,6 +20645,11 @@ export interface components { login: string; /** Format: int64 */ id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + user_view_type: "public"; node_id: string; /** Format: uri */ avatar_url: string; @@ -20512,8 +20699,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; /** @example 1 */ private_gists?: number; /** @example 2 */ @@ -20988,6 +21173,10 @@ export interface components { /** @enum {string} */ status?: "enabled" | "disabled"; }; + secret_scanning_ai_detection?: { + /** @enum {string} */ + status?: "enabled" | "disabled"; + }; } | null; /** * Minimal Repository @@ -21254,6 +21443,45 @@ export interface components { */ repository_url?: string; }; + /** + * Organization Simple + * @description A GitHub organization. + */ + "organization-simple": { + /** @example github */ + login: string; + /** @example 1 */ + id: number; + /** @example MDEyOk9yZ2FuaXphdGlvbjE= */ + node_id: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github + */ + url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/repos + */ + repos_url: string; + /** + * Format: uri + * @example https://api.github.com/orgs/github/events + */ + events_url: string; + /** @example https://api.github.com/orgs/github/hooks */ + hooks_url: string; + /** @example https://api.github.com/orgs/github/issues */ + issues_url: string; + /** @example https://api.github.com/orgs/github/members{/member} */ + members_url: string; + /** @example https://api.github.com/orgs/github/public_members{/member} */ + public_members_url: string; + /** @example https://github.com/images/error/octocat_happy.gif */ + avatar_url: string; + /** @example A great organization */ + description: string | null; + }; /** * Organization Full * @description Organization Full @@ -21339,7 +21567,12 @@ export interface components { private_gists?: number | null; /** @example 10000 */ disk_usage?: number | null; - /** @example 8 */ + /** + * @description The number of collaborators on private repositories. + * + * This field may be null if the number of private repositories is over 50,000. + * @example 8 + */ collaborators?: number | null; /** * Format: email @@ -21378,7 +21611,7 @@ export interface components { web_commit_signoff_required?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. * @@ -21388,7 +21621,7 @@ export interface components { advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21398,7 +21631,7 @@ export interface components { dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -21408,7 +21641,7 @@ export interface components { dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21418,7 +21651,7 @@ export interface components { dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21428,7 +21661,7 @@ export interface components { secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -21541,6 +21774,31 @@ export interface components { default_workflow_permissions?: components["schemas"]["actions-default-workflow-permissions"]; can_approve_pull_request_reviews?: components["schemas"]["actions-can-approve-pull-request-reviews"]; }; + "runner-groups-org": { + id: number; + name: string; + visibility: string; + default: boolean; + /** @description Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` */ + selected_repositories_url?: string; + runners_url: string; + hosted_runners_url?: string; + inherited: boolean; + inherited_allows_public_repositories?: boolean; + allows_public_repositories: boolean; + /** + * @description If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified. + * @default false + */ + workflow_restrictions_read_only: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; /** * Self hosted runner label * @description A label for a self hosted runner @@ -21850,7 +22108,7 @@ export interface components { * @description The type of the code security configuration. * @enum {string} */ - target_type?: "global" | "organization"; + target_type?: "global" | "organization" | "enterprise"; /** @description A description of the code security configuration */ description?: string; /** @@ -21898,6 +22156,24 @@ export interface components { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -22225,8 +22501,8 @@ export interface components { inactive_this_cycle?: number; }; /** - * Copilot Business Organization Details - * @description Information about the seat breakdown and policies set for an organization with a Copilot Business subscription. + * Copilot Organization Details + * @description Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription. */ "copilot-organization-details": { seat_breakdown: components["schemas"]["copilot-seat-breakdown"]; @@ -22255,6 +22531,11 @@ export interface components { * @enum {string} */ seat_management_setting: "assign_all" | "assign_selected" | "disabled" | "unconfigured"; + /** + * @description The Copilot plan of the organization, or the parent enterprise, when applicable. + * @enum {string} + */ + plan_type?: "business" | "enterprise" | "unknown"; } & { [key: string]: unknown; }; @@ -22933,6 +23214,8 @@ export interface components { site_admin: boolean; /** @example "2020-07-09T00:17:55Z" */ starred_at?: string; + /** @example public */ + user_view_type?: string; }; /** * Package Version @@ -23485,7 +23768,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -23893,7 +24176,8 @@ export interface components { */ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey"; /** - * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. + * @description When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets. + * @default always * @enum {string} */ bypass_mode: "always" | "pull_request"; @@ -23963,7 +24247,9 @@ export interface components { }; /** * Organization ruleset conditions - * @description Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. + * @description Conditions for an organization ruleset. + * The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + * The push rulesets conditions object does not require the `ref_name` property. */ "org-ruleset-conditions": (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-name-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-id-target"]) | (components["schemas"]["repository-ruleset-conditions"] & components["schemas"]["repository-ruleset-conditions-repository-property-target"]); /** @@ -24351,7 +24637,7 @@ export interface components { html?: { /** @description The html URL of the ruleset */ href?: string; - }; + } | null; }; conditions?: (components["schemas"]["repository-ruleset-conditions"] | components["schemas"]["org-ruleset-conditions"]) | null; rules?: components["schemas"]["repository-rule"][]; @@ -26462,6 +26748,7 @@ export interface components { received_events_url?: string; type?: string; site_admin?: boolean; + user_view_type?: string; }[]; teams: { id?: number; @@ -26517,6 +26804,8 @@ export interface components { type?: string; /** @example false */ site_admin?: boolean; + /** @example public */ + user_view_type?: string; }; name?: string; client_id?: string; @@ -27687,6 +27976,8 @@ export interface components { }; /** @example admin */ role_name: string; + /** @example public */ + user_view_type?: string; }; /** * Repository Invitation @@ -27802,6 +28093,8 @@ export interface components { }; /** @example admin */ role_name: string; + /** @example public */ + user_view_type?: string; } | null; /** * Repository Collaborator Permission @@ -28175,6 +28468,7 @@ export interface components { name: string; path: string; sha: string; + content?: string; /** Format: uri */ url: string; /** Format: uri */ @@ -28188,7 +28482,6 @@ export interface components { size: number; name: string; path: string; - content?: string; sha: string; /** Format: uri */ url: string; @@ -28250,7 +28543,10 @@ export interface components { * @description Content File */ "content-file": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "file"; encoding: string; size: number; @@ -28284,7 +28580,10 @@ export interface components { * @description An object describing a symlink */ "content-symlink": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "symlink"; target: string; size: number; @@ -28313,7 +28612,10 @@ export interface components { * @description An object describing a submodule */ "content-submodule": { - /** @enum {string} */ + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ type: "submodule"; /** Format: uri */ submodule_git_url: string; @@ -28442,6 +28744,7 @@ export interface components { contributions: number; email?: string; name?: string; + user_view_type?: string; }; /** @description A Dependabot alert. */ "dependabot-alert": { @@ -28797,7 +29100,7 @@ export interface components { environment: string; /** * Format: uri - * @description Deprecated: the URL to associate with this status. + * @description Closing down notice: the URL to associate with this status. * @default * @example https://example.com/deployment/42/output */ @@ -30159,12 +30462,12 @@ export interface components { */ path: string; /** - * @description The line index in the diff to which the comment applies. This field is deprecated; use `line` instead. + * @description The line index in the diff to which the comment applies. This field is closing down; use `line` instead. * @example 1 */ position?: number; /** - * @description The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead. + * @description The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead. * @example 4 */ original_position?: number; @@ -30824,361 +31127,16 @@ export interface components { head: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - 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: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: { - key: string; - name: string; - /** Format: uri */ - url: string | null; - spdx_id: string | null; - node_id: string; - } | null; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - is_template?: boolean; - web_commit_signoff_required?: boolean; - } | null; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - /** Format: int64 */ - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; base: { label: string; ref: string; - repo: { - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - /** Format: uri */ - contributors_url: string; - /** Format: uri */ - deployments_url: string; - description: string | null; - /** Format: uri */ - downloads_url: string; - /** Format: uri */ - events_url: string; - fork: boolean; - /** Format: uri */ - forks_url: string; - full_name: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - /** Format: uri */ - hooks_url: string; - /** Format: uri */ - html_url: string; - id: number; - is_template?: boolean; - node_id: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - /** Format: uri */ - languages_url: string; - /** Format: uri */ - merges_url: string; - milestones_url: string; - name: string; - notifications_url: string; - owner: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; - private: boolean; - pulls_url: string; - releases_url: string; - /** Format: uri */ - stargazers_url: string; - statuses_url: string; - /** Format: uri */ - subscribers_url: string; - /** Format: uri */ - subscription_url: string; - /** Format: uri */ - tags_url: string; - /** Format: uri */ - teams_url: string; - trees_url: string; - /** Format: uri */ - url: string; - clone_url: string; - default_branch: string; - forks: number; - forks_count: number; - git_url: string; - has_downloads: boolean; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_discussions: boolean; - /** Format: uri */ - 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: string | null; - open_issues: number; - open_issues_count: number; - permissions?: { - admin: boolean; - maintain?: boolean; - push: boolean; - triage?: boolean; - pull: boolean; - }; - temp_clone_token?: string; - allow_merge_commit?: boolean; - allow_squash_merge?: boolean; - allow_rebase_merge?: boolean; - license: components["schemas"]["nullable-license-simple"]; - /** Format: date-time */ - pushed_at: string; - size: number; - ssh_url: string; - stargazers_count: number; - /** Format: uri */ - svn_url: string; - topics?: string[]; - watchers: number; - watchers_count: number; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - allow_forking?: boolean; - web_commit_signoff_required?: boolean; - }; + repo: components["schemas"]["repository"]; sha: string; - user: { - /** Format: uri */ - avatar_url: string; - events_url: string; - /** Format: uri */ - followers_url: string; - following_url: string; - gists_url: string; - gravatar_id: string | null; - /** Format: uri */ - html_url: string; - /** Format: int64 */ - id: number; - node_id: string; - login: string; - /** Format: uri */ - organizations_url: string; - /** Format: uri */ - received_events_url: string; - /** Format: uri */ - repos_url: string; - site_admin: boolean; - starred_url: string; - /** Format: uri */ - subscriptions_url: string; - type: string; - /** Format: uri */ - url: string; - }; + user: components["schemas"]["simple-user"]; }; _links: { comments: components["schemas"]["link"]; @@ -31552,6 +31510,10 @@ export interface components { * @enum {string} */ validity?: "active" | "inactive" | "unknown"; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories under the same organization or enterprise. */ + multi_repo?: boolean | 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": string | null; @@ -32446,6 +32408,7 @@ export interface components { company?: string | null; /** Format: date-time */ suspended_at?: string | null; + user_view_type?: string; }; /** * Private User @@ -32459,6 +32422,11 @@ export interface components { * @example 1 */ id: number; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + user_view_type: "private"; /** @example MDQ6VXNlcjE= */ node_id: string; /** @@ -32573,8 +32541,6 @@ export interface components { space: number; private_repos: number; }; - /** Format: date-time */ - suspended_at?: string | null; business_plus?: boolean; ldap_dn?: string; }; @@ -33614,7 +33580,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -33675,75 +33641,6 @@ export interface components { /** @description Whether anonymous git access is enabled for this repository */ anonymous_access_enabled?: boolean; }; - /** - * Simple User - * @description The GitHub user that triggered the event. This property is included in every webhook payload. - */ - "simple-user-webhooks": { - name?: string | null; - email?: string | null; - /** @example octocat */ - login: string; - /** @example 1 */ - id: number; - /** @example MDQ6VXNlcjE= */ - node_id: string; - /** - * Format: uri - * @example https://github.com/images/error/octocat_happy.gif - */ - avatar_url: string; - /** @example 41d064eb2195891e12d0413f63227ea7 */ - gravatar_id: string | null; - /** - * Format: uri - * @example https://api.github.com/users/octocat - */ - url: string; - /** - * Format: uri - * @example https://github.com/octocat - */ - html_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/followers - */ - followers_url: string; - /** @example https://api.github.com/users/octocat/following{/other_user} */ - following_url: string; - /** @example https://api.github.com/users/octocat/gists{/gist_id} */ - gists_url: string; - /** @example https://api.github.com/users/octocat/starred{/owner}{/repo} */ - starred_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/subscriptions - */ - subscriptions_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/orgs - */ - organizations_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/repos - */ - repos_url: string; - /** @example https://api.github.com/users/octocat/events{/privacy} */ - events_url: string; - /** - * Format: uri - * @example https://api.github.com/users/octocat/received_events - */ - received_events_url: string; - /** @example User */ - type: string; - site_admin: boolean; - /** @example "2020-07-09T00:17:55Z" */ - starred_at?: string; - }; /** * branch protection rule * @description The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings. @@ -33954,6 +33851,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; webhooks_reviewers: { /** User */ @@ -34043,6 +33941,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; webhooks_answer: { /** @@ -34114,6 +34013,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -34159,6 +34059,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; answer_html_url: string | null; /** @@ -34258,6 +34159,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; labels?: components["schemas"]["label"][]; }; @@ -34329,6 +34231,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Label */ @@ -34458,6 +34361,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The changes to the comment. */ @@ -34510,6 +34414,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -34546,6 +34451,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -34633,6 +34539,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -34715,6 +34622,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -34876,6 +34784,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -34924,6 +34833,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -34992,6 +34902,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -35028,6 +34939,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -35115,6 +35027,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -35197,6 +35110,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -35358,6 +35272,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** User */ @@ -35396,6 +35311,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Marketplace Purchase */ webhooks_marketplace_purchase: { @@ -35975,7 +35891,7 @@ export interface components { allow_update_branch: boolean; /** * @deprecated - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -36082,6 +35998,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -36155,6 +36072,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -36276,6 +36194,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -36332,6 +36251,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ html_url: string; @@ -36551,7 +36471,7 @@ export interface components { */ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE"; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.** + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.** * @default false */ use_squash_pr_title_as_default: boolean; @@ -36639,6 +36559,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -36727,6 +36648,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -36950,6 +36872,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -37059,6 +36982,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -37294,6 +37218,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -37403,6 +37328,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -37470,6 +37396,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -37517,6 +37444,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -37740,6 +37668,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -37886,6 +37815,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @description The review that was affected. */ @@ -37959,6 +37889,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; webhooks_nullable_string: string | null; @@ -38065,6 +37996,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -38212,6 +38144,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -38361,6 +38294,10 @@ export interface components { * @description The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ push_protection_bypassed_at?: string | null; + /** @description Whether the detected secret was publicly leaked. */ + publicly_leaked?: boolean | null; + /** @description Whether the detected secret was found in multiple repositories in the same organization or business. */ + multi_repo?: boolean | null; }; /** @description The details of the security advisory, including summary, description, and severity. */ webhooks_security_advisory: { @@ -38421,6 +38358,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; node_id: string; privacy_level: string; @@ -38460,6 +38398,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** User */ sponsorable: { @@ -38497,6 +38436,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Sponsorship Tier @@ -38608,7 +38548,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection configuration enabled event */ "webhook-branch-protection-configuration-enabled": { @@ -38618,7 +38558,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule created event */ "webhook-branch-protection-rule-created": { @@ -38629,7 +38569,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule deleted event */ "webhook-branch-protection-rule-deleted": { @@ -38640,7 +38580,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** branch protection rule edited event */ "webhook-branch-protection-rule-edited": { @@ -38691,7 +38631,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; rule: components["schemas"]["webhooks_rule"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Check Run Completed Event */ "webhook-check-run-completed": { @@ -38701,7 +38641,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Completed Event @@ -38719,7 +38659,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Created Event @@ -38742,7 +38682,7 @@ export interface components { /** @description The integrator reference of the action requested by the user. */ identifier?: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Requested Action Event @@ -38760,7 +38700,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * Check Run Re-Requested Event @@ -38834,6 +38774,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39011,7 +38952,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite requested event */ "webhook-check-suite-requested": { @@ -39077,6 +39018,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39254,7 +39196,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** check_suite rerequested event */ "webhook-check-suite-rerequested": { @@ -39320,6 +39262,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -39497,7 +39440,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert appeared_in_branch event */ "webhook-code-scanning-alert-appeared-in-branch": { @@ -39551,6 +39494,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39623,7 +39567,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert closed_by_user event */ "webhook-code-scanning-alert-closed-by-user": { @@ -39677,6 +39621,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39756,7 +39701,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert created event */ "webhook-code-scanning-alert-created": { @@ -39851,7 +39796,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert fixed event */ "webhook-code-scanning-alert-fixed": { @@ -39905,6 +39850,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The reason for dismissing or closing the alert. @@ -39986,7 +39932,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened event */ "webhook-code-scanning-alert-reopened": { @@ -40001,7 +39947,7 @@ export interface components { created_at: string; /** @description The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. */ dismissed_at: string | null; - dismissed_by: Record; + 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: string | null; /** @@ -40079,7 +40025,7 @@ export interface components { /** @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: string | null; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** code_scanning_alert reopened_by_user event */ "webhook-code-scanning-alert-reopened-by-user": { @@ -40163,7 +40109,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: components["schemas"]["webhooks_code_scanning_ref"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** commit_comment created event */ "webhook-commit-comment-created": { @@ -40172,7 +40118,7 @@ export interface components { * @enum {string} */ action: "created"; - /** @description The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) resource. */ + /** @description The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. */ comment: { /** * AuthorAssociation @@ -40251,13 +40197,14 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** create event */ "webhook-create": { @@ -40276,7 +40223,7 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** custom property created event */ "webhook-custom-property-created": { @@ -40286,7 +40233,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property deleted event */ "webhook-custom-property-deleted": { @@ -40299,7 +40246,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** custom property updated event */ "webhook-custom-property-updated": { @@ -40309,7 +40256,7 @@ export interface components { enterprise?: components["schemas"]["enterprise-webhooks"]; installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Custom property values updated event */ "webhook-custom-property-values-updated": { @@ -40319,7 +40266,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; repository: components["schemas"]["repository-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; /** @description The new custom property values for the repository. */ new_property_values: components["schemas"]["custom-property-value"][]; /** @description The old custom property values for the repository. */ @@ -40338,7 +40285,7 @@ export interface components { */ ref_type: "tag" | "branch"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-dismissed event */ "webhook-dependabot-alert-auto-dismissed": { @@ -40349,7 +40296,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert auto-reopened event */ "webhook-dependabot-alert-auto-reopened": { @@ -40360,7 +40307,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert created event */ "webhook-dependabot-alert-created": { @@ -40371,7 +40318,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert dismissed event */ "webhook-dependabot-alert-dismissed": { @@ -40382,7 +40329,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert fixed event */ "webhook-dependabot-alert-fixed": { @@ -40393,7 +40340,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reintroduced event */ "webhook-dependabot-alert-reintroduced": { @@ -40404,7 +40351,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Dependabot alert reopened event */ "webhook-dependabot-alert-reopened": { @@ -40415,7 +40362,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key created event */ "webhook-deploy-key-created": { @@ -40426,7 +40373,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deploy_key deleted event */ "webhook-deploy-key-deleted": { @@ -40437,7 +40384,7 @@ export interface components { key: components["schemas"]["webhooks_deploy_key"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** deployment created event */ "webhook-deployment-created": { @@ -40485,6 +40432,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -40547,6 +40495,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -40643,7 +40592,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run: { @@ -40683,6 +40632,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -40917,6 +40867,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -40944,7 +40895,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; organization?: components["schemas"]["organization-simple-webhooks"]; installation?: components["schemas"]["simple-installation"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-deployment-review-approved": { /** @enum {string} */ @@ -40956,7 +40907,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -41007,6 +40958,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41020,7 +40972,7 @@ export interface components { display_title: string; event: string; head_branch: string; - head_commit?: Record; + head_commit?: Record | null; head_repository?: { archive_url?: string; assignees_url?: string; @@ -41075,6 +41027,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41185,6 +41138,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41241,6 +41195,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41260,7 +41215,7 @@ export interface components { organization: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; reviewers?: components["schemas"]["webhooks_reviewers"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run?: components["schemas"]["webhooks_workflow_job_run"]; workflow_job_runs?: { @@ -41311,6 +41266,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41323,7 +41279,7 @@ export interface components { created_at: string; event: string; head_branch: string; - head_commit?: Record; + head_commit?: Record | null; head_repository?: { archive_url?: string; assignees_url?: string; @@ -41378,6 +41334,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41488,6 +41445,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41544,6 +41502,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41600,11 +41559,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @enum {string} */ type?: "User" | "Team"; }[]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; since: string; workflow_job_run: { conclusion: unknown; @@ -41654,6 +41614,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -41666,7 +41627,7 @@ export interface components { created_at: string; event: string; head_branch: string; - head_commit?: Record; + head_commit?: Record | null; head_repository?: { archive_url?: string; assignees_url?: string; @@ -41721,6 +41682,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41831,6 +41793,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; private?: boolean; pulls_url?: string; @@ -41887,6 +41850,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -41973,6 +41937,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; environment: string; @@ -42035,6 +42000,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42166,6 +42132,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ deployment_url: string; @@ -42233,6 +42200,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -42326,7 +42294,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow?: components["schemas"]["webhooks_workflow"]; /** Deployment Workflow Run */ workflow_run?: { @@ -42366,6 +42334,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; artifacts_url?: string; cancel_url?: string; @@ -42600,6 +42569,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -42619,7 +42589,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion category changed event */ "webhook-discussion-category-changed": { @@ -42647,7 +42617,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion closed event */ "webhook-discussion-closed": { @@ -42658,7 +42628,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment created event */ "webhook-discussion-comment-created": { @@ -42670,7 +42640,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment deleted event */ "webhook-discussion-comment-deleted": { @@ -42682,7 +42652,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion_comment edited event */ "webhook-discussion-comment-edited": { @@ -42699,7 +42669,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion created event */ "webhook-discussion-created": { @@ -42710,7 +42680,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion deleted event */ "webhook-discussion-deleted": { @@ -42721,7 +42691,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion edited event */ "webhook-discussion-edited": { @@ -42740,7 +42710,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion labeled event */ "webhook-discussion-labeled": { @@ -42752,7 +42722,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion locked event */ "webhook-discussion-locked": { @@ -42763,7 +42733,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion pinned event */ "webhook-discussion-pinned": { @@ -42774,7 +42744,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion reopened event */ "webhook-discussion-reopened": { @@ -42785,7 +42755,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion transferred event */ "webhook-discussion-transferred": { @@ -42800,7 +42770,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unanswered event */ "webhook-discussion-unanswered": { @@ -42810,7 +42780,7 @@ export interface components { old_answer: components["schemas"]["webhooks_answer"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** discussion unlabeled event */ "webhook-discussion-unlabeled": { @@ -42822,7 +42792,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unlocked event */ "webhook-discussion-unlocked": { @@ -42833,7 +42803,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** discussion unpinned event */ "webhook-discussion-unpinned": { @@ -42844,7 +42814,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** * fork event @@ -43040,6 +43010,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -43136,7 +43107,7 @@ export interface components { labels_url?: string; language?: unknown; languages_url?: string; - license?: Record; + license?: Record | null; merges_url?: string; milestones_url?: string; mirror_url?: unknown; @@ -43191,13 +43162,13 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** github_app_authorization revoked event */ "webhook-github-app-authorization-revoked": { /** @enum {string} */ action: "revoked"; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** gollum event */ "webhook-gollum": { @@ -43225,7 +43196,7 @@ export interface components { title: string; }[]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation created event */ "webhook-installation-created": { @@ -43237,7 +43208,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation deleted event */ "webhook-installation-deleted": { @@ -43249,7 +43220,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation new_permissions_accepted event */ "webhook-installation-new-permissions-accepted": { @@ -43261,7 +43232,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories added event */ "webhook-installation-repositories-added": { @@ -43285,7 +43256,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation_repositories removed event */ "webhook-installation-repositories-removed": { @@ -43309,7 +43280,7 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; repository_selection: components["schemas"]["webhooks_repository_selection"]; requester: components["schemas"]["webhooks_user"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** installation suspend event */ "webhook-installation-suspend": { @@ -43321,7 +43292,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-installation-target-renamed": { account: { @@ -43361,6 +43332,7 @@ export interface components { updated_at?: string; url?: string; website_url?: unknown; + user_view_type?: string; }; /** @enum {string} */ action: "renamed"; @@ -43376,7 +43348,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; target_type: string; }; /** installation unsuspend event */ @@ -43389,7 +43361,7 @@ export interface components { repositories?: components["schemas"]["webhooks_repositories"]; repository?: components["schemas"]["repository-webhooks"]; requester?: unknown; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment created event */ "webhook-issue-comment-created": { @@ -43479,6 +43451,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -43523,6 +43496,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -43559,6 +43533,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -43646,6 +43621,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -43728,6 +43704,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -43889,6 +43866,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -43928,8 +43906,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - assignees?: Record[]; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at?: string | null; @@ -43956,10 +43935,10 @@ export interface components { }[]; labels_url?: string; locked: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -44006,7 +43985,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment deleted event */ "webhook-issue-comment-deleted": { @@ -44055,6 +44034,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -44091,6 +44071,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44178,6 +44159,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -44260,6 +44242,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -44421,6 +44404,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -44460,8 +44444,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - assignees?: Record[]; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at?: string | null; @@ -44488,10 +44473,10 @@ export interface components { }[]; labels_url?: string; locked: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -44534,11 +44519,12 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issue_comment edited event */ "webhook-issue-comment-edited": { @@ -44588,6 +44574,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -44624,6 +44611,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -44711,6 +44699,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -44793,6 +44782,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -44954,6 +44944,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; @@ -44993,8 +44984,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - assignees?: Record[]; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at?: string | null; @@ -45021,10 +45013,10 @@ export interface components { }[]; labels_url?: string; locked: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -45071,7 +45063,7 @@ export interface components { }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues assigned event */ "webhook-issues-assigned": { @@ -45086,7 +45078,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues closed event */ "webhook-issues-closed": { @@ -45137,6 +45129,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -45173,6 +45166,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -45260,6 +45254,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -45342,6 +45337,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -45503,11 +45499,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } & { active_lock_reason?: string | null; - assignee?: Record; - assignees?: Record[]; + assignee?: Record | null; + assignees?: (Record | null)[]; author_association?: string; body?: string | null; closed_at: string | null; @@ -45517,13 +45514,13 @@ export interface components { events_url?: string; html_url?: string; id?: number; - labels?: Record[]; + labels?: (Record | null)[]; labels_url?: string; locked?: boolean; - milestone?: Record; + milestone?: Record | null; node_id?: string; number?: number; - performed_via_github_app?: Record; + performed_via_github_app?: Record | null; reactions?: { "+1"?: number; "-1"?: number; @@ -45563,11 +45560,12 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues deleted event */ "webhook-issues-deleted": { @@ -45618,6 +45616,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -45741,6 +45740,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -45823,6 +45823,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -45984,11 +45985,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues demilestoned event */ "webhook-issues-demilestoned": { @@ -46162,6 +46164,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -46244,6 +46247,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -46405,12 +46409,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone?: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues edited event */ "webhook-issues-edited": { @@ -46472,6 +46477,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -46595,6 +46601,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -46677,6 +46684,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -46838,12 +46846,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues labeled event */ "webhook-issues-labeled": { @@ -46894,6 +46903,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47017,6 +47027,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47099,6 +47110,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -47260,12 +47272,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues locked event */ "webhook-issues-locked": { @@ -47316,6 +47329,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -47352,6 +47366,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -47440,6 +47455,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47522,6 +47538,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -47683,11 +47700,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues milestoned event */ "webhook-issues-milestoned": { @@ -47861,6 +47879,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -47943,6 +47962,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -48104,12 +48124,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues opened event */ "webhook-issues-opened": { @@ -48159,6 +48180,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -48195,6 +48217,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48282,6 +48305,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -48364,6 +48388,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -48525,6 +48550,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; } | null; /** @@ -48724,6 +48750,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -48819,6 +48846,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -48855,6 +48883,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -48942,6 +48971,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49024,6 +49054,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -49185,11 +49216,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues pinned event */ "webhook-issues-pinned": { @@ -49200,7 +49232,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues reopened event */ "webhook-issues-reopened": { @@ -49374,6 +49406,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49456,6 +49489,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -49617,11 +49651,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues transferred event */ "webhook-issues-transferred": { @@ -49671,6 +49706,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -49707,6 +49743,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -49794,6 +49831,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -49876,6 +49914,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -50037,6 +50076,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** @@ -50239,6 +50279,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -50294,7 +50335,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unassigned event */ "webhook-issues-unassigned": { @@ -50309,7 +50350,7 @@ export interface components { issue: components["schemas"]["webhooks_issue"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlabeled event */ "webhook-issues-unlabeled": { @@ -50321,7 +50362,7 @@ export interface components { label?: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unlocked event */ "webhook-issues-unlocked": { @@ -50372,6 +50413,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -50408,6 +50450,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -50496,6 +50539,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -50578,6 +50622,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The set of permissions for the GitHub app */ permissions?: { @@ -50739,11 +50784,12 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** issues unpinned event */ "webhook-issues-unpinned": { @@ -50754,7 +50800,7 @@ export interface components { issue: components["schemas"]["webhooks_issue_2"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label created event */ "webhook-label-created": { @@ -50765,7 +50811,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** label deleted event */ "webhook-label-deleted": { @@ -50776,7 +50822,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** label edited event */ "webhook-label-edited": { @@ -50802,7 +50848,7 @@ export interface components { label: components["schemas"]["webhooks_label"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase cancelled event */ "webhook-marketplace-purchase-cancelled": { @@ -50815,7 +50861,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase changed event */ "webhook-marketplace-purchase-changed": { @@ -50854,7 +50900,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change event */ "webhook-marketplace-purchase-pending-change": { @@ -50893,7 +50939,7 @@ export interface components { unit_count: number; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase pending_change_cancelled event */ "webhook-marketplace-purchase-pending-change-cancelled": { @@ -50932,7 +50978,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** marketplace_purchase purchased event */ "webhook-marketplace-purchase-purchased": { @@ -50945,7 +50991,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; previous_marketplace_purchase?: components["schemas"]["webhooks_previous_marketplace_purchase"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member added event */ "webhook-member-added": { @@ -50970,7 +51016,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member edited event */ "webhook-member-edited": { @@ -50992,7 +51038,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** member removed event */ "webhook-member-removed": { @@ -51003,7 +51049,7 @@ export interface components { member: components["schemas"]["webhooks_user"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** membership added event */ "webhook-membership-added": { @@ -51055,6 +51101,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -51108,6 +51155,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; team: components["schemas"]["webhooks_team"]; }; @@ -51118,7 +51166,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-merge-group-destroyed": { /** @enum {string} */ @@ -51132,7 +51180,7 @@ export interface components { merge_group: components["schemas"]["merge-group"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** meta deleted event */ "webhook-meta-deleted": { @@ -51162,7 +51210,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** milestone closed event */ "webhook-milestone-closed": { @@ -51173,7 +51221,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone created event */ "webhook-milestone-created": { @@ -51184,7 +51232,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone deleted event */ "webhook-milestone-deleted": { @@ -51195,7 +51243,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone edited event */ "webhook-milestone-edited": { @@ -51221,7 +51269,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** milestone opened event */ "webhook-milestone-opened": { @@ -51232,7 +51280,7 @@ export interface components { milestone: components["schemas"]["webhooks_milestone_3"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block blocked event */ "webhook-org-block-blocked": { @@ -51243,7 +51291,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** org_block unblocked event */ "webhook-org-block-unblocked": { @@ -51254,7 +51302,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization deleted event */ "webhook-organization-deleted": { @@ -51265,7 +51313,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_added event */ "webhook-organization-member-added": { @@ -51276,7 +51324,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization member_invited event */ "webhook-organization-member-invited": { @@ -51331,6 +51379,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; login: string | null; node_id: string; @@ -51340,7 +51389,7 @@ export interface components { }; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; user?: components["schemas"]["webhooks_user"]; }; /** organization member_removed event */ @@ -51352,7 +51401,7 @@ export interface components { membership: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** organization renamed event */ "webhook-organization-renamed": { @@ -51368,7 +51417,7 @@ export interface components { membership?: components["schemas"]["webhooks_membership"]; organization: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Ruby Gems metadata */ "webhook-rubygems-metadata": { @@ -51442,6 +51491,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -51481,12 +51531,13 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body?: string | Record; body_html?: string; container_metadata?: { - labels?: Record; - manifest?: Record; + labels?: Record | null; + manifest?: Record | null; tag?: { digest?: string; name?: string; @@ -51511,19 +51562,19 @@ export interface components { name?: string; version?: string; npm_user?: string; - author?: Record; - bugs?: Record; + author?: Record | null; + bugs?: Record | null; dependencies?: Record; dev_dependencies?: Record; peer_dependencies?: Record; optional_dependencies?: Record; description?: string; - dist?: Record; + dist?: Record | null; git_head?: string; homepage?: string; license?: string; main?: string; - repository?: Record; + repository?: Record | null; scripts?: Record; id?: string; node_version?: string; @@ -51536,7 +51587,7 @@ export interface components { files?: string[]; bin?: Record; man?: Record; - directories?: Record; + directories?: Record | null; os?: string[]; cpu?: string[]; readme?: string; @@ -51609,6 +51660,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -51644,7 +51696,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** package updated event */ "webhook-package-updated": { @@ -51699,6 +51751,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; package_type: string; package_version: { @@ -51738,6 +51791,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string; body_html: string; @@ -51809,6 +51863,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; created_at: string; draft: boolean; @@ -51845,7 +51900,7 @@ export interface components { updated_at: string; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** page_build event */ "webhook-page-build": { @@ -51893,6 +51948,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; status: string; updated_at: string; @@ -51904,7 +51960,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** personal_access_token_request approved event */ "webhook-personal-access-token-request-approved": { @@ -51913,7 +51969,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request cancelled event */ @@ -51923,7 +51979,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; /** personal_access_token_request created event */ @@ -51933,7 +51989,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; enterprise?: components["schemas"]["enterprise-webhooks"]; organization: components["schemas"]["organization-simple-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation?: components["schemas"]["simple-installation"]; }; /** personal_access_token_request denied event */ @@ -51943,7 +51999,7 @@ export interface components { personal_access_token_request: components["schemas"]["personal-access-token-request"]; organization: components["schemas"]["organization-simple-webhooks"]; enterprise?: components["schemas"]["enterprise-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; installation: components["schemas"]["simple-installation"]; }; "webhook-ping": { @@ -51990,7 +52046,7 @@ export interface components { hook_id?: number; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; /** @description Random string of GitHub zen. */ zen?: string; }; @@ -52013,7 +52069,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card created event */ "webhook-project-card-created": { @@ -52024,7 +52080,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card deleted event */ "webhook-project-card-deleted": { @@ -52081,6 +52137,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -52094,7 +52151,7 @@ export interface components { url: string; }; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card edited event */ "webhook-project-card-edited": { @@ -52110,7 +52167,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_card: components["schemas"]["webhooks_project_card"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_card moved event */ "webhook-project-card-moved": { @@ -52171,6 +52228,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description The project card's ID */ id: number; @@ -52216,7 +52274,7 @@ export interface components { url?: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project closed event */ "webhook-project-closed": { @@ -52227,7 +52285,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project_column created event */ "webhook-project-column-created": { @@ -52238,7 +52296,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column deleted event */ "webhook-project-column-deleted": { @@ -52249,7 +52307,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column edited event */ "webhook-project-column-edited": { @@ -52265,7 +52323,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project_column moved event */ "webhook-project-column-moved": { @@ -52276,7 +52334,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project_column: components["schemas"]["webhooks_project_column"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project created event */ "webhook-project-created": { @@ -52287,7 +52345,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** project deleted event */ "webhook-project-deleted": { @@ -52298,7 +52356,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["nullable-repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project edited event */ "webhook-project-edited": { @@ -52320,7 +52378,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** project reopened event */ "webhook-project-reopened": { @@ -52331,7 +52389,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; project: components["schemas"]["webhooks_project"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Closed Event */ "webhook-projects-v2-project-closed": { @@ -52340,7 +52398,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -52349,7 +52407,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Deleted Event */ "webhook-projects-v2-project-deleted": { @@ -52358,7 +52416,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Edited Event */ "webhook-projects-v2-project-edited": { @@ -52385,7 +52443,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Archived Event */ "webhook-projects-v2-item-archived": { @@ -52395,7 +52453,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Converted Event */ "webhook-projects-v2-item-converted": { @@ -52410,7 +52468,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Created Event */ "webhook-projects-v2-item-created": { @@ -52419,7 +52477,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Deleted Event */ "webhook-projects-v2-item-deleted": { @@ -52428,7 +52486,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Edited Event */ "webhook-projects-v2-item-edited": { @@ -52454,7 +52512,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -52469,7 +52527,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Item Restored Event */ "webhook-projects-v2-item-restored": { @@ -52479,7 +52537,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_item: components["schemas"]["projects-v2-item"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Project Reopened Event */ "webhook-projects-v2-project-reopened": { @@ -52488,7 +52546,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2: components["schemas"]["projects-v2"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Created Event */ "webhook-projects-v2-status-update-created": { @@ -52497,7 +52555,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Deleted Event */ "webhook-projects-v2-status-update-deleted": { @@ -52506,7 +52564,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Projects v2 Status Update Edited Event */ "webhook-projects-v2-status-update-edited": { @@ -52539,7 +52597,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization: components["schemas"]["organization-simple-webhooks"]; projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** public event */ "webhook-public": { @@ -52547,7 +52605,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request assigned event */ "webhook-pull-request-assigned": { @@ -52641,6 +52699,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -52677,6 +52736,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -52729,6 +52789,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -52952,6 +53013,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -53012,7 +53074,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -53061,6 +53123,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -53296,6 +53359,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -53356,7 +53420,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -53405,6 +53469,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -53472,6 +53537,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -53519,6 +53585,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -53585,6 +53652,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -53742,10 +53810,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_disabled event */ "webhook-pull-request-auto-merge-disabled": { @@ -53838,6 +53907,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -53926,6 +53996,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -54149,6 +54220,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -54209,7 +54281,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -54258,6 +54330,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -54493,6 +54566,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -54553,7 +54627,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -54602,6 +54676,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -54669,6 +54744,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -54716,6 +54792,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -54782,6 +54859,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -54939,11 +55017,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request auto_merge_enabled event */ "webhook-pull-request-auto-merge-enabled": { @@ -55036,6 +55115,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -55124,6 +55204,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -55347,6 +55428,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55407,7 +55489,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -55456,6 +55538,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -55688,6 +55771,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -55748,7 +55832,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -55797,6 +55881,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -55864,6 +55949,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -55911,6 +55997,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -55977,6 +56064,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -56134,11 +56222,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; reason?: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request closed event */ "webhook-pull-request-closed": { @@ -56150,7 +56239,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request converted_to_draft event */ "webhook-pull-request-converted-to-draft": { @@ -56162,7 +56251,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request demilestoned event */ "webhook-pull-request-demilestoned": { @@ -56174,7 +56263,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request dequeued event */ "webhook-pull-request-dequeued": { @@ -56267,6 +56356,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -56355,6 +56445,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -56578,6 +56669,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -56638,7 +56730,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -56687,6 +56779,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -56922,6 +57015,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -56982,7 +57076,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -57031,6 +57125,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -57098,6 +57193,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -57145,6 +57241,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -57211,6 +57308,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -57368,11 +57466,13 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - reason: string; + /** @enum {string} */ + reason: "UNKNOWN_REMOVAL_REASON" | "MANUAL" | "MERGE" | "MERGE_CONFLICT" | "CI_FAILURE" | "CI_TIMEOUT" | "ALREADY_MERGED" | "QUEUE_CLEARED" | "ROLL_BACK" | "BRANCH_PROTECTIONS" | "GIT_TREE_INVALID" | "INVALID_MERGE_COMMIT"; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request edited event */ "webhook-pull-request-edited": { @@ -57403,7 +57503,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request enqueued event */ "webhook-pull-request-enqueued": { @@ -57496,6 +57596,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -57584,6 +57685,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -57807,6 +57909,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -57867,7 +57970,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -57916,6 +58019,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -58151,6 +58255,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -58211,7 +58316,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -58260,6 +58365,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -58327,6 +58433,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -58374,6 +58481,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -58440,6 +58548,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -58597,10 +58706,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request labeled event */ "webhook-pull-request-labeled": { @@ -58694,6 +58804,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -58782,6 +58893,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -59005,6 +59117,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -59065,7 +59178,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -59114,6 +59227,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -59349,6 +59463,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -59409,7 +59524,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -59458,6 +59573,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -59525,6 +59641,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -59572,6 +59689,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -59638,6 +59756,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -59795,10 +59914,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request locked event */ "webhook-pull-request-locked": { @@ -59891,6 +60011,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -59979,6 +60100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -60202,6 +60324,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -60262,7 +60385,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -60311,6 +60434,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -60546,6 +60670,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -60606,7 +60731,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -60655,6 +60780,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -60722,6 +60848,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -60769,6 +60896,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -60835,6 +60963,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -60992,10 +61121,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request milestoned event */ "webhook-pull-request-milestoned": { @@ -61007,7 +61137,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["webhooks_pull_request_5"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request opened event */ "webhook-pull-request-opened": { @@ -61019,7 +61149,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request ready_for_review event */ "webhook-pull-request-ready-for-review": { @@ -61031,7 +61161,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request reopened event */ "webhook-pull-request-reopened": { @@ -61043,7 +61173,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; pull_request: components["schemas"]["pull-request-webhook"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment created event */ "webhook-pull-request-review-comment-created": { @@ -61193,6 +61323,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -61279,6 +61410,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -61367,6 +61499,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -61590,6 +61723,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -61650,7 +61784,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -61699,6 +61833,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -61927,6 +62062,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -61987,7 +62123,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -62036,6 +62172,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -62107,6 +62244,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -62171,6 +62309,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -62322,10 +62461,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment deleted event */ "webhook-pull-request-review-comment-deleted": { @@ -62416,6 +62556,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -62504,6 +62645,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -62727,6 +62869,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -62787,7 +62930,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -62836,6 +62979,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -63064,6 +63208,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63124,7 +63269,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -63173,6 +63318,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -63244,6 +63390,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -63308,6 +63455,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -63459,10 +63607,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_comment edited event */ "webhook-pull-request-review-comment-edited": { @@ -63554,6 +63703,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -63590,6 +63740,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -63642,6 +63793,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -63865,6 +64017,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -63925,7 +64078,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -63974,6 +64127,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -64202,6 +64356,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -64262,7 +64417,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -64311,6 +64466,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -64382,6 +64538,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -64446,6 +64603,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -64595,12 +64753,13 @@ export interface components { subscriptions_url?: string; /** @enum {string} */ type?: "Bot" | "User" | "Organization" | "Mannequin"; + user_view_type?: string; /** Format: uri */ url?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review dismissed event */ "webhook-pull-request-review-dismissed": { @@ -64691,6 +64850,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -64779,6 +64939,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -65002,6 +65163,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -65062,7 +65224,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -65111,6 +65273,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -65339,6 +65502,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -65399,7 +65563,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -65448,6 +65612,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -65519,6 +65684,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -65583,6 +65749,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -65734,6 +65901,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -65809,9 +65977,10 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review edited event */ "webhook-pull-request-review-edited": { @@ -65908,6 +66077,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -65996,6 +66166,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -66197,6 +66368,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -66282,6 +66454,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -66488,6 +66661,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -66573,6 +66747,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -66644,6 +66819,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -66708,6 +66884,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -66859,11 +67036,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request review_request_removed event */ "webhook-pull-request-review-request-removed": { @@ -66957,6 +67135,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -66993,6 +67172,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -67045,6 +67225,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -67268,6 +67449,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67321,7 +67503,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -67370,6 +67552,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -67605,6 +67788,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -67665,7 +67849,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -67714,6 +67898,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -67781,6 +67966,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -67828,6 +68014,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -67894,6 +68081,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -68051,6 +68239,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -68090,8 +68279,9 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ action: "review_request_removed"; @@ -68183,6 +68373,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -68219,6 +68410,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -68271,6 +68463,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -68494,6 +68687,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -68554,7 +68748,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -68603,6 +68797,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -68838,6 +69033,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -68898,7 +69094,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -68947,6 +69143,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -69014,6 +69211,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -69061,6 +69259,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -69127,6 +69326,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -69284,6 +69484,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -69342,7 +69543,7 @@ export interface components { */ url: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request review_requested event */ "webhook-pull-request-review-requested": { @@ -69436,6 +69637,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -69472,6 +69674,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -69524,6 +69727,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -69747,6 +69951,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -69807,7 +70012,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -69856,6 +70061,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -70091,6 +70297,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -70151,7 +70358,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -70200,6 +70407,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -70267,6 +70475,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -70314,6 +70523,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -70380,6 +70590,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -70537,6 +70748,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -70576,8 +70788,9 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; } | { /** @enum {string} */ action: "review_requested"; @@ -70669,6 +70882,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -70705,6 +70919,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null)[]; /** * AuthorAssociation @@ -70757,6 +70972,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -70980,6 +71196,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71040,7 +71257,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -71089,6 +71306,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -71324,6 +71542,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -71384,7 +71603,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -71433,6 +71652,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -71500,6 +71720,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -71547,6 +71768,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -71613,6 +71835,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -71770,6 +71993,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; @@ -71828,7 +72052,7 @@ export interface components { */ url?: string; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review submitted event */ "webhook-pull-request-review-submitted": { @@ -71919,6 +72143,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -72007,6 +72232,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -72230,6 +72456,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -72290,7 +72517,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -72339,6 +72566,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -72567,6 +72795,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -72627,7 +72856,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -72676,6 +72905,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -72747,6 +72977,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -72811,6 +73042,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -72962,11 +73194,12 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; review: components["schemas"]["webhooks_review"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request_review_thread resolved event */ "webhook-pull-request-review-thread-resolved": { @@ -73057,6 +73290,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -73145,6 +73379,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -73351,6 +73586,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73438,6 +73674,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -73649,6 +73886,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -73736,6 +73974,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -73807,6 +74046,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -73871,6 +74111,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -74022,10 +74263,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -74167,6 +74409,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -74261,6 +74504,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -74349,6 +74593,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -74555,6 +74800,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -74642,6 +74888,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -74853,6 +75100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -74940,6 +75188,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -75011,6 +75260,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -75075,6 +75325,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -75226,10 +75477,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; thread: { comments: { _links: { @@ -75371,6 +75623,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }[]; node_id: string; @@ -75469,6 +75722,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -75557,6 +75811,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -75780,6 +76035,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -75840,7 +76096,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -75889,6 +76145,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -76117,6 +76374,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -76177,7 +76435,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -76226,6 +76484,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -76293,6 +76552,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -76340,6 +76600,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -76406,6 +76667,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -76563,10 +76825,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unassigned event */ "webhook-pull-request-unassigned": { @@ -76660,6 +76923,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -76748,6 +77012,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -76971,6 +77236,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -77031,7 +77297,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -77080,6 +77346,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -77315,6 +77582,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -77375,7 +77643,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -77424,6 +77692,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -77491,6 +77760,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -77538,6 +77808,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -77604,6 +77875,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -77761,10 +78033,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** pull_request unlabeled event */ "webhook-pull-request-unlabeled": { @@ -77858,6 +78131,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -77946,6 +78220,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -78169,6 +78444,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -78229,7 +78505,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -78278,6 +78554,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -78506,6 +78783,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -78566,7 +78844,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -78615,6 +78893,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -78682,6 +78961,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -78729,6 +79009,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -78795,6 +79076,7 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -78952,10 +79234,11 @@ export interface components { type?: "Bot" | "User" | "Organization" | "Mannequin"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** pull_request unlocked event */ "webhook-pull-request-unlocked": { @@ -79048,6 +79331,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; assignees: ({ /** Format: uri */ @@ -79136,6 +79420,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * @description The merge method to use. @@ -79359,6 +79644,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -79419,7 +79705,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -79468,6 +79754,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; body: string | null; @@ -79703,6 +79990,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -79763,7 +80051,7 @@ export interface components { /** Format: uri */ url: string; /** - * @description Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default: boolean; @@ -79812,6 +80100,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; /** Format: uri */ @@ -79879,6 +80168,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** * Milestone @@ -79926,6 +80216,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; description: string | null; /** Format: date-time */ @@ -79992,6 +80283,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null) | { deleted?: boolean; /** @description Description of the team */ @@ -80149,10 +80441,11 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** push event */ "webhook-push": { @@ -80489,6 +80782,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -80538,7 +80832,7 @@ export interface components { /** @description Whether to require contributors to sign off on web-based commits */ web_commit_signoff_required?: boolean; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; "webhook-registry-package-published": { /** @enum {string} */ @@ -80573,6 +80867,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -80595,12 +80890,13 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body?: string | Record; body_html?: string; container_metadata?: { - labels?: Record; - manifest?: Record; + labels?: Record | null; + manifest?: Record | null; tag?: { digest?: string; name?: string; @@ -80704,6 +81000,7 @@ export interface components { subscriptions_url?: string; type?: string; url?: string; + user_view_type?: string; }; created_at?: string; draft?: boolean; @@ -80734,7 +81031,7 @@ export interface components { updated_at: string | null; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; "webhook-registry-package-updated": { /** @enum {string} */ @@ -80769,6 +81066,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; package_type: string; package_version: { @@ -80791,6 +81089,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; body: string; body_html: string; @@ -80843,6 +81142,7 @@ export interface components { subscriptions_url: string; type: string; url: string; + user_view_type?: string; }; created_at: string; draft: boolean; @@ -80863,11 +81163,11 @@ export interface components { updated_at: string; version: string; }; - registry: Record; + registry: Record | null; updated_at: string; }; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release created event */ "webhook-release-created": { @@ -80878,7 +81178,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release deleted event */ "webhook-release-deleted": { @@ -80889,7 +81189,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** release edited event */ "webhook-release-edited": { @@ -80914,7 +81214,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release prereleased event */ "webhook-release-prereleased": { @@ -81026,6 +81326,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; body: string | null; /** Format: date-time */ @@ -81074,7 +81375,7 @@ export interface components { zipball_url: string | null; }; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release published event */ "webhook-release-published": { @@ -81085,7 +81386,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release released event */ "webhook-release-released": { @@ -81096,7 +81397,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** release unpublished event */ "webhook-release-unpublished": { @@ -81107,7 +81408,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; release: components["schemas"]["webhooks_release_1"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory published event */ "webhook-repository-advisory-published": { @@ -81118,7 +81419,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Repository advisory reported event */ "webhook-repository-advisory-reported": { @@ -81129,7 +81430,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; repository_advisory: components["schemas"]["repository-advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** repository archived event */ "webhook-repository-archived": { @@ -81139,7 +81440,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository created event */ "webhook-repository-created": { @@ -81149,7 +81450,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository deleted event */ "webhook-repository-deleted": { @@ -81159,7 +81460,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_dispatch event */ "webhook-repository-dispatch-sample": { @@ -81174,7 +81475,7 @@ export interface components { installation: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository edited event */ "webhook-repository-edited": { @@ -81198,7 +81499,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_import event */ "webhook-repository-import": { @@ -81206,7 +81507,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @enum {string} */ status: "success" | "cancelled" | "failure"; }; @@ -81218,7 +81519,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository publicized event */ "webhook-repository-publicized": { @@ -81228,7 +81529,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository renamed event */ "webhook-repository-renamed": { @@ -81245,7 +81546,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset created event */ "webhook-repository-ruleset-created": { @@ -81256,7 +81557,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset deleted event */ "webhook-repository-ruleset-deleted": { @@ -81267,7 +81568,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; repository_ruleset: components["schemas"]["repository-ruleset"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository ruleset edited event */ "webhook-repository-ruleset-edited": { @@ -81325,7 +81626,7 @@ export interface components { }[]; }; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository transferred event */ "webhook-repository-transferred": { @@ -81396,6 +81697,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; }; }; @@ -81404,7 +81706,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository unarchived event */ "webhook-repository-unarchived": { @@ -81414,7 +81716,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert create event */ "webhook-repository-vulnerability-alert-create": { @@ -81425,7 +81727,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert dismiss event */ "webhook-repository-vulnerability-alert-dismiss": { @@ -81478,6 +81780,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; external_identifier: string; /** Format: uri */ @@ -81498,7 +81801,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert reopen event */ "webhook-repository-vulnerability-alert-reopen": { @@ -81509,7 +81812,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** repository_vulnerability_alert resolve event */ "webhook-repository-vulnerability-alert-resolve": { @@ -81581,7 +81884,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** secret_scanning_alert created event */ "webhook-secret-scanning-alert-created": { @@ -81592,7 +81895,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created": { @@ -81603,13 +81906,24 @@ export interface components { location: components["schemas"]["secret-scanning-location"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** Secret Scanning Alert Location Created Event */ "webhook-secret-scanning-alert-location-created-form-encoded": { /** @description A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object. */ payload: string; }; + /** secret_scanning_alert publicly leaked event */ + "webhook-secret-scanning-alert-publicly-leaked": { + /** @enum {string} */ + action: "publicly_leaked"; + alert: components["schemas"]["secret-scanning-alert-webhook"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; /** secret_scanning_alert reopened event */ "webhook-secret-scanning-alert-reopened": { /** @enum {string} */ @@ -81619,7 +81933,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert resolved event */ "webhook-secret-scanning-alert-resolved": { @@ -81630,7 +81944,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** secret_scanning_alert validated event */ "webhook-secret-scanning-alert-validated": { @@ -81641,7 +81955,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory published event */ "webhook-security-advisory-published": { @@ -81652,7 +81966,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory updated event */ "webhook-security-advisory-updated": { @@ -81663,7 +81977,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; security_advisory: components["schemas"]["webhooks_security_advisory"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_advisory withdrawn event */ "webhook-security-advisory-withdrawn": { @@ -81711,7 +82025,7 @@ export interface components { }[]; withdrawn_at: string; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** security_and_analysis event */ "webhook-security-and-analysis": { @@ -81724,7 +82038,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["full-repository"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sponsorship cancelled event */ "webhook-sponsorship-cancelled": { @@ -81734,7 +82048,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship created event */ @@ -81745,7 +82059,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship edited event */ @@ -81762,7 +82076,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_cancellation event */ @@ -81774,7 +82088,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship pending_tier_change event */ @@ -81787,7 +82101,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** sponsorship tier_changed event */ @@ -81799,7 +82113,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; sponsorship: components["schemas"]["webhooks_sponsorship"]; }; /** star created event */ @@ -81810,7 +82124,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + 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: string | null; }; @@ -81822,7 +82136,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + 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: unknown; }; @@ -81986,7 +82300,7 @@ export interface components { name: string; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; /** @description The Commit SHA. */ sha: string; /** @@ -82012,7 +82326,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** parent issue removed event */ "webhook-sub-issues-parent-issue-removed": { @@ -82028,7 +82342,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sub-issue added event */ "webhook-sub-issues-sub-issue-added": { @@ -82044,7 +82358,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** sub-issue removed event */ "webhook-sub-issues-sub-issue-removed": { @@ -82060,7 +82374,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository?: components["schemas"]["repository-webhooks"]; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; }; /** team_add event */ "webhook-team-add": { @@ -82068,7 +82382,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team added_to_repository event */ @@ -82273,6 +82587,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82320,7 +82635,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team created event */ @@ -82525,6 +82840,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82572,7 +82888,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team deleted event */ @@ -82777,6 +83093,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -82824,7 +83141,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender?: components["schemas"]["simple-user-webhooks"]; + sender?: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team edited event */ @@ -83060,6 +83377,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83107,7 +83425,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** team removed_from_repository event */ @@ -83312,6 +83630,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; permissions?: { admin: boolean; @@ -83359,7 +83678,7 @@ export interface components { watchers: number; watchers_count: number; }; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; team: components["schemas"]["webhooks_team_1"]; }; /** watch started event */ @@ -83370,7 +83689,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; }; /** workflow_dispatch event */ "webhook-workflow-dispatch": { @@ -83382,7 +83701,7 @@ export interface components { organization?: components["schemas"]["organization-simple-webhooks"]; ref: string; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: string; }; /** workflow_job completed event */ @@ -83393,7 +83712,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83470,7 +83789,7 @@ export interface components { head_branch?: string | null; /** @description The name of the workflow. */ workflow_name?: string | null; - steps?: Record[]; + steps?: (Record | null)[]; url?: string; }; deployment?: components["schemas"]["deployment"]; @@ -83483,7 +83802,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83581,7 +83900,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83635,7 +83954,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow_job: { /** Format: uri */ check_run_url: string; @@ -83689,7 +84008,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -83729,6 +84048,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -83879,6 +84199,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84051,6 +84372,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84119,6 +84441,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -84142,7 +84465,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -84590,7 +84913,7 @@ export interface components { installation?: components["schemas"]["simple-installation"]; organization?: components["schemas"]["organization-simple-webhooks"]; repository: components["schemas"]["repository-webhooks"]; - sender: components["schemas"]["simple-user-webhooks"]; + sender: components["schemas"]["simple-user"]; workflow: components["schemas"]["webhooks_workflow"]; /** Workflow Run */ workflow_run: { @@ -84630,6 +84953,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: uri */ artifacts_url: string; @@ -84780,6 +85104,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -84952,6 +85277,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** @description Whether the repository is private or public. */ private: boolean; @@ -85020,6 +85346,7 @@ export interface components { type?: "Bot" | "User" | "Organization"; /** Format: uri */ url?: string; + user_view_type?: string; } | null; /** Format: date-time */ updated_at: string; @@ -85361,6 +85688,10 @@ export interface components { "secret-scanning-alert-sort": "created" | "updated"; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ "secret-scanning-alert-validity": string; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + "secret-scanning-alert-publicly-leaked": boolean; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + "secret-scanning-alert-multi-repo": boolean; /** @description The slug of the team name. */ "team-slug": string; /** @description The unique identifier of the gist. */ @@ -85393,6 +85724,10 @@ export interface components { org: string; /** @description The unique identifier of the repository. */ "repository-id": number; + /** @description Only return runner groups that are allowed to be used by this repository. */ + "visible-to-repository": string; + /** @description Unique identifier of the self-hosted runner group. */ + "runner-group-id": number; /** @description Unique identifier of the self-hosted runner. */ "runner-id": number; /** @description The name of a self-hosted runner's custom label. */ @@ -85448,8 +85783,13 @@ export interface components { "personal-access-token-after": string; /** @description The unique identifier of the fine-grained personal access token. */ "fine-grained-personal-access-token-id": number; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ "custom-property-name": string; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + "ruleset-targets": string; /** @description The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned. */ "ref-in-query": string; /** @description The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned. */ @@ -85542,6 +85882,8 @@ export interface components { status: "queued" | "in_progress" | "completed"; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ "git-ref": components["schemas"]["code-scanning-ref"]; + /** @description The number of the pull request for the results you want to list. */ + "pr-alias": number; /** @description The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */ "alert-number": components["schemas"]["alert-number"]; /** @description The SHA of the commit. */ @@ -86340,7 +86682,7 @@ export interface operations { 404: components["responses"]["not_found"]; }; }; - "classroom/list-accepted-assigments-for-an-assignment": { + "classroom/list-accepted-assignments-for-an-assignment": { parameters: { query?: { /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -86697,6 +87039,10 @@ export interface operations { after?: components["parameters"]["pagination-after"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -88302,7 +88648,7 @@ export interface operations { members_can_create_public_repositories?: boolean; /** * @description Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. + * **Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. * @enum {string} */ members_allowed_repository_creation_type?: "all" | "private" | "none"; @@ -88335,7 +88681,7 @@ export interface operations { blog?: string; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88346,7 +88692,7 @@ export interface operations { advanced_security_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88357,7 +88703,7 @@ export interface operations { dependabot_alerts_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. * @@ -88368,7 +88714,7 @@ export interface operations { dependabot_security_updates_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88379,7 +88725,7 @@ export interface operations { dependency_graph_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88390,7 +88736,7 @@ export interface operations { secret_scanning_enabled_for_new_repositories?: boolean; /** * @deprecated - * @description **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + * @description **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. * * Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. * @@ -88788,6 +89134,415 @@ export interface operations { }; }; }; + "actions/list-self-hosted-runner-groups-for-org": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + /** @description Only return runner groups that are allowed to be used by this repository. */ + visible_to_repository?: components["parameters"]["visible-to-repository"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + runner_groups: components["schemas"]["runner-groups-org"][]; + }; + }; + }; + }; + }; + "actions/create-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. + * @default all + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids?: number[]; + /** @description List of runner IDs to add to the runner group. */ + runners?: number[]; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/get-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/delete-self-hosted-runner-group-from-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/update-self-hosted-runner-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description Name of the runner group. */ + name: string; + /** + * @description Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. + * @enum {string} + */ + visibility?: "selected" | "all" | "private"; + /** + * @description Whether the runner group can be used by `public` repositories. + * @default false + */ + allows_public_repositories?: boolean; + /** + * @description If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. + * @default false + */ + restricted_to_workflows?: boolean; + /** @description List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. */ + selected_workflows?: string[]; + }; + }; + }; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["runner-groups-org"]; + }; + }; + }; + }; + "actions/list-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: { + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + repositories: components["schemas"]["minimal-repository"][]; + }; + }; + }; + }; + }; + "actions/set-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description List of repository IDs that can access the runner group. */ + selected_repository_ids: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/add-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + repository_id: components["parameters"]["repository-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/remove-repo-access-to-self-hosted-runner-group-in-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description The unique identifier of the repository. */ + repository_id: components["parameters"]["repository-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/list-self-hosted-runners-in-group-for-org": { + parameters: { + query?: { + /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + per_page?: components["parameters"]["per-page"]; + /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + page?: components["parameters"]["page"]; + }; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 200: { + headers: { + Link: components["headers"]["link"]; + [name: string]: unknown; + }; + content: { + "application/json": { + total_count: number; + runners: components["schemas"]["runner"][]; + }; + }; + }; + }; + }; + "actions/set-self-hosted-runners-in-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": { + /** @description List of runner IDs to add to the runner group. */ + runners: number[]; + }; + }; + }; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/add-self-hosted-runner-to-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + runner_id: components["parameters"]["runner-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + "actions/remove-self-hosted-runner-from-group-for-org": { + parameters: { + query?: never; + header?: never; + path: { + /** @description The organization name. The name is not case sensitive. */ + org: components["parameters"]["org"]; + /** @description Unique identifier of the self-hosted runner group. */ + runner_group_id: components["parameters"]["runner-group-id"]; + /** @description Unique identifier of the self-hosted runner. */ + runner_id: components["parameters"]["runner-id"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Response */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; "actions/list-self-hosted-runners-for-org": { parameters: { query?: { @@ -89962,6 +90717,25 @@ export interface operations { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @default disabled + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @default disabled @@ -90166,6 +90940,24 @@ export interface operations { * @enum {string} */ secret_scanning_push_protection?: "enabled" | "disabled" | "not_set"; + /** + * @description The enablement status of secret scanning delegated bypass + * @enum {string} + */ + secret_scanning_delegated_bypass?: "enabled" | "disabled" | "not_set"; + /** @description Feature options for secret scanning delegated bypass */ + secret_scanning_delegated_bypass_options?: { + /** @description The bypass reviewers for secret scanning delegated bypass */ + reviewers?: { + /** @description The ID of the team or role selected as a bypass reviewer */ + reviewer_id: number; + /** + * @description The type of the bypass reviewer + * @enum {string} + */ + reviewer_type: "TEAM" | "ROLE"; + }[]; + }; /** * @description The enablement status of secret scanning validity checks * @enum {string} @@ -93805,7 +94597,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -93832,7 +94624,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -93879,7 +94671,7 @@ export interface operations { path: { /** @description The organization name. The name is not case sensitive. */ org: components["parameters"]["org"]; - /** @description The custom property name. The name is case sensitive. */ + /** @description The custom property name */ custom_property_name: components["parameters"]["custom-property-name"]; }; cookie?: never; @@ -94191,7 +94983,7 @@ export interface operations { delete_branch_on_merge?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -94263,6 +95055,11 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ page?: components["parameters"]["page"]; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + targets?: components["parameters"]["ruleset-targets"]; }; header?: never; path: { @@ -94526,6 +95323,10 @@ export interface operations { after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -94836,7 +95637,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -94946,7 +95747,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -96957,6 +97758,11 @@ export interface operations { /** @description Can be `enabled` or `disabled`. */ status?: string; }; + /** @description Use the `status` property to enable or disable secret scanning AI detection for this repository. For more information, see "[Responsible detection of generic secrets with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." */ + secret_scanning_ai_detection?: { + /** @description Can be `enabled` or `disabled`. */ + status?: string; + }; /** @description Use the `status` property to enable or disable secret scanning non-provider patterns for this repository. For more information, see "[Supported secret scanning patterns](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." */ secret_scanning_non_provider_patterns?: { /** @description Can be `enabled` or `disabled`. */ @@ -97017,7 +97823,7 @@ export interface operations { allow_update_branch?: boolean; /** * @deprecated - * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. + * @description Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead. * @default false */ use_squash_pr_title_as_default?: boolean; @@ -99799,7 +100605,7 @@ export interface operations { strict: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100268,7 +101074,7 @@ export interface operations { strict?: boolean; /** * @deprecated - * @description **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. + * @description **Closing down notice**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. */ contexts?: string[]; /** @description The list of status checks to require in order to merge into this branch. */ @@ -100527,12 +101333,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -100562,12 +101368,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -100597,12 +101403,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. */ apps: string[]; - } | string[]; + }; }; }; responses: { @@ -100793,12 +101599,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -100828,12 +101634,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -100863,12 +101669,12 @@ export interface operations { }; cookie?: never; }; - requestBody?: { + requestBody: { content: { "application/json": { /** @description The username for users */ users: string[]; - } | string[]; + }; }; }; responses: { @@ -101458,8 +102264,14 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; /** @description The direction to sort the results by. */ direction?: components["parameters"]["direction"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + before?: components["parameters"]["pagination-before"]; + /** @description A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ + after?: components["parameters"]["pagination-after"]; /** @description The property by which to sort the results. */ sort?: "created" | "updated"; /** @description If specified, only code scanning alerts with this state will be returned. */ @@ -101571,6 +102383,8 @@ export interface operations { per_page?: components["parameters"]["per-page"]; /** @description The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["parameters"]["git-ref"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; }; header?: never; path: { @@ -101610,6 +102424,8 @@ export interface operations { page?: components["parameters"]["page"]; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ per_page?: components["parameters"]["per-page"]; + /** @description The number of the pull request for the results you want to list. */ + pr?: components["parameters"]["pr-alias"]; /** @description The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. */ ref?: components["schemas"]["code-scanning-ref"]; /** @description Filter analyses belonging to the same SARIF upload. */ @@ -102176,7 +102992,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -103069,7 +103885,7 @@ export interface operations { path?: string; /** @description Line index in the diff to comment on. */ position?: number; - /** @description **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. */ + /** @description **Closing down notice**. Use **position** parameter instead. Line number in the file to comment on. */ line?: number; }; }; @@ -103614,7 +104430,7 @@ export interface operations { direction?: components["parameters"]["direction"]; /** * @deprecated - * @description **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. + * @description **Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. */ page?: number; /** @@ -104325,7 +105141,7 @@ export interface operations { "application/json": { /** @description A custom webhook event name. Must be 100 characters or fewer. */ event_type: string; - /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. */ + /** @description JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB. */ client_payload?: { [key: string]: unknown; }; @@ -106740,7 +107556,7 @@ export interface operations { title: string | number; /** @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.**_ */ + /** @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 closing down.**_ */ assignee?: string | null; milestone?: (string | number) | null; /** @description Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ */ @@ -107125,7 +107941,7 @@ export interface operations { title?: (string | number) | null; /** @description The contents of the issue. */ body?: string | null; - /** @description Username to assign to this issue. **This field is deprecated.** */ + /** @description Username to assign to this issue. **This field is closing down.** */ assignee?: string | null; /** * @description The open or closed state of the issue. @@ -109569,7 +110385,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -109681,7 +110497,7 @@ export interface operations { path: string; /** * @deprecated - * @description **This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. + * @description **This parameter is closing down. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. */ position?: number; /** @@ -111096,6 +111912,11 @@ export interface operations { page?: components["parameters"]["page"]; /** @description Include rulesets configured at higher levels that apply to this repository */ includes_parents?: boolean; + /** @description A comma-separated list of rule targets to filter by. + * If provided, only rulesets that apply to the specified targets will be returned. + * For example, `branch,tag,push`. + * */ + targets?: components["parameters"]["ruleset-targets"]; }; header?: never; path: { @@ -111374,6 +112195,10 @@ export interface operations { after?: components["parameters"]["secret-scanning-pagination-after-org-repo"]; /** @description A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. */ validity?: components["parameters"]["secret-scanning-alert-validity"]; + /** @description A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present. */ + is_publicly_leaked?: components["parameters"]["secret-scanning-alert-publicly-leaked"]; + /** @description A boolean value representing whether or not to filter alerts by the multi-repo tag being present. */ + is_multi_repo?: components["parameters"]["secret-scanning-alert-multi-repo"]; }; header?: never; path: { @@ -112736,12 +113561,12 @@ export interface operations { q: string; /** * @deprecated - * @description **This field is deprecated.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) + * @description **This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results) */ sort?: "indexed"; /** * @deprecated - * @description **This field is deprecated.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. + * @description **This field is closing down.** Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. */ order?: "desc" | "asc"; /** @description The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." */ @@ -113080,7 +113905,7 @@ export interface operations { */ notification_setting?: "notifications_enabled" | "notifications_disabled"; /** - * @description **Deprecated**. The permission that new repositories will be added to the team with when none is specified. + * @description **Closing down notice**. The permission that new repositories will be added to the team with when none is specified. * @default pull * @enum {string} */ @@ -114372,7 +115197,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; @@ -114403,7 +115228,7 @@ export interface operations { /** @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; /** - * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. + * @description The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is closing down. * @enum {string} */ geo?: "EuropeWest" | "SoutheastAsia" | "UsEast" | "UsWest"; diff --git a/packages/openapi-typescript/examples/github-api.yaml b/packages/openapi-typescript/examples/github-api.yaml index 3ba85e979..b27e71a8b 100644 --- a/packages/openapi-typescript/examples/github-api.yaml +++ b/packages/openapi-typescript/examples/github-api.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: code-security description: Endpoints to manage Code security using the REST API. +- name: private-registries + description: Manage private registry configurations. servers: - url: https://api.github.com externalDocs: @@ -1188,7 +1190,7 @@ paths: the assignment. tags: - classroom - operationId: classroom/list-accepted-assigments-for-an-assignment + operationId: classroom/list-accepted-assignments-for-an-assignment externalDocs: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment @@ -1437,7 +1439,7 @@ paths: summary: List all Copilot seat assignments for an enterprise description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Lists all active Copilot seats across organizations or enterprise teams for an enterprise with a Copilot Business or Copilot Enterprise subscription. @@ -1505,7 +1507,7 @@ paths: summary: Get a summary of Copilot usage for enterprise members description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances, @@ -1660,6 +1662,8 @@ paths: - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -1689,7 +1693,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -3911,10 +3915,10 @@ paths: summary: Update an organization description: |- > [!WARNING] - > **Parameter deprecation notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). + > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). > [!WARNING] - > **Parameter deprecation notice:** Code security product enablement for new repositories through the organization API is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). + > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). Updates the organization's profile and member privileges. @@ -4009,7 +4013,7 @@ paths: description: "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** - This parameter is deprecated and will be removed in the future. + This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description @@ -4050,7 +4054,7 @@ paths: advanced_security_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. @@ -4061,7 +4065,7 @@ paths: dependabot_alerts_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. @@ -4072,7 +4076,7 @@ paths: dependabot_security_updates_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. @@ -4083,7 +4087,7 @@ paths: dependency_graph_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. @@ -4094,7 +4098,7 @@ paths: secret_scanning_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. @@ -4105,7 +4109,7 @@ paths: secret_scanning_push_protection_enabled_for_new_repositories: type: boolean description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. @@ -4670,6 +4674,544 @@ paths: enabledForGitHubApps: true category: actions subcategory: permissions + "/orgs/{org}/actions/runner-groups": + get: + summary: List self-hosted runner groups for an organization + description: |- + Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-self-hosted-runner-groups-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/visible-to-repository" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - runner_groups + properties: + total_count: + type: number + runner_groups: + type: array + items: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-groups-org" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + post: + summary: Create a self-hosted runner group for an organization + description: |- + Creates a new self-hosted runner group for an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/create-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the runner group. + type: string + visibility: + description: Visibility of a runner group. You can select all repositories, + select individual repositories, or limit access to private repositories. + type: string + enum: + - selected + - all + - private + default: all + selected_repository_ids: + description: List of repository IDs that can access the runner group. + type: array + items: + type: integer + description: Unique identifier of the repository. + runners: + description: List of runner IDs to add to the runner group. + type: array + items: + type: integer + description: Unique identifier of the runner. + allows_public_repositories: + description: Whether the runner group can be used by `public` repositories. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running + only the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed + to run. This setting will be ignored unless `restricted_to_workflows` + is set to `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed + to run. Note that a ref, tag, or long SHA is required. + example: octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - name + examples: + default: + value: + name: Expensive hardware runners + visibility: selected + selected_repository_ids: + - 32 + - 91 + runners: + - 9 + - 2 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}": + get: + summary: Get a self-hosted runner group for an organization + description: |- + Gets a specific self-hosted runner group for an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/get-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group-item" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + patch: + summary: Update a self-hosted runner group for an organization + description: |- + Updates the `name` and `visibility` of a self-hosted runner group in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/update-self-hosted-runner-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the runner group. + type: string + visibility: + description: Visibility of a runner group. You can select all repositories, + select individual repositories, or all private repositories. + type: string + enum: + - selected + - all + - private + allows_public_repositories: + description: Whether the runner group can be used by `public` repositories. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running + only the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed + to run. This setting will be ignored unless `restricted_to_workflows` + is set to `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed + to run. Note that a ref, tag, or long SHA is required. + example: octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - name + examples: + default: + value: + name: Expensive hardware runners + visibility: selected + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/runner-groups-org" + examples: + default: + "$ref": "#/components/examples/runner-group" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Delete a self-hosted runner group from an organization + description: |- + Deletes a self-hosted runner group for an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/delete-self-hosted-runner-group-from-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": + get: + summary: List repository access to a self-hosted runner group in an organization + description: |- + Lists the repositories with access to a self-hosted runner group configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: number + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/minimal-repository-paginated" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + put: + summary: Set repository access for a self-hosted runner group in an organization + description: |- + Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/set-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + description: List of repository IDs that can access the runner group. + type: array + items: + type: integer + description: Unique identifier of the repository. + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 32 + - 91 + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": + put: + summary: Add repository access to a self-hosted runner group in an organization + description: |- + Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/add-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Remove repository access to a self-hosted runner group in an organization + description: |- + Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/remove-repo-access-to-self-hosted-runner-group-in-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/repository-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": + get: + summary: List self-hosted runners in a group for an organization + description: |- + Lists self-hosted runners that are in a specific organization group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/list-self-hosted-runners-in-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - runners + properties: + total_count: + type: number + runners: + type: array + items: + "$ref": "#/components/schemas/runner" + examples: + default: + "$ref": "#/components/examples/runner-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + put: + summary: Set self-hosted runners in a group for an organization + description: |- + Replaces the list of self-hosted runners that are part of an organization runner group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/set-self-hosted-runners-in-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + runners: + description: List of runner IDs to add to the runner group. + type: array + items: + type: integer + description: Unique identifier of the runner. + required: + - runners + examples: + default: + value: + runners: + - 9 + - 2 + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": + put: + summary: Add a self-hosted runner to a group for an organization + description: |- + Adds a self-hosted runner to a runner group configured in an organization. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/add-self-hosted-runner-to-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/runner-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups + delete: + summary: Remove a self-hosted runner from a group for an organization + description: |- + Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + operationId: actions/remove-self-hosted-runner-from-group-for-org + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/runner-group-id" + - "$ref": "#/components/parameters/runner-id" + responses: + '204': + description: Response + x-github: + enabledForGitHubApps: true + githubCloudOnly: false + category: actions + subcategory: self-hosted-runner-groups "/orgs/{org}/actions/runners": get: summary: List self-hosted runners for an organization @@ -6359,6 +6901,39 @@ paths: - disabled - not_set default: disabled + secret_scanning_delegated_bypass: + type: string + description: The enablement status of secret scanning delegated + bypass + enum: + - enabled + - disabled + - not_set + default: disabled + secret_scanning_delegated_bypass_options: + type: object + description: Feature options for secret scanning delegated bypass + properties: + reviewers: + type: array + description: The bypass reviewers for secret scanning delegated + bypass + items: + type: object + required: + - reviewer_id + - reviewer_type + properties: + reviewer_id: + type: integer + description: The ID of the team or role selected as a + bypass reviewer + reviewer_type: + type: string + description: The type of the bypass reviewer + enum: + - TEAM + - ROLE secret_scanning_validity_checks: type: string description: The enablement status of secret scanning validity checks @@ -6647,6 +7222,38 @@ paths: - enabled - disabled - not_set + secret_scanning_delegated_bypass: + type: string + description: The enablement status of secret scanning delegated + bypass + enum: + - enabled + - disabled + - not_set + secret_scanning_delegated_bypass_options: + type: object + description: Feature options for secret scanning delegated bypass + properties: + reviewers: + type: array + description: The bypass reviewers for secret scanning delegated + bypass + items: + type: object + required: + - reviewer_id + - reviewer_type + properties: + reviewer_id: + type: integer + description: The ID of the team or role selected as a + bypass reviewer + reviewer_type: + type: string + description: The type of the bypass reviewer + enum: + - TEAM + - ROLE secret_scanning_validity_checks: type: string description: The enablement status of secret scanning validity checks @@ -7568,7 +8175,7 @@ paths: summary: Get Copilot seat information and settings for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Gets information about an organization's Copilot subscription, including seat breakdown and feature policies. To configure these settings, go to your organization's settings on GitHub.com. @@ -7615,7 +8222,7 @@ paths: summary: List all Copilot seat assignments for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription. Only organization owners can view assigned seats. @@ -7677,7 +8284,7 @@ paths: summary: Add teams to the Copilot subscription for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -7761,7 +8368,7 @@ paths: summary: Remove teams from the Copilot subscription for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Cancels the Copilot seat assignment for all members of each team specified. This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -7844,7 +8451,7 @@ paths: summary: Add users to the Copilot subscription for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Purchases a GitHub Copilot seat for each user specified. The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)". @@ -7928,7 +8535,7 @@ paths: summary: Remove users from the Copilot subscription for an organization description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Cancels the Copilot seat assignment for each user specified. This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users. @@ -8012,7 +8619,7 @@ paths: summary: Get a summary of Copilot usage for organization members description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -9871,7 +10478,7 @@ paths: summary: Get Copilot seat assignment details for a user description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot. @@ -12420,7 +13027,7 @@ paths: type: boolean description: Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property - has been deprecated. Please use `squash_merge_commit_title` instead. + is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true squash_merge_commit_title: @@ -12532,6 +13139,7 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/ruleset-targets" responses: '200': description: Response @@ -12911,6 +13519,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -13198,7 +13808,7 @@ paths: summary: Get a summary of Copilot usage for a team description: |- > [!NOTE] - > This endpoint is in beta and is subject to change. + > This endpoint is in public preview and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -13370,7 +13980,7 @@ paths: - notifications_disabled permission: type: string - description: "**Deprecated**. The permission that new repositories + description: "**Closing down notice**. The permission that new repositories will be added to the team with when none is specified." enum: - pull @@ -13496,7 +14106,7 @@ paths: - notifications_disabled permission: type: string - description: "**Deprecated**. The permission that new repositories + description: "**Closing down notice**. The permission that new repositories will be added to the team with when none is specified." enum: - pull @@ -14923,7 +15533,7 @@ paths: summary: Enable or disable a security feature for an organization description: |- > [!WARNING] - > **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). + > **Closing down notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/). Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." @@ -16007,7 +16617,7 @@ paths: * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." > [!NOTE] - > The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + > The `rate` object is closing down. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. tags: - rate-limit operationId: rate-limit/get @@ -16164,6 +16774,16 @@ paths: status: type: string description: Can be `enabled` or `disabled`. + secret_scanning_ai_detection: + type: object + description: Use the `status` property to enable or disable + secret scanning AI detection for this repository. For more + information, see "[Responsible detection of generic secrets + with AI](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/responsible-ai-generic-secrets)." + properties: + status: + type: string + description: Can be `enabled` or `disabled`. secret_scanning_non_provider_patterns: type: object description: Use the `status` property to enable or disable @@ -16236,7 +16856,7 @@ paths: type: boolean description: Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property - has been deprecated. Please use `squash_merge_commit_title` instead. + is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true squash_merge_commit_title: @@ -19962,12 +20582,12 @@ paths: contexts: type: array deprecated: true - description: "**Deprecated**: The list of status checks to require - in order to merge into this branch. If any of these checks - have recently been set by a particular GitHub App, they will - be required to come from that app in future for the branch - to merge. Use `checks` instead of `contexts` for more fine-grained - control." + description: "**Closing down notice**: The list of status checks + to require in order to merge into this branch. If any of these + checks have recently been set by a particular GitHub App, + they will be required to come from that app in future for + the branch to merge. Use `checks` instead of `contexts` for + more fine-grained control." items: type: string checks: @@ -20670,11 +21290,12 @@ paths: contexts: type: array deprecated: true - description: "**Deprecated**: The list of status checks to require - in order to merge into this branch. If any of these checks have - recently been set by a particular GitHub App, they will be required - to come from that app in future for the branch to merge. Use `checks` - instead of `contexts` for more fine-grained control." + description: "**Closing down notice**: The list of status checks + to require in order to merge into this branch. If any of these + checks have recently been set by a particular GitHub App, they + will be required to come from that app in future for the branch + to merge. Use `checks` instead of `contexts` for more fine-grained + control." items: type: string checks: @@ -21105,28 +21726,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -21169,28 +21786,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -21233,27 +21846,24 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: + required: true content: application/json: schema: - oneOf: - - type: object - properties: - apps: - type: array - description: 'The GitHub Apps that have push access to this branch. - Use the slugified version of the app name. **Note**: The list - of users, apps, and teams in total is limited to 100 items.' - items: - type: string - required: - - apps - example: - apps: - - my-app - - type: array - items: - type: string + type: object + properties: + apps: + type: array + description: 'The GitHub Apps that have push access to this branch. + Use the slugified version of the app name. **Note**: The list + of users, apps, and teams in total is limited to 100 items.' + items: + type: string + required: + - apps + example: + apps: + - my-app examples: default: value: @@ -21563,26 +22173,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example adding a user in a branch protection rule @@ -21630,26 +22236,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: - required: false + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example replacing a user in a branch protection rule @@ -21697,25 +22299,22 @@ paths: - "$ref": "#/components/parameters/repo" - "$ref": "#/components/parameters/branch" requestBody: + required: true content: application/json: schema: - oneOf: - - type: object - properties: - users: - type: array - description: The username for users - items: - type: string - required: - - users - example: - users: - - mona - - type: array - items: - type: string + type: object + properties: + users: + type: array + description: The username for users + items: + type: string + required: + - users + example: + users: + - mona examples: default: summary: Example removing a user in a branch protection rule @@ -22028,6 +22627,8 @@ paths: required: - name - head_sha + discriminator: + propertyName: status oneOf: - properties: status: @@ -22777,7 +23378,10 @@ paths: - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/git-ref" + - "$ref": "#/components/parameters/pr-alias" - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" - name: sort description: The property by which to sort the results. in: query @@ -22945,6 +23549,7 @@ paths: - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/git-ref" + - "$ref": "#/components/parameters/pr-alias" responses: '200': description: Response @@ -22984,7 +23589,7 @@ paths: and `0` is returned in this field. > [!WARNING] - > **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. + > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. operationId: code-scanning/list-recent-analyses @@ -23000,6 +23605,7 @@ paths: - "$ref": "#/components/parameters/tool-guid" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pr-alias" - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` @@ -23983,7 +24589,7 @@ paths: geo: description: The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, - which is being deprecated. + which is closing down. type: string enum: - EuropeWest @@ -24371,8 +24977,6 @@ paths: Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. - Anyone with read access to the repository can use this endpoint. - If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - codespaces @@ -25326,8 +25930,8 @@ paths: description: Line index in the diff to comment on. line: type: integer - description: "**Deprecated**. Use **position** parameter instead. - Line number in the file to comment on." + description: "**Closing down notice**. Use **position** parameter + instead. Line number in the file to comment on." required: - body examples: @@ -25899,6 +26503,13 @@ paths: - "$ref": "#/components/schemas/content-file" - "$ref": "#/components/schemas/content-symlink" - "$ref": "#/components/schemas/content-submodule" + discriminator: + propertyName: type + mapping: + array: "#/components/schemas/content-directory" + file: "#/components/schemas/content-file" + symlink: "#/components/schemas/content-symlink" + submodule: "#/components/schemas/content-submodule" examples: response-if-content-is-a-file: "$ref": "#/components/examples/content-file-response-if-content-is-a-file" @@ -26236,8 +26847,8 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - name: page - description: "**Deprecated**. Page number of the results to fetch. Use cursor-based - pagination with `before` or `after` instead." + description: "**Closing down notice**. Page number of the results to fetch. + Use cursor-based pagination with `before` or `after` instead." deprecated: true in: query schema: @@ -27260,7 +27871,8 @@ paths: type: object description: JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number - of top-level properties is 10. + of top-level properties is 10. The total size of the JSON payload + must be less than 64KB. additionalProperties: true maxProperties: 10 examples: @@ -29936,7 +30548,7 @@ paths: View the progress of an import. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). **Import status** @@ -30009,7 +30621,7 @@ paths: return a status `422 Unprocessable Entity` response. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/start-import @@ -30101,7 +30713,7 @@ paths: You can select the project to import by providing one of the objects in the `project_choices` array in the update request. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/update-import @@ -30184,7 +30796,7 @@ paths: Stop an import for a repository. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/cancel-import @@ -30216,7 +30828,7 @@ paths: This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/get-commit-authors @@ -30259,7 +30871,7 @@ paths: new commits to the repository. > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/map-commit-author @@ -30324,7 +30936,7 @@ paths: List files larger than 100MB found during the import > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/get-large-files @@ -30367,7 +30979,7 @@ paths: site](https://docs.github.com/repositories/working-with-files/managing-large-files). > [!WARNING] - > **Deprecation notice:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). tags: - migrations operationId: migrations/set-lfs-preference @@ -30818,7 +31430,7 @@ paths: 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.**_' + field is closing down.**_' nullable: true milestone: oneOf: @@ -31355,7 +31967,7 @@ paths: patch: summary: Update an issue description: |- - Issue owners and users with push access can edit an issue. + Issue owners and users with push access or Triage role can edit an issue. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." @@ -31393,7 +32005,8 @@ paths: assignee: type: string nullable: true - description: Username to assign to this issue. **This field is deprecated.** + description: Username to assign to this issue. **This field is closing + down.** state: type: string description: The open or closed state of the issue. @@ -34872,7 +35485,7 @@ paths: geo: description: The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, - which is being deprecated. + which is closing down. type: string enum: - EuropeWest @@ -35006,7 +35619,7 @@ paths: If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request. - The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. + The `position` parameter is closing down. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -35047,7 +35660,7 @@ paths: description: The relative path to the file that necessitates a comment. position: type: integer - description: '**This parameter is deprecated. Use `line` instead**. + description: '**This parameter is closing down. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first @@ -36100,8 +36713,9 @@ paths: "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch": put: summary: Update a pull request branch - description: Updates the pull request branch with the latest upstream changes - by merging HEAD from the base branch into the pull request branch. + description: |- + Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository. tags: - pulls operationId: pulls/update-branch @@ -37133,6 +37747,7 @@ paths: schema: type: boolean default: true + - "$ref": "#/components/parameters/ruleset-targets" responses: '200': description: Response @@ -37512,6 +38127,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -38698,10 +39315,10 @@ paths: subcategory: repos "/repos/{owner}/{repo}/tags/protection": get: - summary: Deprecated - List tag protection states for a repository + summary: Closing down - List tag protection states for a repository description: |- > [!WARNING] - > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. + > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. This returns the tag protection states of a repository. @@ -38711,7 +39328,7 @@ paths: operationId: repos/list-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#deprecated---list-tag-protection-states-for-a-repository + url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -38740,10 +39357,10 @@ paths: removalDate: '2024-08-30' deprecated: true post: - summary: Deprecated - Create a tag protection state for a repository + summary: Closing down - Create a tag protection state for a repository description: |- > [!WARNING] - > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. This creates a tag protection state for a repository. This endpoint is only available to repository administrators. @@ -38752,7 +39369,7 @@ paths: operationId: repos/create-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#deprecated---create-a-tag-protection-state-for-a-repository + url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -38797,10 +39414,10 @@ paths: deprecated: true "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": delete: - summary: Deprecated - Delete a tag protection state for a repository + summary: Closing down - Delete a tag protection state for a repository description: |- > [!WARNING] - > **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. This deletes a tag protection state for a repository. This endpoint is only available to repository administrators. @@ -38809,7 +39426,7 @@ paths: operationId: repos/delete-tag-protection externalDocs: description: API method documentation - url: https://docs.github.com/rest/repos/tags#deprecated---delete-a-tag-protection-state-for-a-repository + url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -39471,7 +40088,7 @@ paths: type: string - name: sort deprecated: true - description: "**This field is deprecated.** Sorts the results of your query. + description: "**This field is closing down.** Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://docs.github.com/rest/search/search#ranking-search-results)" in: query @@ -39481,9 +40098,10 @@ paths: enum: - indexed - name: order - description: "**This field is deprecated.** Determines whether the first search - result returned is the highest number of matches (`desc`) or lowest number - of matches (`asc`). This parameter is ignored unless you provide `sort`. " + description: "**This field is closing down.** Determines whether the first + search result returned is the highest number of matches (`desc`) or lowest + number of matches (`asc`). This parameter is ignored unless you provide + `sort`. " in: query deprecated: true required: false @@ -40011,7 +40629,7 @@ paths: summary: Get a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. tags: - teams operationId: teams/get-legacy @@ -40044,7 +40662,7 @@ paths: summary: Update a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint. To edit a team, the authenticated user must either be an organization owner or a team maintainer. @@ -40095,7 +40713,7 @@ paths: - notifications_disabled permission: type: string - description: "**Deprecated**. The permission that new repositories + description: "**Closing down notice**. The permission that new repositories will be added to the team with when none is specified." enum: - pull @@ -40152,7 +40770,7 @@ paths: summary: Delete a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint. To delete a team, the authenticated user must be an organization owner or team maintainer. @@ -40185,7 +40803,7 @@ paths: summary: List discussions (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint. List all discussions on a team's page. @@ -40228,7 +40846,7 @@ paths: summary: Create a discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint. Creates a new discussion post on a team's page. @@ -40295,7 +40913,7 @@ paths: summary: Get a discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint. Get a specific discussion on a team's page. @@ -40331,7 +40949,7 @@ paths: summary: Update a discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint. Edits the title and body text of a discussion post. Only the parameters you provide are updated. @@ -40384,7 +41002,7 @@ paths: summary: Delete a discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint. Delete a discussion from a team's page. @@ -40414,7 +41032,7 @@ paths: summary: List discussion comments (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint. List all comments on a team discussion. @@ -40458,7 +41076,7 @@ paths: summary: Create a discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint. Creates a new comment on a team discussion. @@ -40514,7 +41132,7 @@ paths: summary: Get a discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint. Get a specific comment on a team discussion. @@ -40551,7 +41169,7 @@ paths: summary: Update a discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint. Edits the body text of a discussion comment. @@ -40604,7 +41222,7 @@ paths: summary: Delete a discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint. Deletes a comment on a team discussion. @@ -40635,7 +41253,7 @@ paths: summary: List reactions for a team discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint. List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -40695,7 +41313,7 @@ paths: summary: Create reaction for a team discussion comment (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint. Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). @@ -40761,7 +41379,7 @@ paths: summary: List reactions for a team discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint. List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -40820,7 +41438,7 @@ paths: summary: Create reaction for a team discussion (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint. Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). @@ -40885,7 +41503,7 @@ paths: summary: List pending team invitations (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint. The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. tags: @@ -40926,7 +41544,7 @@ paths: summary: List team members (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint. Team members will include the members of child teams. tags: @@ -40979,7 +41597,7 @@ paths: get: summary: Get team member (Legacy) description: |- - The "Get team member" endpoint (described below) is deprecated. + The "Get team member" endpoint (described below) is closing down. We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships. @@ -41009,7 +41627,7 @@ paths: put: summary: Add team member (Legacy) description: |- - The "Add team member" endpoint (described below) is deprecated. + The "Add team member" endpoint (described below) is closing down. We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams. @@ -41052,7 +41670,7 @@ paths: delete: summary: Remove team member (Legacy) description: |- - The "Remove team member" endpoint (described below) is deprecated. + The "Remove team member" endpoint (described below) is closing down. We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships. @@ -41089,7 +41707,7 @@ paths: summary: Get team membership for a user (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint. Team members will include the members of child teams. @@ -41132,7 +41750,7 @@ paths: summary: Add or update team membership for a user (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. @@ -41201,7 +41819,7 @@ paths: summary: Remove team membership for a user (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. @@ -41236,7 +41854,7 @@ paths: summary: List team projects (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint. Lists the organization projects for a team. tags: @@ -41279,7 +41897,7 @@ paths: summary: Check team permissions for a project (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint. Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. tags: @@ -41315,7 +41933,7 @@ paths: summary: Add or update team project permissions (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint. Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. tags: @@ -41386,7 +42004,7 @@ paths: summary: Remove a project from a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint. Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. tags: @@ -41418,7 +42036,7 @@ paths: summary: List team repositories (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. tags: - teams operationId: teams/list-repos-legacy @@ -41459,7 +42077,7 @@ paths: summary: Check team permissions for a repository (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint. > [!NOTE] > Repositories inherited through a parent team will also be checked. @@ -41501,7 +42119,7 @@ paths: summary: Add or update team repository permissions (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint. To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. @@ -41557,7 +42175,7 @@ paths: summary: Remove a repository from a team (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint. If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. tags: @@ -41586,7 +42204,7 @@ paths: summary: List child teams (Legacy) description: |- > [!WARNING] - > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. tags: - teams operationId: teams/list-child-legacy @@ -41647,6 +42265,11 @@ paths: oneOf: - "$ref": "#/components/schemas/private-user" - "$ref": "#/components/schemas/public-user" + discriminator: + propertyName: user_view_type + mapping: + public: "#/components/schemas/public-user" + private: "#/components/schemas/private-user" examples: response-with-public-and-private-profile-information: "$ref": "#/components/examples/private-user-response-with-public-and-private-profile-information" @@ -41964,7 +42587,7 @@ paths: geo: description: The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, - which is being deprecated. + which is closing down. type: string enum: - EuropeWest @@ -42023,7 +42646,7 @@ paths: geo: description: The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, - which is being deprecated. + which is closing down. type: string enum: - EuropeWest @@ -46033,6 +46656,11 @@ paths: oneOf: - "$ref": "#/components/schemas/private-user" - "$ref": "#/components/schemas/public-user" + discriminator: + propertyName: user_view_type + mapping: + public: "#/components/schemas/public-user" + private: "#/components/schemas/private-user" examples: default-response: "$ref": "#/components/examples/public-user-default-response" @@ -46111,6 +46739,11 @@ paths: oneOf: - "$ref": "#/components/schemas/private-user" - "$ref": "#/components/schemas/public-user" + discriminator: + propertyName: user_view_type + mapping: + public: "#/components/schemas/public-user" + private: "#/components/schemas/private-user" examples: default-response: "$ref": "#/components/examples/public-user-default-response" @@ -46228,7 +46861,7 @@ paths: get: summary: List events for the authenticated user description: |- - If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. _Optional_: use the fine-grained token with following permission set to view private events: "Events" user permissions (read). > [!NOTE] > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. @@ -49182,7 +49815,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A Dependabot alert was automatically closed by a Dependabot auto-triage rule. operationId: dependabot-alert/auto-dismissed @@ -49252,7 +49885,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed. @@ -49323,7 +49956,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable. @@ -49394,7 +50027,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A Dependabot alert was manually closed. operationId: dependabot-alert/dismissed externalDocs: @@ -49463,7 +50096,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A manifest file change removed a vulnerability. operationId: dependabot-alert/fixed externalDocs: @@ -49532,7 +50165,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A manifest file change introduced a vulnerable dependency that had previously been fixed. operationId: dependabot-alert/reintroduced @@ -49602,7 +50235,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission. > [!NOTE] - > Webhook events for Dependabot alerts are currently in beta and subject to change. + > Webhook events for Dependabot alerts are currently in public preview and subject to change. description: A Dependabot alert was manually reopened. operationId: dependabot-alert/reopened externalDocs: @@ -50188,7 +50821,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on the discussion was marked as the answer. operationId: discussion/answered externalDocs: @@ -50257,7 +50890,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: The category of a discussion was changed. operationId: discussion/category-changed externalDocs: @@ -50326,7 +50959,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was closed. operationId: discussion/closed externalDocs: @@ -50395,7 +51028,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on a discussion was created. operationId: discussion-comment/created externalDocs: @@ -50464,7 +51097,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on a discussion was deleted. operationId: discussion-comment/deleted externalDocs: @@ -50533,7 +51166,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on a discussion was edited. operationId: discussion-comment/edited externalDocs: @@ -50602,7 +51235,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was created. operationId: discussion/created externalDocs: @@ -50671,7 +51304,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was deleted. operationId: discussion/deleted externalDocs: @@ -50740,7 +51373,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: The title or body on a discussion was edited, or the category of the discussion was changed. operationId: discussion/edited @@ -50810,7 +51443,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A label was added to a discussion. operationId: discussion/labeled externalDocs: @@ -50879,7 +51512,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was locked. operationId: discussion/locked externalDocs: @@ -50948,7 +51581,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was pinned. operationId: discussion/pinned externalDocs: @@ -51017,7 +51650,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was reopened. operationId: discussion/reopened externalDocs: @@ -51086,7 +51719,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was transferred to another repository. operationId: discussion/transferred externalDocs: @@ -51155,7 +51788,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A comment on the discussion was unmarked as the answer. operationId: discussion/unanswered externalDocs: @@ -51224,7 +51857,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A label was removed from a discussion. operationId: discussion/unlabeled externalDocs: @@ -51293,7 +51926,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was unlocked. operationId: discussion/unlocked externalDocs: @@ -51362,7 +51995,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission. > [!NOTE] - > Webhook events for GitHub Discussions are currently in beta and subject to change. + > Webhook events for GitHub Discussions are currently in public preview and subject to change. description: A discussion was unpinned. operationId: discussion/unpinned externalDocs: @@ -55415,7 +56048,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. > [!NOTE] - > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was approved. operationId: personal-access-token-request/approved externalDocs: @@ -55480,7 +56113,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. > [!NOTE] - > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was cancelled by the requester. operationId: personal-access-token-request/cancelled @@ -55546,7 +56179,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. > [!NOTE] - > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was created. operationId: personal-access-token-request/created externalDocs: @@ -55611,7 +56244,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. > [!NOTE] - > Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. + > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was denied. operationId: personal-access-token-request/denied externalDocs: @@ -56704,7 +57337,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A project in the organization was closed. operationId: projects-v2/closed externalDocs: @@ -56772,7 +57405,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A project in the organization was created. operationId: projects-v2/created externalDocs: @@ -56840,7 +57473,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A project in the organization was deleted. operationId: projects-v2/deleted externalDocs: @@ -56908,7 +57541,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: The title, description, or README of a project in the organization was changed. operationId: projects-v2/edited @@ -56977,7 +57610,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: An item on an organization project was archived. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." operationId: projects-v2-item/archived @@ -57046,7 +57679,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A draft issue in an organization project was converted to an issue. operationId: projects-v2-item/converted externalDocs: @@ -57114,7 +57747,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: An item was added to a project in the organization. operationId: projects-v2-item/created externalDocs: @@ -57182,7 +57815,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: An item was deleted from a project in the organization. operationId: projects-v2-item/deleted externalDocs: @@ -57250,7 +57883,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue. @@ -57320,7 +57953,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout. @@ -57390,7 +58023,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: An archived item on an organization project was restored from the archive. For more information, see "[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project)." operationId: projects-v2-item/restored @@ -57459,7 +58092,7 @@ x-webhooks: To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission. > [!NOTE] - > Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). + > Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). description: A project in the organization was reopened. operationId: projects-v2/reopened externalDocs: @@ -61410,7 +62043,7 @@ x-webhooks: This event occurs when there is activity relating to a security vulnerability alert in a repository. > [!WARNING] - > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was created. operationId: repository-vulnerability-alert/create externalDocs: @@ -61474,7 +62107,7 @@ x-webhooks: This event occurs when there is activity relating to a security vulnerability alert in a repository. > [!WARNING] - > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was dismissed. operationId: repository-vulnerability-alert/dismiss externalDocs: @@ -61538,7 +62171,7 @@ x-webhooks: This event occurs when there is activity relating to a security vulnerability alert in a repository. > [!WARNING] - > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. description: A previously dismissed or resolved repository vulnerability alert was reopened. operationId: repository-vulnerability-alert/reopen @@ -61603,7 +62236,7 @@ x-webhooks: This event occurs when there is activity relating to a security vulnerability alert in a repository. > [!WARNING] - > **Deprecation notice:** This event is deprecated. Use the `dependabot_alert` event instead. + > **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead. description: A repository vulnerability alert was marked as resolved. operationId: repository-vulnerability-alert/resolve externalDocs: @@ -61806,6 +62439,72 @@ x-webhooks: - repository - organization - app + secret-scanning-alert-publicly-leaked: + post: + summary: |- + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. + + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: secret_scanning_alert + supported-webhook-types: + - repository + - organization + - app secret-scanning-alert-reopened: post: summary: |- @@ -64393,6 +65092,9 @@ components: starred_at: type: string example: '"2020-07-09T00:17:55Z"' + user_view_type: + type: string + example: public required: - avatar_url - events_url @@ -64739,6 +65441,9 @@ components: starred_at: type: string example: '"2020-07-09T00:17:55Z"' + user_view_type: + type: string + example: public required: - avatar_url - events_url @@ -65434,7 +66139,8 @@ components: type: string description: The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot - Business subscription. This property is in beta and is subject to change. + Business subscription. This property is in public preview and is subject + to change. enum: - write organization_announcement_banners: @@ -65481,7 +66187,7 @@ components: organization_projects: type: string description: The level of permission to grant the access token to manage - organization projects and projects beta (where available). + organization projects and projects public preview (where available). enum: - read - write @@ -66032,7 +66738,7 @@ components: use_squash_pr_title_as_default: type: boolean description: Whether a squash merge commit can use the pull request title - as default. **This property has been deprecated. Please use `squash_merge_commit_title` + as default. **This property is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true @@ -66851,7 +67557,7 @@ components: - html_url - key - name - organization-simple: + nullable-organization-simple: title: Organization Simple description: A GitHub organization. type: object @@ -66909,6 +67615,7 @@ components: - public_members_url - avatar_url - description + nullable: true nullable-team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -67097,17 +67804,9 @@ components: type: object properties: assignee: - type: object - description: The assignee that has been granted access to GitHub Copilot. - additionalProperties: true - oneOf: - - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/simple-user" organization: - type: object - description: The organization to which this seat belongs. - nullable: true - oneOf: - - "$ref": "#/components/schemas/organization-simple" + "$ref": "#/components/schemas/nullable-organization-simple" assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. @@ -67144,6 +67843,14 @@ components: format: date-time description: Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format. + plan_type: + type: string + description: The Copilot plan of the organization, or the parent enterprise, + when applicable. + enum: + - business + - enterprise + - unknown required: - assignee - created_at @@ -67939,6 +68646,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true actor: title: Actor description: Actor @@ -68700,6 +69416,8 @@ components: id: type: integer format: int64 + user_view_type: + type: string node_id: type: string avatar_url: @@ -68800,10 +69518,6 @@ components: - name - space - private_repos - suspended_at: - type: string - format: date-time - nullable: true private_gists: type: integer example: 1 @@ -69617,6 +70331,14 @@ components: enum: - enabled - disabled + secret_scanning_ai_detection: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled minimal-repository: title: Minimal Repository description: Minimal Repository @@ -70032,6 +70754,64 @@ components: - reason - url - subscribed + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description organization-full: title: Organization Full description: Organization Full @@ -70144,6 +70924,10 @@ components: type: integer example: 8 nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -70209,7 +70993,7 @@ components: type: boolean example: false description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. @@ -70219,7 +71003,7 @@ components: type: boolean example: false description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization. @@ -70229,7 +71013,7 @@ components: type: boolean example: false description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. @@ -70239,7 +71023,7 @@ components: type: boolean example: false description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. @@ -70249,7 +71033,7 @@ components: type: boolean example: false description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. @@ -70259,7 +71043,7 @@ components: type: boolean example: false description: |- - **Deprecated.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. + **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. @@ -70451,6 +71235,59 @@ components: "$ref": "#/components/schemas/actions-default-workflow-permissions" can_approve_pull_request_reviews: "$ref": "#/components/schemas/actions-can-approve-pull-request-reviews" + runner-groups-org: + type: object + properties: + id: + type: number + name: + type: string + visibility: + type: string + default: + type: boolean + selected_repositories_url: + description: Link to the selected repositories resource for this runner + group. Not present unless visibility was set to `selected` + type: string + runners_url: + type: string + hosted_runners_url: + type: string + inherited: + type: boolean + inherited_allows_public_repositories: + type: boolean + allows_public_repositories: + type: boolean + workflow_restrictions_read_only: + description: If `true`, the `restricted_to_workflows` and `selected_workflows` + fields cannot be modified. + type: boolean + default: false + restricted_to_workflows: + description: If `true`, the runner group will be restricted to running only + the workflows specified in the `selected_workflows` array. + type: boolean + default: false + selected_workflows: + description: List of workflows the runner group should be allowed to run. + This setting will be ignored unless `restricted_to_workflows` is set to + `true`. + type: array + items: + type: string + description: Name of workflow the runner group should be allowed to run. + Note that a ref, tag, or long SHA is required. + example: octo-org/octo-repo/.github/workflows/deploy.yaml@main + required: + - id + - name + - visibility + - default + - runners_url + - inherited + - allows_public_repositories runner-label: title: Self hosted runner label description: A label for a self hosted runner @@ -70927,6 +71764,7 @@ components: enum: - global - organization + - enterprise description: type: string description: A description of the code security configuration @@ -70993,6 +71831,35 @@ components: - enabled - disabled - not_set + secret_scanning_delegated_bypass: + type: string + description: The enablement status of secret scanning delegated bypass + enum: + - enabled + - disabled + - not_set + secret_scanning_delegated_bypass_options: + type: object + description: Feature options for secret scanning delegated bypass + properties: + reviewers: + type: array + description: The bypass reviewers for secret scanning delegated bypass + items: + type: object + required: + - reviewer_id + - reviewer_type + properties: + reviewer_id: + type: integer + description: The ID of the team or role selected as a bypass reviewer + reviewer_type: + type: string + description: The type of the bypass reviewer + enum: + - TEAM + - ROLE secret_scanning_validity_checks: type: string description: The enablement status of secret scanning validity checks @@ -71436,9 +72303,9 @@ components: description: The number of seats that have not used Copilot during the current billing cycle. copilot-organization-details: - title: Copilot Business Organization Details + title: Copilot Organization Details description: Information about the seat breakdown and policies set for an organization - with a Copilot Business subscription. + with a Copilot Business or Copilot Enterprise subscription. type: object properties: seat_breakdown: @@ -71484,6 +72351,14 @@ components: - assign_selected - disabled - unconfigured + plan_type: + type: string + description: The Copilot plan of the organization, or the parent enterprise, + when applicable. + enum: + - business + - enterprise + - unknown required: - seat_breakdown - public_code_suggestions @@ -72468,6 +73343,9 @@ components: starred_at: type: string example: '"2020-07-09T00:17:55Z"' + user_view_type: + type: string + example: public required: - avatar_url - events_url @@ -73215,7 +74093,7 @@ components: use_squash_pr_title_as_default: type: boolean description: Whether a squash merge commit can use the pull request title - as default. **This property has been deprecated. Please use `squash_merge_commit_title` + as default. **This property is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true @@ -73864,7 +74742,6 @@ components: description: An actor that can bypass rules in a ruleset required: - actor_type - - bypass_mode properties: actor_id: type: integer @@ -73886,10 +74763,12 @@ components: type: string description: When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` - is not applicable for the `DeployKey` actor type. + is not applicable for the `DeployKey` actor type. Also, `pull_request` + is only applicable to branch rulesets. enum: - always - pull_request + default: always repository-ruleset-conditions: title: Repository ruleset conditions for ref names type: object @@ -74001,9 +74880,10 @@ components: org-ruleset-conditions: title: Organization ruleset conditions type: object - description: Conditions for an organization ruleset. The conditions object should - contain both `repository_name` and `ref_name` properties or both `repository_id` - and `ref_name` properties. + description: |- + Conditions for an organization ruleset. + The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties. + The push rulesets conditions object does not require the `ref_name` property. oneOf: - type: object title: repository_name_and_ref_name @@ -74739,6 +75619,7 @@ components: description: The URL of the ruleset html: type: object + nullable: true properties: href: type: string @@ -77871,6 +78752,8 @@ components: type: string site_admin: type: boolean + user_view_type: + type: string teams: type: array items: @@ -77975,6 +78858,9 @@ components: site_admin: type: boolean example: false + user_view_type: + type: string + example: public name: type: string client_id: @@ -79930,6 +80816,9 @@ components: role_name: type: string example: admin + user_view_type: + type: string + example: public required: - avatar_url - events_url @@ -80096,6 +80985,9 @@ components: role_name: type: string example: admin + user_view_type: + type: string + example: public required: - avatar_url - events_url @@ -80789,6 +81681,8 @@ components: type: string sha: type: string + content: + type: string url: type: string format: uri @@ -80817,8 +81711,6 @@ components: type: string path: type: string - content: - type: string sha: type: string url: @@ -80894,8 +81786,6 @@ components: - size - type - url - - content - - encoding content-directory: title: Content Directory description: A list of directory items @@ -81352,6 +82242,8 @@ components: type: string name: type: string + user_view_type: + type: string required: - contributions - type @@ -81890,7 +82782,7 @@ components: type: string example: production target_url: - description: 'Deprecated: the URL to associate with this status.' + description: 'Closing down notice: the URL to associate with this status.' default: '' type: string format: uri @@ -84195,12 +85087,12 @@ components: type: string position: description: The line index in the diff to which the comment applies. This - field is deprecated; use `line` instead. + field is closing down; use `line` instead. example: 1 type: integer original_position: description: The index of the original line in the diff to which the comment - applies. This field is deprecated; use `original_line` instead. + applies. This field is closing down; use `original_line` instead. example: 4 type: integer commit_id: @@ -85269,453 +86161,11 @@ components: ref: type: string repo: - type: object - nullable: true - properties: - archive_url: - type: string - assignees_url: - type: string - blobs_url: - type: string - branches_url: - type: string - collaborators_url: - type: string - comments_url: - type: string - commits_url: - type: string - compare_url: - type: string - contents_url: - type: string - contributors_url: - type: string - format: uri - deployments_url: - type: string - format: uri - description: - type: string - nullable: true - downloads_url: - type: string - format: uri - events_url: - type: string - format: uri - fork: - type: boolean - forks_url: - type: string - format: uri - full_name: - type: string - git_commits_url: - type: string - git_refs_url: - type: string - git_tags_url: - type: string - hooks_url: - type: string - format: uri - html_url: - type: string - format: uri - id: - type: integer - node_id: - type: string - issue_comment_url: - type: string - issue_events_url: - type: string - issues_url: - type: string - keys_url: - type: string - labels_url: - type: string - languages_url: - type: string - format: uri - merges_url: - type: string - format: uri - milestones_url: - type: string - name: - type: string - notifications_url: - type: string - owner: - type: object - properties: - avatar_url: - type: string - format: uri - events_url: - type: string - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - gravatar_id: - type: string - nullable: true - html_url: - type: string - format: uri - id: - type: integer - node_id: - type: string - login: - type: string - organizations_url: - type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - subscriptions_url: - type: string - format: uri - type: - type: string - url: - type: string - format: uri - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url - private: - type: boolean - pulls_url: - type: string - releases_url: - type: string - stargazers_url: - type: string - format: uri - statuses_url: - type: string - subscribers_url: - type: string - format: uri - subscription_url: - type: string - format: uri - tags_url: - type: string - format: uri - teams_url: - type: string - format: uri - trees_url: - type: string - url: - type: string - format: uri - clone_url: - type: string - default_branch: - type: string - forks: - type: integer - forks_count: - type: integer - git_url: - type: string - has_downloads: - type: boolean - has_issues: - type: boolean - has_projects: - type: boolean - has_wiki: - type: boolean - has_pages: - type: boolean - has_discussions: - type: boolean - homepage: - type: string - format: uri - nullable: true - language: - type: string - nullable: true - master_branch: - type: string - archived: - type: boolean - disabled: - type: boolean - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - mirror_url: - type: string - format: uri - nullable: true - open_issues: - type: integer - open_issues_count: - type: integer - permissions: - type: object - properties: - admin: - type: boolean - maintain: - type: boolean - push: - type: boolean - triage: - type: boolean - pull: - type: boolean - required: - - admin - - pull - - push - temp_clone_token: - type: string - allow_merge_commit: - type: boolean - allow_squash_merge: - type: boolean - allow_rebase_merge: - type: boolean - license: - type: object - properties: - key: - type: string - name: - type: string - url: - type: string - format: uri - nullable: true - spdx_id: - type: string - nullable: true - node_id: - type: string - required: - - key - - name - - url - - spdx_id - - node_id - nullable: true - pushed_at: - type: string - format: date-time - size: - type: integer - ssh_url: - type: string - stargazers_count: - type: integer - svn_url: - type: string - format: uri - topics: - type: array - items: - type: string - watchers: - type: integer - watchers_count: - type: integer - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - allow_forking: - type: boolean - is_template: - type: boolean - web_commit_signoff_required: - type: boolean - required: - - archive_url - - assignees_url - - blobs_url - - branches_url - - collaborators_url - - comments_url - - commits_url - - compare_url - - contents_url - - contributors_url - - deployments_url - - description - - downloads_url - - events_url - - fork - - forks_url - - full_name - - git_commits_url - - git_refs_url - - git_tags_url - - hooks_url - - html_url - - id - - node_id - - issue_comment_url - - issue_events_url - - issues_url - - keys_url - - labels_url - - languages_url - - merges_url - - milestones_url - - name - - notifications_url - - owner - - private - - pulls_url - - releases_url - - stargazers_url - - statuses_url - - subscribers_url - - subscription_url - - tags_url - - teams_url - - trees_url - - url - - clone_url - - default_branch - - forks - - forks_count - - git_url - - has_downloads - - has_issues - - has_projects - - has_wiki - - has_pages - - has_discussions - - homepage - - language - - archived - - disabled - - mirror_url - - open_issues - - open_issues_count - - license - - pushed_at - - size - - ssh_url - - stargazers_count - - svn_url - - watchers - - watchers_count - - created_at - - updated_at + "$ref": "#/components/schemas/repository" sha: type: string user: - type: object - properties: - avatar_url: - type: string - format: uri - events_url: - type: string - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - gravatar_id: - type: string - nullable: true - html_url: - type: string - format: uri - id: - type: integer - format: int64 - node_id: - type: string - login: - type: string - organizations_url: - type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - subscriptions_url: - type: string - format: uri - type: - type: string - url: - type: string - format: uri - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url + "$ref": "#/components/schemas/simple-user" required: - label - ref @@ -85730,431 +86180,11 @@ components: ref: type: string repo: - type: object - properties: - archive_url: - type: string - assignees_url: - type: string - blobs_url: - type: string - branches_url: - type: string - collaborators_url: - type: string - comments_url: - type: string - commits_url: - type: string - compare_url: - type: string - contents_url: - type: string - contributors_url: - type: string - format: uri - deployments_url: - type: string - format: uri - description: - type: string - nullable: true - downloads_url: - type: string - format: uri - events_url: - type: string - format: uri - fork: - type: boolean - forks_url: - type: string - format: uri - full_name: - type: string - git_commits_url: - type: string - git_refs_url: - type: string - git_tags_url: - type: string - hooks_url: - type: string - format: uri - html_url: - type: string - format: uri - id: - type: integer - is_template: - type: boolean - node_id: - type: string - issue_comment_url: - type: string - issue_events_url: - type: string - issues_url: - type: string - keys_url: - type: string - labels_url: - type: string - languages_url: - type: string - format: uri - merges_url: - type: string - format: uri - milestones_url: - type: string - name: - type: string - notifications_url: - type: string - owner: - type: object - properties: - avatar_url: - type: string - format: uri - events_url: - type: string - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - gravatar_id: - type: string - nullable: true - html_url: - type: string - format: uri - id: - type: integer - node_id: - type: string - login: - type: string - organizations_url: - type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - subscriptions_url: - type: string - format: uri - type: - type: string - url: - type: string - format: uri - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url - private: - type: boolean - pulls_url: - type: string - releases_url: - type: string - stargazers_url: - type: string - format: uri - statuses_url: - type: string - subscribers_url: - type: string - format: uri - subscription_url: - type: string - format: uri - tags_url: - type: string - format: uri - teams_url: - type: string - format: uri - trees_url: - type: string - url: - type: string - format: uri - clone_url: - type: string - default_branch: - type: string - forks: - type: integer - forks_count: - type: integer - git_url: - type: string - has_downloads: - type: boolean - has_issues: - type: boolean - has_projects: - type: boolean - has_wiki: - type: boolean - has_pages: - type: boolean - has_discussions: - type: boolean - homepage: - type: string - format: uri - nullable: true - language: - type: string - nullable: true - master_branch: - type: string - archived: - type: boolean - disabled: - type: boolean - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - mirror_url: - type: string - format: uri - nullable: true - open_issues: - type: integer - open_issues_count: - type: integer - permissions: - type: object - properties: - admin: - type: boolean - maintain: - type: boolean - push: - type: boolean - triage: - type: boolean - pull: - type: boolean - required: - - admin - - pull - - push - temp_clone_token: - type: string - allow_merge_commit: - type: boolean - allow_squash_merge: - type: boolean - allow_rebase_merge: - type: boolean - license: - "$ref": "#/components/schemas/nullable-license-simple" - pushed_at: - type: string - format: date-time - size: - type: integer - ssh_url: - type: string - stargazers_count: - type: integer - svn_url: - type: string - format: uri - topics: - type: array - items: - type: string - watchers: - type: integer - watchers_count: - type: integer - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - allow_forking: - type: boolean - web_commit_signoff_required: - type: boolean - required: - - archive_url - - assignees_url - - blobs_url - - branches_url - - collaborators_url - - comments_url - - commits_url - - compare_url - - contents_url - - contributors_url - - deployments_url - - description - - downloads_url - - events_url - - fork - - forks_url - - full_name - - git_commits_url - - git_refs_url - - git_tags_url - - hooks_url - - html_url - - id - - node_id - - issue_comment_url - - issue_events_url - - issues_url - - keys_url - - labels_url - - languages_url - - merges_url - - milestones_url - - name - - notifications_url - - owner - - private - - pulls_url - - releases_url - - stargazers_url - - statuses_url - - subscribers_url - - subscription_url - - tags_url - - teams_url - - trees_url - - url - - clone_url - - default_branch - - forks - - forks_count - - git_url - - has_downloads - - has_issues - - has_projects - - has_wiki - - has_pages - - has_discussions - - homepage - - language - - archived - - disabled - - mirror_url - - open_issues - - open_issues_count - - license - - pushed_at - - size - - ssh_url - - stargazers_count - - svn_url - - watchers - - watchers_count - - created_at - - updated_at + "$ref": "#/components/schemas/repository" sha: type: string user: - type: object - properties: - avatar_url: - type: string - format: uri - events_url: - type: string - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - gravatar_id: - type: string - nullable: true - html_url: - type: string - format: uri - id: - type: integer - format: int64 - node_id: - type: string - login: - type: string - organizations_url: - type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - subscriptions_url: - type: string - format: uri - type: - type: string - url: - type: string - format: uri - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url + "$ref": "#/components/schemas/simple-user" required: - label - ref @@ -86826,6 +86856,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. + nullable: true secret-scanning-alert-resolution-comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -88557,6 +88596,8 @@ components: type: string format: date-time nullable: true + user_view_type: + type: string required: - avatar_url - events_url @@ -88589,6 +88630,8 @@ components: type: integer format: int64 example: 1 + user_view_type: + type: string node_id: type: string example: MDQ6VXNlcjE= @@ -88736,10 +88779,6 @@ components: - name - space - private_repos - suspended_at: - type: string - format: date-time - nullable: true business_plus: type: boolean ldap_dn: @@ -90225,7 +90264,7 @@ components: use_squash_pr_title_as_default: type: boolean description: Whether a squash merge commit can use the pull request title - as default. **This property has been deprecated. Please use `squash_merge_commit_title` + as default. **This property is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true @@ -90375,102 +90414,6 @@ components: - watchers_count - created_at - updated_at - simple-user-webhooks: - title: Simple User - description: The GitHub user that triggered the event. This property is included - in every webhook payload. - type: object - properties: - name: - nullable: true - type: string - email: - nullable: true - type: string - login: - type: string - example: octocat - id: - type: integer - example: 1 - node_id: - type: string - example: MDQ6VXNlcjE= - avatar_url: - type: string - format: uri - example: https://github.com/images/error/octocat_happy.gif - gravatar_id: - type: string - example: 41d064eb2195891e12d0413f63227ea7 - nullable: true - url: - type: string - format: uri - example: https://api.github.com/users/octocat - html_url: - type: string - format: uri - example: https://github.com/octocat - followers_url: - type: string - format: uri - example: https://api.github.com/users/octocat/followers - following_url: - type: string - example: https://api.github.com/users/octocat/following{/other_user} - gists_url: - type: string - example: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: - type: string - example: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: - type: string - format: uri - example: https://api.github.com/users/octocat/subscriptions - organizations_url: - type: string - format: uri - example: https://api.github.com/users/octocat/orgs - repos_url: - type: string - format: uri - example: https://api.github.com/users/octocat/repos - events_url: - type: string - example: https://api.github.com/users/octocat/events{/privacy} - received_events_url: - type: string - format: uri - example: https://api.github.com/users/octocat/received_events - type: - type: string - example: User - site_admin: - type: boolean - starred_at: - type: string - example: '"2020-07-09T00:17:55Z"' - required: - - avatar_url - - events_url - - followers_url - - following_url - - gists_url - - gravatar_id - - html_url - - id - - node_id - - login - - organizations_url - - received_events_url - - repos_url - - site_admin - - starred_url - - subscriptions_url - - type - - url webhooks_rule: title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch @@ -90930,6 +90873,8 @@ components: type: string url: type: string + user_view_type: + type: string webhooks_reviewers: type: array items: @@ -91099,6 +91044,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -91241,97 +91188,101 @@ components: url: type: string format: uri - required: - - login - - id - required: - - id - - node_id - - html_url - - parent_id - - child_comment_count - - repository_url - - discussion_id - - author_association - - user - - created_at - - updated_at - - body - discussion: - title: Discussion - description: A Discussion in a repository. - type: object - properties: - active_lock_reason: - type: string - nullable: true - answer_chosen_at: - type: string - nullable: true - answer_chosen_by: - title: User - type: object - nullable: true - properties: - avatar_url: - type: string - format: uri - deleted: - type: boolean - email: - type: string - nullable: true - events_url: - type: string - format: uri-template - followers_url: - type: string - format: uri - following_url: - type: string - format: uri-template - gists_url: - type: string - format: uri-template - gravatar_id: - type: string - html_url: - type: string - format: uri - id: - type: integer - login: - type: string - name: - type: string - node_id: - type: string - organizations_url: + user_view_type: + type: string + required: + - login + - id + required: + - id + - node_id + - html_url + - parent_id + - child_comment_count + - repository_url + - discussion_id + - author_association + - user + - created_at + - updated_at + - body + discussion: + title: Discussion + description: A Discussion in a repository. + type: object + properties: + active_lock_reason: + type: string + nullable: true + answer_chosen_at: + type: string + nullable: true + answer_chosen_by: + title: User + type: object + nullable: true + properties: + avatar_url: + type: string + format: uri + deleted: + type: boolean + email: + type: string + nullable: true + events_url: + type: string + format: uri-template + followers_url: + type: string + format: uri + following_url: + type: string + format: uri-template + gists_url: + type: string + format: uri-template + gravatar_id: + type: string + html_url: + type: string + format: uri + id: + type: integer + login: + type: string + name: + type: string + node_id: + type: string + organizations_url: + type: string + format: uri + received_events_url: + type: string + format: uri + repos_url: + type: string + format: uri + site_admin: + type: boolean + starred_url: + type: string + format: uri-template + subscriptions_url: + type: string + format: uri + type: + type: string + enum: + - Bot + - User + - Organization + url: + type: string + format: uri + user_view_type: type: string - format: uri - received_events_url: - type: string - format: uri - repos_url: - type: string - format: uri - site_admin: - type: boolean - starred_url: - type: string - format: uri-template - subscriptions_url: - type: string - format: uri - type: - type: string - enum: - - Bot - - User - - Organization - url: - type: string - format: uri required: - login - id @@ -91534,6 +91485,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -91700,6 +91653,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -91954,6 +91909,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -92062,6 +92019,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -92132,6 +92091,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -92294,6 +92255,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -92504,6 +92467,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -92850,6 +92815,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -92954,6 +92921,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93090,6 +93059,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93159,6 +93130,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93320,6 +93293,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93528,6 +93503,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93872,6 +93849,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -93962,6 +93941,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -94864,7 +94845,7 @@ components: use_squash_pr_title_as_default: type: boolean description: Whether a squash merge commit can use the pull request title - as default. **This property has been deprecated. Please use `squash_merge_commit_title` + as default. **This property is closing down. Please use `squash_merge_commit_title` instead. default: false deprecated: true @@ -95093,6 +95074,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -95231,6 +95214,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -95456,6 +95441,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -95566,6 +95553,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -95913,7 +95902,7 @@ components: - COMMIT_OR_PR_TITLE use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull request title - as default. **This property has been deprecated. Please use `squash_merge_commit_title` + as default. **This property is closing down. Please use `squash_merge_commit_title` instead.** type: boolean default: false @@ -96081,6 +96070,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -96245,6 +96236,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -96574,6 +96567,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -96840,6 +96835,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -97193,6 +97190,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -97459,6 +97458,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -97595,6 +97596,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -97678,6 +97681,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -98107,6 +98112,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -98394,6 +98401,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -98553,6 +98562,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -98764,6 +98775,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -99090,6 +99103,8 @@ components: url: type: string format: uri + user_view_type: + type: string body: type: string nullable: true @@ -99367,6 +99382,15 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or business. + nullable: true webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -99523,6 +99547,8 @@ components: type: string url: type: string + user_view_type: + type: string node_id: type: string privacy_level: @@ -99591,6 +99617,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -99658,6 +99686,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -99879,7 +99909,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -99901,7 +99931,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -99925,7 +99955,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -99950,7 +99980,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -100081,7 +100111,7 @@ components: rule: "$ref": "#/components/schemas/webhooks_rule" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - rule @@ -100104,7 +100134,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -100137,7 +100167,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -100178,7 +100208,7 @@ components: user. type: string sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_run @@ -100212,7 +100242,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - check_run - repository @@ -100400,6 +100430,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -100824,7 +100856,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -101003,6 +101035,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -101425,7 +101459,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -101599,6 +101633,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -102020,7 +102056,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - check_suite @@ -102113,6 +102149,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -102264,7 +102302,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -102358,6 +102396,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -102528,7 +102568,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -102732,7 +102772,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -102827,6 +102867,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -102999,7 +103041,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103205,7 +103247,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103378,7 +103420,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103396,7 +103438,7 @@ components: enum: - created comment: - description: The [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment) + description: The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource. type: object properties: @@ -103549,6 +103591,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -103575,7 +103619,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -103611,7 +103655,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - ref_type @@ -103637,7 +103681,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition @@ -103664,7 +103708,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition @@ -103685,7 +103729,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - definition @@ -103706,7 +103750,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" new_property_values: type: array description: The new custom property values for the repository. @@ -103746,7 +103790,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - ref_type @@ -103772,7 +103816,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103797,7 +103841,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103822,7 +103866,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103847,7 +103891,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103872,7 +103916,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103897,7 +103941,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103922,7 +103966,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -103947,7 +103991,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - key @@ -103972,7 +104016,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - key @@ -104057,6 +104101,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -104227,6 +104273,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -104472,7 +104520,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -104544,6 +104592,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -105031,6 +105081,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -105106,7 +105158,7 @@ components: installation: "$ref": "#/components/schemas/simple-installation" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" webhook-deployment-review-approved: type: object properties: @@ -105129,7 +105181,7 @@ components: reviewers: "$ref": "#/components/schemas/webhooks_reviewers" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -105225,6 +105277,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -105373,6 +105427,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -105612,6 +105668,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -105716,6 +105774,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -105782,7 +105842,7 @@ components: reviewers: "$ref": "#/components/schemas/webhooks_reviewers" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -105879,6 +105939,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -106025,6 +106087,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -106264,6 +106328,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -106367,6 +106433,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -106501,6 +106569,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - id type: @@ -106509,7 +106579,7 @@ components: - User - Team sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" since: type: string workflow_job_run: @@ -106610,6 +106680,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -106756,6 +106828,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -106995,6 +107069,8 @@ components: type: string url: type: string + user_view_type: + type: string private: type: boolean pulls_url: @@ -107099,6 +107175,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -107299,6 +107377,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -107470,6 +107550,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -107776,6 +107858,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -107949,6 +108033,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -108185,7 +108271,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -108257,6 +108343,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -108745,6 +108833,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -108809,7 +108899,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -108879,7 +108969,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -108905,7 +108995,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -108932,7 +109022,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -108960,7 +109050,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -109000,7 +109090,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -109027,7 +109117,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109052,7 +109142,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109094,7 +109184,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109121,7 +109211,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109147,7 +109237,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109172,7 +109262,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109197,7 +109287,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109232,7 +109322,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -109256,7 +109346,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109283,7 +109373,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109309,7 +109399,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109334,7 +109424,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - discussion @@ -109631,6 +109721,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -110011,7 +110103,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - forkee - repository @@ -110025,7 +110117,7 @@ components: enum: - revoked sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - sender @@ -110078,7 +110170,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - pages - repository @@ -110104,7 +110196,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -110130,7 +110222,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -110156,7 +110248,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -110204,7 +110296,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -110262,7 +110354,7 @@ components: requester: "$ref": "#/components/schemas/webhooks_user" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -110292,7 +110384,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -110376,6 +110468,8 @@ components: type: string website_url: nullable: true + user_view_type: + type: string required: - id - node_id @@ -110411,7 +110505,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" target_type: type: string required: @@ -110441,7 +110535,7 @@ components: requester: nullable: true sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - installation @@ -110601,6 +110695,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -110704,6 +110800,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -110774,6 +110872,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -110936,6 +111036,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -111147,6 +111249,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -111494,6 +111598,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -111589,6 +111695,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -111754,7 +111862,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -111858,6 +111966,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -111928,6 +112038,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112090,6 +112202,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112299,6 +112413,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112644,6 +112760,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112739,6 +112857,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -112894,6 +113014,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - labels - state @@ -112904,7 +113026,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -113010,6 +113132,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113080,6 +113204,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113242,6 +113368,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113453,6 +113581,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113799,6 +113929,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -113894,6 +114026,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114059,7 +114193,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -114089,7 +114223,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -114191,6 +114325,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114261,6 +114397,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114423,6 +114561,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114635,6 +114775,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -114981,6 +115123,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -115136,6 +115280,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - state - closed_at @@ -115144,7 +115290,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -115241,6 +115387,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -115471,6 +115619,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -115680,6 +115830,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -116024,6 +116176,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -116054,7 +116208,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -116427,6 +116581,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: string nullable: true @@ -116628,6 +116784,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -116964,6 +117122,8 @@ components: url: type: string format: uri + user_view_type: + type: string milestone: "$ref": "#/components/schemas/webhooks_milestone" organization: @@ -116971,7 +117131,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -117089,6 +117249,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -117321,6 +117483,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -117532,6 +117696,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -117878,6 +118044,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -117910,7 +118078,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -118009,6 +118177,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -118241,6 +118411,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -118451,6 +118623,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -118797,6 +118971,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -118829,7 +119005,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -118952,6 +119128,8 @@ components: url: type: string format: uri + user_view_type: + type: string assignees: type: array items: @@ -119021,6 +119199,8 @@ components: url: type: string format: uri + user_view_type: + type: string author_association: title: AuthorAssociation description: How the author is associated with the repository. @@ -119202,6 +119382,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: string nullable: true @@ -119405,6 +119587,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -119739,12 +119923,14 @@ components: url: type: string format: uri + user_view_type: + type: string organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -120115,6 +120301,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: string nullable: true @@ -120317,6 +120505,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -120652,6 +120842,8 @@ components: url: type: string format: uri + user_view_type: + type: string milestone: "$ref": "#/components/schemas/webhooks_milestone" organization: @@ -120659,7 +120851,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -120757,6 +120949,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -120826,6 +121020,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -120987,6 +121183,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -121196,6 +121394,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -121540,6 +121740,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -121855,6 +122057,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122111,6 +122315,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122180,6 +122386,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122342,6 +122550,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122553,6 +122763,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122898,6 +123110,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -122928,7 +123142,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -122953,7 +123167,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -123326,6 +123540,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: string nullable: true @@ -123529,6 +123745,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -123866,12 +124084,14 @@ components: url: type: string format: uri + user_view_type: + type: string organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -123967,6 +124187,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -124036,6 +124258,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -124197,6 +124421,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -124406,6 +124632,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -124750,6 +124978,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -125066,6 +125296,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -125252,7 +125484,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -125281,7 +125513,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -125308,7 +125540,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -125431,6 +125663,8 @@ components: url: type: string format: uri + user_view_type: + type: string assignees: type: array items: @@ -125500,6 +125734,8 @@ components: url: type: string format: uri + user_view_type: + type: string author_association: title: AuthorAssociation description: How the author is associated with the repository. @@ -125681,6 +125917,8 @@ components: url: type: string format: uri + user_view_type: + type: string description: type: string nullable: true @@ -125882,6 +126120,8 @@ components: url: type: string format: uri + user_view_type: + type: string permissions: description: The set of permissions for the GitHub app type: object @@ -126216,12 +126456,14 @@ components: url: type: string format: uri + user_view_type: + type: string organization: "$ref": "#/components/schemas/organization-simple-webhooks" repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -126246,7 +126488,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - issue @@ -126271,7 +126513,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -126295,7 +126537,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -126351,7 +126593,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - label @@ -126380,7 +126622,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -126489,7 +126731,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -126597,7 +126839,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -126705,7 +126947,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -126734,7 +126976,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - effective_date @@ -126786,7 +127028,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - member @@ -126833,7 +127075,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -126859,7 +127101,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - member @@ -126952,6 +127194,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -127052,6 +127296,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -127080,7 +127326,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - merge_group @@ -127109,7 +127355,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - merge_group @@ -127237,7 +127483,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - hook_id @@ -127261,7 +127507,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -127286,7 +127532,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -127311,7 +127557,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -127367,7 +127613,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -127393,7 +127639,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - milestone @@ -127418,7 +127664,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - blocked_user @@ -127443,7 +127689,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - blocked_user @@ -127468,7 +127714,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - organization @@ -127492,7 +127738,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - membership @@ -127596,6 +127842,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -127627,7 +127875,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" user: "$ref": "#/components/schemas/webhooks_user" required: @@ -127654,7 +127902,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - membership @@ -127687,7 +127935,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - organization @@ -127824,6 +128072,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -127897,6 +128147,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -128191,6 +128443,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -128298,7 +128552,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - package @@ -128401,6 +128655,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -128473,6 +128729,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -128624,6 +128882,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -128737,7 +128997,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - package @@ -128831,6 +129091,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -128861,7 +129123,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - id - build @@ -128882,7 +129144,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -128906,7 +129168,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -128930,7 +129192,7 @@ components: organization: "$ref": "#/components/schemas/organization-simple-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -128953,7 +129215,7 @@ components: enterprise: "$ref": "#/components/schemas/enterprise-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" installation: "$ref": "#/components/schemas/simple-installation" required: @@ -129044,7 +129306,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" zen: description: Random string of GitHub zen. type: string @@ -129089,7 +129351,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -129114,7 +129376,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -129220,6 +129482,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -129255,7 +129519,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -129292,7 +129556,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -129411,6 +129675,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -129514,7 +129780,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_card @@ -129538,7 +129804,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -129562,7 +129828,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -129585,7 +129851,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -129618,7 +129884,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -129642,7 +129908,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project_column @@ -129666,7 +129932,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -129690,7 +129956,7 @@ components: repository: "$ref": "#/components/schemas/nullable-repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -129734,7 +130000,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -129757,7 +130023,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - project @@ -129777,7 +130043,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -129798,7 +130064,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -129819,7 +130085,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -129875,7 +130141,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -129899,7 +130165,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -129932,7 +130198,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -129954,7 +130220,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -129975,7 +130241,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -130043,7 +130309,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -130076,7 +130342,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -130100,7 +130366,7 @@ components: projects_v2_item: "$ref": "#/components/schemas/projects-v2-item" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_item @@ -130122,7 +130388,7 @@ components: projects_v2: "$ref": "#/components/schemas/projects-v2" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2 @@ -130143,7 +130409,7 @@ components: projects_v2_status_update: "$ref": "#/components/schemas/projects-v2-status-update" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_status_update @@ -130164,7 +130430,7 @@ components: projects_v2_status_update: "$ref": "#/components/schemas/projects-v2-status-update" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_status_update @@ -130240,7 +130506,7 @@ components: projects_v2_status_update: "$ref": "#/components/schemas/projects-v2-status-update" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - projects_v2_status_update @@ -130259,7 +130525,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - repository - sender @@ -130445,6 +130711,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -130515,6 +130783,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -130609,6 +130879,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -130938,6 +131210,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -131044,7 +131318,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -131205,6 +131479,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -131560,6 +131836,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -131666,7 +131944,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -131827,6 +132105,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -131962,6 +132242,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -132045,6 +132327,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -132182,6 +132466,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -132486,6 +132772,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -132529,7 +132817,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -132716,6 +133004,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -132879,6 +133169,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -133208,6 +133500,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -133314,7 +133608,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -133475,6 +133769,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -133828,6 +134124,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -133934,7 +134232,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -134095,6 +134393,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -134230,6 +134530,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -134312,6 +134614,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -134449,6 +134753,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -134753,6 +135059,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -134798,7 +135106,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -134985,6 +135293,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -135148,6 +135458,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -135477,6 +135789,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -135583,7 +135897,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -135744,6 +136058,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136096,6 +136412,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136202,7 +136520,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -136363,6 +136681,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136498,6 +136818,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136581,6 +136903,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -136718,6 +137042,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -137022,6 +137348,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -137067,7 +137395,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -137095,7 +137423,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -137123,7 +137451,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -137151,7 +137479,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -137336,6 +137664,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -137499,6 +137829,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -137828,6 +138160,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -137934,7 +138268,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -138095,6 +138429,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138448,6 +138784,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138554,7 +138892,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -138715,6 +139053,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138850,6 +139190,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -138933,6 +139275,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -139069,6 +139413,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -139364,6 +139710,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -139406,10 +139754,23 @@ components: - draft reason: type: string + enum: + - UNKNOWN_REMOVAL_REASON + - MANUAL + - MERGE + - MERGE_CONFLICT + - CI_FAILURE + - CI_TIMEOUT + - ALREADY_MERGED + - QUEUE_CLEARED + - ROLL_BACK + - BRANCH_PROTECTIONS + - GIT_TREE_INVALID + - INVALID_MERGE_COMMIT repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -139480,7 +139841,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -139666,6 +140027,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -139829,6 +140192,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -140158,6 +140523,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -140264,7 +140631,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -140425,6 +140792,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -140778,6 +141147,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -140884,7 +141255,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -141045,6 +141416,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -141180,6 +141553,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -141263,6 +141638,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -141399,6 +141776,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -141694,6 +142073,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -141737,7 +142118,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -141926,6 +142307,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -142090,6 +142473,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -142419,6 +142804,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -142525,7 +142912,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -142686,6 +143073,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143041,6 +143430,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143147,7 +143538,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -143308,6 +143699,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143444,6 +143837,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143527,6 +143922,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143664,6 +144061,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -143968,6 +144367,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -144011,7 +144412,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -144197,6 +144598,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -144361,6 +144764,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -144690,6 +145095,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -144796,7 +145203,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -144957,6 +145364,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145312,6 +145721,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145418,7 +145829,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -145579,6 +145990,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145715,6 +146128,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145797,6 +146212,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -145934,6 +146351,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -146238,6 +146657,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -146281,7 +146702,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -146309,7 +146730,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -146336,7 +146757,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -146364,7 +146785,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -146392,7 +146813,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -146659,6 +147080,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -146855,6 +147278,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -147019,6 +147444,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -147348,6 +147775,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -147454,7 +147883,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -147615,6 +148044,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -147958,6 +148389,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -148064,7 +148497,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -148224,6 +148657,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -148363,6 +148798,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -148495,6 +148932,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -148794,6 +149233,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -148835,7 +149276,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -149018,6 +149459,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -149181,6 +149624,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -149510,6 +149955,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -149616,7 +150063,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -149777,6 +150224,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150120,6 +150569,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150226,7 +150677,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -150387,6 +150838,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150525,6 +150978,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150656,6 +151111,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150946,6 +151403,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -150987,7 +151446,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - comment @@ -151172,6 +151631,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -151241,6 +151702,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -151335,6 +151798,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -151664,6 +152129,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -151770,7 +152237,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -151931,6 +152398,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -152274,6 +152743,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -152380,7 +152851,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -152541,6 +153012,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -152680,6 +153153,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -152811,6 +153286,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -153098,6 +153575,8 @@ components: - User - Organization - Mannequin + user_view_type: + type: string url: type: string format: uri @@ -153142,7 +153621,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -153326,6 +153805,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -153490,6 +153971,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -153819,6 +154302,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -153925,7 +154410,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -154086,6 +154571,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -154429,6 +154916,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -154535,7 +155024,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -154696,6 +155185,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -154834,6 +155325,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -154966,6 +155459,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -155265,6 +155760,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -155441,6 +155938,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -155457,7 +155956,7 @@ components: - author_association - _links sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - review @@ -155652,6 +156151,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -155816,6 +156317,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -156119,6 +156622,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -156353,6 +156858,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -156670,6 +157177,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -156904,6 +157413,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157043,6 +157554,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157175,6 +157688,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157474,6 +157989,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157519,7 +158036,7 @@ components: review: "$ref": "#/components/schemas/webhooks_review" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -157708,6 +158225,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157777,6 +158296,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -157871,6 +158392,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -158200,6 +158723,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -158297,7 +158822,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -158458,6 +158983,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -158811,6 +159338,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -158917,7 +159446,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -159078,6 +159607,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159213,6 +159744,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159295,6 +159828,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159431,6 +159966,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159744,6 +160281,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -159850,11 +160389,13 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_reviewer - action @@ -160040,6 +160581,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -160109,6 +160652,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -160203,6 +160748,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -160532,6 +161079,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -160638,7 +161187,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -160799,6 +161348,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161152,6 +161703,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161258,7 +161811,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -161419,6 +161972,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161554,6 +162109,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161636,6 +162193,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -161772,6 +162331,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -162085,6 +162646,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -162236,7 +162799,7 @@ components: - repositories_url - permission sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_team - action @@ -162426,6 +162989,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -162496,6 +163061,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -162590,6 +163157,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -162919,6 +163488,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -163025,7 +163596,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -163186,6 +163757,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -163539,6 +164112,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -163645,7 +164220,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -163806,6 +164381,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -163941,6 +164518,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164024,6 +164603,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164160,6 +164741,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164465,6 +165048,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164572,11 +165157,13 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_reviewer - action @@ -164763,6 +165350,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164833,6 +165422,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -164927,6 +165518,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -165256,6 +165849,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -165362,7 +165957,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -165523,6 +166118,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -165876,6 +166473,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -165982,7 +166581,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -166143,6 +166742,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166278,6 +166879,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166361,6 +166964,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166497,6 +167102,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166793,6 +167400,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -166935,7 +167544,7 @@ components: - name - id sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - requested_team - action @@ -167119,6 +167728,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -167283,6 +167894,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -167612,6 +168225,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -167718,7 +168333,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -167879,6 +168494,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -168223,6 +168840,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -168329,7 +168948,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -168490,6 +169109,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -168629,6 +169250,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -168761,6 +169384,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169060,6 +169685,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169105,7 +169732,7 @@ components: review: "$ref": "#/components/schemas/webhooks_review" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - review @@ -169287,6 +169914,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169450,6 +170079,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169757,6 +170388,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -169996,6 +170629,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -170318,6 +170953,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -170557,6 +171194,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -170695,6 +171334,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -170827,6 +171468,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -171126,6 +171769,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -171169,7 +171814,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" thread: type: object properties: @@ -171430,6 +172075,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -171644,6 +172291,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -171806,6 +172455,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -172113,6 +172764,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -172352,6 +173005,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -172672,6 +173327,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -172911,6 +173568,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173049,6 +173708,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173180,6 +173841,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173469,6 +174132,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173512,7 +174177,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" thread: type: object properties: @@ -173771,6 +174436,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -173994,6 +174661,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -174158,6 +174827,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -174487,6 +175158,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -174593,7 +175266,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -174754,6 +175427,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -175098,6 +175773,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -175204,7 +175881,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -175365,6 +176042,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -175500,6 +176179,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -175583,6 +176264,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -175720,6 +176403,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -176024,6 +176709,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -176067,7 +176754,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -176258,6 +176945,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -176422,6 +177111,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -176752,6 +177443,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -176858,7 +177551,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -177019,6 +177712,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -177374,6 +178069,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -177480,7 +178177,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -177641,6 +178338,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -177777,6 +178476,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -177860,6 +178561,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -177997,6 +178700,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -178301,6 +179006,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -178344,7 +179051,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -178532,6 +179239,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -178696,6 +179405,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -179025,6 +179736,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -179131,7 +179844,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -179292,6 +180005,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -179638,6 +180353,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -179744,7 +180461,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -179905,6 +180622,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180040,6 +180759,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180123,6 +180844,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180260,6 +180983,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180564,6 +181289,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180607,7 +181334,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -180793,6 +181520,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -180955,6 +181684,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -181284,6 +182015,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -181390,7 +182123,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -181551,6 +182284,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -181905,6 +182640,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182011,7 +182748,7 @@ components: format: uri use_squash_pr_title_as_default: description: Whether a squash merge commit can use the pull - request title as default. **This property has been deprecated. + request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead. type: boolean default: false @@ -182172,6 +182909,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182307,6 +183046,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182389,6 +183130,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182525,6 +183268,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182819,6 +183564,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -182862,7 +183609,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - number @@ -183402,6 +184149,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -183575,7 +184324,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - ref - before @@ -183660,6 +184409,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -183724,6 +184475,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -184018,6 +184771,8 @@ components: type: string url: type: string + user_view_type: + type: string created_at: type: string draft: @@ -184099,7 +184854,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - registry_package @@ -184173,6 +184928,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -184236,6 +184993,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -184365,6 +185124,8 @@ components: type: string url: type: string + user_view_type: + type: string required: - login - id @@ -184471,7 +185232,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - registry_package @@ -184495,7 +185256,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -184520,7 +185281,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -184575,7 +185336,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -184811,6 +185572,8 @@ components: url: type: string format: uri + user_view_type: + type: string body: type: string nullable: true @@ -184904,7 +185667,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -184928,7 +185691,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -184952,7 +185715,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -184976,7 +185739,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - release @@ -185000,7 +185763,7 @@ components: repository_advisory: "$ref": "#/components/schemas/repository-advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -185024,7 +185787,7 @@ components: repository_advisory: "$ref": "#/components/schemas/repository-advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -185046,7 +185809,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -185068,7 +185831,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -185090,7 +185853,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -185120,7 +185883,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - branch @@ -185179,7 +185942,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -185198,7 +185961,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" status: type: string enum: @@ -185226,7 +185989,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -185248,7 +186011,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -185287,7 +186050,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -185312,7 +186075,7 @@ components: repository_ruleset: "$ref": "#/components/schemas/repository-ruleset" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -185336,7 +186099,7 @@ components: repository_ruleset: "$ref": "#/components/schemas/repository-ruleset" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -185454,7 +186217,7 @@ components: from: type: string sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository_ruleset @@ -185594,6 +186357,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -185610,7 +186375,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - changes @@ -185633,7 +186398,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -185657,7 +186422,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -185771,6 +186536,8 @@ components: url: type: string format: uri + user_view_type: + type: string external_identifier: type: string external_reference: @@ -185807,7 +186574,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -185832,7 +186599,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -185977,7 +186744,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -186002,7 +186769,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -186026,7 +186793,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - location - alert @@ -186042,6 +186809,30 @@ components: type: string required: - payload + webhook-secret-scanning-alert-publicly-leaked: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - alert + - repository webhook-secret-scanning-alert-reopened: title: secret_scanning_alert reopened event type: object @@ -186061,7 +186852,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -186085,7 +186876,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -186109,7 +186900,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - alert @@ -186133,7 +186924,7 @@ components: security_advisory: "$ref": "#/components/schemas/webhooks_security_advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -186156,7 +186947,7 @@ components: security_advisory: "$ref": "#/components/schemas/webhooks_security_advisory" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -186288,7 +187079,7 @@ components: - withdrawn_at - vulnerabilities sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - security_advisory @@ -186313,7 +187104,7 @@ components: repository: "$ref": "#/components/schemas/full-repository" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - changes - repository @@ -186334,7 +187125,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -186358,7 +187149,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -186394,7 +187185,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -186421,7 +187212,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -186449,7 +187240,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -186476,7 +187267,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sponsorship: "$ref": "#/components/schemas/webhooks_sponsorship" required: @@ -186501,7 +187292,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" starred_at: 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` @@ -186530,7 +187321,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" starred_at: 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` @@ -186896,7 +187687,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" sha: description: The Commit SHA. type: string @@ -186955,7 +187746,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - parent_issue_id @@ -186990,7 +187781,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - parent_issue_id @@ -187025,7 +187816,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - sub_issue_id @@ -187060,7 +187851,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - sub_issue_id @@ -187081,7 +187872,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -187389,6 +188180,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -187557,7 +188350,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -187865,6 +188658,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -188033,7 +188828,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -188342,6 +189137,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -188510,7 +189307,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -188883,6 +189680,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -189051,7 +189850,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -189361,6 +190160,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -189529,7 +190330,7 @@ components: - topics - visibility sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" team: "$ref": "#/components/schemas/webhooks_team_1" required: @@ -189554,7 +190355,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" required: - action - repository @@ -189578,7 +190379,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: type: string required: @@ -189604,7 +190405,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: allOf: - title: Workflow Job @@ -189860,7 +190661,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: allOf: - title: Workflow Job @@ -190139,7 +190940,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: type: object properties: @@ -190297,7 +191098,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow_job: type: object properties: @@ -190456,7 +191257,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -190564,6 +191365,8 @@ components: url: type: string format: uri + user_view_type: + type: string artifacts_url: type: string format: uri @@ -190874,6 +191677,8 @@ components: url: type: string format: uri + user_view_type: + type: string private: description: Whether the repository is private or public. type: boolean @@ -191234,6 +192039,8 @@ components: url: type: string format: uri + user_view_type: + type: string private: description: Whether the repository is private or public. type: boolean @@ -191353,6 +192160,8 @@ components: url: type: string format: uri + user_view_type: + type: string updated_at: type: string format: date-time @@ -191392,7 +192201,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -192322,7 +193131,7 @@ components: repository: "$ref": "#/components/schemas/repository-webhooks" sender: - "$ref": "#/components/schemas/simple-user-webhooks" + "$ref": "#/components/schemas/simple-user" workflow: "$ref": "#/components/schemas/webhooks_workflow" workflow_run: @@ -192393,6 +193202,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -192657,6 +193468,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -193016,6 +193829,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -193182,6 +193997,8 @@ components: url: type: string format: uri + user_view_type: + type: string required: - login - id @@ -196041,6 +196858,7 @@ components: pending_cancellation_date: last_activity_at: '2021-10-14T00:53:32-06:00' last_activity_editor: vscode/1.77.3/copilot/1.86.82 + plan_type: business assignee: login: octocat id: 1 @@ -196593,6 +197411,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -196675,6 +197495,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false copilot-usage-metrics-org: value: - day: '2023-10-15' @@ -198364,6 +199186,309 @@ components: value: default_workflow_permissions: read can_approve_pull_request_reviews: true + runner-groups-org: + value: + total_count: 3 + runner_groups: + - id: 1 + name: Default + visibility: all + default: true + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/1/runners + inherited: false + allows_public_repositories: true + restricted_to_workflows: false + selected_workflows: [] + workflow_restrictions_read_only: false + - id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + inherited: true + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: true + - id: 3 + name: expensive-hardware + visibility: private + default: false + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/3/runners + inherited: false + allows_public_repositories: true + restricted_to_workflows: false + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + runner-group: + value: + id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner-groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + hosted_runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners + network_configuration_id: EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA + inherited: false + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + runner-group-item: + value: + id: 2 + name: octo-runner-group + visibility: selected + default: false + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories + runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners + hosted_runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners + network_configuration_id: EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA + inherited: false + allows_public_repositories: true + restricted_to_workflows: true + selected_workflows: + - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main + workflow_restrictions_read_only: false + minimal-repository-paginated: + value: + total_count: 1 + repositories: + - id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: https://github.com/octocat/Hello-World.git + mirror_url: git:git.example.com/octocat/Hello-World + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + svn_url: https://svn.github.com/octocat/Hello-World + homepage: https://github.com + language: + forks_count: 9 + stargazers_count: 80 + watchers_count: 80 + size: 108 + default_branch: master + open_issues_count: 0 + is_template: true + topics: + - octocat + - atom + - electron + - api + has_issues: true + has_projects: true + has_wiki: true + has_pages: false + has_downloads: true + archived: false + disabled: false + visibility: public + pushed_at: '2011-01-26T19:06:43Z' + created_at: '2011-01-26T19:01:12Z' + updated_at: '2011-01-26T19:14:43Z' + permissions: + admin: false + push: false + pull: true + template_repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: https://github.com/octocat/Hello-World.git + mirror_url: git:git.example.com/octocat/Hello-World + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + svn_url: https://svn.github.com/octocat/Hello-World + homepage: https://github.com + organization: + language: + forks: 9 + forks_count: 9 + stargazers_count: 80 + watchers_count: 80 + watchers: 80 + size: 108 + default_branch: master + open_issues: 0 + open_issues_count: 0 + is_template: true + license: + key: mit + name: MIT License + url: https://api.github.com/licenses/mit + spdx_id: MIT + node_id: MDc6TGljZW5zZW1pdA== + html_url: https://api.github.com/licenses/mit + topics: + - octocat + - atom + - electron + - api + has_issues: true + has_projects: true + has_wiki: true + has_pages: false + has_downloads: true + archived: false + disabled: false + visibility: public + pushed_at: '2011-01-26T19:06:43Z' + created_at: '2011-01-26T19:01:12Z' + updated_at: '2011-01-26T19:14:43Z' + permissions: + admin: false + push: false + pull: true + allow_rebase_merge: true + template_repository: + temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + allow_squash_merge: true + allow_auto_merge: false + delete_branch_on_merge: true + allow_merge_commit: true + subscribers_count: 42 + network_count: 0 + temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + delete_branch_on_merge: true + subscribers_count: 42 + network_count: 0 + license: + key: mit + name: MIT License + url: https://api.github.com/licenses/mit + spdx_id: MIT + node_id: MDc6TGljZW5zZW1pdA== + forks: 1 + open_issues: 1 + watchers: 1 runner-paginated: value: total_count: 2 @@ -198984,6 +200109,12 @@ components: code_scanning_default_setup: enabled secret_scanning: enabled secret_scanning_push_protection: enabled + secret_scanning_delegated_bypass: enabled + secret_scanning_delegated_bypass_options: + reviewers: + - security_configuration_id: 17 + reviewer_id: 5678 + reviewer_type: TEAM secret_scanning_validity_checks: enabled secret_scanning_non_provider_patterns: enabled private_vulnerability_reporting: enabled @@ -199007,6 +200138,7 @@ components: code_scanning_default_setup: enabled secret_scanning: enabled secret_scanning_push_protection: enabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled private_vulnerability_reporting: enabled @@ -199031,6 +200163,7 @@ components: code_scanning_default_setup: disabled secret_scanning: enabled secret_scanning_push_protection: disabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled private_vulnerability_reporting: disabled @@ -199057,6 +200190,12 @@ components: code_scanning_default_setup: enabled secret_scanning: enabled secret_scanning_push_protection: enabled + secret_scanning_delegated_bypass: enabled + secret_scanning_delegated_bypass_options: + reviewers: + - security_configuration_id: 1325 + reviewer_id: 5678 + reviewer_type: TEAM secret_scanning_validity_checks: enabled secret_scanning_non_provider_patterns: enabled private_vulnerability_reporting: enabled @@ -199082,6 +200221,7 @@ components: code_scanning_default_setup: enabled secret_scanning: enabled secret_scanning_push_protection: enabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled private_vulnerability_reporting: enabled enforcement: enforced @@ -199105,6 +200245,7 @@ components: code_scanning_default_setup: enabled secret_scanning: disabled secret_scanning_push_protection: disabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled private_vulnerability_reporting: disabled @@ -199622,7 +200763,11 @@ components: active_this_cycle: 12 inactive_this_cycle: 11 seat_management_setting: assign_selected + ide_chat: enabled + platform_chat: enabled + cli: enabled public_code_suggestions: block + plan_type: business organization-dependabot-secret-paginated: value: total_count: 3 @@ -200134,6 +201279,7 @@ components: pending_cancellation_date: last_activity_at: '2021-10-14T00:53:32-06:00' last_activity_editor: vscode/1.77.3/copilot/1.86.82 + plan_type: business assignee: login: octocat id: 1 @@ -201664,7 +202810,7 @@ components: value: - id: 21 actor_id: 12 - username: octocat + actor_name: octocat before_sha: 893f768e172fb1bc9c5d6f3dd48557e45f14e01d after_sha: dedd88641a362b6b4ea872da4847d6131a164d01 ref: refs/heads/i-see-everything @@ -201674,7 +202820,7 @@ components: result: bypass - id: 25 actor_id: 11 - username: not-octocat + actor_name: not-octocat before_sha: 48994e4e01ccc943624c6231f172702b82b233cc after_sha: ecfd5a1025fa271a33ca5608d089476a2df3c9a1 ref: refs/heads/i-am-everything @@ -201687,7 +202833,7 @@ components: value: id: 21 actor_id: 12 - username: octocat + actor_name: octocat before_sha: 893f768e172fb1bc9c5d6f3dd48557e45f14e01d after_sha: dedd88641a362b6b4ea872da4847d6131a164d01 ref: refs/heads/i-see-everything @@ -206548,7 +207694,7 @@ components: analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 code-security-configuration-for-repository: value: - state: attached + status: attached configuration: id: 1325 target_type: organization @@ -206564,6 +207710,7 @@ components: code_scanning_default_setup: disabled secret_scanning: enabled secret_scanning_push_protection: disabled + secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled private_vulnerability_reporting: disabled @@ -213789,6 +214936,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -213806,6 +214955,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -213825,6 +214976,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -213862,6 +215015,8 @@ components: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-location-list: value: - type: commit @@ -215752,240 +216907,6 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/user/codespaces/secrets/CODESPACE_GH_SECRET/repositories - minimal-repository-paginated: - value: - total_count: 1 - repositories: - - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: git:github.com/octocat/Hello-World.git - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: git@github.com:octocat/Hello-World.git - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: https://github.com/octocat/Hello-World.git - mirror_url: git:git.example.com/octocat/Hello-World - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - svn_url: https://svn.github.com/octocat/Hello-World - homepage: https://github.com - language: - forks_count: 9 - stargazers_count: 80 - watchers_count: 80 - size: 108 - default_branch: master - open_issues_count: 0 - is_template: true - topics: - - octocat - - atom - - electron - - api - has_issues: true - has_projects: true - has_wiki: true - has_pages: false - has_downloads: true - archived: false - disabled: false - visibility: public - pushed_at: '2011-01-26T19:06:43Z' - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - permissions: - admin: false - push: false - pull: true - template_repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: git:github.com/octocat/Hello-World.git - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: git@github.com:octocat/Hello-World.git - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: https://github.com/octocat/Hello-World.git - mirror_url: git:git.example.com/octocat/Hello-World - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - svn_url: https://svn.github.com/octocat/Hello-World - homepage: https://github.com - organization: - language: - forks: 9 - forks_count: 9 - stargazers_count: 80 - watchers_count: 80 - watchers: 80 - size: 108 - default_branch: master - open_issues: 0 - open_issues_count: 0 - is_template: true - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://api.github.com/licenses/mit - topics: - - octocat - - atom - - electron - - api - has_issues: true - has_projects: true - has_wiki: true - has_pages: false - has_downloads: true - archived: false - disabled: false - visibility: public - pushed_at: '2011-01-26T19:06:43Z' - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - permissions: - admin: false - push: false - pull: true - allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - allow_squash_merge: true - allow_auto_merge: false - delete_branch_on_merge: true - allow_merge_commit: true - subscribers_count: 42 - network_count: 0 - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true - subscribers_count: 42 - network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - forks: 1 - open_issues: 1 - watchers: 1 user-export-details: value: state: succeeded @@ -219712,6 +220633,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -220098,6 +221021,24 @@ components: required: false schema: type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false team-slug: name: team_slug description: The slug of the team name. @@ -220225,6 +221166,20 @@ components: required: true schema: type: integer + visible-to-repository: + name: visible_to_repository + description: Only return runner groups that are allowed to be used by this repository. + in: query + required: false + schema: + type: string + runner-group-id: + name: runner_group_id + description: Unique identifier of the self-hosted runner group. + in: path + required: true + schema: + type: integer runner-id: name: runner_id description: Unique identifier of the self-hosted runner. @@ -220450,11 +221405,22 @@ components: type: integer custom-property-name: name: custom_property_name - description: The custom property name. The name is case sensitive. + description: The custom property name in: path required: true schema: type: string + ruleset-targets: + name: targets + description: | + A comma-separated list of rule targets to filter by. + If provided, only rulesets that apply to the specified targets will be returned. + For example, `branch,tag,push`. + in: query + required: false + schema: + type: string + example: branch,tag,push ref-in-query: name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -220836,6 +221802,13 @@ components: required: false schema: "$ref": "#/components/schemas/code-scanning-ref" + pr-alias: + name: pr + description: The number of the pull request for the results you want to list. + in: query + required: false + schema: + type: integer alert-number: name: alert_number in: path diff --git a/packages/openapi-typescript/examples/stripe-api.ts b/packages/openapi-typescript/examples/stripe-api.ts index 8fd2077d5..15d13ed8c 100644 --- a/packages/openapi-typescript/examples/stripe-api.ts +++ b/packages/openapi-typescript/examples/stripe-api.ts @@ -11,7 +11,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an account.

*/ + /** + * Retrieve account + * @description

Retrieves the details of an account.

+ */ get: operations["GetAccount"]; put?: never; post?: never; @@ -30,7 +33,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.

*/ + /** + * Create an account link + * @description

Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.

+ */ post: operations["PostAccountLinks"]; delete?: never; options?: never; @@ -47,7 +53,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.

*/ + /** + * Create an Account Session + * @description

Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access.

+ */ post: operations["PostAccountSessions"]; delete?: never; options?: never; @@ -62,7 +71,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.

*/ + /** + * List all connected accounts + * @description

Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.

+ */ get: operations["GetAccounts"]; put?: never; /** @description

With Connect, you can create Stripe accounts for your users. @@ -85,10 +97,15 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an account.

*/ + /** + * Retrieve account + * @description

Retrieves the details of an account.

+ */ get: operations["GetAccountsAccount"]; put?: never; - /** @description

Updates a connected account by setting the values of the parameters passed. Any parameters not provided are + /** + * Update an account + * @description

Updates a connected account by setting the values of the parameters passed. Any parameters not provided are * left unchanged.

* *

For accounts where controller.requirement_collection @@ -100,15 +117,19 @@ export interface paths { * after which some properties can no longer be updated.

* *

To update your own account, use the Dashboard. Refer to our - * Connect documentation to learn more about updating accounts.

*/ + * Connect documentation to learn more about updating accounts.

+ */ post: operations["PostAccountsAccount"]; - /** @description

With Connect, you can delete accounts you manage.

+ /** + * Delete an account + * @description

With Connect, you can delete accounts you manage.

* *

Test-mode accounts can be deleted at any time.

* *

Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all balances are zero.

* - *

If you want to delete your own account, use the account information tab in your account settings instead.

*/ + *

If you want to delete your own account, use the account information tab in your account settings instead.

+ */ delete: operations["DeleteAccountsAccount"]; options?: never; head?: never; @@ -124,7 +145,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Create an external account for a given account.

*/ + /** + * Create an external account + * @description

Create an external account for a given account.

+ */ post: operations["PostAccountsAccountBankAccounts"]; delete?: never; options?: never; @@ -139,7 +163,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve a specified external account for a given account.

*/ + /** + * Retrieve an external account + * @description

Retrieve a specified external account for a given account.

+ */ get: operations["GetAccountsAccountBankAccountsId"]; put?: never; /** @description

Updates the metadata, account holder name, account holder type of a bank account belonging to @@ -151,7 +178,10 @@ export interface paths { *

You can re-enable a disabled bank account by performing an update call without providing any * arguments or changes.

*/ post: operations["PostAccountsAccountBankAccountsId"]; - /** @description

Delete a specified external account for a given account.

*/ + /** + * Delete an external account + * @description

Delete a specified external account for a given account.

+ */ delete: operations["DeleteAccountsAccountBankAccountsId"]; options?: never; head?: never; @@ -165,7 +195,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.

*/ + /** + * List all account capabilities + * @description

Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.

+ */ get: operations["GetAccountsAccountCapabilities"]; put?: never; post?: never; @@ -182,10 +215,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves information about the specified Account Capability.

*/ + /** + * Retrieve an Account Capability + * @description

Retrieves information about the specified Account Capability.

+ */ get: operations["GetAccountsAccountCapabilitiesCapability"]; put?: never; - /** @description

Updates an existing Account Capability. Request or remove a capability by updating its requested parameter.

*/ + /** + * Update an Account Capability + * @description

Updates an existing Account Capability. Request or remove a capability by updating its requested parameter.

+ */ post: operations["PostAccountsAccountCapabilitiesCapability"]; delete?: never; options?: never; @@ -200,10 +239,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

List external accounts for an account.

*/ + /** + * List all external accounts + * @description

List external accounts for an account.

+ */ get: operations["GetAccountsAccountExternalAccounts"]; put?: never; - /** @description

Create an external account for a given account.

*/ + /** + * Create an external account + * @description

Create an external account for a given account.

+ */ post: operations["PostAccountsAccountExternalAccounts"]; delete?: never; options?: never; @@ -218,7 +263,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve a specified external account for a given account.

*/ + /** + * Retrieve an external account + * @description

Retrieve a specified external account for a given account.

+ */ get: operations["GetAccountsAccountExternalAccountsId"]; put?: never; /** @description

Updates the metadata, account holder name, account holder type of a bank account belonging to @@ -230,7 +278,10 @@ export interface paths { *

You can re-enable a disabled bank account by performing an update call without providing any * arguments or changes.

*/ post: operations["PostAccountsAccountExternalAccountsId"]; - /** @description

Delete a specified external account for a given account.

*/ + /** + * Delete an external account + * @description

Delete a specified external account for a given account.

+ */ delete: operations["DeleteAccountsAccountExternalAccountsId"]; options?: never; head?: never; @@ -246,9 +297,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a single-use login link for a connected account to access the Express Dashboard.

+ /** + * Create a login link + * @description

Creates a single-use login link for a connected account to access the Express Dashboard.

* - *

You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

*/ + *

You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

+ */ post: operations["PostAccountsAccountLoginLinks"]; delete?: never; options?: never; @@ -263,10 +317,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.

*/ + /** + * List all persons + * @description

Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.

+ */ get: operations["GetAccountsAccountPeople"]; put?: never; - /** @description

Creates a new person.

*/ + /** + * Create a person + * @description

Creates a new person.

+ */ post: operations["PostAccountsAccountPeople"]; delete?: never; options?: never; @@ -281,12 +341,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an existing person.

*/ + /** + * Retrieve a person + * @description

Retrieves an existing person.

+ */ get: operations["GetAccountsAccountPeoplePerson"]; put?: never; - /** @description

Updates an existing person.

*/ + /** + * Update a person + * @description

Updates an existing person.

+ */ post: operations["PostAccountsAccountPeoplePerson"]; - /** @description

Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.

*/ + /** + * Delete a person + * @description

Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.

+ */ delete: operations["DeleteAccountsAccountPeoplePerson"]; options?: never; head?: never; @@ -300,10 +369,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.

*/ + /** + * List all persons + * @description

Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.

+ */ get: operations["GetAccountsAccountPersons"]; put?: never; - /** @description

Creates a new person.

*/ + /** + * Create a person + * @description

Creates a new person.

+ */ post: operations["PostAccountsAccountPersons"]; delete?: never; options?: never; @@ -318,12 +393,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an existing person.

*/ + /** + * Retrieve a person + * @description

Retrieves an existing person.

+ */ get: operations["GetAccountsAccountPersonsPerson"]; put?: never; - /** @description

Updates an existing person.

*/ + /** + * Update a person + * @description

Updates an existing person.

+ */ post: operations["PostAccountsAccountPersonsPerson"]; - /** @description

Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.

*/ + /** + * Delete a person + * @description

Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.

+ */ delete: operations["DeleteAccountsAccountPersonsPerson"]; options?: never; head?: never; @@ -339,9 +423,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

With Connect, you can reject accounts that you have flagged as suspicious.

+ /** + * Reject an account + * @description

With Connect, you can reject accounts that you have flagged as suspicious.

* - *

Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.

*/ + *

Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.

+ */ post: operations["PostAccountsAccountReject"]; delete?: never; options?: never; @@ -392,7 +479,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of application fees you’ve previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.

*/ + /** + * List all application fees + * @description

Returns a list of application fees you’ve previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.

+ */ get: operations["GetApplicationFees"]; put?: never; post?: never; @@ -409,12 +499,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

By default, you can see the 10 most recent refunds stored directly on the application fee object, but you can also retrieve details about a specific refund stored on the application fee.

*/ + /** + * Retrieve an application fee refund + * @description

By default, you can see the 10 most recent refunds stored directly on the application fee object, but you can also retrieve details about a specific refund stored on the application fee.

+ */ get: operations["GetApplicationFeesFeeRefundsId"]; put?: never; - /** @description

Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ /** + * Update an application fee refund + * @description

Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

* - *

This request only accepts metadata as an argument.

*/ + *

This request only accepts metadata as an argument.

+ */ post: operations["PostApplicationFeesFeeRefundsId"]; delete?: never; options?: never; @@ -429,7 +525,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee.

*/ + /** + * Retrieve an application fee + * @description

Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee.

+ */ get: operations["GetApplicationFeesId"]; put?: never; post?: never; @@ -462,10 +561,15 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

You can see a list of the refunds belonging to a specific application fee. Note that the 10 most recent refunds are always available by default on the application fee object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds.

*/ + /** + * List all application fee refunds + * @description

You can see a list of the refunds belonging to a specific application fee. Note that the 10 most recent refunds are always available by default on the application fee object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds.

+ */ get: operations["GetApplicationFeesIdRefunds"]; put?: never; - /** @description

Refunds an application fee that has previously been collected but not yet refunded. + /** + * Create an application fee refund + * @description

Refunds an application fee that has previously been collected but not yet refunded. * Funds will be refunded to the Stripe account from which the fee was originally collected.

* *

You can optionally refund only part of an application fee. @@ -473,7 +577,8 @@ export interface paths { * *

Once entirely refunded, an application fee can’t be refunded again. * This method will raise an error when called on an already-refunded application fee, - * or when trying to refund more money than is left on an application fee.

*/ + * or when trying to refund more money than is left on an application fee.

+ */ post: operations["PostApplicationFeesIdRefunds"]; delete?: never; options?: never; @@ -488,10 +593,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

List all secrets stored on the given scope.

*/ + /** + * List secrets + * @description

List all secrets stored on the given scope.

+ */ get: operations["GetAppsSecrets"]; put?: never; - /** @description

Create or replace a secret in the secret store.

*/ + /** + * Set a Secret + * @description

Create or replace a secret in the secret store.

+ */ post: operations["PostAppsSecrets"]; delete?: never; options?: never; @@ -508,7 +619,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Deletes a secret from the secret store by name and scope.

*/ + /** + * Delete a Secret + * @description

Deletes a secret from the secret store by name and scope.

+ */ post: operations["PostAppsSecretsDelete"]; delete?: never; options?: never; @@ -523,7 +637,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Finds a secret in the secret store by name and scope.

*/ + /** + * Find a Secret + * @description

Finds a secret in the secret store by name and scope.

+ */ get: operations["GetAppsSecretsFind"]; put?: never; post?: never; @@ -540,8 +657,11 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the current account balance, based on the authentication that was used to make the request. - * For a sample request, see Accounting for negative balances.

*/ + /** + * Retrieve balance + * @description

Retrieves the current account balance, based on the authentication that was used to make the request. + * For a sample request, see Accounting for negative balances.

+ */ get: operations["GetBalance"]; put?: never; post?: never; @@ -558,9 +678,12 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first.

+ /** + * List all balance transactions + * @description

Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first.

* - *

Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

*/ + *

Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

+ */ get: operations["GetBalanceHistory"]; put?: never; post?: never; @@ -577,9 +700,12 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the balance transaction with the given ID.

+ /** + * Retrieve a balance transaction + * @description

Retrieves the balance transaction with the given ID.

* - *

Note that this endpoint previously used the path /v1/balance/history/:id.

*/ + *

Note that this endpoint previously used the path /v1/balance/history/:id.

+ */ get: operations["GetBalanceHistoryId"]; put?: never; post?: never; @@ -596,9 +722,12 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first.

+ /** + * List all balance transactions + * @description

Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first.

* - *

Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

*/ + *

Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

+ */ get: operations["GetBalanceTransactions"]; put?: never; post?: never; @@ -615,9 +744,12 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the balance transaction with the given ID.

+ /** + * Retrieve a balance transaction + * @description

Retrieves the balance transaction with the given ID.

* - *

Note that this endpoint previously used the path /v1/balance/history/:id.

*/ + *

Note that this endpoint previously used the path /v1/balance/history/:id.

+ */ get: operations["GetBalanceTransactionsId"]; put?: never; post?: never; @@ -634,10 +766,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists billing active and inactive alerts

*/ + /** + * List billing alerts + * @description

Lists billing active and inactive alerts

+ */ get: operations["GetBillingAlerts"]; put?: never; - /** @description

Creates a billing alert

*/ + /** + * Create a billing alert + * @description

Creates a billing alert

+ */ post: operations["PostBillingAlerts"]; delete?: never; options?: never; @@ -652,7 +790,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a billing alert given an ID

*/ + /** + * Retrieve a billing alert + * @description

Retrieves a billing alert given an ID

+ */ get: operations["GetBillingAlertsId"]; put?: never; post?: never; @@ -671,7 +812,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Reactivates this alert, allowing it to trigger again.

*/ + /** + * Activate a billing alert + * @description

Reactivates this alert, allowing it to trigger again.

+ */ post: operations["PostBillingAlertsIdActivate"]; delete?: never; options?: never; @@ -688,7 +832,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Archives this alert, removing it from the list view and APIs. This is non-reversible.

*/ + /** + * Archive a billing alert + * @description

Archives this alert, removing it from the list view and APIs. This is non-reversible.

+ */ post: operations["PostBillingAlertsIdArchive"]; delete?: never; options?: never; @@ -705,7 +852,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Deactivates this alert, preventing it from triggering.

*/ + /** + * Deactivate a billing alert + * @description

Deactivates this alert, preventing it from triggering.

+ */ post: operations["PostBillingAlertsIdDeactivate"]; delete?: never; options?: never; @@ -713,6 +863,154 @@ export interface paths { patch?: never; trace?: never; }; + "/v1/billing/credit_balance_summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve the credit balance summary for a customer + * @description

Retrieves the credit balance summary for a customer

+ */ + get: operations["GetBillingCreditBalanceSummary"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/billing/credit_balance_transactions": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List credit balance transactions + * @description

Retrieve a list of credit balance transactions

+ */ + get: operations["GetBillingCreditBalanceTransactions"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/billing/credit_balance_transactions/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve a credit balance transaction + * @description

Retrieves a credit balance transaction

+ */ + get: operations["GetBillingCreditBalanceTransactionsId"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/billing/credit_grants": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List credit grants + * @description

Retrieve a list of credit grants

+ */ + get: operations["GetBillingCreditGrants"]; + put?: never; + /** + * Create a credit grant + * @description

Creates a credit grant

+ */ + post: operations["PostBillingCreditGrants"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/billing/credit_grants/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve a credit grant + * @description

Retrieves a credit grant

+ */ + get: operations["GetBillingCreditGrantsId"]; + put?: never; + /** + * Update a credit grant + * @description

Updates a credit grant

+ */ + post: operations["PostBillingCreditGrantsId"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/billing/credit_grants/{id}/expire": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Expire a credit grant + * @description

Expires a credit grant

+ */ + post: operations["PostBillingCreditGrantsIdExpire"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/billing/credit_grants/{id}/void": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Void a credit grant + * @description

Voids a credit grant

+ */ + post: operations["PostBillingCreditGrantsIdVoid"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/v1/billing/meter_event_adjustments": { parameters: { query?: never; @@ -722,7 +1020,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a billing meter event adjustment

*/ + /** + * Create a billing meter event adjustment + * @description

Creates a billing meter event adjustment

+ */ post: operations["PostBillingMeterEventAdjustments"]; delete?: never; options?: never; @@ -739,7 +1040,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a billing meter event

*/ + /** + * Create a billing meter event + * @description

Creates a billing meter event

+ */ post: operations["PostBillingMeterEvents"]; delete?: never; options?: never; @@ -754,10 +1058,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve a list of billing meters.

*/ + /** + * List billing meters + * @description

Retrieve a list of billing meters.

+ */ get: operations["GetBillingMeters"]; put?: never; - /** @description

Creates a billing meter

*/ + /** + * Create a billing meter + * @description

Creates a billing meter

+ */ post: operations["PostBillingMeters"]; delete?: never; options?: never; @@ -772,10 +1082,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a billing meter given an ID

*/ + /** + * Retrieve a billing meter + * @description

Retrieves a billing meter given an ID

+ */ get: operations["GetBillingMetersId"]; put?: never; - /** @description

Updates a billing meter

*/ + /** + * Update a billing meter + * @description

Updates a billing meter

+ */ post: operations["PostBillingMetersId"]; delete?: never; options?: never; @@ -792,7 +1108,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Deactivates a billing meter

*/ + /** + * Deactivate a billing meter + * @description

Deactivates a billing meter

+ */ post: operations["PostBillingMetersIdDeactivate"]; delete?: never; options?: never; @@ -807,7 +1126,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve a list of billing meter event summaries.

*/ + /** + * List billing meter event summaries + * @description

Retrieve a list of billing meter event summaries.

+ */ get: operations["GetBillingMetersIdEventSummaries"]; put?: never; post?: never; @@ -826,7 +1148,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Reactivates a billing meter

*/ + /** + * Reactivate a billing meter + * @description

Reactivates a billing meter

+ */ post: operations["PostBillingMetersIdReactivate"]; delete?: never; options?: never; @@ -841,10 +1166,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of configurations that describe the functionality of the customer portal.

*/ + /** + * List portal configurations + * @description

Returns a list of configurations that describe the functionality of the customer portal.

+ */ get: operations["GetBillingPortalConfigurations"]; put?: never; - /** @description

Creates a configuration that describes the functionality and behavior of a PortalSession

*/ + /** + * Create a portal configuration + * @description

Creates a configuration that describes the functionality and behavior of a PortalSession

+ */ post: operations["PostBillingPortalConfigurations"]; delete?: never; options?: never; @@ -859,10 +1190,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a configuration that describes the functionality of the customer portal.

*/ + /** + * Retrieve a portal configuration + * @description

Retrieves a configuration that describes the functionality of the customer portal.

+ */ get: operations["GetBillingPortalConfigurationsConfiguration"]; put?: never; - /** @description

Updates a configuration that describes the functionality of the customer portal.

*/ + /** + * Update a portal configuration + * @description

Updates a configuration that describes the functionality of the customer portal.

+ */ post: operations["PostBillingPortalConfigurationsConfiguration"]; delete?: never; options?: never; @@ -879,7 +1216,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a session of the customer portal.

*/ + /** + * Create a portal session + * @description

Creates a session of the customer portal.

+ */ post: operations["PostBillingPortalSessions"]; delete?: never; options?: never; @@ -894,7 +1234,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most recent charges appearing first.

*/ + /** + * List all charges + * @description

Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most recent charges appearing first.

+ */ get: operations["GetCharges"]; put?: never; /** @description

This method is no longer recommended—use the Payment Intents API @@ -914,10 +1257,13 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Search for charges you’ve previously created using Stripe’s Search Query Language. + /** + * Search charges + * @description

Search for charges you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up - * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ + * to an hour behind during outages. Search functionality is not available to merchants in India.

+ */ get: operations["GetChargesSearch"]; put?: never; post?: never; @@ -934,10 +1280,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge.

*/ + /** + * Retrieve a charge + * @description

Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge.

+ */ get: operations["GetChargesCharge"]; put?: never; - /** @description

Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ + /** + * Update a charge + * @description

Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ */ post: operations["PostChargesCharge"]; delete?: never; options?: never; @@ -954,11 +1306,14 @@ export interface paths { }; get?: never; put?: never; - /** @description

Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.

+ /** + * Capture a payment + * @description

Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.

* *

Uncaptured payments expire a set number of days after they are created (7 by default), after which they are marked as refunded and capture attempts will fail.

* - *

Don’t use this method to capture a PaymentIntent-initiated charge. Use Capture a PaymentIntent.

*/ + *

Don’t use this method to capture a PaymentIntent-initiated charge. Use Capture a PaymentIntent.

+ */ post: operations["PostChargesChargeCapture"]; delete?: never; options?: never; @@ -1008,7 +1363,9 @@ export interface paths { }; get?: never; put?: never; - /** @description

When you create a new refund, you must specify either a Charge or a PaymentIntent object.

+ /** + * Create a refund + * @description

When you create a new refund, you must specify either a Charge or a PaymentIntent object.

* *

This action refunds a previously created charge that’s not refunded yet. * Funds are refunded to the credit or debit card that’s originally charged.

@@ -1018,7 +1375,8 @@ export interface paths { * *

After you entirely refund a charge, you can’t refund it again. * This method raises an error when it’s called on an already-refunded charge, - * or when you attempt to refund more money than is left on a charge.

*/ + * or when you attempt to refund more money than is left on a charge.

+ */ post: operations["PostChargesChargeRefund"]; delete?: never; options?: never; @@ -1033,10 +1391,15 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

You can see a list of the refunds belonging to a specific charge. Note that the 10 most recent refunds are always available by default on the charge object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds.

*/ + /** + * List all refunds + * @description

You can see a list of the refunds belonging to a specific charge. Note that the 10 most recent refunds are always available by default on the charge object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds.

+ */ get: operations["GetChargesChargeRefunds"]; put?: never; - /** @description

When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.

+ /** + * Create customer balance refund + * @description

When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.

* *

Creating a new refund will refund a charge that has previously been created but not yet refunded. * Funds will be refunded to the credit or debit card that was originally charged.

@@ -1046,7 +1409,8 @@ export interface paths { * *

Once entirely refunded, a charge can’t be refunded again. * This method will raise an error when called on an already-refunded charge, - * or when trying to refund more money than is left on a charge.

*/ + * or when trying to refund more money than is left on a charge.

+ */ post: operations["PostChargesChargeRefunds"]; delete?: never; options?: never; @@ -1079,10 +1443,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Checkout Sessions.

*/ + /** + * List all Checkout Sessions + * @description

Returns a list of Checkout Sessions.

+ */ get: operations["GetCheckoutSessions"]; put?: never; - /** @description

Creates a Session object.

*/ + /** + * Create a Session + * @description

Creates a Session object.

+ */ post: operations["PostCheckoutSessions"]; delete?: never; options?: never; @@ -1097,10 +1467,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Session object.

*/ + /** + * Retrieve a Session + * @description

Retrieves a Session object.

+ */ get: operations["GetCheckoutSessionsSession"]; put?: never; - /** @description

Updates a Session object.

*/ + /** + * Update a Session + * @description

Updates a Session object.

+ */ post: operations["PostCheckoutSessionsSession"]; delete?: never; options?: never; @@ -1117,9 +1493,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

A Session can be expired when it is in one of these statuses: open

+ /** + * Expire a Session + * @description

A Session can be expired when it is in one of these statuses: open

* - *

After it expires, a customer can’t complete a Session and customers loading the Session see a message saying the Session is expired.

*/ + *

After it expires, a customer can’t complete a Session and customers loading the Session see a message saying the Session is expired.

+ */ post: operations["PostCheckoutSessionsSessionExpire"]; delete?: never; options?: never; @@ -1134,7 +1513,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ + /** + * Retrieve a Checkout Session's line items + * @description

When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

+ */ get: operations["GetCheckoutSessionsSessionLineItems"]; put?: never; post?: never; @@ -1151,12 +1533,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists all Climate order objects. The orders are returned sorted by creation date, with the - * most recently created orders appearing first.

*/ + /** + * List orders + * @description

Lists all Climate order objects. The orders are returned sorted by creation date, with the + * most recently created orders appearing first.

+ */ get: operations["GetClimateOrders"]; put?: never; - /** @description

Creates a Climate order object for a given Climate product. The order will be processed immediately - * after creation and payment will be deducted your Stripe balance.

*/ + /** + * Create an order + * @description

Creates a Climate order object for a given Climate product. The order will be processed immediately + * after creation and payment will be deducted your Stripe balance.

+ */ post: operations["PostClimateOrders"]; delete?: never; options?: never; @@ -1171,10 +1559,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a Climate order object with the given ID.

*/ + /** + * Retrieve an order + * @description

Retrieves the details of a Climate order object with the given ID.

+ */ get: operations["GetClimateOrdersOrder"]; put?: never; - /** @description

Updates the specified order by setting the values of the parameters passed.

*/ + /** + * Update an order + * @description

Updates the specified order by setting the values of the parameters passed.

+ */ post: operations["PostClimateOrdersOrder"]; delete?: never; options?: never; @@ -1191,10 +1585,13 @@ export interface paths { }; get?: never; put?: never; - /** @description

Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the + /** + * Cancel an order + * @description

Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the * reservation amount_subtotal, but not the amount_fees for user-triggered cancellations. Frontier * might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe - * provides 90 days advance notice and refunds the amount_total.

*/ + * provides 90 days advance notice and refunds the amount_total.

+ */ post: operations["PostClimateOrdersOrderCancel"]; delete?: never; options?: never; @@ -1209,7 +1606,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists all available Climate product objects.

*/ + /** + * List products + * @description

Lists all available Climate product objects.

+ */ get: operations["GetClimateProducts"]; put?: never; post?: never; @@ -1226,7 +1626,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a Climate product with the given ID.

*/ + /** + * Retrieve a product + * @description

Retrieves the details of a Climate product with the given ID.

+ */ get: operations["GetClimateProductsProduct"]; put?: never; post?: never; @@ -1243,7 +1646,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists all available Climate supplier objects.

*/ + /** + * List suppliers + * @description

Lists all available Climate supplier objects.

+ */ get: operations["GetClimateSuppliers"]; put?: never; post?: never; @@ -1260,7 +1666,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Climate supplier object.

*/ + /** + * Retrieve a supplier + * @description

Retrieves a Climate supplier object.

+ */ get: operations["GetClimateSuppliersSupplier"]; put?: never; post?: never; @@ -1277,7 +1686,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an existing ConfirmationToken object

*/ + /** + * Retrieve a ConfirmationToken + * @description

Retrieves an existing ConfirmationToken object

+ */ get: operations["GetConfirmationTokensConfirmationToken"]; put?: never; post?: never; @@ -1294,7 +1706,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists all Country Spec objects available in the API.

*/ + /** + * List Country Specs + * @description

Lists all Country Spec objects available in the API.

+ */ get: operations["GetCountrySpecs"]; put?: never; post?: never; @@ -1311,7 +1726,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a Country Spec for a given Country code.

*/ + /** + * Retrieve a Country Spec + * @description

Returns a Country Spec for a given Country code.

+ */ get: operations["GetCountrySpecsCountry"]; put?: never; post?: never; @@ -1328,12 +1746,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your coupons.

*/ + /** + * List all coupons + * @description

Returns a list of your coupons.

+ */ get: operations["GetCoupons"]; put?: never; - /** @description

You can create coupons easily via the coupon management page of the Stripe dashboard. Coupon creation is also accessible via the API if you need to create coupons on the fly.

+ /** + * Create a coupon + * @description

You can create coupons easily via the coupon management page of the Stripe dashboard. Coupon creation is also accessible via the API if you need to create coupons on the fly.

* - *

A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice’s subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it.

*/ + *

A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice’s subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it.

+ */ post: operations["PostCoupons"]; delete?: never; options?: never; @@ -1348,12 +1772,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the coupon with the given ID.

*/ + /** + * Retrieve a coupon + * @description

Retrieves the coupon with the given ID.

+ */ get: operations["GetCouponsCoupon"]; put?: never; - /** @description

Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable.

*/ + /** + * Update a coupon + * @description

Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable.

+ */ post: operations["PostCouponsCoupon"]; - /** @description

You can delete coupons via the coupon management page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can’t redeem the coupon. You can also delete coupons via the API.

*/ + /** + * Delete a coupon + * @description

You can delete coupons via the coupon management page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can’t redeem the coupon. You can also delete coupons via the API.

+ */ delete: operations["DeleteCouponsCoupon"]; options?: never; head?: never; @@ -1367,10 +1800,15 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of credit notes.

*/ + /** + * List all credit notes + * @description

Returns a list of credit notes.

+ */ get: operations["GetCreditNotes"]; put?: never; - /** @description

Issue a credit note to adjust the amount of a finalized invoice. For a status=open invoice, a credit note reduces + /** + * Create a credit note + * @description

Issue a credit note to adjust the amount of a finalized invoice. For a status=open invoice, a credit note reduces * its amount_due. For a status=paid invoice, a credit note does not affect its amount_due. Instead, it can result * in any combination of the following:

* @@ -1383,7 +1821,8 @@ export interface paths { *

For post-payment credit notes the sum of the refund, credit and outside of Stripe amounts must equal the credit note total.

* *

You may issue multiple credit notes for an invoice. Each credit note will increment the invoice’s pre_payment_credit_notes_amount - * or post_payment_credit_notes_amount depending on its status at the time of credit note creation.

*/ + * or post_payment_credit_notes_amount depending on its status at the time of credit note creation.

+ */ post: operations["PostCreditNotes"]; delete?: never; options?: never; @@ -1398,7 +1837,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Get a preview of a credit note without creating it.

*/ + /** + * Preview a credit note + * @description

Get a preview of a credit note without creating it.

+ */ get: operations["GetCreditNotesPreview"]; put?: never; post?: never; @@ -1415,7 +1857,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

When retrieving a credit note preview, you’ll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items.

*/ + /** + * Retrieve a credit note preview's line items + * @description

When retrieving a credit note preview, you’ll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items.

+ */ get: operations["GetCreditNotesPreviewLines"]; put?: never; post?: never; @@ -1432,7 +1877,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

When retrieving a credit note, you’ll get a lines property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ + /** + * Retrieve a credit note's line items + * @description

When retrieving a credit note, you’ll get a lines property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

+ */ get: operations["GetCreditNotesCreditNoteLines"]; put?: never; post?: never; @@ -1449,10 +1897,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the credit note object with the given identifier.

*/ + /** + * Retrieve a credit note + * @description

Retrieves the credit note object with the given identifier.

+ */ get: operations["GetCreditNotesId"]; put?: never; - /** @description

Updates an existing credit note.

*/ + /** + * Update a credit note + * @description

Updates an existing credit note.

+ */ post: operations["PostCreditNotesId"]; delete?: never; options?: never; @@ -1469,7 +1923,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Marks a credit note as void. Learn more about voiding credit notes.

*/ + /** + * Void a credit note + * @description

Marks a credit note as void. Learn more about voiding credit notes.

+ */ post: operations["PostCreditNotesIdVoid"]; delete?: never; options?: never; @@ -1486,7 +1943,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources.

*/ + /** + * Create a Customer Session + * @description

Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources.

+ */ post: operations["PostCustomerSessions"]; delete?: never; options?: never; @@ -1501,10 +1961,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first.

*/ + /** + * List all customers + * @description

Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first.

+ */ get: operations["GetCustomers"]; put?: never; - /** @description

Creates a new customer object.

*/ + /** + * Create a customer + * @description

Creates a new customer object.

+ */ post: operations["PostCustomers"]; delete?: never; options?: never; @@ -1519,10 +1985,13 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Search for customers you’ve previously created using Stripe’s Search Query Language. + /** + * Search customers + * @description

Search for customers you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up - * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ + * to an hour behind during outages. Search functionality is not available to merchants in India.

+ */ get: operations["GetCustomersSearch"]; put?: never; post?: never; @@ -1539,14 +2008,23 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Customer object.

*/ + /** + * Retrieve a customer + * @description

Retrieves a Customer object.

+ */ get: operations["GetCustomersCustomer"]; put?: never; - /** @description

Updates the specified customer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the source parameter, that becomes the customer’s active source (e.g., a card) to be used for all charges in the future. When you update a customer to a new valid card source by passing the source parameter: for each of the customer’s current subscriptions, if the subscription bills automatically and is in the past_due state, then the latest open invoice for the subscription with automatic collection enabled will be retried. This retry will not count as an automatic retry, and will not affect the next regularly scheduled payment for the invoice. Changing the default_source for a customer will not trigger this behavior.

+ /** + * Update a customer + * @description

Updates the specified customer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the source parameter, that becomes the customer’s active source (e.g., a card) to be used for all charges in the future. When you update a customer to a new valid card source by passing the source parameter: for each of the customer’s current subscriptions, if the subscription bills automatically and is in the past_due state, then the latest open invoice for the subscription with automatic collection enabled will be retried. This retry will not count as an automatic retry, and will not affect the next regularly scheduled payment for the invoice. Changing the default_source for a customer will not trigger this behavior.

* - *

This request accepts mostly the same arguments as the customer creation call.

*/ + *

This request accepts mostly the same arguments as the customer creation call.

+ */ post: operations["PostCustomersCustomer"]; - /** @description

Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.

*/ + /** + * Delete a customer + * @description

Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.

+ */ delete: operations["DeleteCustomersCustomer"]; options?: never; head?: never; @@ -1560,10 +2038,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of transactions that updated the customer’s balances.

*/ + /** + * List customer balance transactions + * @description

Returns a list of transactions that updated the customer’s balances.

+ */ get: operations["GetCustomersCustomerBalanceTransactions"]; put?: never; - /** @description

Creates an immutable transaction that updates the customer’s credit balance.

*/ + /** + * Create a customer balance transaction + * @description

Creates an immutable transaction that updates the customer’s credit balance.

+ */ post: operations["PostCustomersCustomerBalanceTransactions"]; delete?: never; options?: never; @@ -1578,10 +2062,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a specific customer balance transaction that updated the customer’s balances.

*/ + /** + * Retrieve a customer balance transaction + * @description

Retrieves a specific customer balance transaction that updated the customer’s balances.

+ */ get: operations["GetCustomersCustomerBalanceTransactionsTransaction"]; put?: never; - /** @description

Most credit balance transaction fields are immutable, but you may update its description and metadata.

*/ + /** + * Update a customer credit balance transaction + * @description

Most credit balance transaction fields are immutable, but you may update its description and metadata.

+ */ post: operations["PostCustomersCustomerBalanceTransactionsTransaction"]; delete?: never; options?: never; @@ -1597,16 +2087,20 @@ export interface paths { cookie?: never; }; /** + * List all bank accounts * @deprecated * @description

You can see a list of the bank accounts belonging to a Customer. Note that the 10 most recent sources are always available by default on the Customer. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional bank accounts.

*/ get: operations["GetCustomersCustomerBankAccounts"]; put?: never; - /** @description

When you create a new credit card, you must specify a customer or recipient on which to create it.

+ /** + * Create a card + * @description

When you create a new credit card, you must specify a customer or recipient on which to create it.

* *

If the card’s owner has no default card, then the new card will become the default. * However, if the owner already has a default, then it will not change. - * To change the default, you should update the customer to have a new default_source.

*/ + * To change the default, you should update the customer to have a new default_source.

+ */ post: operations["PostCustomersCustomerBankAccounts"]; delete?: never; options?: never; @@ -1622,6 +2116,7 @@ export interface paths { cookie?: never; }; /** + * Retrieve a bank account * @deprecated * @description

By default, you can see the 10 most recent sources stored on a Customer directly on the object, but you can also retrieve details about a specific bank account stored on the Stripe account.

*/ @@ -1629,7 +2124,10 @@ export interface paths { put?: never; /** @description

Update a specified source for a given customer.

*/ post: operations["PostCustomersCustomerBankAccountsId"]; - /** @description

Delete a specified source for a given customer.

*/ + /** + * Delete a customer source + * @description

Delete a specified source for a given customer.

+ */ delete: operations["DeleteCustomersCustomerBankAccountsId"]; options?: never; head?: never; @@ -1645,7 +2143,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Verify a specified bank account for a given customer.

*/ + /** + * Verify a bank account + * @description

Verify a specified bank account for a given customer.

+ */ post: operations["PostCustomersCustomerBankAccountsIdVerify"]; delete?: never; options?: never; @@ -1661,6 +2162,7 @@ export interface paths { cookie?: never; }; /** + * List all cards * @deprecated * @description

You can see a list of the cards belonging to a customer. * Note that the 10 most recent sources are always available on the Customer object. @@ -1668,11 +2170,14 @@ export interface paths { */ get: operations["GetCustomersCustomerCards"]; put?: never; - /** @description

When you create a new credit card, you must specify a customer or recipient on which to create it.

+ /** + * Create a card + * @description

When you create a new credit card, you must specify a customer or recipient on which to create it.

* *

If the card’s owner has no default card, then the new card will become the default. * However, if the owner already has a default, then it will not change. - * To change the default, you should update the customer to have a new default_source.

*/ + * To change the default, you should update the customer to have a new default_source.

+ */ post: operations["PostCustomersCustomerCards"]; delete?: never; options?: never; @@ -1688,6 +2193,7 @@ export interface paths { cookie?: never; }; /** + * Retrieve a card * @deprecated * @description

You can always see the 10 most recent cards directly on a customer; this method lets you retrieve details about a specific card stored on the customer.

*/ @@ -1695,7 +2201,10 @@ export interface paths { put?: never; /** @description

Update a specified source for a given customer.

*/ post: operations["PostCustomersCustomerCardsId"]; - /** @description

Delete a specified source for a given customer.

*/ + /** + * Delete a customer source + * @description

Delete a specified source for a given customer.

+ */ delete: operations["DeleteCustomersCustomerCardsId"]; options?: never; head?: never; @@ -1709,10 +2218,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a customer’s cash balance.

*/ + /** + * Retrieve a cash balance + * @description

Retrieves a customer’s cash balance.

+ */ get: operations["GetCustomersCustomerCashBalance"]; put?: never; - /** @description

Changes the settings on a customer’s cash balance.

*/ + /** + * Update a cash balance's settings + * @description

Changes the settings on a customer’s cash balance.

+ */ post: operations["PostCustomersCustomerCashBalance"]; delete?: never; options?: never; @@ -1727,7 +2242,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of transactions that modified the customer’s cash balance.

*/ + /** + * List cash balance transactions + * @description

Returns a list of transactions that modified the customer’s cash balance.

+ */ get: operations["GetCustomersCustomerCashBalanceTransactions"]; put?: never; post?: never; @@ -1744,7 +2262,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a specific cash balance transaction, which updated the customer’s cash balance.

*/ + /** + * Retrieve a cash balance transaction + * @description

Retrieves a specific cash balance transaction, which updated the customer’s cash balance.

+ */ get: operations["GetCustomersCustomerCashBalanceTransactionsTransaction"]; put?: never; post?: never; @@ -1764,7 +2285,10 @@ export interface paths { get: operations["GetCustomersCustomerDiscount"]; put?: never; post?: never; - /** @description

Removes the currently applied discount on a customer.

*/ + /** + * Delete a customer discount + * @description

Removes the currently applied discount on a customer.

+ */ delete: operations["DeleteCustomersCustomerDiscount"]; options?: never; head?: never; @@ -1780,9 +2304,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

Retrieve funding instructions for a customer cash balance. If funding instructions do not yet exist for the customer, new + /** + * Create or retrieve funding instructions for a customer cash balance + * @description

Retrieve funding instructions for a customer cash balance. If funding instructions do not yet exist for the customer, new * funding instructions will be created. If funding instructions have already been created for a given customer, the same - * funding instructions will be retrieved. In other words, we will return the same funding instructions each time.

*/ + * funding instructions will be retrieved. In other words, we will return the same funding instructions each time.

+ */ post: operations["PostCustomersCustomerFundingInstructions"]; delete?: never; options?: never; @@ -1797,7 +2324,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of PaymentMethods for a given Customer

*/ + /** + * List a Customer's PaymentMethods + * @description

Returns a list of PaymentMethods for a given Customer

+ */ get: operations["GetCustomersCustomerPaymentMethods"]; put?: never; post?: never; @@ -1814,7 +2344,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a PaymentMethod object for a given Customer.

*/ + /** + * Retrieve a Customer's PaymentMethod + * @description

Retrieves a PaymentMethod object for a given Customer.

+ */ get: operations["GetCustomersCustomerPaymentMethodsPaymentMethod"]; put?: never; post?: never; @@ -1834,11 +2367,14 @@ export interface paths { /** @description

List sources for a specified customer.

*/ get: operations["GetCustomersCustomerSources"]; put?: never; - /** @description

When you create a new credit card, you must specify a customer or recipient on which to create it.

+ /** + * Create a card + * @description

When you create a new credit card, you must specify a customer or recipient on which to create it.

* *

If the card’s owner has no default card, then the new card will become the default. * However, if the owner already has a default, then it will not change. - * To change the default, you should update the customer to have a new default_source.

*/ + * To change the default, you should update the customer to have a new default_source.

+ */ post: operations["PostCustomersCustomerSources"]; delete?: never; options?: never; @@ -1858,7 +2394,10 @@ export interface paths { put?: never; /** @description

Update a specified source for a given customer.

*/ post: operations["PostCustomersCustomerSourcesId"]; - /** @description

Delete a specified source for a given customer.

*/ + /** + * Delete a customer source + * @description

Delete a specified source for a given customer.

+ */ delete: operations["DeleteCustomersCustomerSourcesId"]; options?: never; head?: never; @@ -1874,7 +2413,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Verify a specified bank account for a given customer.

*/ + /** + * Verify a bank account + * @description

Verify a specified bank account for a given customer.

+ */ post: operations["PostCustomersCustomerSourcesIdVerify"]; delete?: never; options?: never; @@ -1889,10 +2431,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

You can see a list of the customer’s active subscriptions. Note that the 10 most recent active subscriptions are always available by default on the customer object. If you need more than those 10, you can use the limit and starting_after parameters to page through additional subscriptions.

*/ + /** + * List active subscriptions + * @description

You can see a list of the customer’s active subscriptions. Note that the 10 most recent active subscriptions are always available by default on the customer object. If you need more than those 10, you can use the limit and starting_after parameters to page through additional subscriptions.

+ */ get: operations["GetCustomersCustomerSubscriptions"]; put?: never; - /** @description

Creates a new subscription on an existing customer.

*/ + /** + * Create a subscription + * @description

Creates a new subscription on an existing customer.

+ */ post: operations["PostCustomersCustomerSubscriptions"]; delete?: never; options?: never; @@ -1907,16 +2455,25 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the subscription with the given ID.

*/ + /** + * Retrieve a subscription + * @description

Retrieves the subscription with the given ID.

+ */ get: operations["GetCustomersCustomerSubscriptionsSubscriptionExposedId"]; put?: never; - /** @description

Updates an existing subscription on a customer to match the specified parameters. When changing plans or quantities, we will optionally prorate the price we charge next month to make up for any price changes. To preview how the proration will be calculated, use the upcoming invoice endpoint.

*/ + /** + * Update a subscription on a customer + * @description

Updates an existing subscription on a customer to match the specified parameters. When changing plans or quantities, we will optionally prorate the price we charge next month to make up for any price changes. To preview how the proration will be calculated, use the upcoming invoice endpoint.

+ */ post: operations["PostCustomersCustomerSubscriptionsSubscriptionExposedId"]; - /** @description

Cancels a customer’s subscription. If you set the at_period_end parameter to true, the subscription will remain active until the end of the period, at which point it will be canceled and not renewed. Otherwise, with the default false value, the subscription is terminated immediately. In either case, the customer will not be charged again for the subscription.

+ /** + * Cancel a subscription + * @description

Cancels a customer’s subscription. If you set the at_period_end parameter to true, the subscription will remain active until the end of the period, at which point it will be canceled and not renewed. Otherwise, with the default false value, the subscription is terminated immediately. In either case, the customer will not be charged again for the subscription.

* *

Note, however, that any pending invoice items that you’ve created will still be charged for at the end of the period, unless manually deleted. If you’ve set the subscription to cancel at the end of the period, any pending prorations will also be left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations will be removed.

* - *

By default, upon subscription cancellation, Stripe will stop automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.

*/ + *

By default, upon subscription cancellation, Stripe will stop automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.

+ */ delete: operations["DeleteCustomersCustomerSubscriptionsSubscriptionExposedId"]; options?: never; head?: never; @@ -1933,7 +2490,10 @@ export interface paths { get: operations["GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount"]; put?: never; post?: never; - /** @description

Removes the currently applied discount on a customer.

*/ + /** + * Delete a customer discount + * @description

Removes the currently applied discount on a customer.

+ */ delete: operations["DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount"]; options?: never; head?: never; @@ -1947,10 +2507,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of tax IDs for a customer.

*/ + /** + * List all Customer tax IDs + * @description

Returns a list of tax IDs for a customer.

+ */ get: operations["GetCustomersCustomerTaxIds"]; put?: never; - /** @description

Creates a new tax_id object for a customer.

*/ + /** + * Create a Customer tax ID + * @description

Creates a new tax_id object for a customer.

+ */ post: operations["PostCustomersCustomerTaxIds"]; delete?: never; options?: never; @@ -1965,11 +2531,17 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the tax_id object with the given identifier.

*/ + /** + * Retrieve a Customer tax ID + * @description

Retrieves the tax_id object with the given identifier.

+ */ get: operations["GetCustomersCustomerTaxIdsId"]; put?: never; post?: never; - /** @description

Deletes an existing tax_id object.

*/ + /** + * Delete a Customer tax ID + * @description

Deletes an existing tax_id object.

+ */ delete: operations["DeleteCustomersCustomerTaxIdsId"]; options?: never; head?: never; @@ -1983,7 +2555,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your disputes.

*/ + /** + * List all disputes + * @description

Returns a list of your disputes.

+ */ get: operations["GetDisputes"]; put?: never; post?: never; @@ -2000,12 +2575,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the dispute with the given ID.

*/ + /** + * Retrieve a dispute + * @description

Retrieves the dispute with the given ID.

+ */ get: operations["GetDisputesDispute"]; put?: never; - /** @description

When you get a dispute, contacting your customer is always the best first step. If that doesn’t work, you can submit evidence to help us resolve the dispute in your favor. You can do this in your dashboard, but if you prefer, you can use the API to submit evidence programmatically.

+ /** + * Update a dispute + * @description

When you get a dispute, contacting your customer is always the best first step. If that doesn’t work, you can submit evidence to help us resolve the dispute in your favor. You can do this in your dashboard, but if you prefer, you can use the API to submit evidence programmatically.

* - *

Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our guide to dispute types.

*/ + *

Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our guide to dispute types.

+ */ post: operations["PostDisputesDispute"]; delete?: never; options?: never; @@ -2022,9 +2603,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

Closing the dispute for a charge indicates that you do not have any evidence to submit and are essentially dismissing the dispute, acknowledging it as lost.

+ /** + * Close a dispute + * @description

Closing the dispute for a charge indicates that you do not have any evidence to submit and are essentially dismissing the dispute, acknowledging it as lost.

* - *

The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible.

*/ + *

The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible.

+ */ post: operations["PostDisputesDisputeClose"]; delete?: never; options?: never; @@ -2039,7 +2623,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve a list of active entitlements for a customer

*/ + /** + * List all active entitlements + * @description

Retrieve a list of active entitlements for a customer

+ */ get: operations["GetEntitlementsActiveEntitlements"]; put?: never; post?: never; @@ -2056,7 +2643,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve an active entitlement

*/ + /** + * Retrieve an active entitlement + * @description

Retrieve an active entitlement

+ */ get: operations["GetEntitlementsActiveEntitlementsId"]; put?: never; post?: never; @@ -2073,10 +2663,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve a list of features

*/ + /** + * List all features + * @description

Retrieve a list of features

+ */ get: operations["GetEntitlementsFeatures"]; put?: never; - /** @description

Creates a feature

*/ + /** + * Create a feature + * @description

Creates a feature

+ */ post: operations["PostEntitlementsFeatures"]; delete?: never; options?: never; @@ -2091,10 +2687,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a feature

*/ + /** + * Retrieve a feature + * @description

Retrieves a feature

+ */ get: operations["GetEntitlementsFeaturesId"]; put?: never; - /** @description

Update a feature’s metadata or permanently deactivate it.

*/ + /** + * Updates a feature + * @description

Update a feature’s metadata or permanently deactivate it.

+ */ post: operations["PostEntitlementsFeaturesId"]; delete?: never; options?: never; @@ -2111,7 +2713,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a short-lived API key for a given resource.

*/ + /** + * Create an ephemeral key + * @description

Creates a short-lived API key for a given resource.

+ */ post: operations["PostEphemeralKeys"]; delete?: never; options?: never; @@ -2129,7 +2734,10 @@ export interface paths { get?: never; put?: never; post?: never; - /** @description

Invalidates a short-lived API key for a given resource.

*/ + /** + * Immediately invalidate an ephemeral key + * @description

Invalidates a short-lived API key for a given resource.

+ */ delete: operations["DeleteEphemeralKeysKey"]; options?: never; head?: never; @@ -2143,7 +2751,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in event object api_version attribute (not according to your current Stripe API version or Stripe-Version header).

*/ + /** + * List all events + * @description

List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in event object api_version attribute (not according to your current Stripe API version or Stripe-Version header).

+ */ get: operations["GetEvents"]; put?: never; post?: never; @@ -2160,7 +2771,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the event, which you might have received in a webhook.

*/ + /** + * Retrieve an event + * @description

Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the event, which you might have received in a webhook.

+ */ get: operations["GetEventsId"]; put?: never; post?: never; @@ -2177,7 +2791,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.

*/ + /** + * List all exchange rates + * @description

Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.

+ */ get: operations["GetExchangeRates"]; put?: never; post?: never; @@ -2194,7 +2811,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the exchange rates from the given currency to every supported currency.

*/ + /** + * Retrieve an exchange rate + * @description

Retrieves the exchange rates from the given currency to every supported currency.

+ */ get: operations["GetExchangeRatesRateId"]; put?: never; post?: never; @@ -2211,10 +2831,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of file links.

*/ + /** + * List all file links + * @description

Returns a list of file links.

+ */ get: operations["GetFileLinks"]; put?: never; - /** @description

Creates a new file link object.

*/ + /** + * Create a file link + * @description

Creates a new file link object.

+ */ post: operations["PostFileLinks"]; delete?: never; options?: never; @@ -2229,10 +2855,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the file link with the given ID.

*/ + /** + * Retrieve a file link + * @description

Retrieves the file link with the given ID.

+ */ get: operations["GetFileLinksLink"]; put?: never; - /** @description

Updates an existing file link object. Expired links can no longer be updated.

*/ + /** + * Update a file link + * @description

Updates an existing file link object. Expired links can no longer be updated.

+ */ post: operations["PostFileLinksLink"]; delete?: never; options?: never; @@ -2247,12 +2879,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation dates, placing the most recently created files at the top.

*/ + /** + * List all files + * @description

Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation dates, placing the most recently created files at the top.

+ */ get: operations["GetFiles"]; put?: never; - /** @description

To upload a file to Stripe, you need to send a request of type multipart/form-data. Include the file you want to upload in the request, and the parameters for creating a file.

+ /** + * Create a file + * @description

To upload a file to Stripe, you need to send a request of type multipart/form-data. Include the file you want to upload in the request, and the parameters for creating a file.

* - *

All of Stripe’s officially supported Client libraries support sending multipart/form-data.

*/ + *

All of Stripe’s officially supported Client libraries support sending multipart/form-data.

+ */ post: operations["PostFiles"]; delete?: never; options?: never; @@ -2267,7 +2905,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the corresponding file object. Learn how to access file contents.

*/ + /** + * Retrieve a file + * @description

Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the corresponding file object. Learn how to access file contents.

+ */ get: operations["GetFilesFile"]; put?: never; post?: never; @@ -2284,7 +2925,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Financial Connections Account objects.

*/ + /** + * List Accounts + * @description

Returns a list of Financial Connections Account objects.

+ */ get: operations["GetFinancialConnectionsAccounts"]; put?: never; post?: never; @@ -2301,7 +2945,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an Financial Connections Account.

*/ + /** + * Retrieve an Account + * @description

Retrieves the details of an Financial Connections Account.

+ */ get: operations["GetFinancialConnectionsAccountsAccount"]; put?: never; post?: never; @@ -2320,7 +2967,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions).

*/ + /** + * Disconnect an Account + * @description

Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions).

+ */ post: operations["PostFinancialConnectionsAccountsAccountDisconnect"]; delete?: never; options?: never; @@ -2335,7 +2985,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists all owners for a given Account

*/ + /** + * List Account Owners + * @description

Lists all owners for a given Account

+ */ get: operations["GetFinancialConnectionsAccountsAccountOwners"]; put?: never; post?: never; @@ -2354,7 +3007,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Refreshes the data associated with a Financial Connections Account.

*/ + /** + * Refresh Account data + * @description

Refreshes the data associated with a Financial Connections Account.

+ */ post: operations["PostFinancialConnectionsAccountsAccountRefresh"]; delete?: never; options?: never; @@ -2371,7 +3027,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Subscribes to periodic refreshes of data associated with a Financial Connections Account.

*/ + /** + * Subscribe to data refreshes for an Account + * @description

Subscribes to periodic refreshes of data associated with a Financial Connections Account.

+ */ post: operations["PostFinancialConnectionsAccountsAccountSubscribe"]; delete?: never; options?: never; @@ -2388,7 +3047,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.

*/ + /** + * Unsubscribe from data refreshes for an Account + * @description

Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.

+ */ post: operations["PostFinancialConnectionsAccountsAccountUnsubscribe"]; delete?: never; options?: never; @@ -2405,7 +3067,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

To launch the Financial Connections authorization flow, create a Session. The session’s client_secret can be used to launch the flow using Stripe.js.

*/ + /** + * Create a Session + * @description

To launch the Financial Connections authorization flow, create a Session. The session’s client_secret can be used to launch the flow using Stripe.js.

+ */ post: operations["PostFinancialConnectionsSessions"]; delete?: never; options?: never; @@ -2420,7 +3085,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a Financial Connections Session

*/ + /** + * Retrieve a Session + * @description

Retrieves the details of a Financial Connections Session

+ */ get: operations["GetFinancialConnectionsSessionsSession"]; put?: never; post?: never; @@ -2437,7 +3105,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Financial Connections Transaction objects.

*/ + /** + * List Transactions + * @description

Returns a list of Financial Connections Transaction objects.

+ */ get: operations["GetFinancialConnectionsTransactions"]; put?: never; post?: never; @@ -2454,7 +3125,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a Financial Connections Transaction

*/ + /** + * Retrieve a Transaction + * @description

Retrieves the details of a Financial Connections Transaction

+ */ get: operations["GetFinancialConnectionsTransactionsTransaction"]; put?: never; post?: never; @@ -2471,10 +3145,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists all ForwardingRequest objects.

*/ + /** + * List all ForwardingRequests + * @description

Lists all ForwardingRequest objects.

+ */ get: operations["GetForwardingRequests"]; put?: never; - /** @description

Creates a ForwardingRequest object.

*/ + /** + * Create a ForwardingRequest + * @description

Creates a ForwardingRequest object.

+ */ post: operations["PostForwardingRequests"]; delete?: never; options?: never; @@ -2489,7 +3169,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a ForwardingRequest object.

*/ + /** + * Retrieve a ForwardingRequest + * @description

Retrieves a ForwardingRequest object.

+ */ get: operations["GetForwardingRequestsId"]; put?: never; post?: never; @@ -2506,7 +3189,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

List all verification reports.

*/ + /** + * List VerificationReports + * @description

List all verification reports.

+ */ get: operations["GetIdentityVerificationReports"]; put?: never; post?: never; @@ -2523,7 +3209,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an existing VerificationReport

*/ + /** + * Retrieve a VerificationReport + * @description

Retrieves an existing VerificationReport

+ */ get: operations["GetIdentityVerificationReportsReport"]; put?: never; post?: never; @@ -2540,16 +3229,22 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of VerificationSessions

*/ + /** + * List VerificationSessions + * @description

Returns a list of VerificationSessions

+ */ get: operations["GetIdentityVerificationSessions"]; put?: never; - /** @description

Creates a VerificationSession object.

+ /** + * Create a VerificationSession + * @description

Creates a VerificationSession object.

* *

After the VerificationSession is created, display a verification modal using the session client_secret or send your users to the session’s url.

* *

If your API key is in test mode, verification checks won’t actually process, though everything else will occur as if in live mode.

* - *

Related guide: Verify your users’ identity documents

*/ + *

Related guide: Verify your users’ identity documents

+ */ post: operations["PostIdentityVerificationSessions"]; delete?: never; options?: never; @@ -2564,16 +3259,22 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a VerificationSession that was previously created.

+ /** + * Retrieve a VerificationSession + * @description

Retrieves the details of a VerificationSession that was previously created.

* *

When the session status is requires_input, you can use this method to retrieve a valid - * client_secret or url to allow re-submission.

*/ + * client_secret or url to allow re-submission.

+ */ get: operations["GetIdentityVerificationSessionsSession"]; put?: never; - /** @description

Updates a VerificationSession object.

+ /** + * Update a VerificationSession + * @description

Updates a VerificationSession object.

* *

When the session status is requires_input, you can use this method to update the - * verification check and options.

*/ + * verification check and options.

+ */ post: operations["PostIdentityVerificationSessionsSession"]; delete?: never; options?: never; @@ -2590,9 +3291,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

A VerificationSession object can be canceled when it is in requires_input status.

+ /** + * Cancel a VerificationSession + * @description

A VerificationSession object can be canceled when it is in requires_input status.

* - *

Once canceled, future submission attempts are disabled. This cannot be undone. Learn more.

*/ + *

Once canceled, future submission attempts are disabled. This cannot be undone. Learn more.

+ */ post: operations["PostIdentityVerificationSessionsSessionCancel"]; delete?: never; options?: never; @@ -2609,7 +3313,9 @@ export interface paths { }; get?: never; put?: never; - /** @description

Redact a VerificationSession to remove all collected information from Stripe. This will redact + /** + * Redact a VerificationSession + * @description

Redact a VerificationSession to remove all collected information from Stripe. This will redact * the VerificationSession and all objects related to it, including VerificationReports, Events, * request logs, etc.

* @@ -2627,7 +3333,8 @@ export interface paths { * placeholder. The metadata field will also be erased. Redacted objects cannot be updated or * used for any purpose.

* - *

Learn more.

*/ + *

Learn more.

+ */ post: operations["PostIdentityVerificationSessionsSessionRedact"]; delete?: never; options?: never; @@ -2642,7 +3349,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

List all templates, ordered by creation date, with the most recently created template appearing first.

*/ + /** + * List all invoice rendering templates + * @description

List all templates, ordered by creation date, with the most recently created template appearing first.

+ */ get: operations["GetInvoiceRenderingTemplates"]; put?: never; post?: never; @@ -2659,7 +3369,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions.

*/ + /** + * Retrieve an invoice rendering template + * @description

Retrieves an invoice rendering template with the given ID. It by default returns the latest version of the template. Optionally, specify a version to see previous versions.

+ */ get: operations["GetInvoiceRenderingTemplatesTemplate"]; put?: never; post?: never; @@ -2678,7 +3391,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it.

*/ + /** + * Archive an invoice rendering template + * @description

Updates the status of an invoice rendering template to ‘archived’ so no new Stripe objects (customers, invoices, etc.) can reference it. The template can also no longer be updated. However, if the template is already set on a Stripe object, it will continue to be applied on invoices generated by it.

+ */ post: operations["PostInvoiceRenderingTemplatesTemplateArchive"]; delete?: never; options?: never; @@ -2695,7 +3411,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Unarchive an invoice rendering template so it can be used on new Stripe objects again.

*/ + /** + * Unarchive an invoice rendering template + * @description

Unarchive an invoice rendering template so it can be used on new Stripe objects again.

+ */ post: operations["PostInvoiceRenderingTemplatesTemplateUnarchive"]; delete?: never; options?: never; @@ -2710,10 +3429,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first.

*/ + /** + * List all invoice items + * @description

Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first.

+ */ get: operations["GetInvoiceitems"]; put?: never; - /** @description

Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified.

*/ + /** + * Create an invoice item + * @description

Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified.

+ */ post: operations["PostInvoiceitems"]; delete?: never; options?: never; @@ -2728,12 +3453,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the invoice item with the given ID.

*/ + /** + * Retrieve an invoice item + * @description

Retrieves the invoice item with the given ID.

+ */ get: operations["GetInvoiceitemsInvoiceitem"]; put?: never; - /** @description

Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it’s attached to is closed.

*/ + /** + * Update an invoice item + * @description

Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it’s attached to is closed.

+ */ post: operations["PostInvoiceitemsInvoiceitem"]; - /** @description

Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice.

*/ + /** + * Delete an invoice item + * @description

Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice.

+ */ delete: operations["DeleteInvoiceitemsInvoiceitem"]; options?: never; head?: never; @@ -2747,10 +3481,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first.

*/ + /** + * List all invoices + * @description

You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first.

+ */ get: operations["GetInvoices"]; put?: never; - /** @description

This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you finalize the invoice, which allows you to pay or send the invoice to your customers.

*/ + /** + * Create an invoice + * @description

This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you finalize the invoice, which allows you to pay or send the invoice to your customers.

+ */ post: operations["PostInvoices"]; delete?: never; options?: never; @@ -2767,13 +3507,16 @@ export interface paths { }; get?: never; put?: never; - /** @description

At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

+ /** + * Create a preview invoice + * @description

At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

* *

Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.

* *

You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the subscription_details.proration_date parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where period[start] is equal to the subscription_details.proration_date value passed in the request.

* - *

Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. Learn more

*/ + *

Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. Learn more

+ */ post: operations["PostInvoicesCreatePreview"]; delete?: never; options?: never; @@ -2788,10 +3531,13 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Search for invoices you’ve previously created using Stripe’s Search Query Language. + /** + * Search invoices + * @description

Search for invoices you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up - * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ + * to an hour behind during outages. Search functionality is not available to merchants in India.

+ */ get: operations["GetInvoicesSearch"]; put?: never; post?: never; @@ -2808,13 +3554,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

+ /** + * Retrieve an upcoming invoice + * @description

At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

* *

Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.

* *

You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the subscription_details.proration_date parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where period[start] is equal to the subscription_details.proration_date value passed in the request.

* - *

Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. Learn more

*/ + *

Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. Learn more

+ */ get: operations["GetInvoicesUpcoming"]; put?: never; post?: never; @@ -2831,7 +3580,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

When retrieving an upcoming invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ + /** + * Retrieve an upcoming invoice's line items + * @description

When retrieving an upcoming invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

+ */ get: operations["GetInvoicesUpcomingLines"]; put?: never; post?: never; @@ -2848,17 +3600,26 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the invoice with the given ID.

*/ + /** + * Retrieve an invoice + * @description

Retrieves the invoice with the given ID.

+ */ get: operations["GetInvoicesInvoice"]; put?: never; - /** @description

Draft invoices are fully editable. Once an invoice is finalized, + /** + * Update an invoice + * @description

Draft invoices are fully editable. Once an invoice is finalized, * monetary values, as well as collection_method, become uneditable.

* *

If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on, * sending reminders for, or automatically reconciling invoices, pass - * auto_advance=false.

*/ + * auto_advance=false.

+ */ post: operations["PostInvoicesInvoice"]; - /** @description

Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be voided.

*/ + /** + * Delete a draft invoice + * @description

Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be voided.

+ */ delete: operations["DeleteInvoicesInvoice"]; options?: never; head?: never; @@ -2874,7 +3635,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.

*/ + /** + * Bulk add invoice line items + * @description

Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.

+ */ post: operations["PostInvoicesInvoiceAddLines"]; delete?: never; options?: never; @@ -2891,7 +3655,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you’d like to finalize a draft invoice manually, you can do so using this method.

*/ + /** + * Finalize an invoice + * @description

Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you’d like to finalize a draft invoice manually, you can do so using this method.

+ */ post: operations["PostInvoicesInvoiceFinalize"]; delete?: never; options?: never; @@ -2906,7 +3673,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ + /** + * Retrieve an invoice's line items + * @description

When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

+ */ get: operations["GetInvoicesInvoiceLines"]; put?: never; post?: never; @@ -2925,10 +3695,13 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates an invoice’s line item. Some fields, such as tax_amounts, only live on the invoice line item, + /** + * Update an invoice's line item + * @description

Updates an invoice’s line item. Some fields, such as tax_amounts, only live on the invoice line item, * so they can only be updated through this endpoint. Other fields, such as amount, live on both the invoice * item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. - * Updating an invoice’s line item is only possible before the invoice is finalized.

*/ + * Updating an invoice’s line item is only possible before the invoice is finalized.

+ */ post: operations["PostInvoicesInvoiceLinesLineItemId"]; delete?: never; options?: never; @@ -2945,7 +3718,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.

*/ + /** + * Mark an invoice as uncollectible + * @description

Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.

+ */ post: operations["PostInvoicesInvoiceMarkUncollectible"]; delete?: never; options?: never; @@ -2962,7 +3738,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your subscriptions settings. However, if you’d like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.

*/ + /** + * Pay an invoice + * @description

Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your subscriptions settings. However, if you’d like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.

+ */ post: operations["PostInvoicesInvoicePay"]; delete?: never; options?: never; @@ -2979,7 +3758,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.

*/ + /** + * Bulk remove invoice line items + * @description

Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.

+ */ post: operations["PostInvoicesInvoiceRemoveLines"]; delete?: never; options?: never; @@ -2996,9 +3778,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

Stripe will automatically send invoices to customers according to your subscriptions settings. However, if you’d like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.

+ /** + * Send an invoice for manual payment + * @description

Stripe will automatically send invoices to customers according to your subscriptions settings. However, if you’d like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.

* - *

Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event.

*/ + *

Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event.

+ */ post: operations["PostInvoicesInvoiceSend"]; delete?: never; options?: never; @@ -3015,7 +3800,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.

*/ + /** + * Bulk update invoice line items + * @description

Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.

+ */ post: operations["PostInvoicesInvoiceUpdateLines"]; delete?: never; options?: never; @@ -3032,9 +3820,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to deletion, however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.

+ /** + * Void an invoice + * @description

Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to deletion, however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.

* - *

Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you’re doing business in. You might need to issue another invoice or credit note instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.

*/ + *

Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you’re doing business in. You might need to issue another invoice or credit note instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.

+ */ post: operations["PostInvoicesInvoiceVoid"]; delete?: never; options?: never; @@ -3049,7 +3840,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all authorizations + * @description

Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetIssuingAuthorizations"]; put?: never; post?: never; @@ -3066,10 +3860,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an Issuing Authorization object.

*/ + /** + * Retrieve an authorization + * @description

Retrieves an Issuing Authorization object.

+ */ get: operations["GetIssuingAuthorizationsAuthorization"]; put?: never; - /** @description

Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ + /** + * Update an authorization + * @description

Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ */ post: operations["PostIssuingAuthorizationsAuthorization"]; delete?: never; options?: never; @@ -3087,6 +3887,7 @@ export interface paths { get?: never; put?: never; /** + * Approve an authorization * @deprecated * @description

[Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the real-time authorization flow. * This method is deprecated. Instead, respond directly to the webhook request to approve an authorization.

@@ -3108,6 +3909,7 @@ export interface paths { get?: never; put?: never; /** + * Decline an authorization * @deprecated * @description

[Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the real time authorization flow. * This method is deprecated. Instead, respond directly to the webhook request to decline an authorization.

@@ -3126,10 +3928,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all cardholders + * @description

Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetIssuingCardholders"]; put?: never; - /** @description

Creates a new Issuing Cardholder object that can be issued cards.

*/ + /** + * Create a cardholder + * @description

Creates a new Issuing Cardholder object that can be issued cards.

+ */ post: operations["PostIssuingCardholders"]; delete?: never; options?: never; @@ -3144,10 +3952,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an Issuing Cardholder object.

*/ + /** + * Retrieve a cardholder + * @description

Retrieves an Issuing Cardholder object.

+ */ get: operations["GetIssuingCardholdersCardholder"]; put?: never; - /** @description

Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ + /** + * Update a cardholder + * @description

Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ */ post: operations["PostIssuingCardholdersCardholder"]; delete?: never; options?: never; @@ -3162,10 +3976,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all cards + * @description

Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetIssuingCards"]; put?: never; - /** @description

Creates an Issuing Card object.

*/ + /** + * Create a card + * @description

Creates an Issuing Card object.

+ */ post: operations["PostIssuingCards"]; delete?: never; options?: never; @@ -3180,10 +4000,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an Issuing Card object.

*/ + /** + * Retrieve a card + * @description

Retrieves an Issuing Card object.

+ */ get: operations["GetIssuingCardsCard"]; put?: never; - /** @description

Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ + /** + * Update a card + * @description

Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ */ post: operations["PostIssuingCardsCard"]; delete?: never; options?: never; @@ -3198,10 +4024,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all disputes + * @description

Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetIssuingDisputes"]; put?: never; - /** @description

Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to Dispute reasons and evidence for more details about evidence requirements.

*/ + /** + * Create a dispute + * @description

Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to Dispute reasons and evidence for more details about evidence requirements.

+ */ post: operations["PostIssuingDisputes"]; delete?: never; options?: never; @@ -3216,10 +4048,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an Issuing Dispute object.

*/ + /** + * Retrieve a dispute + * @description

Retrieves an Issuing Dispute object.

+ */ get: operations["GetIssuingDisputesDispute"]; put?: never; - /** @description

Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string.

*/ + /** + * Update a dispute + * @description

Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string.

+ */ post: operations["PostIssuingDisputesDispute"]; delete?: never; options?: never; @@ -3236,7 +4074,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute’s reason are present. For more details, see Dispute reasons and evidence.

*/ + /** + * Submit a dispute + * @description

Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute’s reason are present. For more details, see Dispute reasons and evidence.

+ */ post: operations["PostIssuingDisputesDisputeSubmit"]; delete?: never; options?: never; @@ -3251,10 +4092,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all personalization designs + * @description

Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetIssuingPersonalizationDesigns"]; put?: never; - /** @description

Creates a personalization design object.

*/ + /** + * Create a personalization design + * @description

Creates a personalization design object.

+ */ post: operations["PostIssuingPersonalizationDesigns"]; delete?: never; options?: never; @@ -3269,10 +4116,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a personalization design object.

*/ + /** + * Retrieve a personalization design + * @description

Retrieves a personalization design object.

+ */ get: operations["GetIssuingPersonalizationDesignsPersonalizationDesign"]; put?: never; - /** @description

Updates a card personalization object.

*/ + /** + * Update a personalization design + * @description

Updates a card personalization object.

+ */ post: operations["PostIssuingPersonalizationDesignsPersonalizationDesign"]; delete?: never; options?: never; @@ -3287,7 +4140,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all physical bundles + * @description

Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetIssuingPhysicalBundles"]; put?: never; post?: never; @@ -3304,7 +4160,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a physical bundle object.

*/ + /** + * Retrieve a physical bundle + * @description

Retrieves a physical bundle object.

+ */ get: operations["GetIssuingPhysicalBundlesPhysicalBundle"]; put?: never; post?: never; @@ -3321,10 +4180,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an Issuing Settlement object.

*/ + /** + * Retrieve a settlement + * @description

Retrieves an Issuing Settlement object.

+ */ get: operations["GetIssuingSettlementsSettlement"]; put?: never; - /** @description

Updates the specified Issuing Settlement object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ + /** + * Update a settlement + * @description

Updates the specified Issuing Settlement object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ */ post: operations["PostIssuingSettlementsSettlement"]; delete?: never; options?: never; @@ -3339,7 +4204,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists all Issuing Token objects for a given card.

*/ + /** + * List all issuing tokens for card + * @description

Lists all Issuing Token objects for a given card.

+ */ get: operations["GetIssuingTokens"]; put?: never; post?: never; @@ -3356,10 +4224,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an Issuing Token object.

*/ + /** + * Retrieve an issuing token + * @description

Retrieves an Issuing Token object.

+ */ get: operations["GetIssuingTokensToken"]; put?: never; - /** @description

Attempts to update the specified Issuing Token object to the status specified.

*/ + /** + * Update a token status + * @description

Attempts to update the specified Issuing Token object to the status specified.

+ */ post: operations["PostIssuingTokensToken"]; delete?: never; options?: never; @@ -3374,7 +4248,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all transactions + * @description

Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetIssuingTransactions"]; put?: never; post?: never; @@ -3391,10 +4268,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an Issuing Transaction object.

*/ + /** + * Retrieve a transaction + * @description

Retrieves an Issuing Transaction object.

+ */ get: operations["GetIssuingTransactionsTransaction"]; put?: never; - /** @description

Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ + /** + * Update a transaction + * @description

Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ */ post: operations["PostIssuingTransactionsTransaction"]; delete?: never; options?: never; @@ -3411,7 +4294,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

To launch the Financial Connections authorization flow, create a Session. The session’s client_secret can be used to launch the flow using Stripe.js.

*/ + /** + * Create a Session + * @description

To launch the Financial Connections authorization flow, create a Session. The session’s client_secret can be used to launch the flow using Stripe.js.

+ */ post: operations["PostLinkAccountSessions"]; delete?: never; options?: never; @@ -3426,7 +4312,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a Financial Connections Session

*/ + /** + * Retrieve a Session + * @description

Retrieves the details of a Financial Connections Session

+ */ get: operations["GetLinkAccountSessionsSession"]; put?: never; post?: never; @@ -3443,7 +4332,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Financial Connections Account objects.

*/ + /** + * List Accounts + * @description

Returns a list of Financial Connections Account objects.

+ */ get: operations["GetLinkedAccounts"]; put?: never; post?: never; @@ -3460,7 +4352,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an Financial Connections Account.

*/ + /** + * Retrieve an Account + * @description

Retrieves the details of an Financial Connections Account.

+ */ get: operations["GetLinkedAccountsAccount"]; put?: never; post?: never; @@ -3479,7 +4374,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions).

*/ + /** + * Disconnect an Account + * @description

Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions).

+ */ post: operations["PostLinkedAccountsAccountDisconnect"]; delete?: never; options?: never; @@ -3494,7 +4392,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists all owners for a given Account

*/ + /** + * List Account Owners + * @description

Lists all owners for a given Account

+ */ get: operations["GetLinkedAccountsAccountOwners"]; put?: never; post?: never; @@ -3513,7 +4414,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Refreshes the data associated with a Financial Connections Account.

*/ + /** + * Refresh Account data + * @description

Refreshes the data associated with a Financial Connections Account.

+ */ post: operations["PostLinkedAccountsAccountRefresh"]; delete?: never; options?: never; @@ -3528,7 +4432,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Mandate object.

*/ + /** + * Retrieve a Mandate + * @description

Retrieves a Mandate object.

+ */ get: operations["GetMandatesMandate"]; put?: never; post?: never; @@ -3545,10 +4452,15 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of PaymentIntents.

*/ + /** + * List all PaymentIntents + * @description

Returns a list of PaymentIntents.

+ */ get: operations["GetPaymentIntents"]; put?: never; - /** @description

Creates a PaymentIntent object.

+ /** + * Create a PaymentIntent + * @description

Creates a PaymentIntent object.

* *

After the PaymentIntent is created, attach a payment method and confirm * to continue the payment. Learn more about the available payment flows @@ -3557,7 +4469,8 @@ export interface paths { *

When you use confirm=true during creation, it’s equivalent to creating * and confirming the PaymentIntent in the same call. You can use any parameters * available in the confirm API when you supply - * confirm=true.

*/ + * confirm=true.

+ */ post: operations["PostPaymentIntents"]; delete?: never; options?: never; @@ -3572,10 +4485,13 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Search for PaymentIntents you’ve previously created using Stripe’s Search Query Language. + /** + * Search PaymentIntents + * @description

Search for PaymentIntents you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up - * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ + * to an hour behind during outages. Search functionality is not available to merchants in India.

+ */ get: operations["GetPaymentIntentsSearch"]; put?: never; post?: never; @@ -3592,20 +4508,26 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a PaymentIntent that has previously been created.

+ /** + * Retrieve a PaymentIntent + * @description

Retrieves the details of a PaymentIntent that has previously been created.

* *

You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.

* - *

If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the payment intent object reference for more details.

*/ + *

If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the payment intent object reference for more details.

+ */ get: operations["GetPaymentIntentsIntent"]; put?: never; - /** @description

Updates properties on a PaymentIntent object without confirming.

+ /** + * Update a PaymentIntent + * @description

Updates properties on a PaymentIntent object without confirming.

* *

Depending on which properties you update, you might need to confirm the * PaymentIntent again. For example, updating the payment_method * always requires you to confirm the PaymentIntent again. If you prefer to * update and confirm at the same time, we recommend updating properties through - * the confirm API instead.

*/ + * the confirm API instead.

+ */ post: operations["PostPaymentIntentsIntent"]; delete?: never; options?: never; @@ -3622,7 +4544,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Manually reconcile the remaining amount for a customer_balance PaymentIntent.

*/ + /** + * Reconcile a customer_balance PaymentIntent + * @description

Manually reconcile the remaining amount for a customer_balance PaymentIntent.

+ */ post: operations["PostPaymentIntentsIntentApplyCustomerBalance"]; delete?: never; options?: never; @@ -3639,11 +4564,14 @@ export interface paths { }; get?: never; put?: never; - /** @description

You can cancel a PaymentIntent object when it’s in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action or, in rare cases, processing.

+ /** + * Cancel a PaymentIntent + * @description

You can cancel a PaymentIntent object when it’s in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action or, in rare cases, processing.

* *

After it’s canceled, no additional charges are made by the PaymentIntent and any operations on the PaymentIntent fail with an error. For PaymentIntents with a status of requires_capture, the remaining amount_capturable is automatically refunded.

* - *

You can’t cancel the PaymentIntent for a Checkout Session. Expire the Checkout Session instead.

*/ + *

You can’t cancel the PaymentIntent for a Checkout Session. Expire the Checkout Session instead.

+ */ post: operations["PostPaymentIntentsIntentCancel"]; delete?: never; options?: never; @@ -3660,11 +4588,14 @@ export interface paths { }; get?: never; put?: never; - /** @description

Capture the funds of an existing uncaptured PaymentIntent when its status is requires_capture.

+ /** + * Capture a PaymentIntent + * @description

Capture the funds of an existing uncaptured PaymentIntent when its status is requires_capture.

* *

Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.

* - *

Learn more about separate authorization and capture.

*/ + *

Learn more about separate authorization and capture.

+ */ post: operations["PostPaymentIntentsIntentCapture"]; delete?: never; options?: never; @@ -3681,7 +4612,9 @@ export interface paths { }; get?: never; put?: never; - /** @description

Confirm that your customer intends to pay with current or provided + /** + * Confirm a PaymentIntent + * @description

Confirm that your customer intends to pay with current or provided * payment method. Upon confirmation, the PaymentIntent will attempt to initiate * a payment. * If the selected payment method requires additional authentication steps, the @@ -3705,7 +4638,8 @@ export interface paths { * attempt. * There is a variable upper limit on how many times a PaymentIntent can be confirmed. * After this limit is reached, any further calls to this endpoint will - * transition the PaymentIntent to the canceled state.

*/ + * transition the PaymentIntent to the canceled state.

+ */ post: operations["PostPaymentIntentsIntentConfirm"]; delete?: never; options?: never; @@ -3722,7 +4656,9 @@ export interface paths { }; get?: never; put?: never; - /** @description

Perform an incremental authorization on an eligible + /** + * Increment an authorization + * @description

Perform an incremental authorization on an eligible * PaymentIntent. To be eligible, the * PaymentIntent’s status must be requires_capture and * incremental_authorization_supported @@ -3745,7 +4681,8 @@ export interface paths { *

Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines. * After it’s captured, a PaymentIntent can no longer be incremented.

* - *

Learn more about incremental authorizations.

*/ + *

Learn more about incremental authorizations.

+ */ post: operations["PostPaymentIntentsIntentIncrementAuthorization"]; delete?: never; options?: never; @@ -3762,7 +4699,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Verifies microdeposits on a PaymentIntent object.

*/ + /** + * Verify microdeposits on a PaymentIntent + * @description

Verifies microdeposits on a PaymentIntent object.

+ */ post: operations["PostPaymentIntentsIntentVerifyMicrodeposits"]; delete?: never; options?: never; @@ -3777,10 +4717,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your payment links.

*/ + /** + * List all payment links + * @description

Returns a list of your payment links.

+ */ get: operations["GetPaymentLinks"]; put?: never; - /** @description

Creates a payment link.

*/ + /** + * Create a payment link + * @description

Creates a payment link.

+ */ post: operations["PostPaymentLinks"]; delete?: never; options?: never; @@ -3795,10 +4741,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve a payment link.

*/ + /** + * Retrieve payment link + * @description

Retrieve a payment link.

+ */ get: operations["GetPaymentLinksPaymentLink"]; put?: never; - /** @description

Updates a payment link.

*/ + /** + * Update a payment link + * @description

Updates a payment link.

+ */ post: operations["PostPaymentLinksPaymentLink"]; delete?: never; options?: never; @@ -3813,7 +4765,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ + /** + * Retrieve a payment link's line items + * @description

When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

+ */ get: operations["GetPaymentLinksPaymentLinkLineItems"]; put?: never; post?: never; @@ -3830,10 +4785,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

List payment method configurations

*/ + /** + * List payment method configurations + * @description

List payment method configurations

+ */ get: operations["GetPaymentMethodConfigurations"]; put?: never; - /** @description

Creates a payment method configuration

*/ + /** + * Create a payment method configuration + * @description

Creates a payment method configuration

+ */ post: operations["PostPaymentMethodConfigurations"]; delete?: never; options?: never; @@ -3848,10 +4809,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve payment method configuration

*/ + /** + * Retrieve payment method configuration + * @description

Retrieve payment method configuration

+ */ get: operations["GetPaymentMethodConfigurationsConfiguration"]; put?: never; - /** @description

Update payment method configuration

*/ + /** + * Update payment method configuration + * @description

Update payment method configuration

+ */ post: operations["PostPaymentMethodConfigurationsConfiguration"]; delete?: never; options?: never; @@ -3866,10 +4833,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Lists the details of existing payment method domains.

*/ + /** + * List payment method domains + * @description

Lists the details of existing payment method domains.

+ */ get: operations["GetPaymentMethodDomains"]; put?: never; - /** @description

Creates a payment method domain.

*/ + /** + * Create a payment method domain + * @description

Creates a payment method domain.

+ */ post: operations["PostPaymentMethodDomains"]; delete?: never; options?: never; @@ -3884,10 +4857,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing payment method domain.

*/ + /** + * Retrieve a payment method domain + * @description

Retrieves the details of an existing payment method domain.

+ */ get: operations["GetPaymentMethodDomainsPaymentMethodDomain"]; put?: never; - /** @description

Updates an existing payment method domain.

*/ + /** + * Update a payment method domain + * @description

Updates an existing payment method domain.

+ */ post: operations["PostPaymentMethodDomainsPaymentMethodDomain"]; delete?: never; options?: never; @@ -3904,12 +4883,15 @@ export interface paths { }; get?: never; put?: never; - /** @description

Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain. + /** + * Validate an existing payment method domain + * @description

Some payment methods such as Apple Pay require additional steps to verify a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain. * The payment method doesn’t appear in Elements for this domain until it is active.

* *

To activate a payment method on an existing payment method domain, complete the required validation steps specific to the payment method, and then validate the payment method domain with this endpoint.

* - *

Related guides: Payment method domains.

*/ + *

Related guides: Payment method domains.

+ */ post: operations["PostPaymentMethodDomainsPaymentMethodDomainValidate"]; delete?: never; options?: never; @@ -3924,12 +4906,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the List a Customer’s PaymentMethods API instead.

*/ + /** + * List PaymentMethods + * @description

Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the List a Customer’s PaymentMethods API instead.

+ */ get: operations["GetPaymentMethods"]; put?: never; - /** @description

Creates a PaymentMethod object. Read the Stripe.js reference to learn how to create PaymentMethods via Stripe.js.

+ /** + * Shares a PaymentMethod + * @description

Creates a PaymentMethod object. Read the Stripe.js reference to learn how to create PaymentMethods via Stripe.js.

* - *

Instead of creating a PaymentMethod directly, we recommend using the PaymentIntents API to accept a payment immediately or the SetupIntent API to collect payment method details ahead of a future payment.

*/ + *

Instead of creating a PaymentMethod directly, we recommend using the PaymentIntents API to accept a payment immediately or the SetupIntent API to collect payment method details ahead of a future payment.

+ */ post: operations["PostPaymentMethods"]; delete?: never; options?: never; @@ -3944,10 +4932,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a Customer, you should use Retrieve a Customer’s PaymentMethods

*/ + /** + * Retrieve a PaymentMethod + * @description

Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a Customer, you should use Retrieve a Customer’s PaymentMethods

+ */ get: operations["GetPaymentMethodsPaymentMethod"]; put?: never; - /** @description

Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be updated.

*/ + /** + * Update a PaymentMethod + * @description

Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be updated.

+ */ post: operations["PostPaymentMethodsPaymentMethod"]; delete?: never; options?: never; @@ -3964,7 +4958,9 @@ export interface paths { }; get?: never; put?: never; - /** @description

Attaches a PaymentMethod object to a Customer.

+ /** + * Attach a PaymentMethod to a Customer + * @description

Attaches a PaymentMethod object to a Customer.

* *

To attach a new PaymentMethod to a customer for future payments, we recommend you use a SetupIntent * or a PaymentIntent with setup_future_usage. @@ -3976,7 +4972,8 @@ export interface paths { * *

To use this PaymentMethod as the default for invoice or subscription payments, * set invoice_settings.default_payment_method, - * on the Customer to the PaymentMethod’s ID.

*/ + * on the Customer to the PaymentMethod’s ID.

+ */ post: operations["PostPaymentMethodsPaymentMethodAttach"]; delete?: never; options?: never; @@ -3993,7 +4990,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer.

*/ + /** + * Detach a PaymentMethod from a Customer + * @description

Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer.

+ */ post: operations["PostPaymentMethodsPaymentMethodDetach"]; delete?: never; options?: never; @@ -4008,14 +5008,20 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first.

*/ + /** + * List all payouts + * @description

Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first.

+ */ get: operations["GetPayouts"]; put?: never; - /** @description

To send funds to your own bank account, create a new payout object. Your Stripe balance must cover the payout amount. If it doesn’t, you receive an “Insufficient Funds” error.

+ /** + * Create a payout + * @description

To send funds to your own bank account, create a new payout object. Your Stripe balance must cover the payout amount. If it doesn’t, you receive an “Insufficient Funds” error.

* *

If your API key is in test mode, money won’t actually be sent, though every other action occurs as if you’re in live mode.

* - *

If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The balance object details available and pending amounts by source type.

*/ + *

If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The balance object details available and pending amounts by source type.

+ */ post: operations["PostPayouts"]; delete?: never; options?: never; @@ -4030,10 +5036,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list. Stripe returns the corresponding payout information.

*/ + /** + * Retrieve a payout + * @description

Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list. Stripe returns the corresponding payout information.

+ */ get: operations["GetPayoutsPayout"]; put?: never; - /** @description

Updates the specified payout by setting the values of the parameters you pass. We don’t change parameters that you don’t provide. This request only accepts the metadata as arguments.

*/ + /** + * Update a payout + * @description

Updates the specified payout by setting the values of the parameters you pass. We don’t change parameters that you don’t provide. This request only accepts the metadata as arguments.

+ */ post: operations["PostPayoutsPayout"]; delete?: never; options?: never; @@ -4050,7 +5062,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.

*/ + /** + * Cancel a payout + * @description

You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.

+ */ post: operations["PostPayoutsPayoutCancel"]; delete?: never; options?: never; @@ -4067,9 +5082,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead.

+ /** + * Reverse a payout + * @description

Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead.

* - *

By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.

*/ + *

By requesting a reversal through /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes the debit on the bank account and that no other authorization is required.

+ */ post: operations["PostPayoutsPayoutReverse"]; delete?: never; options?: never; @@ -4084,10 +5102,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your plans.

*/ + /** + * List all plans + * @description

Returns a list of your plans.

+ */ get: operations["GetPlans"]; put?: never; - /** @description

You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and is backwards compatible to simplify your migration.

*/ + /** + * Create a plan + * @description

You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and is backwards compatible to simplify your migration.

+ */ post: operations["PostPlans"]; delete?: never; options?: never; @@ -4102,12 +5126,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the plan with the given ID.

*/ + /** + * Retrieve a plan + * @description

Retrieves the plan with the given ID.

+ */ get: operations["GetPlansPlan"]; put?: never; - /** @description

Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan’s ID, amount, currency, or billing cycle.

*/ + /** + * Update a plan + * @description

Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan’s ID, amount, currency, or billing cycle.

+ */ post: operations["PostPlansPlan"]; - /** @description

Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.

*/ + /** + * Delete a plan + * @description

Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.

+ */ delete: operations["DeletePlansPlan"]; options?: never; head?: never; @@ -4121,10 +5154,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your active prices, excluding inline prices. For the list of inactive prices, set active to false.

*/ + /** + * List all prices + * @description

Returns a list of your active prices, excluding inline prices. For the list of inactive prices, set active to false.

+ */ get: operations["GetPrices"]; put?: never; - /** @description

Creates a new price for an existing product. The price can be recurring or one-time.

*/ + /** + * Create a price + * @description

Creates a new price for an existing product. The price can be recurring or one-time.

+ */ post: operations["PostPrices"]; delete?: never; options?: never; @@ -4139,10 +5178,13 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Search for prices you’ve previously created using Stripe’s Search Query Language. + /** + * Search prices + * @description

Search for prices you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up - * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ + * to an hour behind during outages. Search functionality is not available to merchants in India.

+ */ get: operations["GetPricesSearch"]; put?: never; post?: never; @@ -4159,10 +5201,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the price with the given ID.

*/ + /** + * Retrieve a price + * @description

Retrieves the price with the given ID.

+ */ get: operations["GetPricesPrice"]; put?: never; - /** @description

Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.

*/ + /** + * Update a price + * @description

Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.

+ */ post: operations["PostPricesPrice"]; delete?: never; options?: never; @@ -4177,10 +5225,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.

*/ + /** + * List all products + * @description

Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.

+ */ get: operations["GetProducts"]; put?: never; - /** @description

Creates a new product object.

*/ + /** + * Create a product + * @description

Creates a new product object.

+ */ post: operations["PostProducts"]; delete?: never; options?: never; @@ -4195,10 +5249,13 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Search for products you’ve previously created using Stripe’s Search Query Language. + /** + * Search products + * @description

Search for products you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up - * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ + * to an hour behind during outages. Search functionality is not available to merchants in India.

+ */ get: operations["GetProductsSearch"]; put?: never; post?: never; @@ -4215,12 +5272,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information.

*/ + /** + * Retrieve a product + * @description

Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information.

+ */ get: operations["GetProductsId"]; put?: never; - /** @description

Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ + /** + * Update a product + * @description

Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ */ post: operations["PostProductsId"]; - /** @description

Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it.

*/ + /** + * Delete a product + * @description

Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it.

+ */ delete: operations["DeleteProductsId"]; options?: never; head?: never; @@ -4234,10 +5300,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve a list of features for a product

*/ + /** + * List all features attached to a product + * @description

Retrieve a list of features for a product

+ */ get: operations["GetProductsProductFeatures"]; put?: never; - /** @description

Creates a product_feature, which represents a feature attachment to a product

*/ + /** + * Attach a feature to a product + * @description

Creates a product_feature, which represents a feature attachment to a product

+ */ post: operations["PostProductsProductFeatures"]; delete?: never; options?: never; @@ -4252,11 +5324,17 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a product_feature, which represents a feature attachment to a product

*/ + /** + * Retrieve a product_feature + * @description

Retrieves a product_feature, which represents a feature attachment to a product

+ */ get: operations["GetProductsProductFeaturesId"]; put?: never; post?: never; - /** @description

Deletes the feature attachment to a product

*/ + /** + * Remove a feature from a product + * @description

Deletes the feature attachment to a product

+ */ delete: operations["DeleteProductsProductFeaturesId"]; options?: never; head?: never; @@ -4270,10 +5348,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your promotion codes.

*/ + /** + * List all promotion codes + * @description

Returns a list of your promotion codes.

+ */ get: operations["GetPromotionCodes"]; put?: never; - /** @description

A promotion code points to a coupon. You can optionally restrict the code to a specific customer, redemption limit, and expiration date.

*/ + /** + * Create a promotion code + * @description

A promotion code points to a coupon. You can optionally restrict the code to a specific customer, redemption limit, and expiration date.

+ */ post: operations["PostPromotionCodes"]; delete?: never; options?: never; @@ -4288,10 +5372,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing code use list with the desired code.

*/ + /** + * Retrieve a promotion code + * @description

Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing code use list with the desired code.

+ */ get: operations["GetPromotionCodesPromotionCode"]; put?: never; - /** @description

Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable.

*/ + /** + * Update a promotion code + * @description

Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable.

+ */ post: operations["PostPromotionCodesPromotionCode"]; delete?: never; options?: never; @@ -4306,10 +5396,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your quotes.

*/ + /** + * List all quotes + * @description

Returns a list of your quotes.

+ */ get: operations["GetQuotes"]; put?: never; - /** @description

A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the quote template.

*/ + /** + * Create a quote + * @description

A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the quote template.

+ */ post: operations["PostQuotes"]; delete?: never; options?: never; @@ -4324,10 +5420,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the quote with the given ID.

*/ + /** + * Retrieve a quote + * @description

Retrieves the quote with the given ID.

+ */ get: operations["GetQuotesQuote"]; put?: never; - /** @description

A quote models prices and services for a customer.

*/ + /** + * Update a quote + * @description

A quote models prices and services for a customer.

+ */ post: operations["PostQuotesQuote"]; delete?: never; options?: never; @@ -4344,7 +5446,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Accepts the specified quote.

*/ + /** + * Accept a quote + * @description

Accepts the specified quote.

+ */ post: operations["PostQuotesQuoteAccept"]; delete?: never; options?: never; @@ -4361,7 +5466,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Cancels the quote.

*/ + /** + * Cancel a quote + * @description

Cancels the quote.

+ */ post: operations["PostQuotesQuoteCancel"]; delete?: never; options?: never; @@ -4376,7 +5484,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.

*/ + /** + * Retrieve a quote's upfront line items + * @description

When retrieving a quote, there is an includable computed.upfront.line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of upfront line items.

+ */ get: operations["GetQuotesQuoteComputedUpfrontLineItems"]; put?: never; post?: never; @@ -4395,7 +5506,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Finalizes the quote.

*/ + /** + * Finalize a quote + * @description

Finalizes the quote.

+ */ post: operations["PostQuotesQuoteFinalize"]; delete?: never; options?: never; @@ -4410,7 +5524,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ + /** + * Retrieve a quote's line items + * @description

When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

+ */ get: operations["GetQuotesQuoteLineItems"]; put?: never; post?: never; @@ -4427,7 +5544,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Download the PDF for a finalized quote. Explanation for special handling can be found here

*/ + /** + * Download quote PDF + * @description

Download the PDF for a finalized quote. Explanation for special handling can be found here

+ */ get: operations["GetQuotesQuotePdf"]; put?: never; post?: never; @@ -4444,7 +5564,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of early fraud warnings.

*/ + /** + * List all early fraud warnings + * @description

Returns a list of early fraud warnings.

+ */ get: operations["GetRadarEarlyFraudWarnings"]; put?: never; post?: never; @@ -4461,9 +5584,12 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an early fraud warning that has previously been created.

+ /** + * Retrieve an early fraud warning + * @description

Retrieves the details of an early fraud warning that has previously been created.

* - *

Please refer to the early fraud warning object reference for more details.

*/ + *

Please refer to the early fraud warning object reference for more details.

+ */ get: operations["GetRadarEarlyFraudWarningsEarlyFraudWarning"]; put?: never; post?: never; @@ -4480,10 +5606,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all value list items + * @description

Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetRadarValueListItems"]; put?: never; - /** @description

Creates a new ValueListItem object, which is added to the specified parent value list.

*/ + /** + * Create a value list item + * @description

Creates a new ValueListItem object, which is added to the specified parent value list.

+ */ post: operations["PostRadarValueListItems"]; delete?: never; options?: never; @@ -4498,11 +5630,17 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a ValueListItem object.

*/ + /** + * Retrieve a value list item + * @description

Retrieves a ValueListItem object.

+ */ get: operations["GetRadarValueListItemsItem"]; put?: never; post?: never; - /** @description

Deletes a ValueListItem object, removing it from its parent value list.

*/ + /** + * Delete a value list item + * @description

Deletes a ValueListItem object, removing it from its parent value list.

+ */ delete: operations["DeleteRadarValueListItemsItem"]; options?: never; head?: never; @@ -4516,10 +5654,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all value lists + * @description

Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetRadarValueLists"]; put?: never; - /** @description

Creates a new ValueList object, which can then be referenced in rules.

*/ + /** + * Create a value list + * @description

Creates a new ValueList object, which can then be referenced in rules.

+ */ post: operations["PostRadarValueLists"]; delete?: never; options?: never; @@ -4534,12 +5678,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a ValueList object.

*/ + /** + * Retrieve a value list + * @description

Retrieves a ValueList object.

+ */ get: operations["GetRadarValueListsValueList"]; put?: never; - /** @description

Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable.

*/ + /** + * Update a value list + * @description

Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable.

+ */ post: operations["PostRadarValueListsValueList"]; - /** @description

Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules.

*/ + /** + * Delete a value list + * @description

Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules.

+ */ delete: operations["DeleteRadarValueListsValueList"]; options?: never; head?: never; @@ -4553,10 +5706,15 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds appearing first. The 10 most recent refunds are always available by default on the Charge object.

*/ + /** + * List all refunds + * @description

Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds appearing first. The 10 most recent refunds are always available by default on the Charge object.

+ */ get: operations["GetRefunds"]; put?: never; - /** @description

When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.

+ /** + * Create customer balance refund + * @description

When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.

* *

Creating a new refund will refund a charge that has previously been created but not yet refunded. * Funds will be refunded to the credit or debit card that was originally charged.

@@ -4566,7 +5724,8 @@ export interface paths { * *

Once entirely refunded, a charge can’t be refunded again. * This method will raise an error when called on an already-refunded charge, - * or when trying to refund more money than is left on a charge.

*/ + * or when trying to refund more money than is left on a charge.

+ */ post: operations["PostRefunds"]; delete?: never; options?: never; @@ -4581,12 +5740,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing refund.

*/ + /** + * Retrieve a refund + * @description

Retrieves the details of an existing refund.

+ */ get: operations["GetRefundsRefund"]; put?: never; - /** @description

Updates the refund that you specify by setting the values of the passed parameters. Any parameters that you don’t provide remain unchanged.

+ /** + * Update a refund + * @description

Updates the refund that you specify by setting the values of the passed parameters. Any parameters that you don’t provide remain unchanged.

* - *

This request only accepts metadata as an argument.

*/ + *

This request only accepts metadata as an argument.

+ */ post: operations["PostRefundsRefund"]; delete?: never; options?: never; @@ -4603,9 +5768,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

Cancels a refund with a status of requires_action.

+ /** + * Cancel a refund + * @description

Cancels a refund with a status of requires_action.

* - *

You can’t cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state.

*/ + *

You can’t cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state.

+ */ post: operations["PostRefundsRefundCancel"]; delete?: never; options?: never; @@ -4620,10 +5788,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Report Runs, with the most recent appearing first.

*/ + /** + * List all Report Runs + * @description

Returns a list of Report Runs, with the most recent appearing first.

+ */ get: operations["GetReportingReportRuns"]; put?: never; - /** @description

Creates a new object and begin running the report. (Certain report types require a live-mode API key.)

*/ + /** + * Create a Report Run + * @description

Creates a new object and begin running the report. (Certain report types require a live-mode API key.)

+ */ post: operations["PostReportingReportRuns"]; delete?: never; options?: never; @@ -4638,7 +5812,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing Report Run.

*/ + /** + * Retrieve a Report Run + * @description

Retrieves the details of an existing Report Run.

+ */ get: operations["GetReportingReportRunsReportRun"]; put?: never; post?: never; @@ -4655,7 +5832,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a full list of Report Types.

*/ + /** + * List all Report Types + * @description

Returns a full list of Report Types.

+ */ get: operations["GetReportingReportTypes"]; put?: never; post?: never; @@ -4672,7 +5852,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)

*/ + /** + * Retrieve a Report Type + * @description

Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)

+ */ get: operations["GetReportingReportTypesReportType"]; put?: never; post?: never; @@ -4689,7 +5872,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Review objects that have open set to true. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

*/ + /** + * List all open reviews + * @description

Returns a list of Review objects that have open set to true. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

+ */ get: operations["GetReviews"]; put?: never; post?: never; @@ -4706,7 +5892,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Review object.

*/ + /** + * Retrieve a review + * @description

Retrieves a Review object.

+ */ get: operations["GetReviewsReview"]; put?: never; post?: never; @@ -4725,7 +5914,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Approves a Review object, closing it and removing it from the list of reviews.

*/ + /** + * Approve a review + * @description

Approves a Review object, closing it and removing it from the list of reviews.

+ */ post: operations["PostReviewsReviewApprove"]; delete?: never; options?: never; @@ -4740,7 +5932,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of SetupAttempts that associate with a provided SetupIntent.

*/ + /** + * List all SetupAttempts + * @description

Returns a list of SetupAttempts that associate with a provided SetupIntent.

+ */ get: operations["GetSetupAttempts"]; put?: never; post?: never; @@ -4757,13 +5952,19 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of SetupIntents.

*/ + /** + * List all SetupIntents + * @description

Returns a list of SetupIntents.

+ */ get: operations["GetSetupIntents"]; put?: never; - /** @description

Creates a SetupIntent object.

+ /** + * Create a SetupIntent + * @description

Creates a SetupIntent object.

* *

After you create the SetupIntent, attach a payment method and confirm - * it to collect any required permissions to charge the payment method later.

*/ + * it to collect any required permissions to charge the payment method later.

+ */ post: operations["PostSetupIntents"]; delete?: never; options?: never; @@ -4778,14 +5979,20 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a SetupIntent that has previously been created.

+ /** + * Retrieve a SetupIntent + * @description

Retrieves the details of a SetupIntent that has previously been created.

* *

Client-side retrieval using a publishable key is allowed when the client_secret is provided in the query string.

* - *

When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the SetupIntent object reference for more details.

*/ + *

When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the SetupIntent object reference for more details.

+ */ get: operations["GetSetupIntentsIntent"]; put?: never; - /** @description

Updates a SetupIntent object.

*/ + /** + * Update a SetupIntent + * @description

Updates a SetupIntent object.

+ */ post: operations["PostSetupIntentsIntent"]; delete?: never; options?: never; @@ -4802,9 +6009,12 @@ export interface paths { }; get?: never; put?: never; - /** @description

You can cancel a SetupIntent object when it’s in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.

+ /** + * Cancel a SetupIntent + * @description

You can cancel a SetupIntent object when it’s in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.

* - *

After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can’t cancel the SetupIntent for a Checkout Session. Expire the Checkout Session instead.

*/ + *

After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can’t cancel the SetupIntent for a Checkout Session. Expire the Checkout Session instead.

+ */ post: operations["PostSetupIntentsIntentCancel"]; delete?: never; options?: never; @@ -4821,7 +6031,9 @@ export interface paths { }; get?: never; put?: never; - /** @description

Confirm that your customer intends to set up the current or + /** + * Confirm a SetupIntent + * @description

Confirm that your customer intends to set up the current or * provided payment method. For example, you would confirm a SetupIntent * when a customer hits the “Save” button on a payment method management * page on your website.

@@ -4834,7 +6046,8 @@ export interface paths { * suggest additional actions via next_action. If setup fails, * the SetupIntent will transition to the * requires_payment_method status or the canceled status if the - * confirmation limit is reached.

*/ + * confirmation limit is reached.

+ */ post: operations["PostSetupIntentsIntentConfirm"]; delete?: never; options?: never; @@ -4851,7 +6064,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Verifies microdeposits on a SetupIntent object.

*/ + /** + * Verify microdeposits on a SetupIntent + * @description

Verifies microdeposits on a SetupIntent object.

+ */ post: operations["PostSetupIntentsIntentVerifyMicrodeposits"]; delete?: never; options?: never; @@ -4866,10 +6082,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your shipping rates.

*/ + /** + * List all shipping rates + * @description

Returns a list of your shipping rates.

+ */ get: operations["GetShippingRates"]; put?: never; - /** @description

Creates a new shipping rate object.

*/ + /** + * Create a shipping rate + * @description

Creates a new shipping rate object.

+ */ post: operations["PostShippingRates"]; delete?: never; options?: never; @@ -4884,10 +6106,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns the shipping rate object with the given ID.

*/ + /** + * Retrieve a shipping rate + * @description

Returns the shipping rate object with the given ID.

+ */ get: operations["GetShippingRatesShippingRateToken"]; put?: never; - /** @description

Updates an existing shipping rate object.

*/ + /** + * Update a shipping rate + * @description

Updates an existing shipping rate object.

+ */ post: operations["PostShippingRatesShippingRateToken"]; delete?: never; options?: never; @@ -4902,7 +6130,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of scheduled query runs.

*/ + /** + * List all scheduled query runs + * @description

Returns a list of scheduled query runs.

+ */ get: operations["GetSigmaScheduledQueryRuns"]; put?: never; post?: never; @@ -4919,7 +6150,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an scheduled query run.

*/ + /** + * Retrieve a scheduled query run + * @description

Retrieves the details of an scheduled query run.

+ */ get: operations["GetSigmaScheduledQueryRunsScheduledQueryRun"]; put?: never; post?: never; @@ -4938,7 +6172,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a new source object.

*/ + /** + * Shares a source + * @description

Creates a new source object.

+ */ post: operations["PostSources"]; delete?: never; options?: never; @@ -4953,12 +6190,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will return the corresponding up-to-date source object information.

*/ + /** + * Retrieve a source + * @description

Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will return the corresponding up-to-date source object information.

+ */ get: operations["GetSourcesSource"]; put?: never; - /** @description

Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ /** + * Update a source + * @description

Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

* - *

This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our payment method guides for more detail.

*/ + *

This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our payment method guides for more detail.

+ */ post: operations["PostSourcesSource"]; delete?: never; options?: never; @@ -4973,7 +6216,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a new Source MandateNotification.

*/ + /** + * Retrieve a Source MandateNotification + * @description

Retrieves a new Source MandateNotification.

+ */ get: operations["GetSourcesSourceMandateNotificationsMandateNotification"]; put?: never; post?: never; @@ -5007,7 +6253,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieve an existing source transaction object. Supply the unique source ID from a source creation request and the source transaction ID and Stripe will return the corresponding up-to-date source object information.

*/ + /** + * Retrieve a source transaction + * @description

Retrieve an existing source transaction object. Supply the unique source ID from a source creation request and the source transaction ID and Stripe will return the corresponding up-to-date source object information.

+ */ get: operations["GetSourcesSourceSourceTransactionsSourceTransaction"]; put?: never; post?: never; @@ -5041,10 +6290,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your subscription items for a given subscription.

*/ + /** + * List all subscription items + * @description

Returns a list of your subscription items for a given subscription.

+ */ get: operations["GetSubscriptionItems"]; put?: never; - /** @description

Adds a new item to an existing subscription. No existing items will be changed or replaced.

*/ + /** + * Create a subscription item + * @description

Adds a new item to an existing subscription. No existing items will be changed or replaced.

+ */ post: operations["PostSubscriptionItems"]; delete?: never; options?: never; @@ -5059,12 +6314,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the subscription item with the given ID.

*/ + /** + * Retrieve a subscription item + * @description

Retrieves the subscription item with the given ID.

+ */ get: operations["GetSubscriptionItemsItem"]; put?: never; - /** @description

Updates the plan or quantity of an item on a current subscription.

*/ + /** + * Update a subscription item + * @description

Updates the plan or quantity of an item on a current subscription.

+ */ post: operations["PostSubscriptionItemsItem"]; - /** @description

Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription.

*/ + /** + * Delete a subscription item + * @description

Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription.

+ */ delete: operations["DeleteSubscriptionItemsItem"]; options?: never; head?: never; @@ -5078,9 +6342,12 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September).

+ /** + * List all subscription item period summaries + * @description

For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September).

* - *

The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn’t ended yet. Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.

*/ + *

The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn’t ended yet. Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.

+ */ get: operations["GetSubscriptionItemsSubscriptionItemUsageRecordSummaries"]; put?: never; post?: never; @@ -5099,13 +6366,16 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a usage record for a specified subscription item and date, and fills it with a quantity.

+ /** + * Create a usage record + * @description

Creates a usage record for a specified subscription item and date, and fills it with a quantity.

* *

Usage records provide quantity information that Stripe uses to track how much a customer is using your service. With usage information and the pricing model set up by the metered billing plan, Stripe helps you send accurate invoices to your customers.

* *

The default calculation for usage is to add up all the quantity values of the usage records within a billing period. You can change this default behavior with the billing plan’s aggregate_usage parameter. When there is more than one usage record with the same timestamp, Stripe adds the quantity values together. In most cases, this is the desired resolution, however, you can change this behavior with the action parameter.

* - *

The default pricing model for metered billing is per-unit pricing. For finer granularity, you can configure metered billing to have a tiered pricing model.

*/ + *

The default pricing model for metered billing is per-unit pricing. For finer granularity, you can configure metered billing to have a tiered pricing model.

+ */ post: operations["PostSubscriptionItemsSubscriptionItemUsageRecords"]; delete?: never; options?: never; @@ -5120,10 +6390,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the list of your subscription schedules.

*/ + /** + * List all schedules + * @description

Retrieves the list of your subscription schedules.

+ */ get: operations["GetSubscriptionSchedules"]; put?: never; - /** @description

Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.

*/ + /** + * Create a schedule + * @description

Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.

+ */ post: operations["PostSubscriptionSchedules"]; delete?: never; options?: never; @@ -5138,10 +6414,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation.

*/ + /** + * Retrieve a schedule + * @description

Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation.

+ */ get: operations["GetSubscriptionSchedulesSchedule"]; put?: never; - /** @description

Updates an existing subscription schedule.

*/ + /** + * Update a schedule + * @description

Updates an existing subscription schedule.

+ */ post: operations["PostSubscriptionSchedulesSchedule"]; delete?: never; options?: never; @@ -5158,7 +6440,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active.

*/ + /** + * Cancel a schedule + * @description

Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active.

+ */ post: operations["PostSubscriptionSchedulesScheduleCancel"]; delete?: never; options?: never; @@ -5175,7 +6460,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription’s ID to the released_subscription property.

*/ + /** + * Release a schedule + * @description

Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription’s ID to the released_subscription property.

+ */ post: operations["PostSubscriptionSchedulesScheduleRelease"]; delete?: never; options?: never; @@ -5190,16 +6478,22 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled.

*/ + /** + * List subscriptions + * @description

By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled.

+ */ get: operations["GetSubscriptions"]; put?: never; - /** @description

Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled subscriptions.

+ /** + * Create a subscription + * @description

Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled subscriptions.

* *

When you create a subscription with collection_method=charge_automatically, the first invoice is finalized as part of the request. * The payment_behavior parameter determines the exact behavior of the initial payment.

* *

To start subscriptions where the first invoice always begins in a draft status, use subscription schedules instead. - * Schedules provide the flexibility to model more complex billing configurations that change over time.

*/ + * Schedules provide the flexibility to model more complex billing configurations that change over time.

+ */ post: operations["PostSubscriptions"]; delete?: never; options?: never; @@ -5214,10 +6508,13 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Search for subscriptions you’ve previously created using Stripe’s Search Query Language. + /** + * Search subscriptions + * @description

Search for subscriptions you’ve previously created using Stripe’s Search Query Language. * Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up - * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ + * to an hour behind during outages. Search functionality is not available to merchants in India.

+ */ get: operations["GetSubscriptionsSearch"]; put?: never; post?: never; @@ -5234,10 +6531,15 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the subscription with the given ID.

*/ + /** + * Retrieve a subscription + * @description

Retrieves the subscription with the given ID.

+ */ get: operations["GetSubscriptionsSubscriptionExposedId"]; put?: never; - /** @description

Updates an existing subscription to match the specified parameters. + /** + * Update a subscription + * @description

Updates an existing subscription to match the specified parameters. * When changing prices or quantities, we optionally prorate the price we charge next month to make up for any price changes. * To preview how the proration is calculated, use the create preview endpoint.

* @@ -5257,13 +6559,17 @@ export interface paths { * *

If you don’t want to prorate, set the proration_behavior option to none. With this option, the customer is billed 100 on May 1 and 200 on June 1. Similarly, if you set proration_behavior to none when switching between different billing intervals (for example, from monthly to yearly), we don’t generate any credits for the old subscription’s unused time. We still reset the billing date and bill immediately for the new subscription.

* - *

Updating the quantity on a subscription many times in an hour may result in rate limiting. If you need to bill for a frequently changing quantity, consider integrating usage-based billing instead.

*/ + *

Updating the quantity on a subscription many times in an hour may result in rate limiting. If you need to bill for a frequently changing quantity, consider integrating usage-based billing instead.

+ */ post: operations["PostSubscriptionsSubscriptionExposedId"]; - /** @description

Cancels a customer’s subscription immediately. The customer will not be charged again for the subscription.

+ /** + * Cancel a subscription + * @description

Cancels a customer’s subscription immediately. The customer won’t be charged again for the subscription. After it’s canceled, you can no longer update the subscription or its metadata.

* - *

Note, however, that any pending invoice items that you’ve created will still be charged for at the end of the period, unless manually deleted. If you’ve set the subscription to cancel at the end of the period, any pending prorations will also be left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations will be removed.

+ *

Any pending invoice items that you’ve created are still charged at the end of the period, unless manually deleted. If you’ve set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed.

* - *

By default, upon subscription cancellation, Stripe will stop automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.

*/ + *

By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.

+ */ delete: operations["DeleteSubscriptionsSubscriptionExposedId"]; options?: never; head?: never; @@ -5280,7 +6586,10 @@ export interface paths { get?: never; put?: never; post?: never; - /** @description

Removes the currently applied discount on a subscription.

*/ + /** + * Delete a subscription discount + * @description

Removes the currently applied discount on a subscription.

+ */ delete: operations["DeleteSubscriptionsSubscriptionExposedIdDiscount"]; options?: never; head?: never; @@ -5296,7 +6605,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date.

*/ + /** + * Resume a subscription + * @description

Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If a resumption invoice is generated, it must be paid or marked uncollectible before the subscription will be unpaused. If payment succeeds the subscription will become active, and if payment fails the subscription will be past_due. The resumption invoice will void automatically if not paid by the expiration date.

+ */ post: operations["PostSubscriptionsSubscriptionResume"]; delete?: never; options?: never; @@ -5313,7 +6625,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Calculates tax based on the input and returns a Tax Calculation object.

*/ + /** + * Create a Tax Calculation + * @description

Calculates tax based on the input and returns a Tax Calculation object.

+ */ post: operations["PostTaxCalculations"]; delete?: never; options?: never; @@ -5328,7 +6643,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Tax Calculation object, if the calculation hasn’t expired.

*/ + /** + * Retrieve a Tax Calculation + * @description

Retrieves a Tax Calculation object, if the calculation hasn’t expired.

+ */ get: operations["GetTaxCalculationsCalculation"]; put?: never; post?: never; @@ -5345,7 +6663,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.

*/ + /** + * Retrieve a calculation's line items + * @description

Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.

+ */ get: operations["GetTaxCalculationsCalculationLineItems"]; put?: never; post?: never; @@ -5362,10 +6683,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Tax Registration objects.

*/ + /** + * List registrations + * @description

Returns a list of Tax Registration objects.

+ */ get: operations["GetTaxRegistrations"]; put?: never; - /** @description

Creates a new Tax Registration object.

*/ + /** + * Create a registration + * @description

Creates a new Tax Registration object.

+ */ post: operations["PostTaxRegistrations"]; delete?: never; options?: never; @@ -5380,12 +6707,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a Tax Registration object.

*/ + /** + * Retrieve a registration + * @description

Returns a Tax Registration object.

+ */ get: operations["GetTaxRegistrationsId"]; put?: never; - /** @description

Updates an existing Tax Registration object.

+ /** + * Update a registration + * @description

Updates an existing Tax Registration object.

* - *

A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.

*/ + *

A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.

+ */ post: operations["PostTaxRegistrationsId"]; delete?: never; options?: never; @@ -5400,10 +6733,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves Tax Settings for a merchant.

*/ + /** + * Retrieve settings + * @description

Retrieves Tax Settings for a merchant.

+ */ get: operations["GetTaxSettings"]; put?: never; - /** @description

Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set.

*/ + /** + * Update settings + * @description

Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set.

+ */ post: operations["PostTaxSettings"]; delete?: never; options?: never; @@ -5420,7 +6759,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90 days.

*/ + /** + * Create a transaction from a calculation + * @description

Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90 days.

+ */ post: operations["PostTaxTransactionsCreateFromCalculation"]; delete?: never; options?: never; @@ -5437,7 +6779,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Partially or fully reverses a previously created Transaction.

*/ + /** + * Create a reversal transaction + * @description

Partially or fully reverses a previously created Transaction.

+ */ post: operations["PostTaxTransactionsCreateReversal"]; delete?: never; options?: never; @@ -5452,7 +6797,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Tax Transaction object.

*/ + /** + * Retrieve a transaction + * @description

Retrieves a Tax Transaction object.

+ */ get: operations["GetTaxTransactionsTransaction"]; put?: never; post?: never; @@ -5469,7 +6817,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the line items of a committed standalone transaction as a collection.

*/ + /** + * Retrieve a transaction's line items + * @description

Retrieves the line items of a committed standalone transaction as a collection.

+ */ get: operations["GetTaxTransactionsTransactionLineItems"]; put?: never; post?: never; @@ -5486,7 +6837,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

A list of all tax codes available to add to Products in order to allow specific tax calculations.

*/ + /** + * List all tax codes + * @description

A list of all tax codes available to add to Products in order to allow specific tax calculations.

+ */ get: operations["GetTaxCodes"]; put?: never; post?: never; @@ -5503,7 +6857,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.

*/ + /** + * Retrieve a tax code + * @description

Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.

+ */ get: operations["GetTaxCodesId"]; put?: never; post?: never; @@ -5520,10 +6877,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of tax IDs.

*/ + /** + * List all tax IDs + * @description

Returns a list of tax IDs.

+ */ get: operations["GetTaxIds"]; put?: never; - /** @description

Creates a new account or customer tax_id object.

*/ + /** + * Create a tax ID + * @description

Creates a new account or customer tax_id object.

+ */ post: operations["PostTaxIds"]; delete?: never; options?: never; @@ -5538,11 +6901,17 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves an account or customer tax_id object.

*/ + /** + * Retrieve a tax ID + * @description

Retrieves an account or customer tax_id object.

+ */ get: operations["GetTaxIdsId"]; put?: never; post?: never; - /** @description

Deletes an existing account or customer tax_id object.

*/ + /** + * Delete a tax ID + * @description

Deletes an existing account or customer tax_id object.

+ */ delete: operations["DeleteTaxIdsId"]; options?: never; head?: never; @@ -5556,10 +6925,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.

*/ + /** + * List all tax rates + * @description

Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.

+ */ get: operations["GetTaxRates"]; put?: never; - /** @description

Creates a new tax rate.

*/ + /** + * Create a tax rate + * @description

Creates a new tax rate.

+ */ post: operations["PostTaxRates"]; delete?: never; options?: never; @@ -5574,10 +6949,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a tax rate with the given ID

*/ + /** + * Retrieve a tax rate + * @description

Retrieves a tax rate with the given ID

+ */ get: operations["GetTaxRatesTaxRate"]; put?: never; - /** @description

Updates an existing tax rate.

*/ + /** + * Update a tax rate + * @description

Updates an existing tax rate.

+ */ post: operations["PostTaxRatesTaxRate"]; delete?: never; options?: never; @@ -5592,10 +6973,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Configuration objects.

*/ + /** + * List all Configurations + * @description

Returns a list of Configuration objects.

+ */ get: operations["GetTerminalConfigurations"]; put?: never; - /** @description

Creates a new Configuration object.

*/ + /** + * Create a Configuration + * @description

Creates a new Configuration object.

+ */ post: operations["PostTerminalConfigurations"]; delete?: never; options?: never; @@ -5610,12 +6997,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Configuration object.

*/ + /** + * Retrieve a Configuration + * @description

Retrieves a Configuration object.

+ */ get: operations["GetTerminalConfigurationsConfiguration"]; put?: never; - /** @description

Updates a new Configuration object.

*/ + /** + * Update a Configuration + * @description

Updates a new Configuration object.

+ */ post: operations["PostTerminalConfigurationsConfiguration"]; - /** @description

Deletes a Configuration object.

*/ + /** + * Delete a Configuration + * @description

Deletes a Configuration object.

+ */ delete: operations["DeleteTerminalConfigurationsConfiguration"]; options?: never; head?: never; @@ -5631,7 +7027,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token.

*/ + /** + * Create a Connection Token + * @description

To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token.

+ */ post: operations["PostTerminalConnectionTokens"]; delete?: never; options?: never; @@ -5646,11 +7045,17 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Location objects.

*/ + /** + * List all Locations + * @description

Returns a list of Location objects.

+ */ get: operations["GetTerminalLocations"]; put?: never; - /** @description

Creates a new Location object. - * For further details, including which address fields are required in each country, see the Manage locations guide.

*/ + /** + * Create a Location + * @description

Creates a new Location object. + * For further details, including which address fields are required in each country, see the Manage locations guide.

+ */ post: operations["PostTerminalLocations"]; delete?: never; options?: never; @@ -5665,12 +7070,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Location object.

*/ + /** + * Retrieve a Location + * @description

Retrieves a Location object.

+ */ get: operations["GetTerminalLocationsLocation"]; put?: never; - /** @description

Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ + /** + * Update a Location + * @description

Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ */ post: operations["PostTerminalLocationsLocation"]; - /** @description

Deletes a Location object.

*/ + /** + * Delete a Location + * @description

Deletes a Location object.

+ */ delete: operations["DeleteTerminalLocationsLocation"]; options?: never; head?: never; @@ -5684,10 +7098,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of Reader objects.

*/ + /** + * List all Readers + * @description

Returns a list of Reader objects.

+ */ get: operations["GetTerminalReaders"]; put?: never; - /** @description

Creates a new Reader object.

*/ + /** + * Create a Reader + * @description

Creates a new Reader object.

+ */ post: operations["PostTerminalReaders"]; delete?: never; options?: never; @@ -5702,12 +7122,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a Reader object.

*/ + /** + * Retrieve a Reader + * @description

Retrieves a Reader object.

+ */ get: operations["GetTerminalReadersReader"]; put?: never; - /** @description

Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

*/ + /** + * Update a Reader + * @description

Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ */ post: operations["PostTerminalReadersReader"]; - /** @description

Deletes a Reader object.

*/ + /** + * Delete a Reader + * @description

Deletes a Reader object.

+ */ delete: operations["DeleteTerminalReadersReader"]; options?: never; head?: never; @@ -5723,7 +7152,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Cancels the current reader action.

*/ + /** + * Cancel the current reader action + * @description

Cancels the current reader action.

+ */ post: operations["PostTerminalReadersReaderCancelAction"]; delete?: never; options?: never; @@ -5740,7 +7172,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Initiates a payment flow on a Reader.

*/ + /** + * Hand-off a PaymentIntent to a Reader + * @description

Initiates a payment flow on a Reader.

+ */ post: operations["PostTerminalReadersReaderProcessPaymentIntent"]; delete?: never; options?: never; @@ -5757,7 +7192,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Initiates a setup intent flow on a Reader.

*/ + /** + * Hand-off a SetupIntent to a Reader + * @description

Initiates a setup intent flow on a Reader.

+ */ post: operations["PostTerminalReadersReaderProcessSetupIntent"]; delete?: never; options?: never; @@ -5774,7 +7212,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Initiates a refund on a Reader

*/ + /** + * Refund a Charge or a PaymentIntent in-person + * @description

Initiates a refund on a Reader

+ */ post: operations["PostTerminalReadersReaderRefundPayment"]; delete?: never; options?: never; @@ -5791,7 +7232,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Sets reader display to show cart details.

*/ + /** + * Set reader display + * @description

Sets reader display to show cart details.

+ */ post: operations["PostTerminalReadersReaderSetReaderDisplay"]; delete?: never; options?: never; @@ -5808,7 +7252,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a test mode Confirmation Token server side for your integration tests.

*/ + /** + * Create a test Confirmation Token + * @description

Creates a test mode Confirmation Token server side for your integration tests.

+ */ post: operations["PostTestHelpersConfirmationTokens"]; delete?: never; options?: never; @@ -5825,7 +7272,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Create an incoming testmode bank transfer

*/ + /** + * Fund a test mode cash balance + * @description

Create an incoming testmode bank transfer

+ */ post: operations["PostTestHelpersCustomersCustomerFundCashBalance"]; delete?: never; options?: never; @@ -5842,7 +7292,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Create a test-mode authorization.

*/ + /** + * Create a test-mode authorization + * @description

Create a test-mode authorization.

+ */ post: operations["PostTestHelpersIssuingAuthorizations"]; delete?: never; options?: never; @@ -5859,7 +7312,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Capture a test-mode authorization.

*/ + /** + * Capture a test-mode authorization + * @description

Capture a test-mode authorization.

+ */ post: operations["PostTestHelpersIssuingAuthorizationsAuthorizationCapture"]; delete?: never; options?: never; @@ -5876,7 +7332,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Expire a test-mode Authorization.

*/ + /** + * Expire a test-mode authorization + * @description

Expire a test-mode Authorization.

+ */ post: operations["PostTestHelpersIssuingAuthorizationsAuthorizationExpire"]; delete?: never; options?: never; @@ -5893,7 +7352,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.

*/ + /** + * Finalize a test-mode authorization's amount + * @description

Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.

+ */ post: operations["PostTestHelpersIssuingAuthorizationsAuthorizationFinalizeAmount"]; delete?: never; options?: never; @@ -5910,7 +7372,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Increment a test-mode Authorization.

*/ + /** + * Increment a test-mode authorization + * @description

Increment a test-mode Authorization.

+ */ post: operations["PostTestHelpersIssuingAuthorizationsAuthorizationIncrement"]; delete?: never; options?: never; @@ -5927,7 +7392,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Reverse a test-mode Authorization.

*/ + /** + * Reverse a test-mode authorization + * @description

Reverse a test-mode Authorization.

+ */ post: operations["PostTestHelpersIssuingAuthorizationsAuthorizationReverse"]; delete?: never; options?: never; @@ -5944,7 +7412,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates the shipping status of the specified Issuing Card object to delivered.

*/ + /** + * Deliver a testmode card + * @description

Updates the shipping status of the specified Issuing Card object to delivered.

+ */ post: operations["PostTestHelpersIssuingCardsCardShippingDeliver"]; delete?: never; options?: never; @@ -5961,7 +7432,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates the shipping status of the specified Issuing Card object to failure.

*/ + /** + * Fail a testmode card + * @description

Updates the shipping status of the specified Issuing Card object to failure.

+ */ post: operations["PostTestHelpersIssuingCardsCardShippingFail"]; delete?: never; options?: never; @@ -5978,7 +7452,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates the shipping status of the specified Issuing Card object to returned.

*/ + /** + * Return a testmode card + * @description

Updates the shipping status of the specified Issuing Card object to returned.

+ */ post: operations["PostTestHelpersIssuingCardsCardShippingReturn"]; delete?: never; options?: never; @@ -5995,7 +7472,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates the shipping status of the specified Issuing Card object to shipped.

*/ + /** + * Ship a testmode card + * @description

Updates the shipping status of the specified Issuing Card object to shipped.

+ */ post: operations["PostTestHelpersIssuingCardsCardShippingShip"]; delete?: never; options?: never; @@ -6003,6 +7483,26 @@ export interface paths { patch?: never; trace?: never; }; + "/v1/test_helpers/issuing/cards/{card}/shipping/submit": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Submit a testmode card + * @description

Updates the shipping status of the specified Issuing Card object to submitted. This method requires Stripe Version ‘2024-09-30.acacia’ or later.

+ */ + post: operations["PostTestHelpersIssuingCardsCardShippingSubmit"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate": { parameters: { query?: never; @@ -6012,7 +7512,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates the status of the specified testmode personalization design object to active.

*/ + /** + * Activate a testmode personalization design + * @description

Updates the status of the specified testmode personalization design object to active.

+ */ post: operations["PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignActivate"]; delete?: never; options?: never; @@ -6029,7 +7532,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates the status of the specified testmode personalization design object to inactive.

*/ + /** + * Deactivate a testmode personalization design + * @description

Updates the status of the specified testmode personalization design object to inactive.

+ */ post: operations["PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignDeactivate"]; delete?: never; options?: never; @@ -6046,7 +7552,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates the status of the specified testmode personalization design object to rejected.

*/ + /** + * Reject a testmode personalization design + * @description

Updates the status of the specified testmode personalization design object to rejected.

+ */ post: operations["PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignReject"]; delete?: never; options?: never; @@ -6063,7 +7572,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Allows the user to create an Issuing settlement.

*/ + /** + * Create a test-mode settleemnt + * @description

Allows the user to create an Issuing settlement.

+ */ post: operations["PostTestHelpersIssuingSettlements"]; delete?: never; options?: never; @@ -6080,7 +7592,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Allows the user to capture an arbitrary amount, also known as a forced capture.

*/ + /** + * Create a test-mode force capture + * @description

Allows the user to capture an arbitrary amount, also known as a forced capture.

+ */ post: operations["PostTestHelpersIssuingTransactionsCreateForceCapture"]; delete?: never; options?: never; @@ -6097,7 +7612,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Allows the user to refund an arbitrary amount, also known as a unlinked refund.

*/ + /** + * Create a test-mode unlinked refund + * @description

Allows the user to refund an arbitrary amount, also known as a unlinked refund.

+ */ post: operations["PostTestHelpersIssuingTransactionsCreateUnlinkedRefund"]; delete?: never; options?: never; @@ -6114,7 +7632,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Refund a test-mode Transaction.

*/ + /** + * Refund a test-mode transaction + * @description

Refund a test-mode Transaction.

+ */ post: operations["PostTestHelpersIssuingTransactionsTransactionRefund"]; delete?: never; options?: never; @@ -6131,7 +7652,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Expire a refund with a status of requires_action.

*/ + /** + * Expire a pending refund. + * @description

Expire a refund with a status of requires_action.

+ */ post: operations["PostTestHelpersRefundsRefundExpire"]; delete?: never; options?: never; @@ -6148,7 +7672,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.

*/ + /** + * Simulate presenting a payment method + * @description

Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.

+ */ post: operations["PostTestHelpersTerminalReadersReaderPresentPaymentMethod"]; delete?: never; options?: never; @@ -6163,10 +7690,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your test clocks.

*/ + /** + * List all test clocks + * @description

Returns a list of your test clocks.

+ */ get: operations["GetTestHelpersTestClocks"]; put?: never; - /** @description

Creates a new test clock that can be attached to new customers and quotes.

*/ + /** + * Create a test clock + * @description

Creates a new test clock that can be attached to new customers and quotes.

+ */ post: operations["PostTestHelpersTestClocks"]; delete?: never; options?: never; @@ -6181,11 +7714,17 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a test clock.

*/ + /** + * Retrieve a test clock + * @description

Retrieves a test clock.

+ */ get: operations["GetTestHelpersTestClocksTestClock"]; put?: never; post?: never; - /** @description

Deletes a test clock.

*/ + /** + * Delete a test clock + * @description

Deletes a test clock.

+ */ delete: operations["DeleteTestHelpersTestClocksTestClock"]; options?: never; head?: never; @@ -6201,7 +7740,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready.

*/ + /** + * Advance a test clock + * @description

Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready.

+ */ post: operations["PostTestHelpersTestClocksTestClockAdvance"]; delete?: never; options?: never; @@ -6218,7 +7760,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.

*/ + /** + * Test mode: Fail an InboundTransfer + * @description

Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.

+ */ post: operations["PostTestHelpersTreasuryInboundTransfersIdFail"]; delete?: never; options?: never; @@ -6235,7 +7780,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.

*/ + /** + * Test mode: Return an InboundTransfer + * @description

Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.

+ */ post: operations["PostTestHelpersTreasuryInboundTransfersIdReturn"]; delete?: never; options?: never; @@ -6252,7 +7800,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.

*/ + /** + * Test mode: Succeed an InboundTransfer + * @description

Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.

+ */ post: operations["PostTestHelpersTreasuryInboundTransfersIdSucceed"]; delete?: never; options?: never; @@ -6269,7 +7820,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states.

*/ + /** + * Test mode: Update an OutboundPayment + * @description

Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states.

+ */ post: operations["PostTestHelpersTreasuryOutboundPaymentsId"]; delete?: never; options?: never; @@ -6286,7 +7840,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.

*/ + /** + * Test mode: Fail an OutboundPayment + * @description

Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.

+ */ post: operations["PostTestHelpersTreasuryOutboundPaymentsIdFail"]; delete?: never; options?: never; @@ -6303,7 +7860,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.

*/ + /** + * Test mode: Post an OutboundPayment + * @description

Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.

+ */ post: operations["PostTestHelpersTreasuryOutboundPaymentsIdPost"]; delete?: never; options?: never; @@ -6320,7 +7880,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.

*/ + /** + * Test mode: Return an OutboundPayment + * @description

Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.

+ */ post: operations["PostTestHelpersTreasuryOutboundPaymentsIdReturn"]; delete?: never; options?: never; @@ -6337,7 +7900,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states.

*/ + /** + * Test mode: Update an OutboundTransfer + * @description

Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states.

+ */ post: operations["PostTestHelpersTreasuryOutboundTransfersOutboundTransfer"]; delete?: never; options?: never; @@ -6354,7 +7920,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.

*/ + /** + * Test mode: Fail an OutboundTransfer + * @description

Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.

+ */ post: operations["PostTestHelpersTreasuryOutboundTransfersOutboundTransferFail"]; delete?: never; options?: never; @@ -6371,7 +7940,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.

*/ + /** + * Test mode: Post an OutboundTransfer + * @description

Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.

+ */ post: operations["PostTestHelpersTreasuryOutboundTransfersOutboundTransferPost"]; delete?: never; options?: never; @@ -6388,7 +7960,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.

*/ + /** + * Test mode: Return an OutboundTransfer + * @description

Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.

+ */ post: operations["PostTestHelpersTreasuryOutboundTransfersOutboundTransferReturn"]; delete?: never; options?: never; @@ -6405,7 +7980,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t directly create ReceivedCredits initiated by third parties.

*/ + /** + * Test mode: Create a ReceivedCredit + * @description

Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t directly create ReceivedCredits initiated by third parties.

+ */ post: operations["PostTestHelpersTreasuryReceivedCredits"]; delete?: never; options?: never; @@ -6422,7 +8000,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t directly create ReceivedDebits initiated by third parties.

*/ + /** + * Test mode: Create a ReceivedDebit + * @description

Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t directly create ReceivedDebits initiated by third parties.

+ */ post: operations["PostTestHelpersTreasuryReceivedDebits"]; delete?: never; options?: never; @@ -6439,8 +8020,11 @@ export interface paths { }; get?: never; put?: never; - /** @description

Creates a single-use token that represents a bank account’s details. - * You can use this token with any API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a connected account where controller.requirement_collection is application, which includes Custom accounts.

*/ + /** + * Create a CVC update token + * @description

Creates a single-use token that represents a bank account’s details. + * You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a connected account where controller.requirement_collection is application, which includes Custom accounts.

+ */ post: operations["PostTokens"]; delete?: never; options?: never; @@ -6455,7 +8039,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the token with the given ID.

*/ + /** + * Retrieve a token + * @description

Retrieves the token with the given ID.

+ */ get: operations["GetTokensToken"]; put?: never; post?: never; @@ -6472,10 +8059,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of top-ups.

*/ + /** + * List all top-ups + * @description

Returns a list of top-ups.

+ */ get: operations["GetTopups"]; put?: never; - /** @description

Top up the balance of an account

*/ + /** + * Create a top-up + * @description

Top up the balance of an account

+ */ post: operations["PostTopups"]; delete?: never; options?: never; @@ -6490,10 +8083,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information.

*/ + /** + * Retrieve a top-up + * @description

Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information.

+ */ get: operations["GetTopupsTopup"]; put?: never; - /** @description

Updates the metadata of a top-up. Other top-up details are not editable by design.

*/ + /** + * Update a top-up + * @description

Updates the metadata of a top-up. Other top-up details are not editable by design.

+ */ post: operations["PostTopupsTopup"]; delete?: never; options?: never; @@ -6510,7 +8109,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Cancels a top-up. Only pending top-ups can be canceled.

*/ + /** + * Cancel a top-up + * @description

Cancels a top-up. Only pending top-ups can be canceled.

+ */ post: operations["PostTopupsTopupCancel"]; delete?: never; options?: never; @@ -6525,10 +8127,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first.

*/ + /** + * List all transfers + * @description

Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first.

+ */ get: operations["GetTransfers"]; put?: never; - /** @description

To send funds from your Stripe account to a connected account, you create a new transfer object. Your Stripe balance must be able to cover the transfer amount, or you’ll receive an “Insufficient Funds” error.

*/ + /** + * Create a transfer + * @description

To send funds from your Stripe account to a connected account, you create a new transfer object. Your Stripe balance must be able to cover the transfer amount, or you’ll receive an “Insufficient Funds” error.

+ */ post: operations["PostTransfers"]; delete?: never; options?: never; @@ -6543,14 +8151,20 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional reversals.

*/ + /** + * List all reversals + * @description

You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional reversals.

+ */ get: operations["GetTransfersIdReversals"]; put?: never; - /** @description

When you create a new reversal, you must specify a transfer to create it on.

+ /** + * Create a transfer reversal + * @description

When you create a new reversal, you must specify a transfer to create it on.

* *

When reversing transfers, you can optionally reverse part of the transfer. You can do so as many times as you wish until the entire transfer has been reversed.

* - *

Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.

*/ + *

Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.

+ */ post: operations["PostTransfersIdReversals"]; delete?: never; options?: never; @@ -6565,12 +8179,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information.

*/ + /** + * Retrieve a transfer + * @description

Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information.

+ */ get: operations["GetTransfersTransfer"]; put?: never; - /** @description

Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ /** + * Update a transfer + * @description

Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

* - *

This request accepts only metadata as an argument.

*/ + *

This request accepts only metadata as an argument.

+ */ post: operations["PostTransfersTransfer"]; delete?: never; options?: never; @@ -6585,12 +8205,18 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.

*/ + /** + * Retrieve a reversal + * @description

By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.

+ */ get: operations["GetTransfersTransferReversalsId"]; put?: never; - /** @description

Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

+ /** + * Update a reversal + * @description

Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

* - *

This request only accepts metadata and description as arguments.

*/ + *

This request only accepts metadata and description as arguments.

+ */ post: operations["PostTransfersTransferReversalsId"]; delete?: never; options?: never; @@ -6605,10 +8231,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of CreditReversals.

*/ + /** + * List all CreditReversals + * @description

Returns a list of CreditReversals.

+ */ get: operations["GetTreasuryCreditReversals"]; put?: never; - /** @description

Reverses a ReceivedCredit and creates a CreditReversal object.

*/ + /** + * Create a CreditReversal + * @description

Reverses a ReceivedCredit and creates a CreditReversal object.

+ */ post: operations["PostTreasuryCreditReversals"]; delete?: never; options?: never; @@ -6623,7 +8255,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list

*/ + /** + * Retrieve a CreditReversal + * @description

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list

+ */ get: operations["GetTreasuryCreditReversalsCreditReversal"]; put?: never; post?: never; @@ -6640,10 +8275,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of DebitReversals.

*/ + /** + * List all DebitReversals + * @description

Returns a list of DebitReversals.

+ */ get: operations["GetTreasuryDebitReversals"]; put?: never; - /** @description

Reverses a ReceivedDebit and creates a DebitReversal object.

*/ + /** + * Create a DebitReversal + * @description

Reverses a ReceivedDebit and creates a DebitReversal object.

+ */ post: operations["PostTreasuryDebitReversals"]; delete?: never; options?: never; @@ -6658,7 +8299,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a DebitReversal object.

*/ + /** + * Retrieve a DebitReversal + * @description

Retrieves a DebitReversal object.

+ */ get: operations["GetTreasuryDebitReversalsDebitReversal"]; put?: never; post?: never; @@ -6675,10 +8319,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of FinancialAccounts.

*/ + /** + * List all FinancialAccounts + * @description

Returns a list of FinancialAccounts.

+ */ get: operations["GetTreasuryFinancialAccounts"]; put?: never; - /** @description

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

*/ + /** + * Create a FinancialAccount + * @description

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

+ */ post: operations["PostTreasuryFinancialAccounts"]; delete?: never; options?: never; @@ -6693,10 +8343,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of a FinancialAccount.

*/ + /** + * Retrieve a FinancialAccount + * @description

Retrieves the details of a FinancialAccount.

+ */ get: operations["GetTreasuryFinancialAccountsFinancialAccount"]; put?: never; - /** @description

Updates the details of a FinancialAccount.

*/ + /** + * Update a FinancialAccount + * @description

Updates the details of a FinancialAccount.

+ */ post: operations["PostTreasuryFinancialAccountsFinancialAccount"]; delete?: never; options?: never; @@ -6711,10 +8367,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves Features information associated with the FinancialAccount.

*/ + /** + * Retrieve FinancialAccount Features + * @description

Retrieves Features information associated with the FinancialAccount.

+ */ get: operations["GetTreasuryFinancialAccountsFinancialAccountFeatures"]; put?: never; - /** @description

Updates the Features associated with a FinancialAccount.

*/ + /** + * Update FinancialAccount Features + * @description

Updates the Features associated with a FinancialAccount.

+ */ post: operations["PostTreasuryFinancialAccountsFinancialAccountFeatures"]; delete?: never; options?: never; @@ -6729,10 +8391,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of InboundTransfers sent from the specified FinancialAccount.

*/ + /** + * List all InboundTransfers + * @description

Returns a list of InboundTransfers sent from the specified FinancialAccount.

+ */ get: operations["GetTreasuryInboundTransfers"]; put?: never; - /** @description

Creates an InboundTransfer.

*/ + /** + * Create an InboundTransfer + * @description

Creates an InboundTransfer.

+ */ post: operations["PostTreasuryInboundTransfers"]; delete?: never; options?: never; @@ -6747,7 +8415,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing InboundTransfer.

*/ + /** + * Retrieve an InboundTransfer + * @description

Retrieves the details of an existing InboundTransfer.

+ */ get: operations["GetTreasuryInboundTransfersId"]; put?: never; post?: never; @@ -6766,7 +8437,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Cancels an InboundTransfer.

*/ + /** + * Cancel an InboundTransfer + * @description

Cancels an InboundTransfer.

+ */ post: operations["PostTreasuryInboundTransfersInboundTransferCancel"]; delete?: never; options?: never; @@ -6781,10 +8455,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of OutboundPayments sent from the specified FinancialAccount.

*/ + /** + * List all OutboundPayments + * @description

Returns a list of OutboundPayments sent from the specified FinancialAccount.

+ */ get: operations["GetTreasuryOutboundPayments"]; put?: never; - /** @description

Creates an OutboundPayment.

*/ + /** + * Create an OutboundPayment + * @description

Creates an OutboundPayment.

+ */ post: operations["PostTreasuryOutboundPayments"]; delete?: never; options?: never; @@ -6799,7 +8479,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

*/ + /** + * Retrieve an OutboundPayment + * @description

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

+ */ get: operations["GetTreasuryOutboundPaymentsId"]; put?: never; post?: never; @@ -6818,7 +8501,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

Cancel an OutboundPayment.

*/ + /** + * Cancel an OutboundPayment + * @description

Cancel an OutboundPayment.

+ */ post: operations["PostTreasuryOutboundPaymentsIdCancel"]; delete?: never; options?: never; @@ -6833,10 +8519,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

*/ + /** + * List all OutboundTransfers + * @description

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

+ */ get: operations["GetTreasuryOutboundTransfers"]; put?: never; - /** @description

Creates an OutboundTransfer.

*/ + /** + * Create an OutboundTransfer + * @description

Creates an OutboundTransfer.

+ */ post: operations["PostTreasuryOutboundTransfers"]; delete?: never; options?: never; @@ -6851,7 +8543,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

*/ + /** + * Retrieve an OutboundTransfer + * @description

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

+ */ get: operations["GetTreasuryOutboundTransfersOutboundTransfer"]; put?: never; post?: never; @@ -6870,7 +8565,10 @@ export interface paths { }; get?: never; put?: never; - /** @description

An OutboundTransfer can be canceled if the funds have not yet been paid out.

*/ + /** + * Cancel an OutboundTransfer + * @description

An OutboundTransfer can be canceled if the funds have not yet been paid out.

+ */ post: operations["PostTreasuryOutboundTransfersOutboundTransferCancel"]; delete?: never; options?: never; @@ -6885,7 +8583,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of ReceivedCredits.

*/ + /** + * List all ReceivedCredits + * @description

Returns a list of ReceivedCredits.

+ */ get: operations["GetTreasuryReceivedCredits"]; put?: never; post?: never; @@ -6902,7 +8603,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.

*/ + /** + * Retrieve a ReceivedCredit + * @description

Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.

+ */ get: operations["GetTreasuryReceivedCreditsId"]; put?: never; post?: never; @@ -6919,7 +8623,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of ReceivedDebits.

*/ + /** + * List all ReceivedDebits + * @description

Returns a list of ReceivedDebits.

+ */ get: operations["GetTreasuryReceivedDebits"]; put?: never; post?: never; @@ -6936,7 +8643,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

*/ + /** + * Retrieve a ReceivedDebit + * @description

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

+ */ get: operations["GetTreasuryReceivedDebitsId"]; put?: never; post?: never; @@ -6953,7 +8663,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a list of TransactionEntry objects.

*/ + /** + * List all TransactionEntries + * @description

Retrieves a list of TransactionEntry objects.

+ */ get: operations["GetTreasuryTransactionEntries"]; put?: never; post?: never; @@ -6970,7 +8683,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a TransactionEntry object.

*/ + /** + * Retrieve a TransactionEntry + * @description

Retrieves a TransactionEntry object.

+ */ get: operations["GetTreasuryTransactionEntriesId"]; put?: never; post?: never; @@ -6987,7 +8703,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves a list of Transaction objects.

*/ + /** + * List all Transactions + * @description

Retrieves a list of Transaction objects.

+ */ get: operations["GetTreasuryTransactions"]; put?: never; post?: never; @@ -7004,7 +8723,10 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the details of an existing Transaction.

*/ + /** + * Retrieve a Transaction + * @description

Retrieves the details of an existing Transaction.

+ */ get: operations["GetTreasuryTransactionsId"]; put?: never; post?: never; @@ -7021,10 +8743,16 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Returns a list of your webhook endpoints.

*/ + /** + * List all webhook endpoints + * @description

Returns a list of your webhook endpoints.

+ */ get: operations["GetWebhookEndpoints"]; put?: never; - /** @description

A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created. You can also create webhook endpoints in the webhooks settings section of the Dashboard.

*/ + /** + * Create a webhook endpoint + * @description

A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created. You can also create webhook endpoints in the webhooks settings section of the Dashboard.

+ */ post: operations["PostWebhookEndpoints"]; delete?: never; options?: never; @@ -7039,12 +8767,21 @@ export interface paths { path?: never; cookie?: never; }; - /** @description

Retrieves the webhook endpoint with the given ID.

*/ + /** + * Retrieve a webhook endpoint + * @description

Retrieves the webhook endpoint with the given ID.

+ */ get: operations["GetWebhookEndpointsWebhookEndpoint"]; put?: never; - /** @description

Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint.

*/ + /** + * Update a webhook endpoint + * @description

Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint.

+ */ post: operations["PostWebhookEndpointsWebhookEndpoint"]; - /** @description

You can also delete webhook endpoints via the webhook endpoint management page of the Stripe dashboard.

*/ + /** + * Delete a webhook endpoint + * @description

You can also delete webhook endpoints via the webhook endpoint management page of the Stripe dashboard.

+ */ delete: operations["DeleteWebhookEndpointsWebhookEndpoint"]; options?: never; head?: never; @@ -7079,7 +8816,7 @@ export interface components { */ business_type?: "company" | "government_entity" | "individual" | "non_profit" | null; capabilities?: components["schemas"]["account_capabilities"]; - /** @description Whether the account can create live charges. */ + /** @description Whether the account can process charges. */ charges_enabled?: boolean; company?: components["schemas"]["legal_entity_company"]; controller?: components["schemas"]["account_unification_account_controller"]; @@ -7114,6 +8851,8 @@ export interface components { url: string; }; future_requirements?: components["schemas"]["account_future_requirements"]; + /** @description The groups associated with the account. */ + groups?: components["schemas"]["account_group_membership"] | null; /** @description Unique identifier for the object. */ id: string; individual?: components["schemas"]["person"]; @@ -7126,7 +8865,7 @@ export interface components { * @enum {string} */ object: "account"; - /** @description Whether Stripe can send payouts to this account. */ + /** @description Whether the funds in this account can be paid out. */ payouts_enabled?: boolean; requirements?: components["schemas"]["account_requirements"]; /** @description Options for customizing how the account functions within Stripe. */ @@ -7206,6 +8945,11 @@ export interface components { * @enum {string} */ afterpay_clearpay_payments?: "active" | "inactive" | "pending"; + /** + * @description The status of the Alma capability of the account, or whether the account can directly process Alma payments. + * @enum {string} + */ + alma_payments?: "active" | "inactive" | "pending"; /** * @description The status of the AmazonPay capability of the account, or whether the account can directly process AmazonPay payments. * @enum {string} @@ -7306,6 +9050,11 @@ export interface components { * @enum {string} */ jp_bank_transfer_payments?: "active" | "inactive" | "pending"; + /** + * @description The status of the KakaoPay capability of the account, or whether the account can directly process KakaoPay payments. + * @enum {string} + */ + kakao_pay_payments?: "active" | "inactive" | "pending"; /** * @description The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges. * @enum {string} @@ -7316,6 +9065,11 @@ export interface components { * @enum {string} */ konbini_payments?: "active" | "inactive" | "pending"; + /** + * @description The status of the KrCard capability of the account, or whether the account can directly process KrCard payments. + * @enum {string} + */ + kr_card_payments?: "active" | "inactive" | "pending"; /** * @description The status of the legacy payments capability of the account. * @enum {string} @@ -7341,6 +9095,11 @@ export interface components { * @enum {string} */ mx_bank_transfer_payments?: "active" | "inactive" | "pending"; + /** + * @description The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments. + * @enum {string} + */ + naver_pay_payments?: "active" | "inactive" | "pending"; /** * @description The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges. * @enum {string} @@ -7351,6 +9110,11 @@ export interface components { * @enum {string} */ p24_payments?: "active" | "inactive" | "pending"; + /** + * @description The status of the Payco capability of the account, or whether the account can directly process Payco payments. + * @enum {string} + */ + payco_payments?: "active" | "inactive" | "pending"; /** * @description The status of the paynow payments capability of the account, or whether the account can directly process paynow charges. * @enum {string} @@ -7366,6 +9130,11 @@ export interface components { * @enum {string} */ revolut_pay_payments?: "active" | "inactive" | "pending"; + /** + * @description The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments. + * @enum {string} + */ + samsung_pay_payments?: "active" | "inactive" | "pending"; /** * @description The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges. * @enum {string} @@ -7527,6 +9296,11 @@ export interface components { /** @description Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. Fields might appear in `eventually_due` or `currently_due` and in `pending_verification` if verification fails but another verification is still pending. */ pending_verification?: string[] | null; }; + /** AccountGroupMembership */ + account_group_membership: { + /** @description The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details. */ + payments_pricing?: string | null; + }; /** AccountInvoicesSettings */ account_invoices_settings: { /** @description The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized. */ @@ -8250,8 +10024,6 @@ export interface components { * @enum {string} */ alert_type: "usage_threshold"; - /** @description Limits the scope of the alert to a specific [customer](https://stripe.com/docs/api/customers). */ - filter?: components["schemas"]["thresholds_resource_alert_filter"] | null; /** @description Unique identifier for the object. */ id: string; /** @description Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ @@ -8269,11 +10041,128 @@ export interface components { /** @description Title of the alert. */ title: string; /** @description Encapsulates configuration of the alert to monitor usage on a specific [Billing Meter](https://stripe.com/docs/api/billing/meter). */ - usage_threshold_config?: components["schemas"]["thresholds_resource_usage_threshold_config"] | null; + usage_threshold?: components["schemas"]["thresholds_resource_usage_threshold_config"] | null; + }; + /** + * CreditBalanceSummary + * @description Indicates the billing credit balance for billing credits granted to a customer. + */ + "billing.credit_balance_summary": { + /** @description The billing credit balances. One entry per credit grant currency. If a customer only has credit grants in a single currency, then this will have a single balance entry. */ + balances: components["schemas"]["credit_balance"][]; + /** @description The customer the balance is for. */ + customer: string | components["schemas"]["customer"] | components["schemas"]["deleted_customer"]; + /** @description Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ + livemode: boolean; + /** + * @description String representing the object's type. Objects of the same type share the same value. + * @enum {string} + */ + object: "billing.credit_balance_summary"; + }; + /** + * CreditBalanceTransaction + * @description A credit balance transaction is a resource representing a transaction (either a credit or a debit) against an existing credit grant. + */ + "billing.credit_balance_transaction": { + /** + * Format: unix-time + * @description Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number; + /** @description Credit details for this credit balance transaction. Only present if type is `credit`. */ + credit?: components["schemas"]["billing_credit_grants_resource_balance_credit"] | null; + /** @description The credit grant associated with this credit balance transaction. */ + credit_grant: string | components["schemas"]["billing.credit_grant"]; + /** @description Debit details for this credit balance transaction. Only present if type is `debit`. */ + debit?: components["schemas"]["billing_credit_grants_resource_balance_debit"] | null; + /** + * Format: unix-time + * @description The effective time of this credit balance transaction. + */ + effective_at: number; + /** @description Unique identifier for the object. */ + id: string; + /** @description Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ + livemode: boolean; + /** + * @description String representing the object's type. Objects of the same type share the same value. + * @enum {string} + */ + object: "billing.credit_balance_transaction"; + /** @description ID of the test clock this credit balance transaction belongs to. */ + test_clock?: (string | components["schemas"]["test_helpers.test_clock"]) | null; + /** + * @description The type of credit balance transaction (credit or debit). + * @enum {string|null} + */ + type?: "credit" | "debit" | null; + }; + /** + * CreditGrant + * @description A credit grant is an API resource that documents the allocation of some billing credits to a customer. + * + * Related guide: [Billing credits](https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits) + * end + */ + "billing.credit_grant": { + amount: components["schemas"]["billing_credit_grants_resource_amount"]; + applicability_config: components["schemas"]["billing_credit_grants_resource_applicability_config"]; + /** + * @description The category of this credit grant. This is for tracking purposes and will not be displayed to the customer. + * @enum {string} + */ + category: "paid" | "promotional"; + /** + * Format: unix-time + * @description Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number; + /** @description ID of the customer to whom the billing credits are granted. */ + customer: string | components["schemas"]["customer"] | components["schemas"]["deleted_customer"]; + /** + * Format: unix-time + * @description The time when the billing credits become effective i.e when they are eligible to be used. + */ + effective_at?: number | null; + /** + * Format: unix-time + * @description The time when the billing credits will expire. If not present, the billing credits will never expire. + */ + expires_at?: number | null; + /** @description Unique identifier for the object. */ + id: string; + /** @description Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ + livemode: boolean; + /** @description Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ + metadata: { + [key: string]: string; + }; + /** @description A descriptive name shown in dashboard. */ + name?: string | null; + /** + * @description String representing the object's type. Objects of the same type share the same value. + * @enum {string} + */ + object: "billing.credit_grant"; + /** @description ID of the test clock this credit grant belongs to. */ + test_clock?: (string | components["schemas"]["test_helpers.test_clock"]) | null; + /** + * Format: unix-time + * @description Time at which the object was last updated. Measured in seconds since the Unix epoch. + */ + updated: number; + /** + * Format: unix-time + * @description The time when this credit grant was voided. If not present, the credit grant hasn't been voided. + */ + voided_at?: number | null; }; /** * BillingMeter * @description A billing meter is a resource that allows you to track usage of a particular event. For example, you might create a billing meter to track the number of API calls made by a particular user. You can then attach the billing meter to a price and attach the price to a subscription to charge the user for the number of API calls they make. + * + * Related guide: [Usage based billing](https://docs.stripe.com/billing/subscriptions/usage-based) */ "billing.meter": { /** @@ -8415,6 +10304,62 @@ export interface components { billing_clocks_resource_status_details_status_details: { advancing?: components["schemas"]["billing_clocks_resource_status_details_advancing_status_details"]; }; + /** BillingCreditGrantsResourceAmount */ + billing_credit_grants_resource_amount: { + /** @description The monetary amount. */ + monetary?: components["schemas"]["billing_credit_grants_resource_monetary_amount"] | null; + /** + * @description The type of this amount. We currently only support `monetary` billing credits. + * @enum {string} + */ + type: "monetary"; + }; + /** BillingCreditGrantsResourceApplicabilityConfig */ + billing_credit_grants_resource_applicability_config: { + scope: components["schemas"]["billing_credit_grants_resource_scope"]; + }; + /** BillingCreditGrantsResourceBalanceCredit */ + billing_credit_grants_resource_balance_credit: { + amount: components["schemas"]["billing_credit_grants_resource_amount"]; + /** + * @description The type of credit transaction. + * @enum {string} + */ + type: "credits_granted"; + }; + /** BillingCreditGrantsResourceBalanceCreditsApplied */ + billing_credit_grants_resource_balance_credits_applied: { + /** @description The invoice to which the billing credits were applied. */ + invoice: string | components["schemas"]["invoice"]; + /** @description The invoice line item to which the billing credits were applied. */ + invoice_line_item: string; + }; + /** BillingCreditGrantsResourceBalanceDebit */ + billing_credit_grants_resource_balance_debit: { + amount: components["schemas"]["billing_credit_grants_resource_amount"]; + /** @description Details of how the billing credits were applied to an invoice. Only present if `type` is `credits_applied`. */ + credits_applied?: components["schemas"]["billing_credit_grants_resource_balance_credits_applied"] | null; + /** + * @description The type of debit transaction. + * @enum {string} + */ + type: "credits_applied" | "credits_expired" | "credits_voided"; + }; + /** BillingCreditGrantsResourceMonetaryAmount */ + billing_credit_grants_resource_monetary_amount: { + /** @description Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ + currency: string; + /** @description A positive integer representing the amount. */ + value: number; + }; + /** BillingCreditGrantsResourceScope */ + billing_credit_grants_resource_scope: { + /** + * @description The price type to which credit grants can apply to. We currently only support `metered` price type. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. + * @enum {string} + */ + price_type: "metered"; + }; /** billing_details */ billing_details: { /** @description Billing address. */ @@ -8593,7 +10538,7 @@ export interface components { requested_at?: number | null; requirements?: components["schemas"]["account_capability_requirements"]; /** - * @description The status of the capability. Can be `active`, `inactive`, `pending`, or `unrequested`. + * @description The status of the capability. * @enum {string} */ status: "active" | "disabled" | "inactive" | "pending" | "unrequested"; @@ -9914,6 +11859,7 @@ export interface components { * @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; + alma?: components["schemas"]["payment_method_alma"]; amazon_pay?: components["schemas"]["payment_method_amazon_pay"]; au_becs_debit?: components["schemas"]["payment_method_au_becs_debit"]; bacs_debit?: components["schemas"]["payment_method_bacs_debit"]; @@ -9933,18 +11879,23 @@ export interface components { grabpay?: components["schemas"]["payment_method_grabpay"]; ideal?: components["schemas"]["payment_method_ideal"]; interac_present?: components["schemas"]["payment_method_interac_present"]; + kakao_pay?: components["schemas"]["payment_method_kakao_pay"]; klarna?: components["schemas"]["payment_method_klarna"]; konbini?: components["schemas"]["payment_method_konbini"]; + kr_card?: components["schemas"]["payment_method_kr_card"]; link?: components["schemas"]["payment_method_link"]; mobilepay?: components["schemas"]["payment_method_mobilepay"]; multibanco?: components["schemas"]["payment_method_multibanco"]; + naver_pay?: components["schemas"]["payment_method_naver_pay"]; oxxo?: components["schemas"]["payment_method_oxxo"]; p24?: components["schemas"]["payment_method_p24"]; + payco?: components["schemas"]["payment_method_payco"]; paynow?: components["schemas"]["payment_method_paynow"]; paypal?: components["schemas"]["payment_method_paypal"]; pix?: components["schemas"]["payment_method_pix"]; promptpay?: components["schemas"]["payment_method_promptpay"]; revolut_pay?: components["schemas"]["payment_method_revolut_pay"]; + samsung_pay?: components["schemas"]["payment_method_samsung_pay"]; sepa_debit?: components["schemas"]["payment_method_sepa_debit"]; sofort?: components["schemas"]["payment_method_sofort"]; swish?: components["schemas"]["payment_method_swish"]; @@ -9953,7 +11904,7 @@ export interface components { * @description The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. * @enum {string} */ - type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "card_present" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "interac_present" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "card_present" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "interac_present" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; us_bank_account?: components["schemas"]["payment_method_us_bank_account"]; wechat_pay?: components["schemas"]["payment_method_wechat_pay"]; zip?: components["schemas"]["payment_method_zip"]; @@ -10002,7 +11953,9 @@ export interface components { }; /** ConnectEmbeddedAccountFeaturesClaim */ connect_embedded_account_features_claim: { - /** @description Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements. */ + /** @description Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise. */ + disable_stripe_user_authentication?: boolean; + /** @description Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`. */ external_account_collection: boolean; }; /** ConnectEmbeddedAccountSessionCreateComponents */ @@ -10052,9 +12005,11 @@ export interface components { }; /** ConnectEmbeddedPayoutsFeatures */ connect_embedded_payouts_features: { + /** @description Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise. */ + disable_stripe_user_authentication?: boolean; /** @description Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise. */ edit_payout_schedule: boolean; - /** @description Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements. */ + /** @description Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`. */ external_account_collection: boolean; /** @description Whether to allow creation of instant payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise. */ instant_payouts: boolean; @@ -10171,6 +12126,11 @@ export interface components { /** @description Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer. */ amount_off: number; }; + /** CreditBalance */ + credit_balance: { + available_balance: components["schemas"]["billing_credit_grants_resource_amount"]; + ledger_balance: components["schemas"]["billing_credit_grants_resource_amount"]; + }; /** * CreditNote * @description Issue a credit note to adjust an invoice's amount after the invoice is finalized. @@ -10242,6 +12202,8 @@ export interface components { out_of_band_amount?: number | null; /** @description The link to download the PDF of the credit note. */ pdf: string; + /** @description The pretax credit amounts (ex: discount, credit grants, etc) for all line items. */ + pretax_credit_amounts?: components["schemas"]["credit_notes_pretax_credit_amount"][]; /** * @description Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory` * @enum {string|null} @@ -10303,6 +12265,8 @@ export interface components { * @enum {string} */ object: "credit_note_line_item"; + /** @description The pretax credit amounts (ex: discount, credit grants, etc) for this line item. */ + pretax_credit_amounts?: components["schemas"]["credit_notes_pretax_credit_amount"][]; /** @description The number of units of product being credited. */ quantity?: number | null; /** @description The amount of tax calculated per tax rate for this line item */ @@ -10343,6 +12307,20 @@ export interface components { /** @description The amount on which tax is calculated, in cents (or local equivalent). */ taxable_amount?: number | null; }; + /** CreditNotesPretaxCreditAmount */ + credit_notes_pretax_credit_amount: { + /** @description The amount, in cents (or local equivalent), of the pretax credit amount. */ + amount: number; + /** @description The credit balance transaction that was applied to get this pretax credit amount. */ + credit_balance_transaction?: string | components["schemas"]["billing.credit_balance_transaction"]; + /** @description The discount that was applied to get this pretax credit amount. */ + discount?: string | components["schemas"]["discount"] | components["schemas"]["deleted_discount"]; + /** + * @description Type of the pretax credit amount referenced. + * @enum {string} + */ + type: "credit_balance_transaction" | "discount"; + }; /** CurrencyOption */ currency_option: { /** @description When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links. */ @@ -10373,9 +12351,8 @@ export interface components { }; /** * Customer - * @description This object represents a customer of your business. Use it to create recurring charges and track payments that belong to the same customer. - * - * Related guide: [Save a card during payment](https://stripe.com/docs/payments/save-during-payment) + * @description This object represents a customer of your business. Use it to [create recurring charges](https://stripe.com/docs/invoicing/customer), [save payment](https://stripe.com/docs/payments/save-during-payment) and contact information, + * and track payments that belong to the same customer. */ customer: { /** @description The customer's address. */ @@ -12103,6 +14080,10 @@ export interface components { id: string; /** @description Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; + /** @description Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ + metadata?: { + [key: string]: string; + } | null; /** * @description String representing the object's type. Objects of the same type share the same value. * @enum {string} @@ -12984,6 +14965,8 @@ export interface components { total_discount_amounts?: components["schemas"]["discounts_resource_discount_amount"][] | null; /** @description The integer amount in cents (or local equivalent) representing the total amount of the invoice including all discounts but excluding all tax. */ total_excluding_tax?: number | null; + /** @description Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this invoice. This is a combined list of total_pretax_credit_amounts across all invoice line items. */ + total_pretax_credit_amounts?: components["schemas"]["invoices_resource_pretax_credit_amount"][] | null; /** @description The aggregate amounts calculated per tax rate for all line items. */ total_tax_amounts: components["schemas"]["invoice_tax_amount"][]; /** @description The account (if any) the payment will be attributed to for tax reporting, and where funds from the payment will be transferred to for the invoice. */ @@ -13333,7 +15316,7 @@ export interface components { /** @description Payment-method-specific configuration to provide to the invoice’s PaymentIntent. */ payment_method_options?: components["schemas"]["invoices_payment_method_options"] | null; /** @description The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice). */ - payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "konbini" | "link" | "multibanco" | "p24" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | null; + payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "jp_credit_transfer" | "kakao_pay" | "konbini" | "kr_card" | "link" | "multibanco" | "naver_pay" | "p24" | "payco" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_credit_transfer" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | null; }; /** InvoicesResourceFromInvoice */ invoices_resource_from_invoice: { @@ -13356,10 +15339,10 @@ export interface components { /** InvoicesResourceInvoiceTaxID */ invoices_resource_invoice_tax_id: { /** - * @description The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, or `unknown` + * @description The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown` * @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "unknown" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "unknown" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; /** @description The value of the tax ID. */ value?: string | null; }; @@ -13375,6 +15358,20 @@ export interface components { /** @description For a credit proration `line_item`, the original debit line_items to which the credit proration applies. */ credited_items?: components["schemas"]["invoices_resource_line_items_credited_items"] | null; }; + /** InvoicesResourcePretaxCreditAmount */ + invoices_resource_pretax_credit_amount: { + /** @description The amount, in cents (or local equivalent), of the pretax credit amount. */ + amount: number; + /** @description The credit balance transaction that was applied to get this pretax credit amount. */ + credit_balance_transaction?: (string | components["schemas"]["billing.credit_balance_transaction"]) | null; + /** @description The discount that was applied to get this pretax credit amount. */ + discount?: string | components["schemas"]["discount"] | components["schemas"]["deleted_discount"]; + /** + * @description Type of the pretax credit amount referenced. + * @enum {string} + */ + type: "credit_balance_transaction" | "discount"; + }; /** InvoicesResourceShippingCost */ invoices_resource_shipping_cost: { /** @description Total shipping cost before any taxes are applied. */ @@ -15018,6 +17015,8 @@ export interface components { */ object: "line_item"; period: components["schemas"]["invoice_line_item_period"]; + /** @description Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this line item. */ + pretax_credit_amounts?: components["schemas"]["invoices_resource_pretax_credit_amount"][] | null; /** @description The price of the line item. */ price?: components["schemas"]["price"] | null; /** @description Whether this is a proration. */ @@ -15168,6 +17167,10 @@ export interface components { }; /** mandate_cashapp */ mandate_cashapp: Record; + /** mandate_kakao_pay */ + mandate_kakao_pay: Record; + /** mandate_kr_card */ + mandate_kr_card: Record; /** mandate_link */ mandate_link: Record; /** mandate_multi_use */ @@ -15180,6 +17183,8 @@ export interface components { bacs_debit?: components["schemas"]["mandate_bacs_debit"]; card?: components["schemas"]["card_mandate_payment_method_details"]; cashapp?: components["schemas"]["mandate_cashapp"]; + kakao_pay?: components["schemas"]["mandate_kakao_pay"]; + kr_card?: components["schemas"]["mandate_kr_card"]; link?: components["schemas"]["mandate_link"]; paypal?: components["schemas"]["mandate_paypal"]; revolut_pay?: components["schemas"]["mandate_revolut_pay"]; @@ -15438,6 +17443,25 @@ export interface components { */ type: "apple_pay" | "google_pay" | "samsung_pay" | "unknown"; }; + /** PaymentFlowsPrivatePaymentMethodsKakaoPayPaymentMethodOptions */ + payment_flows_private_payment_methods_kakao_pay_payment_method_options: { + /** + * @description Controls when the funds will be captured from the customer's account. + * @enum {string} + */ + capture_method?: "manual"; + /** + * @description Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication). + * @enum {string} + */ + setup_future_usage?: "none" | "off_session"; + }; /** PaymentFlowsPrivatePaymentMethodsKlarnaDOB */ payment_flows_private_payment_methods_klarna_dob: { /** @description The day of birth, between 1 and 31. */ @@ -15447,6 +17471,30 @@ export interface components { /** @description The four-digit year of birth. */ year?: number | null; }; + /** PaymentFlowsPrivatePaymentMethodsNaverPayPaymentMethodOptions */ + payment_flows_private_payment_methods_naver_pay_payment_method_options: { + /** + * @description Controls when the funds will be captured from the customer's account. + * @enum {string} + */ + capture_method?: "manual"; + }; + /** PaymentFlowsPrivatePaymentMethodsPaycoPaymentMethodOptions */ + payment_flows_private_payment_methods_payco_payment_method_options: { + /** + * @description Controls when the funds will be captured from the customer's account. + * @enum {string} + */ + capture_method?: "manual"; + }; + /** PaymentFlowsPrivatePaymentMethodsSamsungPayPaymentMethodOptions */ + payment_flows_private_payment_methods_samsung_pay_payment_method_options: { + /** + * @description Controls when the funds will be captured from the customer's account. + * @enum {string} + */ + capture_method?: "manual"; + }; /** PaymentFlowsPrivatePaymentMethodsUsBankAccountLinkedAccountOptionsFilters */ payment_flows_private_payment_methods_us_bank_account_linked_account_options_filters: { /** @description The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`. */ @@ -15877,6 +17925,7 @@ export interface components { affirm?: components["schemas"]["payment_method_options_affirm"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; afterpay_clearpay?: components["schemas"]["payment_method_options_afterpay_clearpay"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; alipay?: components["schemas"]["payment_method_options_alipay"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; + alma?: components["schemas"]["payment_method_options_alma"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; amazon_pay?: components["schemas"]["payment_method_options_amazon_pay"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; au_becs_debit?: components["schemas"]["payment_intent_payment_method_options_au_becs_debit"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; bacs_debit?: components["schemas"]["payment_intent_payment_method_options_bacs_debit"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; @@ -15893,18 +17942,23 @@ export interface components { grabpay?: components["schemas"]["payment_method_options_grabpay"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; ideal?: components["schemas"]["payment_method_options_ideal"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; interac_present?: components["schemas"]["payment_method_options_interac_present"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; + kakao_pay?: components["schemas"]["payment_flows_private_payment_methods_kakao_pay_payment_method_options"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; klarna?: components["schemas"]["payment_method_options_klarna"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; konbini?: components["schemas"]["payment_method_options_konbini"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; + kr_card?: components["schemas"]["payment_method_options_kr_card"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; link?: components["schemas"]["payment_intent_payment_method_options_link"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; mobilepay?: components["schemas"]["payment_intent_payment_method_options_mobilepay"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; multibanco?: components["schemas"]["payment_method_options_multibanco"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; + naver_pay?: components["schemas"]["payment_flows_private_payment_methods_naver_pay_payment_method_options"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; oxxo?: components["schemas"]["payment_method_options_oxxo"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; p24?: components["schemas"]["payment_method_options_p24"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; + payco?: components["schemas"]["payment_flows_private_payment_methods_payco_payment_method_options"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; paynow?: components["schemas"]["payment_method_options_paynow"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; paypal?: components["schemas"]["payment_method_options_paypal"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; pix?: components["schemas"]["payment_method_options_pix"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; promptpay?: components["schemas"]["payment_method_options_promptpay"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; revolut_pay?: components["schemas"]["payment_method_options_revolut_pay"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; + samsung_pay?: components["schemas"]["payment_flows_private_payment_methods_samsung_pay_payment_method_options"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; sepa_debit?: components["schemas"]["payment_intent_payment_method_options_sepa_debit"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; sofort?: components["schemas"]["payment_method_options_sofort"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; swish?: components["schemas"]["payment_intent_payment_method_options_swish"] | components["schemas"]["payment_intent_type_specific_payment_method_options_client"]; @@ -16298,7 +18352,7 @@ export interface components { */ payment_method_collection: "always" | "if_required"; /** @description The list of payment method types that customers can use. When `null`, Stripe will dynamically show relevant payment methods you've enabled in your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). */ - payment_method_types?: ("affirm" | "afterpay_clearpay" | "alipay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip")[] | null; + payment_method_types?: ("affirm" | "afterpay_clearpay" | "alipay" | "alma" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip")[] | null; phone_number_collection: components["schemas"]["payment_links_resource_phone_number_collection"]; /** @description Settings that restrict the usage of a payment link. */ restrictions?: components["schemas"]["payment_links_resource_restrictions"] | null; @@ -16568,6 +18622,7 @@ export interface components { * @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; + alma?: components["schemas"]["payment_method_alma"]; amazon_pay?: components["schemas"]["payment_method_amazon_pay"]; au_becs_debit?: components["schemas"]["payment_method_au_becs_debit"]; bacs_debit?: components["schemas"]["payment_method_bacs_debit"]; @@ -16594,8 +18649,10 @@ export interface components { id: string; ideal?: components["schemas"]["payment_method_ideal"]; interac_present?: components["schemas"]["payment_method_interac_present"]; + kakao_pay?: components["schemas"]["payment_method_kakao_pay"]; klarna?: components["schemas"]["payment_method_klarna"]; konbini?: components["schemas"]["payment_method_konbini"]; + kr_card?: components["schemas"]["payment_method_kr_card"]; link?: components["schemas"]["payment_method_link"]; /** @description Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; @@ -16605,6 +18662,7 @@ export interface components { } | null; mobilepay?: components["schemas"]["payment_method_mobilepay"]; multibanco?: components["schemas"]["payment_method_multibanco"]; + naver_pay?: components["schemas"]["payment_method_naver_pay"]; /** * @description String representing the object's type. Objects of the same type share the same value. * @enum {string} @@ -16612,12 +18670,14 @@ export interface components { object: "payment_method"; oxxo?: components["schemas"]["payment_method_oxxo"]; p24?: components["schemas"]["payment_method_p24"]; + payco?: components["schemas"]["payment_method_payco"]; paynow?: components["schemas"]["payment_method_paynow"]; paypal?: components["schemas"]["payment_method_paypal"]; pix?: components["schemas"]["payment_method_pix"]; promptpay?: components["schemas"]["payment_method_promptpay"]; radar_options?: components["schemas"]["radar_radar_options"]; revolut_pay?: components["schemas"]["payment_method_revolut_pay"]; + samsung_pay?: components["schemas"]["payment_method_samsung_pay"]; sepa_debit?: components["schemas"]["payment_method_sepa_debit"]; sofort?: components["schemas"]["payment_method_sofort"]; swish?: components["schemas"]["payment_method_swish"]; @@ -16626,7 +18686,7 @@ export interface components { * @description The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. * @enum {string} */ - type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "card_present" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "interac_present" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "card_present" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "interac_present" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; us_bank_account?: components["schemas"]["payment_method_us_bank_account"]; wechat_pay?: components["schemas"]["payment_method_wechat_pay"]; zip?: components["schemas"]["payment_method_zip"]; @@ -16648,6 +18708,8 @@ export interface components { payment_method_affirm: Record; /** payment_method_afterpay_clearpay */ payment_method_afterpay_clearpay: Record; + /** payment_method_alma */ + payment_method_alma: Record; /** payment_method_amazon_pay */ payment_method_amazon_pay: Record; /** payment_method_au_becs_debit */ @@ -16880,6 +18942,7 @@ export interface components { affirm?: components["schemas"]["payment_method_config_resource_payment_method_properties"]; afterpay_clearpay?: components["schemas"]["payment_method_config_resource_payment_method_properties"]; alipay?: components["schemas"]["payment_method_config_resource_payment_method_properties"]; + alma?: components["schemas"]["payment_method_config_resource_payment_method_properties"]; amazon_pay?: components["schemas"]["payment_method_config_resource_payment_method_properties"]; apple_pay?: components["schemas"]["payment_method_config_resource_payment_method_properties"]; /** @description For child configs, the Connect application associated with the configuration. */ @@ -16944,6 +19007,7 @@ export interface components { affirm?: components["schemas"]["payment_method_details_affirm"]; afterpay_clearpay?: components["schemas"]["payment_method_details_afterpay_clearpay"]; alipay?: components["schemas"]["payment_flows_private_payment_methods_alipay_details"]; + alma?: components["schemas"]["payment_method_details_alma"]; amazon_pay?: components["schemas"]["payment_method_details_amazon_pay"]; au_becs_debit?: components["schemas"]["payment_method_details_au_becs_debit"]; bacs_debit?: components["schemas"]["payment_method_details_bacs_debit"]; @@ -16960,18 +19024,23 @@ export interface components { grabpay?: components["schemas"]["payment_method_details_grabpay"]; ideal?: components["schemas"]["payment_method_details_ideal"]; interac_present?: components["schemas"]["payment_method_details_interac_present"]; + kakao_pay?: components["schemas"]["payment_method_details_kakao_pay"]; klarna?: components["schemas"]["payment_method_details_klarna"]; konbini?: components["schemas"]["payment_method_details_konbini"]; + kr_card?: components["schemas"]["payment_method_details_kr_card"]; link?: components["schemas"]["payment_method_details_link"]; mobilepay?: components["schemas"]["payment_method_details_mobilepay"]; multibanco?: components["schemas"]["payment_method_details_multibanco"]; + naver_pay?: components["schemas"]["payment_method_details_naver_pay"]; oxxo?: components["schemas"]["payment_method_details_oxxo"]; p24?: components["schemas"]["payment_method_details_p24"]; + payco?: components["schemas"]["payment_method_details_payco"]; paynow?: components["schemas"]["payment_method_details_paynow"]; paypal?: components["schemas"]["payment_method_details_paypal"]; pix?: components["schemas"]["payment_method_details_pix"]; promptpay?: components["schemas"]["payment_method_details_promptpay"]; revolut_pay?: components["schemas"]["payment_method_details_revolut_pay"]; + samsung_pay?: components["schemas"]["payment_method_details_samsung_pay"]; sepa_debit?: components["schemas"]["payment_method_details_sepa_debit"]; sofort?: components["schemas"]["payment_method_details_sofort"]; stripe_account?: components["schemas"]["payment_method_details_stripe_account"]; @@ -17042,6 +19111,8 @@ export interface components { /** @description Order identifier shown to the merchant in Afterpay’s online portal. */ reference?: string | null; }; + /** payment_method_details_alma */ + payment_method_details_alma: Record; /** payment_method_details_amazon_pay */ payment_method_details_amazon_pay: Record; /** payment_method_details_au_becs_debit */ @@ -17464,6 +19535,11 @@ export interface components { /** @description An indication of various EMV functions performed during the transaction. */ transaction_status_information?: string | null; }; + /** payment_method_details_kakao_pay */ + payment_method_details_kakao_pay: { + /** @description A unique identifier for the buyer as determined by the local payment processor. */ + buyer_id?: string | null; + }; /** payment_method_details_klarna */ payment_method_details_klarna: { /** @description The payer details for this transaction. */ @@ -17488,6 +19564,18 @@ export interface components { */ chain?: "familymart" | "lawson" | "ministop" | "seicomart" | null; }; + /** payment_method_details_kr_card */ + payment_method_details_kr_card: { + /** + * @description The local credit or debit card brand. + * @enum {string|null} + */ + brand?: "bc" | "citi" | "hana" | "hyundai" | "jeju" | "jeonbuk" | "kakaobank" | "kbank" | "kdbbank" | "kookmin" | "kwangju" | "lotte" | "mg" | "nh" | "post" | "samsung" | "savingsbank" | "shinhan" | "shinhyup" | "suhyup" | "tossbank" | "woori" | null; + /** @description A unique identifier for the buyer as determined by the local payment processor. */ + buyer_id?: string | null; + /** @description The last four digits of the card. This may not be present for American Express cards. */ + last4?: string | null; + }; /** payment_method_details_link */ payment_method_details_link: { /** @description Two-letter ISO code representing the funding source country beneath the Link payment. @@ -17506,6 +19594,11 @@ export interface components { /** @description Reference number associated with this Multibanco payment. */ reference?: string | null; }; + /** payment_method_details_naver_pay */ + payment_method_details_naver_pay: { + /** @description A unique identifier for the buyer as determined by the local payment processor. */ + buyer_id?: string | null; + }; /** payment_method_details_oxxo */ payment_method_details_oxxo: { /** @description OXXO reference number */ @@ -17525,6 +19618,11 @@ export interface components { * Przelewy24 rarely provides this information so the attribute is usually empty. */ verified_name?: string | null; }; + /** payment_method_details_payco */ + payment_method_details_payco: { + /** @description A unique identifier for the buyer as determined by the local payment processor. */ + buyer_id?: string | null; + }; /** payment_method_details_paynow */ payment_method_details_paynow: { /** @description Reference number associated with this PayNow payment */ @@ -17557,6 +19655,11 @@ export interface components { }; /** payment_method_details_revolut_pay */ payment_method_details_revolut_pay: Record; + /** payment_method_details_samsung_pay */ + payment_method_details_samsung_pay: { + /** @description A unique identifier for the buyer as determined by the local payment processor. */ + buyer_id?: string | null; + }; /** payment_method_details_sepa_debit */ payment_method_details_sepa_debit: { /** @description Bank code of bank associated with the bank account. */ @@ -17655,6 +19758,7 @@ export interface components { * Related guide: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration). */ payment_method_domain: { + amazon_pay: components["schemas"]["payment_method_domain_resource_payment_method_status"]; apple_pay: components["schemas"]["payment_method_domain_resource_payment_method_status"]; /** * Format: unix-time @@ -17765,6 +19869,8 @@ export interface components { */ read_method?: "contact_emv" | "contactless_emv" | "contactless_magstripe_mode" | "magnetic_stripe_fallback" | "magnetic_stripe_track2" | null; }; + /** payment_method_kakao_pay */ + payment_method_kakao_pay: Record; /** payment_method_klarna */ payment_method_klarna: { /** @description The customer's date of birth, if provided. */ @@ -17772,6 +19878,16 @@ export interface components { }; /** payment_method_konbini */ payment_method_konbini: Record; + /** payment_method_kr_card */ + payment_method_kr_card: { + /** + * @description The local credit or debit card brand. + * @enum {string|null} + */ + brand?: "bc" | "citi" | "hana" | "hyundai" | "jeju" | "jeonbuk" | "kakaobank" | "kbank" | "kdbbank" | "kookmin" | "kwangju" | "lotte" | "mg" | "nh" | "post" | "samsung" | "savingsbank" | "shinhan" | "shinhyup" | "suhyup" | "tossbank" | "woori" | null; + /** @description The last four digits of the card. This may not be present for American Express cards. */ + last4?: string | null; + }; /** payment_method_link */ payment_method_link: { /** @description Account owner's email address. */ @@ -17781,6 +19897,14 @@ export interface components { payment_method_mobilepay: Record; /** payment_method_multibanco */ payment_method_multibanco: Record; + /** payment_method_naver_pay */ + payment_method_naver_pay: { + /** + * @description Whether to fund this transaction with Naver Pay points or a card. + * @enum {string} + */ + funding: "card" | "points"; + }; /** payment_method_options_affirm */ payment_method_options_affirm: { /** @@ -17838,6 +19962,14 @@ export interface components { */ setup_future_usage?: "none" | "off_session"; }; + /** payment_method_options_alma */ + payment_method_options_alma: { + /** + * @description Controls when the funds will be captured from the customer's account. + * @enum {string} + */ + capture_method?: "manual"; + }; /** payment_method_options_amazon_pay */ payment_method_options_amazon_pay: { /** @@ -18114,6 +20246,25 @@ export interface components { */ setup_future_usage?: "none"; }; + /** payment_method_options_kr_card */ + payment_method_options_kr_card: { + /** + * @description Controls when the funds will be captured from the customer's account. + * @enum {string} + */ + capture_method?: "manual"; + /** + * @description Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication). + * @enum {string} + */ + setup_future_usage?: "none" | "off_session"; + }; /** payment_method_options_multibanco */ payment_method_options_multibanco: { /** @@ -18332,6 +20483,8 @@ export interface components { */ bank?: "alior_bank" | "bank_millennium" | "bank_nowy_bfg_sa" | "bank_pekao_sa" | "banki_spbdzielcze" | "blik" | "bnp_paribas" | "boz" | "citi_handlowy" | "credit_agricole" | "envelobank" | "etransfer_pocztowy24" | "getin_bank" | "ideabank" | "ing" | "inteligo" | "mbank_mtransfer" | "nest_przelew" | "noble_pay" | "pbac_z_ipko" | "plus_bank" | "santander_przelew24" | "tmobile_usbugi_bankowe" | "toyota_bank" | "velobank" | "volkswagen_bank" | null; }; + /** payment_method_payco */ + payment_method_payco: Record; /** payment_method_paynow */ payment_method_paynow: Record; /** payment_method_paypal */ @@ -18348,6 +20501,8 @@ export interface components { payment_method_promptpay: Record; /** payment_method_revolut_pay */ payment_method_revolut_pay: Record; + /** payment_method_samsung_pay */ + payment_method_samsung_pay: Record; /** payment_method_sepa_debit */ payment_method_sepa_debit: { /** @description Bank code of bank associated with the bank account. */ @@ -18681,10 +20836,10 @@ export interface components { /** PaymentPagesCheckoutSessionTaxID */ payment_pages_checkout_session_tax_id: { /** - * @description The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, or `unknown` + * @description The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown` * @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "unknown" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "unknown" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; /** @description The value of the tax ID. */ value?: string | null; }; @@ -18852,7 +21007,7 @@ export interface components { /** @description A list of alternate names or aliases that the person is known by. */ full_name_aliases?: string[]; future_requirements?: components["schemas"]["person_future_requirements"] | null; - /** @description The person's gender (International regulations require either "male" or "female"). */ + /** @description The person's gender. */ gender?: string | null; /** @description Unique identifier for the object. */ id: string; @@ -19201,6 +21356,19 @@ export interface components { /** @description Whether the feature is enabled. */ enabled: boolean; }; + /** PortalResourceScheduleUpdateAtPeriodEnd */ + portal_resource_schedule_update_at_period_end: { + /** @description List of conditions. When any condition is true, an update will be scheduled at the end of the current period. */ + conditions: components["schemas"]["portal_resource_schedule_update_at_period_end_condition"][]; + }; + /** PortalResourceScheduleUpdateAtPeriodEndCondition */ + portal_resource_schedule_update_at_period_end_condition: { + /** + * @description The type of condition. + * @enum {string} + */ + type: "decreasing_item_amount" | "shortening_interval"; + }; /** PortalSubscriptionCancel */ portal_subscription_cancel: { cancellation_reason: components["schemas"]["portal_subscription_cancellation_reason"]; @@ -19237,6 +21405,7 @@ export interface components { * @enum {string} */ proration_behavior: "always_invoice" | "create_prorations" | "none"; + schedule_at_period_end?: components["schemas"]["portal_resource_schedule_update_at_period_end"]; }; /** PortalSubscriptionUpdateProduct */ portal_subscription_update_product: { @@ -19432,7 +21601,7 @@ export interface components { promotion_code: { /** @description Whether the promotion code is currently active. A promotion code is only active if the coupon is also valid. */ active: boolean; - /** @description The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer. */ + /** @description The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer. Valid characters are lower case letters (a-z), upper case letters (A-Z), and digits (0-9). */ code: string; coupon: components["schemas"]["coupon"]; /** @@ -19953,6 +22122,7 @@ export interface components { affirm?: components["schemas"]["destination_details_unimplemented"]; afterpay_clearpay?: components["schemas"]["destination_details_unimplemented"]; alipay?: components["schemas"]["destination_details_unimplemented"]; + alma?: components["schemas"]["destination_details_unimplemented"]; amazon_pay?: components["schemas"]["destination_details_unimplemented"]; au_bank_transfer?: components["schemas"]["destination_details_unimplemented"]; blik?: components["schemas"]["refund_destination_details_generic"]; @@ -20308,7 +22478,9 @@ export interface components { card_present?: components["schemas"]["setup_attempt_payment_method_details_card_present"]; cashapp?: components["schemas"]["setup_attempt_payment_method_details_cashapp"]; ideal?: components["schemas"]["setup_attempt_payment_method_details_ideal"]; + kakao_pay?: components["schemas"]["setup_attempt_payment_method_details_kakao_pay"]; klarna?: components["schemas"]["setup_attempt_payment_method_details_klarna"]; + kr_card?: components["schemas"]["setup_attempt_payment_method_details_kr_card"]; link?: components["schemas"]["setup_attempt_payment_method_details_link"]; paypal?: components["schemas"]["setup_attempt_payment_method_details_paypal"]; revolut_pay?: components["schemas"]["setup_attempt_payment_method_details_revolut_pay"]; @@ -20429,8 +22601,12 @@ export interface components { * (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ verified_name?: string | null; }; + /** setup_attempt_payment_method_details_kakao_pay */ + setup_attempt_payment_method_details_kakao_pay: Record; /** setup_attempt_payment_method_details_klarna */ setup_attempt_payment_method_details_klarna: Record; + /** setup_attempt_payment_method_details_kr_card */ + setup_attempt_payment_method_details_kr_card: Record; /** setup_attempt_payment_method_details_link */ setup_attempt_payment_method_details_link: Record; /** setup_attempt_payment_method_details_paypal */ @@ -21852,7 +24028,7 @@ export interface components { /** @description Payment-method-specific configuration to provide to invoices created by the subscription. */ payment_method_options?: components["schemas"]["subscriptions_resource_payment_method_options"] | null; /** @description The list of payment method types to provide to every invoice created by the subscription. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice). */ - payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "konbini" | "link" | "multibanco" | "p24" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | null; + payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "jp_credit_transfer" | "kakao_pay" | "konbini" | "kr_card" | "link" | "multibanco" | "naver_pay" | "p24" | "payco" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_credit_transfer" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | null; /** * @description Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off`. * @enum {string|null} @@ -22061,7 +24237,7 @@ export interface components { */ object: "tax.settings"; /** - * @description The `active` status indicates you have all required settings to calculate tax. A status can transition out of `active` when new required settings are introduced. + * @description The status of the Tax `Settings`. * @enum {string} */ status: "active" | "pending"; @@ -22260,10 +24436,10 @@ export interface components { /** @description The account or customer the tax ID belongs to. */ owner?: components["schemas"]["tax_i_ds_owner"] | null; /** - * @description Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown` + * @description Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown` * @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "unknown" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "unknown" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; /** @description Value of the tax ID. */ value: string; /** @description Tax ID verification information. */ @@ -22289,14 +24465,17 @@ export interface components { be?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; bg?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; bh?: components["schemas"]["tax_product_registrations_resource_country_options_default"]; + by?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; ca?: components["schemas"]["tax_product_registrations_resource_country_options_canada"]; ch?: components["schemas"]["tax_product_registrations_resource_country_options_default"]; cl?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; co?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; + cr?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; cy?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; cz?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; de?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; dk?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; + ec?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; ee?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; eg?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; es?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; @@ -22318,6 +24497,8 @@ export interface components { lt?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; lu?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; lv?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; + ma?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; + md?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; mt?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; mx?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; my?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; @@ -22329,6 +24510,8 @@ export interface components { pl?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; pt?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; ro?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; + rs?: components["schemas"]["tax_product_registrations_resource_country_options_default"]; + ru?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; sa?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; se?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; sg?: components["schemas"]["tax_product_registrations_resource_country_options_default"]; @@ -22336,7 +24519,9 @@ export interface components { sk?: components["schemas"]["tax_product_registrations_resource_country_options_europe"]; th?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; tr?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; + tz?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; us?: components["schemas"]["tax_product_registrations_resource_country_options_united_states"]; + uz?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; vn?: components["schemas"]["tax_product_registrations_resource_country_options_simplified"]; za?: components["schemas"]["tax_product_registrations_resource_country_options_default"]; }; @@ -22398,7 +24583,7 @@ export interface components { * @description Type of registration in the US. * @enum {string} */ - type: "local_amusement_tax" | "local_lease_tax" | "state_communications_tax" | "state_sales_tax"; + type: "local_amusement_tax" | "local_lease_tax" | "state_communications_tax" | "state_retail_delivery_fee" | "state_sales_tax"; }; /** TaxProductRegistrationsResourceCountryOptionsUsLocalAmusementTax */ tax_product_registrations_resource_country_options_us_local_amusement_tax: { @@ -22447,10 +24632,10 @@ export interface components { /** TaxProductResourceCustomerDetailsResourceTaxId */ tax_product_resource_customer_details_resource_tax_id: { /** - * @description The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, or `unknown` + * @description The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, or `unknown` * @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "unknown" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "unknown" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; /** @description The value of the tax ID. */ value: string; }; @@ -22498,7 +24683,7 @@ export interface components { * @description The tax type, such as `vat` or `sales_tax`. * @enum {string} */ - tax_type: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "rst" | "sales_tax" | "vat"; + tax_type: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "vat"; }; /** TaxProductResourcePostalAddress */ tax_product_resource_postal_address: { @@ -22556,15 +24741,22 @@ export interface components { tax_product_resource_tax_rate_details: { /** @description Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). */ country?: string | null; + /** @description The amount of the tax rate when the `rate_type` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate. */ + flat_amount?: components["schemas"]["tax_rate_flat_amount"] | null; /** @description The tax rate percentage as a string. For example, 8.5% is represented as `"8.5"`. */ percentage_decimal: string; + /** + * @description Indicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location. + * @enum {string|null} + */ + rate_type?: "flat_amount" | "percentage" | null; /** @description State, county, province, or region. */ state?: string | null; /** * @description The tax type, such as `vat` or `sales_tax`. * @enum {string|null} */ - tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "rst" | "sales_tax" | "vat" | null; + tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "vat" | null; }; /** TaxProductResourceTaxSettingsDefaults */ tax_product_resource_tax_settings_defaults: { @@ -22642,6 +24834,8 @@ export interface components { * this percentage reflects the rate actually used to calculate tax based on the product's taxability * and whether the user is registered to collect taxes in the corresponding jurisdiction. */ effective_percentage?: number | null; + /** @description The amount of the tax rate when the `rate_type` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate. */ + flat_amount?: components["schemas"]["tax_rate_flat_amount"] | null; /** @description Unique identifier for the object. */ id: string; /** @description This specifies if the tax rate is inclusive or exclusive. */ @@ -22666,13 +24860,28 @@ export interface components { object: "tax_rate"; /** @description Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions. */ percentage: number; + /** + * @description Indicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location. + * @enum {string|null} + */ + rate_type?: "flat_amount" | "percentage" | null; /** @description [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, "NY" for New York, United States. */ state?: string | null; /** * @description The high-level tax type, such as `vat` or `sales_tax`. * @enum {string|null} */ - tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "rst" | "sales_tax" | "vat" | null; + tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "vat" | null; + }; + /** + * TaxRateFlatAmount + * @description The amount of the tax rate when the `rate_type`` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate. + */ + tax_rate_flat_amount: { + /** @description Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). */ + amount: number; + /** @description Three-letter ISO currency code, in lowercase. */ + currency: string; }; /** * TerminalConfigurationConfiguration @@ -22824,6 +25033,7 @@ export interface components { myr?: components["schemas"]["terminal_configuration_configuration_resource_currency_specific_config"]; nok?: components["schemas"]["terminal_configuration_configuration_resource_currency_specific_config"]; nzd?: components["schemas"]["terminal_configuration_configuration_resource_currency_specific_config"]; + pln?: components["schemas"]["terminal_configuration_configuration_resource_currency_specific_config"]; sek?: components["schemas"]["terminal_configuration_configuration_resource_currency_specific_config"]; sgd?: components["schemas"]["terminal_configuration_configuration_resource_currency_specific_config"]; usd?: components["schemas"]["terminal_configuration_configuration_resource_currency_specific_config"]; @@ -23095,16 +25305,20 @@ export interface components { /** @description Whether 3D Secure is supported on this card. */ supported: boolean; }; - /** ThresholdsResourceAlertFilter */ - thresholds_resource_alert_filter: { + /** ThresholdsResourceUsageAlertFilter */ + thresholds_resource_usage_alert_filter: { /** @description Limit the scope of the alert to this customer ID */ customer?: (string | components["schemas"]["customer"]) | null; + /** @enum {string} */ + type: "customer"; }; /** * ThresholdsResourceUsageThresholdConfig * @description The usage threshold alert configuration enables setting up alerts for when a certain usage threshold on a specific meter is crossed. */ thresholds_resource_usage_threshold_config: { + /** @description The filters allow limiting the scope of this usage alert. You can only specify up to one filter at this time. */ + filters?: components["schemas"]["thresholds_resource_usage_alert_filter"][] | null; /** @description The value at which this alert will trigger. */ gte: number; /** @description The [Billing Meter](/api/billing/meter) ID whose usage is monitored. */ @@ -23513,7 +25727,7 @@ export interface components { /** @description The array of paths to restricted Features in the Features hash. */ restricted_features?: ("card_issuing" | "deposit_insurance" | "financial_addresses.aba" | "financial_addresses.aba.forwarding" | "inbound_transfers.ach" | "intra_stripe_flows" | "outbound_payments.ach" | "outbound_payments.us_domestic_wire" | "outbound_transfers.ach" | "outbound_transfers.us_domestic_wire" | "remote_deposit_capture")[]; /** - * @description The enum specifying what state the account is in. + * @description Status of this FinancialAccount. * @enum {string} */ status: "closed" | "open"; @@ -23746,7 +25960,7 @@ export interface components { * @description Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen. * @enum {string|null} */ - failure_code?: "account_closed" | "account_frozen" | "other" | null; + failure_code?: "account_closed" | "account_frozen" | "international_transaction" | "other" | null; /** @description The FinancialAccount that received the funds. */ financial_account?: string | null; /** @description A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. */ @@ -24455,7 +26669,10 @@ export interface components { */ timestamp: number; }; - /** UsageRecordSummary */ + /** + * UsageRecordSummary + * @description A usage record summary represents an aggregated view of how much usage was accrued for a subscription item within a subscription billing period. + */ usage_record_summary: { /** @description Unique identifier for the object. */ id: string; @@ -24655,6 +26872,7 @@ export interface operations { enabled: boolean; /** account_features_param */ features?: { + disable_stripe_user_authentication?: boolean; external_account_collection?: boolean; }; }; @@ -24663,6 +26881,7 @@ export interface operations { enabled: boolean; /** account_features_param */ features?: { + disable_stripe_user_authentication?: boolean; external_account_collection?: boolean; }; }; @@ -24671,6 +26890,7 @@ export interface operations { enabled: boolean; /** payouts_features_param */ features?: { + disable_stripe_user_authentication?: boolean; edit_payout_schedule?: boolean; external_account_collection?: boolean; instant_payouts?: boolean; @@ -24688,6 +26908,7 @@ export interface operations { enabled: boolean; /** account_features_param */ features?: { + disable_stripe_user_authentication?: boolean; external_account_collection?: boolean; }; }; @@ -24718,6 +26939,7 @@ export interface operations { enabled: boolean; /** payouts_features_param */ features?: { + disable_stripe_user_authentication?: boolean; edit_payout_schedule?: boolean; external_account_collection?: boolean; instant_payouts?: boolean; @@ -24926,6 +27148,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + alma_payments?: { + requested?: boolean; + }; + /** capability_param */ amazon_pay_payments?: { requested?: boolean; }; @@ -25006,6 +27232,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + kakao_pay_payments?: { + requested?: boolean; + }; + /** capability_param */ klarna_payments?: { requested?: boolean; }; @@ -25014,6 +27244,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + kr_card_payments?: { + requested?: boolean; + }; + /** capability_param */ legacy_payments?: { requested?: boolean; }; @@ -25034,6 +27268,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + naver_pay_payments?: { + requested?: boolean; + }; + /** capability_param */ oxxo_payments?: { requested?: boolean; }; @@ -25042,6 +27280,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + payco_payments?: { + requested?: boolean; + }; + /** capability_param */ paynow_payments?: { requested?: boolean; }; @@ -25054,6 +27296,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + samsung_pay_payments?: { + requested?: boolean; + }; + /** capability_param */ sepa_bank_transfer_payments?: { requested?: boolean; }; @@ -25234,6 +27480,13 @@ export interface operations { expand?: string[]; /** @description A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation.

By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. */ external_account?: string; + /** + * account_groups_specs + * @description A hash of account group type to tokens. These are account groups this account should be added to + */ + groups?: { + payments_pricing?: string | ""; + }; /** * individual_specs * @description Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. @@ -25551,6 +27804,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + alma_payments?: { + requested?: boolean; + }; + /** capability_param */ amazon_pay_payments?: { requested?: boolean; }; @@ -25631,6 +27888,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + kakao_pay_payments?: { + requested?: boolean; + }; + /** capability_param */ klarna_payments?: { requested?: boolean; }; @@ -25639,6 +27900,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + kr_card_payments?: { + requested?: boolean; + }; + /** capability_param */ legacy_payments?: { requested?: boolean; }; @@ -25659,6 +27924,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + naver_pay_payments?: { + requested?: boolean; + }; + /** capability_param */ oxxo_payments?: { requested?: boolean; }; @@ -25667,6 +27936,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + payco_payments?: { + requested?: boolean; + }; + /** capability_param */ paynow_payments?: { requested?: boolean; }; @@ -25679,6 +27952,10 @@ export interface operations { requested?: boolean; }; /** capability_param */ + samsung_pay_payments?: { + requested?: boolean; + }; + /** capability_param */ sepa_bank_transfer_payments?: { requested?: boolean; }; @@ -25834,6 +28111,13 @@ export interface operations { expand?: string[]; /** @description A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation.

By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. */ external_account?: string; + /** + * account_groups_specs + * @description A hash of account group type to tokens. These are account groups this account should be added to + */ + groups?: { + payments_pricing?: string | ""; + }; /** * individual_specs * @description Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. @@ -28381,7 +30665,457 @@ export interface operations { }; }; }; - PostAppsSecrets: { + PostAppsSecrets: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/x-www-form-urlencoded": { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + /** + * Format: unix-time + * @description The Unix timestamp for the expiry time of the secret, after which the secret deletes. + */ + expires_at?: number; + /** @description A name for the secret that's unique within the scope. */ + name: string; + /** @description The plaintext secret value to be stored. */ + payload: string; + /** + * scope_param + * @description Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. + */ + scope: { + /** @enum {string} */ + type: "account" | "user"; + user?: string; + }; + }; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["apps.secret"]; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; + PostAppsSecretsDelete: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/x-www-form-urlencoded": { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + /** @description A name for the secret that's unique within the scope. */ + name: string; + /** + * scope_param + * @description Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. + */ + scope: { + /** @enum {string} */ + type: "account" | "user"; + user?: string; + }; + }; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["apps.secret"]; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; + GetAppsSecretsFind: { + parameters: { + query: { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + /** @description A name for the secret that's unique within the scope. */ + name: string; + /** @description Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. */ + scope: { + /** @enum {string} */ + type: "account" | "user"; + user?: string; + }; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + "application/x-www-form-urlencoded": Record; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["apps.secret"]; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; + GetBalance: { + parameters: { + query?: { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + "application/x-www-form-urlencoded": Record; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["balance"]; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; + GetBalanceHistory: { + parameters: { + query?: { + /** @description Only return transactions that were created during the given date interval. */ + created?: { + gt?: number; + gte?: number; + lt?: number; + lte?: number; + } | number; + /** @description Only return transactions in a certain currency. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ + currency?: string; + /** @description A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. */ + ending_before?: string; + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ + limit?: number; + /** @description For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID. */ + payout?: string; + /** @description Only returns the original transaction. */ + source?: string; + /** @description A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. */ + starting_after?: string; + /** @description Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. */ + type?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + "application/x-www-form-urlencoded": Record; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + data: components["schemas"]["balance_transaction"][]; + /** @description True if this list has another page of items after this one that can be fetched. */ + has_more: boolean; + /** + * @description String representing the object's type. Objects of the same type share the same value. Always has the value `list`. + * @enum {string} + */ + object: "list"; + /** @description The URL where this list can be accessed. */ + url: string; + }; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; + GetBalanceHistoryId: { + parameters: { + query?: { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + }; + header?: never; + path: { + id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/x-www-form-urlencoded": Record; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["balance_transaction"]; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; + GetBalanceTransactions: { + parameters: { + query?: { + /** @description Only return transactions that were created during the given date interval. */ + created?: { + gt?: number; + gte?: number; + lt?: number; + lte?: number; + } | number; + /** @description Only return transactions in a certain currency. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ + currency?: string; + /** @description A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. */ + ending_before?: string; + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ + limit?: number; + /** @description For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID. */ + payout?: string; + /** @description Only returns the original transaction. */ + source?: string; + /** @description A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. */ + starting_after?: string; + /** @description Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. */ + type?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + "application/x-www-form-urlencoded": Record; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + data: components["schemas"]["balance_transaction"][]; + /** @description True if this list has another page of items after this one that can be fetched. */ + has_more: boolean; + /** + * @description String representing the object's type. Objects of the same type share the same value. Always has the value `list`. + * @enum {string} + */ + object: "list"; + /** @description The URL where this list can be accessed. */ + url: string; + }; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; + GetBalanceTransactionsId: { + parameters: { + query?: { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + }; + header?: never; + path: { + id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/x-www-form-urlencoded": Record; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["balance_transaction"]; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; + GetBillingAlerts: { + parameters: { + query?: { + /** @description Filter results to only include this type of alert. */ + alert_type?: "usage_threshold"; + /** @description A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. */ + ending_before?: string; + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ + limit?: number; + /** @description Filter results to only include alerts with the given meter. */ + meter?: string; + /** @description A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. */ + starting_after?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + "application/x-www-form-urlencoded": Record; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + data: components["schemas"]["billing.alert"][]; + /** @description True if this list has another page of items after this one that can be fetched. */ + has_more: boolean; + /** + * @description String representing the object's type. Objects of the same type share the same value. Always has the value `list`. + * @enum {string} + */ + object: "list"; + /** @description The URL where this list can be accessed. */ + url: string; + }; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; + PostBillingAlerts: { parameters: { query?: never; header?: never; @@ -28391,25 +31125,29 @@ export interface operations { requestBody: { content: { "application/x-www-form-urlencoded": { - /** @description Specifies which fields in the response should be expanded. */ - expand?: string[]; /** - * Format: unix-time - * @description The Unix timestamp for the expiry time of the secret, after which the secret deletes. + * @description The type of alert to create. + * @enum {string} */ - expires_at?: number; - /** @description A name for the secret that's unique within the scope. */ - name: string; - /** @description The plaintext secret value to be stored. */ - payload: string; + alert_type: "usage_threshold"; + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + /** @description The title of the alert. */ + title: string; /** - * scope_param - * @description Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. + * usage_threshold_config + * @description The configuration of the usage threshold. */ - scope: { + usage_threshold?: { + filters?: { + customer?: string; + /** @enum {string} */ + type: "customer"; + }[]; + gte: number; + meter?: string; /** @enum {string} */ - type: "account" | "user"; - user?: string; + recurrence: "one_time"; }; }; }; @@ -28421,7 +31159,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["apps.secret"]; + "application/json": components["schemas"]["billing.alert"]; }; }; /** @description Error response. */ @@ -28435,30 +31173,21 @@ export interface operations { }; }; }; - PostAppsSecretsDelete: { + GetBillingAlertsId: { parameters: { - query?: never; + query?: { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + }; header?: never; - path?: never; + path: { + id: string; + }; cookie?: never; }; - requestBody: { + requestBody?: { content: { - "application/x-www-form-urlencoded": { - /** @description Specifies which fields in the response should be expanded. */ - expand?: string[]; - /** @description A name for the secret that's unique within the scope. */ - name: string; - /** - * scope_param - * @description Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. - */ - scope: { - /** @enum {string} */ - type: "account" | "user"; - user?: string; - }; - }; + "application/x-www-form-urlencoded": Record; }; }; responses: { @@ -28468,7 +31197,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["apps.secret"]; + "application/json": components["schemas"]["billing.alert"]; }; }; /** @description Error response. */ @@ -28482,27 +31211,21 @@ export interface operations { }; }; }; - GetAppsSecretsFind: { + PostBillingAlertsIdActivate: { parameters: { - query: { - /** @description Specifies which fields in the response should be expanded. */ - expand?: string[]; - /** @description A name for the secret that's unique within the scope. */ - name: string; - /** @description Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. */ - scope: { - /** @enum {string} */ - type: "account" | "user"; - user?: string; - }; - }; + query?: never; header?: never; - path?: never; + path: { + id: string; + }; cookie?: never; }; requestBody?: { content: { - "application/x-www-form-urlencoded": Record; + "application/x-www-form-urlencoded": { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + }; }; }; responses: { @@ -28512,7 +31235,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["apps.secret"]; + "application/json": components["schemas"]["billing.alert"]; }; }; /** @description Error response. */ @@ -28526,19 +31249,21 @@ export interface operations { }; }; }; - GetBalance: { + PostBillingAlertsIdArchive: { parameters: { - query?: { - /** @description Specifies which fields in the response should be expanded. */ - expand?: string[]; - }; + query?: never; header?: never; - path?: never; + path: { + id: string; + }; cookie?: never; }; requestBody?: { content: { - "application/x-www-form-urlencoded": Record; + "application/x-www-form-urlencoded": { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + }; }; }; responses: { @@ -28548,7 +31273,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["balance"]; + "application/json": components["schemas"]["billing.alert"]; }; }; /** @description Error response. */ @@ -28562,40 +31287,21 @@ export interface operations { }; }; }; - GetBalanceHistory: { + PostBillingAlertsIdDeactivate: { parameters: { - query?: { - /** @description Only return transactions that were created during the given date interval. */ - created?: { - gt?: number; - gte?: number; - lt?: number; - lte?: number; - } | number; - /** @description Only return transactions in a certain currency. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - currency?: string; - /** @description A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. */ - ending_before?: string; - /** @description Specifies which fields in the response should be expanded. */ - expand?: string[]; - /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ - limit?: number; - /** @description For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID. */ - payout?: string; - /** @description Only returns the original transaction. */ - source?: string; - /** @description A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. */ - starting_after?: string; - /** @description Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. */ - type?: string; - }; + query?: never; header?: never; - path?: never; + path: { + id: string; + }; cookie?: never; }; requestBody?: { content: { - "application/x-www-form-urlencoded": Record; + "application/x-www-form-urlencoded": { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + }; }; }; responses: { @@ -28605,18 +31311,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": { - data: components["schemas"]["balance_transaction"][]; - /** @description True if this list has another page of items after this one that can be fetched. */ - has_more: boolean; - /** - * @description String representing the object's type. Objects of the same type share the same value. Always has the value `list`. - * @enum {string} - */ - object: "list"; - /** @description The URL where this list can be accessed. */ - url: string; - }; + "application/json": components["schemas"]["billing.alert"]; }; }; /** @description Error response. */ @@ -28630,16 +31325,27 @@ export interface operations { }; }; }; - GetBalanceHistoryId: { + GetBillingCreditBalanceSummary: { parameters: { - query?: { + query: { + /** @description The customer for which to fetch credit balance summary. */ + customer: string; /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; + /** @description The filter criteria for the credit balance summary. */ + filter: { + /** scope_param */ + applicability_scope?: { + /** @enum {string} */ + price_type: "metered"; + }; + credit_grant?: string; + /** @enum {string} */ + type: "applicability_scope" | "credit_grant"; + }; }; header?: never; - path: { - id: string; - }; + path?: never; cookie?: never; }; requestBody?: { @@ -28654,7 +31360,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["balance_transaction"]; + "application/json": components["schemas"]["billing.credit_balance_summary"]; }; }; /** @description Error response. */ @@ -28668,32 +31374,21 @@ export interface operations { }; }; }; - GetBalanceTransactions: { + GetBillingCreditBalanceTransactions: { parameters: { - query?: { - /** @description Only return transactions that were created during the given date interval. */ - created?: { - gt?: number; - gte?: number; - lt?: number; - lte?: number; - } | number; - /** @description Only return transactions in a certain currency. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ - currency?: string; + query: { + /** @description The credit grant for which to fetch credit balance transactions. */ + credit_grant?: string; + /** @description The customer for which to fetch credit balance transactions. */ + customer: string; /** @description A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. */ ending_before?: string; /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ limit?: number; - /** @description For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID. */ - payout?: string; - /** @description Only returns the original transaction. */ - source?: string; /** @description A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. */ starting_after?: string; - /** @description Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. */ - type?: string; }; header?: never; path?: never; @@ -28712,7 +31407,7 @@ export interface operations { }; content: { "application/json": { - data: components["schemas"]["balance_transaction"][]; + data: components["schemas"]["billing.credit_balance_transaction"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -28736,7 +31431,7 @@ export interface operations { }; }; }; - GetBalanceTransactionsId: { + GetBillingCreditBalanceTransactionsId: { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ @@ -28744,6 +31439,7 @@ export interface operations { }; header?: never; path: { + /** @description Unique identifier for the object. */ id: string; }; cookie?: never; @@ -28760,7 +31456,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["balance_transaction"]; + "application/json": components["schemas"]["billing.credit_balance_transaction"]; }; }; /** @description Error response. */ @@ -28774,19 +31470,17 @@ export interface operations { }; }; }; - GetBillingAlerts: { + GetBillingCreditGrants: { parameters: { query?: { - /** @description Filter results to only include this type of alert. */ - alert_type?: "usage_threshold"; + /** @description Only return credit grants for this customer. */ + customer?: string; /** @description A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. */ ending_before?: string; /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ limit?: number; - /** @description Filter results to only include alerts with the given meter. */ - meter?: string; /** @description A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. */ starting_after?: string; }; @@ -28807,7 +31501,7 @@ export interface operations { }; content: { "application/json": { - data: components["schemas"]["billing.alert"][]; + data: components["schemas"]["billing.credit_grant"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -28831,7 +31525,7 @@ export interface operations { }; }; }; - PostBillingAlerts: { + PostBillingCreditGrants: { parameters: { query?: never; header?: never; @@ -28842,33 +31536,54 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** - * @description The type of alert to create. - * @enum {string} + * amount_param + * @description Amount of this credit grant. */ - alert_type: "usage_threshold"; - /** @description Specifies which fields in the response should be expanded. */ - expand?: string[]; + amount: { + /** monetary_amount_param */ + monetary?: { + currency: string; + value: number; + }; + /** @enum {string} */ + type: "monetary"; + }; /** - * alert_filter - * @description Filters to limit the scope of an alert. + * applicability_config_param + * @description Configuration specifying what this credit grant applies to. */ - filter?: { - customer?: string; - subscription?: string; - subscription_item?: string; + applicability_config: { + /** scope_param */ + scope: { + /** @enum {string} */ + price_type: "metered"; + }; }; - /** @description The title of the alert. */ - title: string; /** - * usage_threshold_config - * @description The configuration of the usage threshold. + * @description The category of this credit grant. + * @enum {string} */ - usage_threshold_config?: { - gte: number; - meter?: string; - /** @enum {string} */ - recurrence: "one_time"; + category: "paid" | "promotional"; + /** @description ID of the customer to whom the billing credits should be granted. */ + customer: string; + /** + * Format: unix-time + * @description The time when the billing credits become effective i.e when they are eligible to be used. Defaults to the current timestamp if not specified. + */ + effective_at?: number; + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + /** + * Format: unix-time + * @description The time when the billing credits will expire. If not specified, the billing credits will never expire. + */ + expires_at?: number; + /** @description Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object (ex: cost basis) in a structured format. */ + metadata?: { + [key: string]: string; }; + /** @description A descriptive name shown in dashboard. */ + name?: string; }; }; }; @@ -28879,7 +31594,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["billing.alert"]; + "application/json": components["schemas"]["billing.credit_grant"]; }; }; /** @description Error response. */ @@ -28893,7 +31608,7 @@ export interface operations { }; }; }; - GetBillingAlertsId: { + GetBillingCreditGrantsId: { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ @@ -28901,6 +31616,7 @@ export interface operations { }; header?: never; path: { + /** @description Unique identifier for the object. */ id: string; }; cookie?: never; @@ -28917,7 +31633,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["billing.alert"]; + "application/json": components["schemas"]["billing.credit_grant"]; }; }; /** @description Error response. */ @@ -28931,11 +31647,12 @@ export interface operations { }; }; }; - PostBillingAlertsIdActivate: { + PostBillingCreditGrantsId: { parameters: { query?: never; header?: never; path: { + /** @description Unique identifier for the object. */ id: string; }; cookie?: never; @@ -28945,6 +31662,12 @@ export interface operations { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; + /** @description The time when the billing credits created by this credit grant will expire. If set to empty, the billing credits will never expire. */ + expires_at?: number | ""; + /** @description Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object (ex: cost basis) in a structured format. */ + metadata?: { + [key: string]: string; + }; }; }; }; @@ -28955,7 +31678,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["billing.alert"]; + "application/json": components["schemas"]["billing.credit_grant"]; }; }; /** @description Error response. */ @@ -28969,11 +31692,12 @@ export interface operations { }; }; }; - PostBillingAlertsIdArchive: { + PostBillingCreditGrantsIdExpire: { parameters: { query?: never; header?: never; path: { + /** @description Unique identifier for the object. */ id: string; }; cookie?: never; @@ -28993,7 +31717,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["billing.alert"]; + "application/json": components["schemas"]["billing.credit_grant"]; }; }; /** @description Error response. */ @@ -29007,11 +31731,12 @@ export interface operations { }; }; }; - PostBillingAlertsIdDeactivate: { + PostBillingCreditGrantsIdVoid: { parameters: { query?: never; header?: never; path: { + /** @description Unique identifier for the object. */ id: string; }; cookie?: never; @@ -29031,7 +31756,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["billing.alert"]; + "application/json": components["schemas"]["billing.credit_grant"]; }; }; /** @description Error response. */ @@ -29561,7 +32286,7 @@ export interface operations { * business_profile_create_param * @description The business information shown to customers in the portal. */ - business_profile: { + business_profile?: { headline?: string | ""; privacy_policy_url?: string; terms_of_service_url?: string; @@ -29603,14 +32328,21 @@ export interface operations { }; /** subscription_update_creation_param */ subscription_update?: { - default_allowed_updates: ("price" | "promotion_code" | "quantity")[] | ""; + default_allowed_updates?: ("price" | "promotion_code" | "quantity")[] | ""; enabled: boolean; - products: { + products?: { prices: string[]; product: string; }[] | ""; /** @enum {string} */ proration_behavior?: "always_invoice" | "create_prorations" | "none"; + /** schedule_update_at_period_end_creating_param */ + schedule_at_period_end?: { + conditions?: { + /** @enum {string} */ + type: "decreasing_item_amount" | "shortening_interval"; + }[]; + }; }; }; /** @@ -29754,6 +32486,13 @@ export interface operations { }[] | ""; /** @enum {string} */ proration_behavior?: "always_invoice" | "create_prorations" | "none"; + /** schedule_update_at_period_end_updating_param */ + schedule_at_period_end?: { + conditions?: { + /** @enum {string} */ + type: "decreasing_item_amount" | "shortening_interval"; + }[] | ""; + }; }; }; /** @@ -31351,7 +34090,7 @@ export interface operations { * If multiple payment methods are passed, Checkout will dynamically reorder them to * prioritize the most relevant payment methods based on the customer's location and * other characteristics. */ - payment_method_types?: ("acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip")[]; + payment_method_types?: ("acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip")[]; /** * phone_number_collection_params * @description Controls phone number collection settings for the session. @@ -33239,7 +35978,7 @@ export interface operations { promotion_code?: string; /** @description The customer's shipping information. Appears on invoices emailed to this customer. */ shipping?: { - /** optional_fields_address */ + /** optional_fields_customer_address */ address: { city?: string; country?: string; @@ -33253,7 +35992,7 @@ export interface operations { } | ""; source?: string; /** - * tax_param + * shared_tax_create_param * @description Tax details about the customer. */ tax?: { @@ -33269,7 +36008,7 @@ export interface operations { /** @description The customer's tax IDs. */ tax_id_data?: { /** @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; value: string; }[]; /** @description ID of the test clock to attach to the customer. */ @@ -33509,7 +36248,7 @@ export interface operations { promotion_code?: string; /** @description The customer's shipping information. Appears on invoices emailed to this customer. */ shipping?: { - /** optional_fields_address */ + /** optional_fields_customer_address */ address: { city?: string; country?: string; @@ -33523,13 +36262,13 @@ export interface operations { } | ""; source?: string; /** - * tax_param + * shared_tax_update_param * @description Tax details about the customer. */ tax?: { ip_address?: string | ""; /** @enum {string} */ - validate_location?: "deferred" | "immediately"; + validate_location?: "auto" | "deferred" | "immediately"; }; /** * @description The customer's tax exemption. One of `none`, `exempt`, or `reverse`. @@ -34735,7 +37474,7 @@ export interface operations { /** @description A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. */ starting_after?: string; /** @description An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request. */ - type?: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type?: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; }; header?: never; path: { @@ -35434,7 +38173,7 @@ export interface operations { verification_method?: "automatic" | "instant" | "microdeposits"; } | ""; }; - payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "konbini" | "link" | "multibanco" | "p24" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; + payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "jp_credit_transfer" | "kakao_pay" | "konbini" | "kr_card" | "link" | "multibanco" | "naver_pay" | "p24" | "payco" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_credit_transfer" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; /** @enum {string} */ save_default_payment_method?: "off" | "on_subscription"; }; @@ -35767,7 +38506,7 @@ export interface operations { verification_method?: "automatic" | "instant" | "microdeposits"; } | ""; }; - payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "konbini" | "link" | "multibanco" | "p24" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; + payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "jp_credit_transfer" | "kakao_pay" | "konbini" | "kr_card" | "link" | "multibanco" | "naver_pay" | "p24" | "payco" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_credit_transfer" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; /** @enum {string} */ save_default_payment_method?: "off" | "on_subscription"; }; @@ -36022,10 +38761,10 @@ export interface operations { /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; /** - * @description Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat` + * @description Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat` * @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; /** @description Value of the tax ID. */ value: string; }; @@ -37845,6 +40584,10 @@ export interface operations { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; + /** @description Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ + metadata?: { + [key: string]: string; + }; /** @description The PaymentMethod to insert into the forwarded request. Forwarding previously consumed PaymentMethods is allowed. */ payment_method: string; /** @description The field kinds to be replaced in the forwarded request. */ @@ -39092,7 +41835,7 @@ export interface operations { verification_method?: "automatic" | "instant" | "microdeposits"; } | ""; }; - payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "konbini" | "link" | "multibanco" | "p24" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; + payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "jp_credit_transfer" | "kakao_pay" | "konbini" | "kr_card" | "link" | "multibanco" | "naver_pay" | "p24" | "payco" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_credit_transfer" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; }; /** * @description How to handle pending invoice items on invoice creation. Defaults to `exclude` if the parameter is omitted. @@ -39256,7 +41999,7 @@ export interface operations { state?: string; } | ""; shipping?: { - /** optional_fields_address */ + /** optional_fields_customer_address */ address: { city?: string; country?: string; @@ -39276,7 +42019,7 @@ export interface operations { tax_exempt?: "" | "exempt" | "none" | "reverse"; tax_ids?: { /** @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; value: string; }[]; }; @@ -39632,7 +42375,7 @@ export interface operations { state?: string; } | ""; shipping?: { - /** optional_fields_address */ + /** optional_fields_customer_address */ address: { city?: string; country?: string; @@ -39652,7 +42395,7 @@ export interface operations { tax_exempt?: "" | "exempt" | "none" | "reverse"; tax_ids?: { /** @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; value: string; }[]; }; @@ -40005,7 +42748,7 @@ export interface operations { state?: string; } | ""; shipping?: { - /** optional_fields_address */ + /** optional_fields_customer_address */ address: { city?: string; country?: string; @@ -40025,7 +42768,7 @@ export interface operations { tax_exempt?: "" | "exempt" | "none" | "reverse"; tax_ids?: { /** @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; value: string; }[]; }; @@ -40552,7 +43295,7 @@ export interface operations { verification_method?: "automatic" | "instant" | "microdeposits"; } | ""; }; - payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "konbini" | "link" | "multibanco" | "p24" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; + payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "jp_credit_transfer" | "kakao_pay" | "konbini" | "kr_card" | "link" | "multibanco" | "naver_pay" | "p24" | "payco" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_credit_transfer" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; }; /** * rendering_param @@ -40765,7 +43508,7 @@ export interface operations { percentage: number; state?: string; /** @enum {string} */ - tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "rst" | "sales_tax" | "vat"; + tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "vat"; }; taxable_amount: number; }[] | ""; @@ -40974,7 +43717,7 @@ export interface operations { percentage: number; state?: string; /** @enum {string} */ - tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "rst" | "sales_tax" | "vat"; + tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "vat"; }; taxable_amount: number; }[] | ""; @@ -41253,7 +43996,7 @@ export interface operations { percentage: number; state?: string; /** @enum {string} */ - tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "rst" | "sales_tax" | "vat"; + tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "vat"; }; taxable_amount: number; }[] | ""; @@ -42024,7 +44767,7 @@ export interface operations { * @enum {string} */ replacement_reason?: "damaged" | "expired" | "lost" | "stolen"; - /** @description The second line to print on the card. */ + /** @description The second line to print on the card. Max length: 24 characters. */ second_line?: string | ""; /** * shipping_specs @@ -43871,6 +46614,8 @@ export interface operations { /** @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; /** param */ + alma?: Record; + /** param */ amazon_pay?: Record; /** param */ au_becs_debit?: { @@ -43930,6 +46675,8 @@ export interface operations { /** param */ interac_present?: Record; /** param */ + kakao_pay?: Record; + /** param */ klarna?: { /** date_of_birth */ dob?: { @@ -43941,6 +46688,8 @@ export interface operations { /** param */ konbini?: Record; /** param */ + kr_card?: Record; + /** param */ link?: Record; metadata?: { [key: string]: string; @@ -43950,6 +46699,11 @@ export interface operations { /** param */ multibanco?: Record; /** param */ + naver_pay?: { + /** @enum {string} */ + funding?: "card" | "points"; + }; + /** param */ oxxo?: Record; /** param */ p24?: { @@ -43957,6 +46711,8 @@ export interface operations { bank?: "alior_bank" | "bank_millennium" | "bank_nowy_bfg_sa" | "bank_pekao_sa" | "banki_spbdzielcze" | "blik" | "bnp_paribas" | "boz" | "citi_handlowy" | "credit_agricole" | "envelobank" | "etransfer_pocztowy24" | "getin_bank" | "ideabank" | "ing" | "inteligo" | "mbank_mtransfer" | "nest_przelew" | "noble_pay" | "pbac_z_ipko" | "plus_bank" | "santander_przelew24" | "tmobile_usbugi_bankowe" | "toyota_bank" | "velobank" | "volkswagen_bank"; }; /** param */ + payco?: Record; + /** param */ paynow?: Record; /** param */ paypal?: Record; @@ -43971,6 +46727,8 @@ export interface operations { /** param */ revolut_pay?: Record; /** param */ + samsung_pay?: Record; + /** param */ sepa_debit?: { iban: string; }; @@ -43984,7 +46742,7 @@ export interface operations { /** param */ twint?: Record; /** @enum {string} */ - type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; /** payment_method_param */ us_bank_account?: { /** @enum {string} */ @@ -44038,6 +46796,10 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "" | "none" | "off_session"; } | ""; + alma?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; amazon_pay?: { /** @enum {string} */ capture_method?: "" | "manual"; @@ -44195,6 +46957,12 @@ export interface operations { setup_future_usage?: "" | "none" | "off_session"; } | ""; interac_present?: Record | ""; + kakao_pay?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + /** @enum {string} */ + setup_future_usage?: "" | "none" | "off_session"; + } | ""; klarna?: { /** @enum {string} */ capture_method?: "" | "manual"; @@ -44211,6 +46979,12 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "none"; } | ""; + kr_card?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + /** @enum {string} */ + setup_future_usage?: "" | "none" | "off_session"; + } | ""; link?: { /** @enum {string} */ capture_method?: "" | "manual"; @@ -44227,6 +47001,10 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "none"; } | ""; + naver_pay?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; oxxo?: { expires_after_days?: number; /** @enum {string} */ @@ -44237,6 +47015,10 @@ export interface operations { setup_future_usage?: "none"; tos_shown_and_accepted?: boolean; } | ""; + payco?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; paynow?: { /** @enum {string} */ setup_future_usage?: "none"; @@ -44268,6 +47050,10 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "" | "none" | "off_session"; } | ""; + samsung_pay?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; sepa_debit?: { /** payment_method_options_mandate_options_param */ mandate_options?: Record; @@ -44571,6 +47357,8 @@ export interface operations { /** @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; /** param */ + alma?: Record; + /** param */ amazon_pay?: Record; /** param */ au_becs_debit?: { @@ -44630,6 +47418,8 @@ export interface operations { /** param */ interac_present?: Record; /** param */ + kakao_pay?: Record; + /** param */ klarna?: { /** date_of_birth */ dob?: { @@ -44641,6 +47431,8 @@ export interface operations { /** param */ konbini?: Record; /** param */ + kr_card?: Record; + /** param */ link?: Record; metadata?: { [key: string]: string; @@ -44650,6 +47442,11 @@ export interface operations { /** param */ multibanco?: Record; /** param */ + naver_pay?: { + /** @enum {string} */ + funding?: "card" | "points"; + }; + /** param */ oxxo?: Record; /** param */ p24?: { @@ -44657,6 +47454,8 @@ export interface operations { bank?: "alior_bank" | "bank_millennium" | "bank_nowy_bfg_sa" | "bank_pekao_sa" | "banki_spbdzielcze" | "blik" | "bnp_paribas" | "boz" | "citi_handlowy" | "credit_agricole" | "envelobank" | "etransfer_pocztowy24" | "getin_bank" | "ideabank" | "ing" | "inteligo" | "mbank_mtransfer" | "nest_przelew" | "noble_pay" | "pbac_z_ipko" | "plus_bank" | "santander_przelew24" | "tmobile_usbugi_bankowe" | "toyota_bank" | "velobank" | "volkswagen_bank"; }; /** param */ + payco?: Record; + /** param */ paynow?: Record; /** param */ paypal?: Record; @@ -44671,6 +47470,8 @@ export interface operations { /** param */ revolut_pay?: Record; /** param */ + samsung_pay?: Record; + /** param */ sepa_debit?: { iban: string; }; @@ -44684,7 +47485,7 @@ export interface operations { /** param */ twint?: Record; /** @enum {string} */ - type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; /** payment_method_param */ us_bank_account?: { /** @enum {string} */ @@ -44738,6 +47539,10 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "" | "none" | "off_session"; } | ""; + alma?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; amazon_pay?: { /** @enum {string} */ capture_method?: "" | "manual"; @@ -44895,6 +47700,12 @@ export interface operations { setup_future_usage?: "" | "none" | "off_session"; } | ""; interac_present?: Record | ""; + kakao_pay?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + /** @enum {string} */ + setup_future_usage?: "" | "none" | "off_session"; + } | ""; klarna?: { /** @enum {string} */ capture_method?: "" | "manual"; @@ -44911,6 +47722,12 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "none"; } | ""; + kr_card?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + /** @enum {string} */ + setup_future_usage?: "" | "none" | "off_session"; + } | ""; link?: { /** @enum {string} */ capture_method?: "" | "manual"; @@ -44927,6 +47744,10 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "none"; } | ""; + naver_pay?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; oxxo?: { expires_after_days?: number; /** @enum {string} */ @@ -44937,6 +47758,10 @@ export interface operations { setup_future_usage?: "none"; tos_shown_and_accepted?: boolean; } | ""; + payco?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; paynow?: { /** @enum {string} */ setup_future_usage?: "none"; @@ -44968,6 +47793,10 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "" | "none" | "off_session"; } | ""; + samsung_pay?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; sepa_debit?: { /** payment_method_options_mandate_options_param */ mandate_options?: Record; @@ -45112,11 +47941,9 @@ export interface operations { requestBody?: { content: { "application/x-www-form-urlencoded": { - /** @description Amount that you intend to apply to this PaymentIntent from the customer’s cash balance. + /** @description Amount that you intend to apply to this PaymentIntent from the customer’s cash balance. If the PaymentIntent was created by an Invoice, the full amount of the PaymentIntent is applied regardless of this parameter. * - * A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (for example, 100 cents to charge 1 USD or 100 to charge 100 JPY, a zero-decimal currency). - * - * The maximum amount is the amount of the PaymentIntent. + * A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (for example, 100 cents to charge 1 USD or 100 to charge 100 JPY, a zero-decimal currency). The maximum amount is the amount of the PaymentIntent. * * When you omit the amount, it defaults to the remaining amount requested on the PaymentIntent. */ amount?: number; @@ -45335,6 +48162,8 @@ export interface operations { /** @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; /** param */ + alma?: Record; + /** param */ amazon_pay?: Record; /** param */ au_becs_debit?: { @@ -45394,6 +48223,8 @@ export interface operations { /** param */ interac_present?: Record; /** param */ + kakao_pay?: Record; + /** param */ klarna?: { /** date_of_birth */ dob?: { @@ -45405,6 +48236,8 @@ export interface operations { /** param */ konbini?: Record; /** param */ + kr_card?: Record; + /** param */ link?: Record; metadata?: { [key: string]: string; @@ -45414,6 +48247,11 @@ export interface operations { /** param */ multibanco?: Record; /** param */ + naver_pay?: { + /** @enum {string} */ + funding?: "card" | "points"; + }; + /** param */ oxxo?: Record; /** param */ p24?: { @@ -45421,6 +48259,8 @@ export interface operations { bank?: "alior_bank" | "bank_millennium" | "bank_nowy_bfg_sa" | "bank_pekao_sa" | "banki_spbdzielcze" | "blik" | "bnp_paribas" | "boz" | "citi_handlowy" | "credit_agricole" | "envelobank" | "etransfer_pocztowy24" | "getin_bank" | "ideabank" | "ing" | "inteligo" | "mbank_mtransfer" | "nest_przelew" | "noble_pay" | "pbac_z_ipko" | "plus_bank" | "santander_przelew24" | "tmobile_usbugi_bankowe" | "toyota_bank" | "velobank" | "volkswagen_bank"; }; /** param */ + payco?: Record; + /** param */ paynow?: Record; /** param */ paypal?: Record; @@ -45435,6 +48275,8 @@ export interface operations { /** param */ revolut_pay?: Record; /** param */ + samsung_pay?: Record; + /** param */ sepa_debit?: { iban: string; }; @@ -45448,7 +48290,7 @@ export interface operations { /** param */ twint?: Record; /** @enum {string} */ - type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; /** payment_method_param */ us_bank_account?: { /** @enum {string} */ @@ -45502,6 +48344,10 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "" | "none" | "off_session"; } | ""; + alma?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; amazon_pay?: { /** @enum {string} */ capture_method?: "" | "manual"; @@ -45659,6 +48505,12 @@ export interface operations { setup_future_usage?: "" | "none" | "off_session"; } | ""; interac_present?: Record | ""; + kakao_pay?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + /** @enum {string} */ + setup_future_usage?: "" | "none" | "off_session"; + } | ""; klarna?: { /** @enum {string} */ capture_method?: "" | "manual"; @@ -45675,6 +48527,12 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "none"; } | ""; + kr_card?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + /** @enum {string} */ + setup_future_usage?: "" | "none" | "off_session"; + } | ""; link?: { /** @enum {string} */ capture_method?: "" | "manual"; @@ -45691,6 +48549,10 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "none"; } | ""; + naver_pay?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; oxxo?: { expires_after_days?: number; /** @enum {string} */ @@ -45701,6 +48563,10 @@ export interface operations { setup_future_usage?: "none"; tos_shown_and_accepted?: boolean; } | ""; + payco?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; paynow?: { /** @enum {string} */ setup_future_usage?: "none"; @@ -45732,6 +48598,10 @@ export interface operations { /** @enum {string} */ setup_future_usage?: "" | "none" | "off_session"; } | ""; + samsung_pay?: { + /** @enum {string} */ + capture_method?: "" | "manual"; + } | ""; sepa_debit?: { /** payment_method_options_mandate_options_param */ mandate_options?: Record; @@ -46217,7 +49087,7 @@ export interface operations { */ payment_method_collection?: "always" | "if_required"; /** @description The list of payment method types that customers can use. If no value is passed, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods) (20+ payment methods [supported](https://stripe.com/docs/payments/payment-methods/integration-options#payment-method-product-support)). */ - payment_method_types?: ("affirm" | "afterpay_clearpay" | "alipay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip")[]; + payment_method_types?: ("affirm" | "afterpay_clearpay" | "alipay" | "alma" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip")[]; /** * phone_number_collection_params * @description Controls phone number collection settings during checkout. @@ -46535,7 +49405,7 @@ export interface operations { */ payment_method_collection?: "always" | "if_required"; /** @description The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). */ - payment_method_types?: ("affirm" | "afterpay_clearpay" | "alipay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip")[] | ""; + payment_method_types?: ("affirm" | "afterpay_clearpay" | "alipay" | "alma" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip")[] | ""; /** @description Settings that restrict the usage of a payment link. */ restrictions?: { /** completed_sessions_params */ @@ -46770,6 +49640,17 @@ export interface operations { preference?: "none" | "off" | "on"; }; }; + /** + * payment_method_param + * @description Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments. + */ + alma?: { + /** display_preference_param */ + display_preference?: { + /** @enum {string} */ + preference?: "none" | "off" | "on"; + }; + }; /** * payment_method_param * @description Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon. @@ -47152,7 +50033,7 @@ export interface operations { }; /** * payment_method_param - * @description Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details. + * @description Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details. */ us_bank_account?: { /** display_preference_param */ @@ -47303,6 +50184,17 @@ export interface operations { preference?: "none" | "off" | "on"; }; }; + /** + * payment_method_param + * @description Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments. + */ + alma?: { + /** display_preference_param */ + display_preference?: { + /** @enum {string} */ + preference?: "none" | "off" | "on"; + }; + }; /** * payment_method_param * @description Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon. @@ -47683,7 +50575,7 @@ export interface operations { }; /** * payment_method_param - * @description Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details. + * @description Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details. */ us_bank_account?: { /** display_preference_param */ @@ -47965,7 +50857,7 @@ export interface operations { /** @description A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. */ starting_after?: string; /** @description An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request. */ - type?: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type?: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; }; header?: never; path?: never; @@ -48047,6 +50939,11 @@ export interface operations { * @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; + /** + * param + * @description If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. + */ + alma?: Record; /** * param * @description If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. @@ -48169,6 +51066,11 @@ export interface operations { * @description If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. */ interac_present?: Record; + /** + * param + * @description If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method. + */ + kakao_pay?: Record; /** * param * @description If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method. @@ -48186,6 +51088,11 @@ export interface operations { * @description If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method. */ konbini?: Record; + /** + * param + * @description If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method. + */ + kr_card?: Record; /** * param * @description If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. @@ -48205,6 +51112,14 @@ export interface operations { * @description If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method. */ multibanco?: Record; + /** + * param + * @description If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + */ + naver_pay?: { + /** @enum {string} */ + funding?: "card" | "points"; + }; /** * param * @description If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. @@ -48218,6 +51133,11 @@ export interface operations { /** @enum {string} */ bank?: "alior_bank" | "bank_millennium" | "bank_nowy_bfg_sa" | "bank_pekao_sa" | "banki_spbdzielcze" | "blik" | "bnp_paribas" | "boz" | "citi_handlowy" | "credit_agricole" | "envelobank" | "etransfer_pocztowy24" | "getin_bank" | "ideabank" | "ing" | "inteligo" | "mbank_mtransfer" | "nest_przelew" | "noble_pay" | "pbac_z_ipko" | "plus_bank" | "santander_przelew24" | "tmobile_usbugi_bankowe" | "toyota_bank" | "velobank" | "volkswagen_bank"; }; + /** + * param + * @description If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method. + */ + payco?: Record; /** @description The PaymentMethod to share. */ payment_method?: string; /** @@ -48252,6 +51172,11 @@ export interface operations { * @description If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. */ revolut_pay?: Record; + /** + * param + * @description If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method. + */ + samsung_pay?: Record; /** * param * @description If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. @@ -48281,7 +51206,7 @@ export interface operations { * @description The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. * @enum {string} */ - type?: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type?: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; /** * payment_method_param * @description If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. @@ -48425,6 +51350,14 @@ export interface operations { metadata?: { [key: string]: string; } | ""; + /** + * param + * @description If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + */ + naver_pay?: { + /** @enum {string} */ + funding?: "card" | "points"; + }; /** * update_param * @description If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. @@ -49656,6 +52589,13 @@ export interface operations { unit_amount_decimal?: string; }; }; + /** custom_unit_amount */ + custom_unit_amount?: { + enabled: boolean; + maximum?: number; + minimum?: number; + preset?: number; + }; /** recurring_adhoc */ recurring?: { /** @enum {string} */ @@ -50188,7 +53128,9 @@ export interface operations { "application/x-www-form-urlencoded": { /** @description Whether the promotion code is currently active. */ active?: boolean; - /** @description The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for a specific customer. If left blank, we will generate one automatically. */ + /** @description The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for a specific customer. Valid characters are lower case letters (a-z), upper case letters (A-Z), and digits (0-9). + * + * If left blank, we will generate one automatically. */ code?: string; /** @description The coupon for this promotion code. */ coupon: string; @@ -52358,6 +55300,8 @@ export interface operations { /** @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; /** param */ + alma?: Record; + /** param */ amazon_pay?: Record; /** param */ au_becs_debit?: { @@ -52417,6 +55361,8 @@ export interface operations { /** param */ interac_present?: Record; /** param */ + kakao_pay?: Record; + /** param */ klarna?: { /** date_of_birth */ dob?: { @@ -52428,6 +55374,8 @@ export interface operations { /** param */ konbini?: Record; /** param */ + kr_card?: Record; + /** param */ link?: Record; metadata?: { [key: string]: string; @@ -52437,6 +55385,11 @@ export interface operations { /** param */ multibanco?: Record; /** param */ + naver_pay?: { + /** @enum {string} */ + funding?: "card" | "points"; + }; + /** param */ oxxo?: Record; /** param */ p24?: { @@ -52444,6 +55397,8 @@ export interface operations { bank?: "alior_bank" | "bank_millennium" | "bank_nowy_bfg_sa" | "bank_pekao_sa" | "banki_spbdzielcze" | "blik" | "bnp_paribas" | "boz" | "citi_handlowy" | "credit_agricole" | "envelobank" | "etransfer_pocztowy24" | "getin_bank" | "ideabank" | "ing" | "inteligo" | "mbank_mtransfer" | "nest_przelew" | "noble_pay" | "pbac_z_ipko" | "plus_bank" | "santander_przelew24" | "tmobile_usbugi_bankowe" | "toyota_bank" | "velobank" | "volkswagen_bank"; }; /** param */ + payco?: Record; + /** param */ paynow?: Record; /** param */ paypal?: Record; @@ -52458,6 +55413,8 @@ export interface operations { /** param */ revolut_pay?: Record; /** param */ + samsung_pay?: Record; + /** param */ sepa_debit?: { iban: string; }; @@ -52471,7 +55428,7 @@ export interface operations { /** param */ twint?: Record; /** @enum {string} */ - type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; /** payment_method_param */ us_bank_account?: { /** @enum {string} */ @@ -52740,6 +55697,8 @@ export interface operations { /** @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; /** param */ + alma?: Record; + /** param */ amazon_pay?: Record; /** param */ au_becs_debit?: { @@ -52799,6 +55758,8 @@ export interface operations { /** param */ interac_present?: Record; /** param */ + kakao_pay?: Record; + /** param */ klarna?: { /** date_of_birth */ dob?: { @@ -52810,6 +55771,8 @@ export interface operations { /** param */ konbini?: Record; /** param */ + kr_card?: Record; + /** param */ link?: Record; metadata?: { [key: string]: string; @@ -52819,6 +55782,11 @@ export interface operations { /** param */ multibanco?: Record; /** param */ + naver_pay?: { + /** @enum {string} */ + funding?: "card" | "points"; + }; + /** param */ oxxo?: Record; /** param */ p24?: { @@ -52826,6 +55794,8 @@ export interface operations { bank?: "alior_bank" | "bank_millennium" | "bank_nowy_bfg_sa" | "bank_pekao_sa" | "banki_spbdzielcze" | "blik" | "bnp_paribas" | "boz" | "citi_handlowy" | "credit_agricole" | "envelobank" | "etransfer_pocztowy24" | "getin_bank" | "ideabank" | "ing" | "inteligo" | "mbank_mtransfer" | "nest_przelew" | "noble_pay" | "pbac_z_ipko" | "plus_bank" | "santander_przelew24" | "tmobile_usbugi_bankowe" | "toyota_bank" | "velobank" | "volkswagen_bank"; }; /** param */ + payco?: Record; + /** param */ paynow?: Record; /** param */ paypal?: Record; @@ -52840,6 +55810,8 @@ export interface operations { /** param */ revolut_pay?: Record; /** param */ + samsung_pay?: Record; + /** param */ sepa_debit?: { iban: string; }; @@ -52853,7 +55825,7 @@ export interface operations { /** param */ twint?: Record; /** @enum {string} */ - type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; /** payment_method_param */ us_bank_account?: { /** @enum {string} */ @@ -53121,6 +56093,8 @@ export interface operations { /** @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; /** param */ + alma?: Record; + /** param */ amazon_pay?: Record; /** param */ au_becs_debit?: { @@ -53180,6 +56154,8 @@ export interface operations { /** param */ interac_present?: Record; /** param */ + kakao_pay?: Record; + /** param */ klarna?: { /** date_of_birth */ dob?: { @@ -53191,6 +56167,8 @@ export interface operations { /** param */ konbini?: Record; /** param */ + kr_card?: Record; + /** param */ link?: Record; metadata?: { [key: string]: string; @@ -53200,6 +56178,11 @@ export interface operations { /** param */ multibanco?: Record; /** param */ + naver_pay?: { + /** @enum {string} */ + funding?: "card" | "points"; + }; + /** param */ oxxo?: Record; /** param */ p24?: { @@ -53207,6 +56190,8 @@ export interface operations { bank?: "alior_bank" | "bank_millennium" | "bank_nowy_bfg_sa" | "bank_pekao_sa" | "banki_spbdzielcze" | "blik" | "bnp_paribas" | "boz" | "citi_handlowy" | "credit_agricole" | "envelobank" | "etransfer_pocztowy24" | "getin_bank" | "ideabank" | "ing" | "inteligo" | "mbank_mtransfer" | "nest_przelew" | "noble_pay" | "pbac_z_ipko" | "plus_bank" | "santander_przelew24" | "tmobile_usbugi_bankowe" | "toyota_bank" | "velobank" | "volkswagen_bank"; }; /** param */ + payco?: Record; + /** param */ paynow?: Record; /** param */ paypal?: Record; @@ -53221,6 +56206,8 @@ export interface operations { /** param */ revolut_pay?: Record; /** param */ + samsung_pay?: Record; + /** param */ sepa_debit?: { iban: string; }; @@ -53234,7 +56221,7 @@ export interface operations { /** param */ twint?: Record; /** @enum {string} */ - type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; /** payment_method_param */ us_bank_account?: { /** @enum {string} */ @@ -55659,7 +58646,7 @@ export interface operations { verification_method?: "automatic" | "instant" | "microdeposits"; } | ""; }; - payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "konbini" | "link" | "multibanco" | "p24" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; + payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "jp_credit_transfer" | "kakao_pay" | "konbini" | "kr_card" | "link" | "multibanco" | "naver_pay" | "p24" | "payco" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_credit_transfer" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; /** @enum {string} */ save_default_payment_method?: "off" | "on_subscription"; }; @@ -56048,7 +59035,7 @@ export interface operations { verification_method?: "automatic" | "instant" | "microdeposits"; } | ""; }; - payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "konbini" | "link" | "multibanco" | "p24" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; + payment_method_types?: ("ach_credit_transfer" | "ach_debit" | "acss_debit" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "boleto" | "card" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "jp_credit_transfer" | "kakao_pay" | "konbini" | "kr_card" | "link" | "multibanco" | "naver_pay" | "p24" | "payco" | "paynow" | "paypal" | "promptpay" | "revolut_pay" | "sepa_credit_transfer" | "sepa_debit" | "sofort" | "swish" | "us_bank_account" | "wechat_pay")[] | ""; /** @enum {string} */ save_default_payment_method?: "off" | "on_subscription"; }; @@ -56137,7 +59124,7 @@ export interface operations { }; /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; - /** @description Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. Defaults to `true`. */ + /** @description Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. Defaults to `false`. */ invoice_now?: boolean; /** @description Will generate a proration invoice item that credits remaining unused time until the subscription period end. Defaults to `false`. */ prorate?: boolean; @@ -56213,7 +59200,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** - * @description Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). Setting the value to `unchanged` advances the subscription's billing cycle anchor to the period that surrounds the current time. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). + * @description The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). * @enum {string} */ billing_cycle_anchor?: "now" | "unchanged"; @@ -56286,7 +59273,7 @@ export interface operations { ip_address?: string; tax_ids?: { /** @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; value: string; }[]; /** @enum {string} */ @@ -56569,6 +59556,11 @@ export interface operations { /** @enum {string} */ type: "standard"; }; + /** simplified */ + by?: { + /** @enum {string} */ + type: "simplified"; + }; /** canada */ ca?: { /** province_standard */ @@ -56593,6 +59585,11 @@ export interface operations { /** @enum {string} */ type: "simplified"; }; + /** simplified */ + cr?: { + /** @enum {string} */ + type: "simplified"; + }; /** europe */ cy?: { /** standard */ @@ -56633,6 +59630,11 @@ export interface operations { /** @enum {string} */ type: "ioss" | "oss_non_union" | "oss_union" | "standard"; }; + /** simplified */ + ec?: { + /** @enum {string} */ + type: "simplified"; + }; /** europe */ ee?: { /** standard */ @@ -56798,6 +59800,16 @@ export interface operations { /** @enum {string} */ type: "ioss" | "oss_non_union" | "oss_union" | "standard"; }; + /** simplified */ + ma?: { + /** @enum {string} */ + type: "simplified"; + }; + /** simplified */ + md?: { + /** @enum {string} */ + type: "simplified"; + }; /** europe */ mt?: { /** standard */ @@ -56878,6 +59890,16 @@ export interface operations { /** @enum {string} */ type: "ioss" | "oss_non_union" | "oss_union" | "standard"; }; + /** default */ + rs?: { + /** @enum {string} */ + type: "standard"; + }; + /** simplified */ + ru?: { + /** @enum {string} */ + type: "simplified"; + }; /** simplified */ sa?: { /** @enum {string} */ @@ -56928,6 +59950,11 @@ export interface operations { /** @enum {string} */ type: "simplified"; }; + /** simplified */ + tz?: { + /** @enum {string} */ + type: "simplified"; + }; /** united_states */ us?: { /** local_amusement_tax */ @@ -56948,7 +59975,12 @@ export interface operations { }[]; }; /** @enum {string} */ - type: "local_amusement_tax" | "local_lease_tax" | "state_communications_tax" | "state_sales_tax"; + type: "local_amusement_tax" | "local_lease_tax" | "state_communications_tax" | "state_retail_delivery_fee" | "state_sales_tax"; + }; + /** simplified */ + uz?: { + /** @enum {string} */ + type: "simplified"; }; /** simplified */ vn?: { @@ -57556,10 +60588,10 @@ export interface operations { type: "account" | "application" | "customer" | "self"; }; /** - * @description Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat` + * @description Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat` * @enum {string} */ - type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "ve_rif" | "vn_tin" | "za_vat"; + type: "ad_nrt" | "ae_trn" | "ar_cuit" | "au_abn" | "au_arn" | "bg_uic" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kr_brn" | "kz_bin" | "li_uid" | "ma_vat" | "md_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sv_nit" | "th_vat" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat"; /** @description Value of the tax ID. */ value: string; }; @@ -57759,7 +60791,7 @@ export interface operations { * @description The high-level tax type, such as `vat` or `sales_tax`. * @enum {string} */ - tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "rst" | "sales_tax" | "vat"; + tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "vat"; }; }; }; @@ -57856,7 +60888,7 @@ export interface operations { * @description The high-level tax type, such as `vat` or `sales_tax`. * @enum {string} */ - tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "rst" | "sales_tax" | "vat"; + tax_type?: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "vat"; }; }; }; @@ -58045,6 +61077,12 @@ export interface operations { smart_tip_threshold?: number; }; /** currency_specific_config */ + pln?: { + fixed_amounts?: number[]; + percentages?: number[]; + smart_tip_threshold?: number; + }; + /** currency_specific_config */ sek?: { fixed_amounts?: number[]; percentages?: number[]; @@ -58234,6 +61272,12 @@ export interface operations { smart_tip_threshold?: number; }; /** currency_specific_config */ + pln?: { + fixed_amounts?: number[]; + percentages?: number[]; + smart_tip_threshold?: number; + }; + /** currency_specific_config */ sek?: { fixed_amounts?: number[]; percentages?: number[]; @@ -58877,6 +61921,8 @@ export interface operations { * @description Configuration overrides */ process_config?: { + /** @enum {string} */ + allow_redisplay?: "always" | "limited" | "unspecified"; enable_customer_cancellation?: boolean; skip_tipping?: boolean; /** tipping_config */ @@ -58920,8 +61966,11 @@ export interface operations { requestBody: { content: { "application/x-www-form-urlencoded": { - /** @description Customer Consent Collected */ - customer_consent_collected?: boolean; + /** + * @description This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. + * @enum {string} + */ + allow_redisplay: "always" | "limited" | "unspecified"; /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; /** @@ -59107,6 +62156,8 @@ export interface operations { /** @enum {string} */ allow_redisplay?: "always" | "limited" | "unspecified"; /** param */ + alma?: Record; + /** param */ amazon_pay?: Record; /** param */ au_becs_debit?: { @@ -59166,6 +62217,8 @@ export interface operations { /** param */ interac_present?: Record; /** param */ + kakao_pay?: Record; + /** param */ klarna?: { /** date_of_birth */ dob?: { @@ -59177,6 +62230,8 @@ export interface operations { /** param */ konbini?: Record; /** param */ + kr_card?: Record; + /** param */ link?: Record; metadata?: { [key: string]: string; @@ -59186,6 +62241,11 @@ export interface operations { /** param */ multibanco?: Record; /** param */ + naver_pay?: { + /** @enum {string} */ + funding?: "card" | "points"; + }; + /** param */ oxxo?: Record; /** param */ p24?: { @@ -59193,6 +62253,8 @@ export interface operations { bank?: "alior_bank" | "bank_millennium" | "bank_nowy_bfg_sa" | "bank_pekao_sa" | "banki_spbdzielcze" | "blik" | "bnp_paribas" | "boz" | "citi_handlowy" | "credit_agricole" | "envelobank" | "etransfer_pocztowy24" | "getin_bank" | "ideabank" | "ing" | "inteligo" | "mbank_mtransfer" | "nest_przelew" | "noble_pay" | "pbac_z_ipko" | "plus_bank" | "santander_przelew24" | "tmobile_usbugi_bankowe" | "toyota_bank" | "velobank" | "volkswagen_bank"; }; /** param */ + payco?: Record; + /** param */ paynow?: Record; /** param */ paypal?: Record; @@ -59207,6 +62269,8 @@ export interface operations { /** param */ revolut_pay?: Record; /** param */ + samsung_pay?: Record; + /** param */ sepa_debit?: { iban: string; }; @@ -59220,7 +62284,7 @@ export interface operations { /** param */ twint?: Record; /** @enum {string} */ - type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "klarna" | "konbini" | "link" | "mobilepay" | "multibanco" | "oxxo" | "p24" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; + type: "acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "blik" | "boleto" | "cashapp" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "link" | "mobilepay" | "multibanco" | "naver_pay" | "oxxo" | "p24" | "payco" | "paynow" | "paypal" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "sepa_debit" | "sofort" | "swish" | "twint" | "us_bank_account" | "wechat_pay" | "zip"; /** payment_method_param */ us_bank_account?: { /** @enum {string} */ @@ -59984,6 +63048,44 @@ export interface operations { }; }; }; + PostTestHelpersIssuingCardsCardShippingSubmit: { + parameters: { + query?: never; + header?: never; + path: { + card: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/x-www-form-urlencoded": { + /** @description Specifies which fields in the response should be expanded. */ + expand?: string[]; + }; + }; + }; + responses: { + /** @description Successful response. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["issuing.card"]; + }; + }; + /** @description Error response. */ + default: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["error"]; + }; + }; + }; + }; PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignActivate: { parameters: { query?: never; @@ -64283,13 +67385,13 @@ export interface operations { * @description Events sent to this endpoint will be generated with this Stripe Version instead of your account's default Stripe Version. * @enum {string} */ - api_version?: "2011-01-01" | "2011-06-21" | "2011-06-28" | "2011-08-01" | "2011-09-15" | "2011-11-17" | "2012-02-23" | "2012-03-25" | "2012-06-18" | "2012-06-28" | "2012-07-09" | "2012-09-24" | "2012-10-26" | "2012-11-07" | "2013-02-11" | "2013-02-13" | "2013-07-05" | "2013-08-12" | "2013-08-13" | "2013-10-29" | "2013-12-03" | "2014-01-31" | "2014-03-13" | "2014-03-28" | "2014-05-19" | "2014-06-13" | "2014-06-17" | "2014-07-22" | "2014-07-26" | "2014-08-04" | "2014-08-20" | "2014-09-08" | "2014-10-07" | "2014-11-05" | "2014-11-20" | "2014-12-08" | "2014-12-17" | "2014-12-22" | "2015-01-11" | "2015-01-26" | "2015-02-10" | "2015-02-16" | "2015-02-18" | "2015-03-24" | "2015-04-07" | "2015-06-15" | "2015-07-07" | "2015-07-13" | "2015-07-28" | "2015-08-07" | "2015-08-19" | "2015-09-03" | "2015-09-08" | "2015-09-23" | "2015-10-01" | "2015-10-12" | "2015-10-16" | "2016-02-03" | "2016-02-19" | "2016-02-22" | "2016-02-23" | "2016-02-29" | "2016-03-07" | "2016-06-15" | "2016-07-06" | "2016-10-19" | "2017-01-27" | "2017-02-14" | "2017-04-06" | "2017-05-25" | "2017-06-05" | "2017-08-15" | "2017-12-14" | "2018-01-23" | "2018-02-05" | "2018-02-06" | "2018-02-28" | "2018-05-21" | "2018-07-27" | "2018-08-23" | "2018-09-06" | "2018-09-24" | "2018-10-31" | "2018-11-08" | "2019-02-11" | "2019-02-19" | "2019-03-14" | "2019-05-16" | "2019-08-14" | "2019-09-09" | "2019-10-08" | "2019-10-17" | "2019-11-05" | "2019-12-03" | "2020-03-02" | "2020-08-27" | "2022-08-01" | "2022-11-15" | "2023-08-16" | "2023-10-16" | "2024-04-10" | "2024-06-20"; + api_version?: "2011-01-01" | "2011-06-21" | "2011-06-28" | "2011-08-01" | "2011-09-15" | "2011-11-17" | "2012-02-23" | "2012-03-25" | "2012-06-18" | "2012-06-28" | "2012-07-09" | "2012-09-24" | "2012-10-26" | "2012-11-07" | "2013-02-11" | "2013-02-13" | "2013-07-05" | "2013-08-12" | "2013-08-13" | "2013-10-29" | "2013-12-03" | "2014-01-31" | "2014-03-13" | "2014-03-28" | "2014-05-19" | "2014-06-13" | "2014-06-17" | "2014-07-22" | "2014-07-26" | "2014-08-04" | "2014-08-20" | "2014-09-08" | "2014-10-07" | "2014-11-05" | "2014-11-20" | "2014-12-08" | "2014-12-17" | "2014-12-22" | "2015-01-11" | "2015-01-26" | "2015-02-10" | "2015-02-16" | "2015-02-18" | "2015-03-24" | "2015-04-07" | "2015-06-15" | "2015-07-07" | "2015-07-13" | "2015-07-28" | "2015-08-07" | "2015-08-19" | "2015-09-03" | "2015-09-08" | "2015-09-23" | "2015-10-01" | "2015-10-12" | "2015-10-16" | "2016-02-03" | "2016-02-19" | "2016-02-22" | "2016-02-23" | "2016-02-29" | "2016-03-07" | "2016-06-15" | "2016-07-06" | "2016-10-19" | "2017-01-27" | "2017-02-14" | "2017-04-06" | "2017-05-25" | "2017-06-05" | "2017-08-15" | "2017-12-14" | "2018-01-23" | "2018-02-05" | "2018-02-06" | "2018-02-28" | "2018-05-21" | "2018-07-27" | "2018-08-23" | "2018-09-06" | "2018-09-24" | "2018-10-31" | "2018-11-08" | "2019-02-11" | "2019-02-19" | "2019-03-14" | "2019-05-16" | "2019-08-14" | "2019-09-09" | "2019-10-08" | "2019-10-17" | "2019-11-05" | "2019-12-03" | "2020-03-02" | "2020-08-27" | "2022-08-01" | "2022-11-15" | "2023-08-16" | "2023-10-16" | "2024-04-10" | "2024-06-20" | "2024-09-30.acacia"; /** @description Whether this endpoint should receive events from connected accounts (`true`), or from your account (`false`). Defaults to `false`. */ connect?: boolean; /** @description An optional description of what the webhook is used for. */ description?: string | ""; /** @description The list of events to enable for this endpoint. You may specify `['*']` to enable all events, except those that require explicit selection. */ - enabled_events: ("*" | "account.application.authorized" | "account.application.deauthorized" | "account.external_account.created" | "account.external_account.deleted" | "account.external_account.updated" | "account.updated" | "application_fee.created" | "application_fee.refund.updated" | "application_fee.refunded" | "balance.available" | "billing.alert.triggered" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "capability.updated" | "cash_balance.funds_available" | "charge.captured" | "charge.dispute.closed" | "charge.dispute.created" | "charge.dispute.funds_reinstated" | "charge.dispute.funds_withdrawn" | "charge.dispute.updated" | "charge.expired" | "charge.failed" | "charge.pending" | "charge.refund.updated" | "charge.refunded" | "charge.succeeded" | "charge.updated" | "checkout.session.async_payment_failed" | "checkout.session.async_payment_succeeded" | "checkout.session.completed" | "checkout.session.expired" | "climate.order.canceled" | "climate.order.created" | "climate.order.delayed" | "climate.order.delivered" | "climate.order.product_substituted" | "climate.product.created" | "climate.product.pricing_updated" | "coupon.created" | "coupon.deleted" | "coupon.updated" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "customer.created" | "customer.deleted" | "customer.discount.created" | "customer.discount.deleted" | "customer.discount.updated" | "customer.source.created" | "customer.source.deleted" | "customer.source.expiring" | "customer.source.updated" | "customer.subscription.created" | "customer.subscription.deleted" | "customer.subscription.paused" | "customer.subscription.pending_update_applied" | "customer.subscription.pending_update_expired" | "customer.subscription.resumed" | "customer.subscription.trial_will_end" | "customer.subscription.updated" | "customer.tax_id.created" | "customer.tax_id.deleted" | "customer.tax_id.updated" | "customer.updated" | "customer_cash_balance_transaction.created" | "entitlements.active_entitlement_summary.updated" | "file.created" | "financial_connections.account.created" | "financial_connections.account.deactivated" | "financial_connections.account.disconnected" | "financial_connections.account.reactivated" | "financial_connections.account.refreshed_balance" | "financial_connections.account.refreshed_ownership" | "financial_connections.account.refreshed_transactions" | "identity.verification_session.canceled" | "identity.verification_session.created" | "identity.verification_session.processing" | "identity.verification_session.redacted" | "identity.verification_session.requires_input" | "identity.verification_session.verified" | "invoice.created" | "invoice.deleted" | "invoice.finalization_failed" | "invoice.finalized" | "invoice.marked_uncollectible" | "invoice.overdue" | "invoice.paid" | "invoice.payment_action_required" | "invoice.payment_failed" | "invoice.payment_succeeded" | "invoice.sent" | "invoice.upcoming" | "invoice.updated" | "invoice.voided" | "invoice.will_be_due" | "invoiceitem.created" | "invoiceitem.deleted" | "issuing_authorization.created" | "issuing_authorization.request" | "issuing_authorization.updated" | "issuing_card.created" | "issuing_card.updated" | "issuing_cardholder.created" | "issuing_cardholder.updated" | "issuing_dispute.closed" | "issuing_dispute.created" | "issuing_dispute.funds_reinstated" | "issuing_dispute.funds_rescinded" | "issuing_dispute.submitted" | "issuing_dispute.updated" | "issuing_personalization_design.activated" | "issuing_personalization_design.deactivated" | "issuing_personalization_design.rejected" | "issuing_personalization_design.updated" | "issuing_token.created" | "issuing_token.updated" | "issuing_transaction.created" | "issuing_transaction.updated" | "mandate.updated" | "payment_intent.amount_capturable_updated" | "payment_intent.canceled" | "payment_intent.created" | "payment_intent.partially_funded" | "payment_intent.payment_failed" | "payment_intent.processing" | "payment_intent.requires_action" | "payment_intent.succeeded" | "payment_link.created" | "payment_link.updated" | "payment_method.attached" | "payment_method.automatically_updated" | "payment_method.detached" | "payment_method.updated" | "payout.canceled" | "payout.created" | "payout.failed" | "payout.paid" | "payout.reconciliation_completed" | "payout.updated" | "person.created" | "person.deleted" | "person.updated" | "plan.created" | "plan.deleted" | "plan.updated" | "price.created" | "price.deleted" | "price.updated" | "product.created" | "product.deleted" | "product.updated" | "promotion_code.created" | "promotion_code.updated" | "quote.accepted" | "quote.canceled" | "quote.created" | "quote.finalized" | "radar.early_fraud_warning.created" | "radar.early_fraud_warning.updated" | "refund.created" | "refund.updated" | "reporting.report_run.failed" | "reporting.report_run.succeeded" | "reporting.report_type.updated" | "review.closed" | "review.opened" | "setup_intent.canceled" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.setup_failed" | "setup_intent.succeeded" | "sigma.scheduled_query_run.created" | "source.canceled" | "source.chargeable" | "source.failed" | "source.mandate_notification" | "source.refund_attributes_required" | "source.transaction.created" | "source.transaction.updated" | "subscription_schedule.aborted" | "subscription_schedule.canceled" | "subscription_schedule.completed" | "subscription_schedule.created" | "subscription_schedule.expiring" | "subscription_schedule.released" | "subscription_schedule.updated" | "tax.settings.updated" | "tax_rate.created" | "tax_rate.updated" | "terminal.reader.action_failed" | "terminal.reader.action_succeeded" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.created" | "test_helpers.test_clock.deleted" | "test_helpers.test_clock.internal_failure" | "test_helpers.test_clock.ready" | "topup.canceled" | "topup.created" | "topup.failed" | "topup.reversed" | "topup.succeeded" | "transfer.created" | "transfer.reversed" | "transfer.updated" | "treasury.credit_reversal.created" | "treasury.credit_reversal.posted" | "treasury.debit_reversal.completed" | "treasury.debit_reversal.created" | "treasury.debit_reversal.initial_credit_granted" | "treasury.financial_account.closed" | "treasury.financial_account.created" | "treasury.financial_account.features_status_updated" | "treasury.inbound_transfer.canceled" | "treasury.inbound_transfer.created" | "treasury.inbound_transfer.failed" | "treasury.inbound_transfer.succeeded" | "treasury.outbound_payment.canceled" | "treasury.outbound_payment.created" | "treasury.outbound_payment.expected_arrival_date_updated" | "treasury.outbound_payment.failed" | "treasury.outbound_payment.posted" | "treasury.outbound_payment.returned" | "treasury.outbound_payment.tracking_details_updated" | "treasury.outbound_transfer.canceled" | "treasury.outbound_transfer.created" | "treasury.outbound_transfer.expected_arrival_date_updated" | "treasury.outbound_transfer.failed" | "treasury.outbound_transfer.posted" | "treasury.outbound_transfer.returned" | "treasury.outbound_transfer.tracking_details_updated" | "treasury.received_credit.created" | "treasury.received_credit.failed" | "treasury.received_credit.succeeded" | "treasury.received_debit.created")[]; + enabled_events: ("*" | "account.application.authorized" | "account.application.deauthorized" | "account.external_account.created" | "account.external_account.deleted" | "account.external_account.updated" | "account.updated" | "application_fee.created" | "application_fee.refund.updated" | "application_fee.refunded" | "balance.available" | "billing.alert.triggered" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "capability.updated" | "cash_balance.funds_available" | "charge.captured" | "charge.dispute.closed" | "charge.dispute.created" | "charge.dispute.funds_reinstated" | "charge.dispute.funds_withdrawn" | "charge.dispute.updated" | "charge.expired" | "charge.failed" | "charge.pending" | "charge.refund.updated" | "charge.refunded" | "charge.succeeded" | "charge.updated" | "checkout.session.async_payment_failed" | "checkout.session.async_payment_succeeded" | "checkout.session.completed" | "checkout.session.expired" | "climate.order.canceled" | "climate.order.created" | "climate.order.delayed" | "climate.order.delivered" | "climate.order.product_substituted" | "climate.product.created" | "climate.product.pricing_updated" | "coupon.created" | "coupon.deleted" | "coupon.updated" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "customer.created" | "customer.deleted" | "customer.discount.created" | "customer.discount.deleted" | "customer.discount.updated" | "customer.source.created" | "customer.source.deleted" | "customer.source.expiring" | "customer.source.updated" | "customer.subscription.created" | "customer.subscription.deleted" | "customer.subscription.paused" | "customer.subscription.pending_update_applied" | "customer.subscription.pending_update_expired" | "customer.subscription.resumed" | "customer.subscription.trial_will_end" | "customer.subscription.updated" | "customer.tax_id.created" | "customer.tax_id.deleted" | "customer.tax_id.updated" | "customer.updated" | "customer_cash_balance_transaction.created" | "entitlements.active_entitlement_summary.updated" | "file.created" | "financial_connections.account.created" | "financial_connections.account.deactivated" | "financial_connections.account.disconnected" | "financial_connections.account.reactivated" | "financial_connections.account.refreshed_balance" | "financial_connections.account.refreshed_ownership" | "financial_connections.account.refreshed_transactions" | "identity.verification_session.canceled" | "identity.verification_session.created" | "identity.verification_session.processing" | "identity.verification_session.redacted" | "identity.verification_session.requires_input" | "identity.verification_session.verified" | "invoice.created" | "invoice.deleted" | "invoice.finalization_failed" | "invoice.finalized" | "invoice.marked_uncollectible" | "invoice.overdue" | "invoice.paid" | "invoice.payment_action_required" | "invoice.payment_failed" | "invoice.payment_succeeded" | "invoice.sent" | "invoice.upcoming" | "invoice.updated" | "invoice.voided" | "invoice.will_be_due" | "invoiceitem.created" | "invoiceitem.deleted" | "issuing_authorization.created" | "issuing_authorization.request" | "issuing_authorization.updated" | "issuing_card.created" | "issuing_card.updated" | "issuing_cardholder.created" | "issuing_cardholder.updated" | "issuing_dispute.closed" | "issuing_dispute.created" | "issuing_dispute.funds_reinstated" | "issuing_dispute.funds_rescinded" | "issuing_dispute.submitted" | "issuing_dispute.updated" | "issuing_personalization_design.activated" | "issuing_personalization_design.deactivated" | "issuing_personalization_design.rejected" | "issuing_personalization_design.updated" | "issuing_token.created" | "issuing_token.updated" | "issuing_transaction.created" | "issuing_transaction.purchase_details_receipt_updated" | "issuing_transaction.updated" | "mandate.updated" | "payment_intent.amount_capturable_updated" | "payment_intent.canceled" | "payment_intent.created" | "payment_intent.partially_funded" | "payment_intent.payment_failed" | "payment_intent.processing" | "payment_intent.requires_action" | "payment_intent.succeeded" | "payment_link.created" | "payment_link.updated" | "payment_method.attached" | "payment_method.automatically_updated" | "payment_method.detached" | "payment_method.updated" | "payout.canceled" | "payout.created" | "payout.failed" | "payout.paid" | "payout.reconciliation_completed" | "payout.updated" | "person.created" | "person.deleted" | "person.updated" | "plan.created" | "plan.deleted" | "plan.updated" | "price.created" | "price.deleted" | "price.updated" | "product.created" | "product.deleted" | "product.updated" | "promotion_code.created" | "promotion_code.updated" | "quote.accepted" | "quote.canceled" | "quote.created" | "quote.finalized" | "radar.early_fraud_warning.created" | "radar.early_fraud_warning.updated" | "refund.created" | "refund.failed" | "refund.updated" | "reporting.report_run.failed" | "reporting.report_run.succeeded" | "reporting.report_type.updated" | "review.closed" | "review.opened" | "setup_intent.canceled" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.setup_failed" | "setup_intent.succeeded" | "sigma.scheduled_query_run.created" | "source.canceled" | "source.chargeable" | "source.failed" | "source.mandate_notification" | "source.refund_attributes_required" | "source.transaction.created" | "source.transaction.updated" | "subscription_schedule.aborted" | "subscription_schedule.canceled" | "subscription_schedule.completed" | "subscription_schedule.created" | "subscription_schedule.expiring" | "subscription_schedule.released" | "subscription_schedule.updated" | "tax.settings.updated" | "tax_rate.created" | "tax_rate.updated" | "terminal.reader.action_failed" | "terminal.reader.action_succeeded" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.created" | "test_helpers.test_clock.deleted" | "test_helpers.test_clock.internal_failure" | "test_helpers.test_clock.ready" | "topup.canceled" | "topup.created" | "topup.failed" | "topup.reversed" | "topup.succeeded" | "transfer.created" | "transfer.reversed" | "transfer.updated" | "treasury.credit_reversal.created" | "treasury.credit_reversal.posted" | "treasury.debit_reversal.completed" | "treasury.debit_reversal.created" | "treasury.debit_reversal.initial_credit_granted" | "treasury.financial_account.closed" | "treasury.financial_account.created" | "treasury.financial_account.features_status_updated" | "treasury.inbound_transfer.canceled" | "treasury.inbound_transfer.created" | "treasury.inbound_transfer.failed" | "treasury.inbound_transfer.succeeded" | "treasury.outbound_payment.canceled" | "treasury.outbound_payment.created" | "treasury.outbound_payment.expected_arrival_date_updated" | "treasury.outbound_payment.failed" | "treasury.outbound_payment.posted" | "treasury.outbound_payment.returned" | "treasury.outbound_payment.tracking_details_updated" | "treasury.outbound_transfer.canceled" | "treasury.outbound_transfer.created" | "treasury.outbound_transfer.expected_arrival_date_updated" | "treasury.outbound_transfer.failed" | "treasury.outbound_transfer.posted" | "treasury.outbound_transfer.returned" | "treasury.outbound_transfer.tracking_details_updated" | "treasury.received_credit.created" | "treasury.received_credit.failed" | "treasury.received_credit.succeeded" | "treasury.received_debit.created")[]; /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; /** @description Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ @@ -64377,7 +67479,7 @@ export interface operations { /** @description Disable the webhook endpoint if set to true. */ disabled?: boolean; /** @description The list of events to enable for this endpoint. You may specify `['*']` to enable all events, except those that require explicit selection. */ - enabled_events?: ("*" | "account.application.authorized" | "account.application.deauthorized" | "account.external_account.created" | "account.external_account.deleted" | "account.external_account.updated" | "account.updated" | "application_fee.created" | "application_fee.refund.updated" | "application_fee.refunded" | "balance.available" | "billing.alert.triggered" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "capability.updated" | "cash_balance.funds_available" | "charge.captured" | "charge.dispute.closed" | "charge.dispute.created" | "charge.dispute.funds_reinstated" | "charge.dispute.funds_withdrawn" | "charge.dispute.updated" | "charge.expired" | "charge.failed" | "charge.pending" | "charge.refund.updated" | "charge.refunded" | "charge.succeeded" | "charge.updated" | "checkout.session.async_payment_failed" | "checkout.session.async_payment_succeeded" | "checkout.session.completed" | "checkout.session.expired" | "climate.order.canceled" | "climate.order.created" | "climate.order.delayed" | "climate.order.delivered" | "climate.order.product_substituted" | "climate.product.created" | "climate.product.pricing_updated" | "coupon.created" | "coupon.deleted" | "coupon.updated" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "customer.created" | "customer.deleted" | "customer.discount.created" | "customer.discount.deleted" | "customer.discount.updated" | "customer.source.created" | "customer.source.deleted" | "customer.source.expiring" | "customer.source.updated" | "customer.subscription.created" | "customer.subscription.deleted" | "customer.subscription.paused" | "customer.subscription.pending_update_applied" | "customer.subscription.pending_update_expired" | "customer.subscription.resumed" | "customer.subscription.trial_will_end" | "customer.subscription.updated" | "customer.tax_id.created" | "customer.tax_id.deleted" | "customer.tax_id.updated" | "customer.updated" | "customer_cash_balance_transaction.created" | "entitlements.active_entitlement_summary.updated" | "file.created" | "financial_connections.account.created" | "financial_connections.account.deactivated" | "financial_connections.account.disconnected" | "financial_connections.account.reactivated" | "financial_connections.account.refreshed_balance" | "financial_connections.account.refreshed_ownership" | "financial_connections.account.refreshed_transactions" | "identity.verification_session.canceled" | "identity.verification_session.created" | "identity.verification_session.processing" | "identity.verification_session.redacted" | "identity.verification_session.requires_input" | "identity.verification_session.verified" | "invoice.created" | "invoice.deleted" | "invoice.finalization_failed" | "invoice.finalized" | "invoice.marked_uncollectible" | "invoice.overdue" | "invoice.paid" | "invoice.payment_action_required" | "invoice.payment_failed" | "invoice.payment_succeeded" | "invoice.sent" | "invoice.upcoming" | "invoice.updated" | "invoice.voided" | "invoice.will_be_due" | "invoiceitem.created" | "invoiceitem.deleted" | "issuing_authorization.created" | "issuing_authorization.request" | "issuing_authorization.updated" | "issuing_card.created" | "issuing_card.updated" | "issuing_cardholder.created" | "issuing_cardholder.updated" | "issuing_dispute.closed" | "issuing_dispute.created" | "issuing_dispute.funds_reinstated" | "issuing_dispute.funds_rescinded" | "issuing_dispute.submitted" | "issuing_dispute.updated" | "issuing_personalization_design.activated" | "issuing_personalization_design.deactivated" | "issuing_personalization_design.rejected" | "issuing_personalization_design.updated" | "issuing_token.created" | "issuing_token.updated" | "issuing_transaction.created" | "issuing_transaction.updated" | "mandate.updated" | "payment_intent.amount_capturable_updated" | "payment_intent.canceled" | "payment_intent.created" | "payment_intent.partially_funded" | "payment_intent.payment_failed" | "payment_intent.processing" | "payment_intent.requires_action" | "payment_intent.succeeded" | "payment_link.created" | "payment_link.updated" | "payment_method.attached" | "payment_method.automatically_updated" | "payment_method.detached" | "payment_method.updated" | "payout.canceled" | "payout.created" | "payout.failed" | "payout.paid" | "payout.reconciliation_completed" | "payout.updated" | "person.created" | "person.deleted" | "person.updated" | "plan.created" | "plan.deleted" | "plan.updated" | "price.created" | "price.deleted" | "price.updated" | "product.created" | "product.deleted" | "product.updated" | "promotion_code.created" | "promotion_code.updated" | "quote.accepted" | "quote.canceled" | "quote.created" | "quote.finalized" | "radar.early_fraud_warning.created" | "radar.early_fraud_warning.updated" | "refund.created" | "refund.updated" | "reporting.report_run.failed" | "reporting.report_run.succeeded" | "reporting.report_type.updated" | "review.closed" | "review.opened" | "setup_intent.canceled" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.setup_failed" | "setup_intent.succeeded" | "sigma.scheduled_query_run.created" | "source.canceled" | "source.chargeable" | "source.failed" | "source.mandate_notification" | "source.refund_attributes_required" | "source.transaction.created" | "source.transaction.updated" | "subscription_schedule.aborted" | "subscription_schedule.canceled" | "subscription_schedule.completed" | "subscription_schedule.created" | "subscription_schedule.expiring" | "subscription_schedule.released" | "subscription_schedule.updated" | "tax.settings.updated" | "tax_rate.created" | "tax_rate.updated" | "terminal.reader.action_failed" | "terminal.reader.action_succeeded" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.created" | "test_helpers.test_clock.deleted" | "test_helpers.test_clock.internal_failure" | "test_helpers.test_clock.ready" | "topup.canceled" | "topup.created" | "topup.failed" | "topup.reversed" | "topup.succeeded" | "transfer.created" | "transfer.reversed" | "transfer.updated" | "treasury.credit_reversal.created" | "treasury.credit_reversal.posted" | "treasury.debit_reversal.completed" | "treasury.debit_reversal.created" | "treasury.debit_reversal.initial_credit_granted" | "treasury.financial_account.closed" | "treasury.financial_account.created" | "treasury.financial_account.features_status_updated" | "treasury.inbound_transfer.canceled" | "treasury.inbound_transfer.created" | "treasury.inbound_transfer.failed" | "treasury.inbound_transfer.succeeded" | "treasury.outbound_payment.canceled" | "treasury.outbound_payment.created" | "treasury.outbound_payment.expected_arrival_date_updated" | "treasury.outbound_payment.failed" | "treasury.outbound_payment.posted" | "treasury.outbound_payment.returned" | "treasury.outbound_payment.tracking_details_updated" | "treasury.outbound_transfer.canceled" | "treasury.outbound_transfer.created" | "treasury.outbound_transfer.expected_arrival_date_updated" | "treasury.outbound_transfer.failed" | "treasury.outbound_transfer.posted" | "treasury.outbound_transfer.returned" | "treasury.outbound_transfer.tracking_details_updated" | "treasury.received_credit.created" | "treasury.received_credit.failed" | "treasury.received_credit.succeeded" | "treasury.received_debit.created")[]; + enabled_events?: ("*" | "account.application.authorized" | "account.application.deauthorized" | "account.external_account.created" | "account.external_account.deleted" | "account.external_account.updated" | "account.updated" | "application_fee.created" | "application_fee.refund.updated" | "application_fee.refunded" | "balance.available" | "billing.alert.triggered" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "capability.updated" | "cash_balance.funds_available" | "charge.captured" | "charge.dispute.closed" | "charge.dispute.created" | "charge.dispute.funds_reinstated" | "charge.dispute.funds_withdrawn" | "charge.dispute.updated" | "charge.expired" | "charge.failed" | "charge.pending" | "charge.refund.updated" | "charge.refunded" | "charge.succeeded" | "charge.updated" | "checkout.session.async_payment_failed" | "checkout.session.async_payment_succeeded" | "checkout.session.completed" | "checkout.session.expired" | "climate.order.canceled" | "climate.order.created" | "climate.order.delayed" | "climate.order.delivered" | "climate.order.product_substituted" | "climate.product.created" | "climate.product.pricing_updated" | "coupon.created" | "coupon.deleted" | "coupon.updated" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "customer.created" | "customer.deleted" | "customer.discount.created" | "customer.discount.deleted" | "customer.discount.updated" | "customer.source.created" | "customer.source.deleted" | "customer.source.expiring" | "customer.source.updated" | "customer.subscription.created" | "customer.subscription.deleted" | "customer.subscription.paused" | "customer.subscription.pending_update_applied" | "customer.subscription.pending_update_expired" | "customer.subscription.resumed" | "customer.subscription.trial_will_end" | "customer.subscription.updated" | "customer.tax_id.created" | "customer.tax_id.deleted" | "customer.tax_id.updated" | "customer.updated" | "customer_cash_balance_transaction.created" | "entitlements.active_entitlement_summary.updated" | "file.created" | "financial_connections.account.created" | "financial_connections.account.deactivated" | "financial_connections.account.disconnected" | "financial_connections.account.reactivated" | "financial_connections.account.refreshed_balance" | "financial_connections.account.refreshed_ownership" | "financial_connections.account.refreshed_transactions" | "identity.verification_session.canceled" | "identity.verification_session.created" | "identity.verification_session.processing" | "identity.verification_session.redacted" | "identity.verification_session.requires_input" | "identity.verification_session.verified" | "invoice.created" | "invoice.deleted" | "invoice.finalization_failed" | "invoice.finalized" | "invoice.marked_uncollectible" | "invoice.overdue" | "invoice.paid" | "invoice.payment_action_required" | "invoice.payment_failed" | "invoice.payment_succeeded" | "invoice.sent" | "invoice.upcoming" | "invoice.updated" | "invoice.voided" | "invoice.will_be_due" | "invoiceitem.created" | "invoiceitem.deleted" | "issuing_authorization.created" | "issuing_authorization.request" | "issuing_authorization.updated" | "issuing_card.created" | "issuing_card.updated" | "issuing_cardholder.created" | "issuing_cardholder.updated" | "issuing_dispute.closed" | "issuing_dispute.created" | "issuing_dispute.funds_reinstated" | "issuing_dispute.funds_rescinded" | "issuing_dispute.submitted" | "issuing_dispute.updated" | "issuing_personalization_design.activated" | "issuing_personalization_design.deactivated" | "issuing_personalization_design.rejected" | "issuing_personalization_design.updated" | "issuing_token.created" | "issuing_token.updated" | "issuing_transaction.created" | "issuing_transaction.purchase_details_receipt_updated" | "issuing_transaction.updated" | "mandate.updated" | "payment_intent.amount_capturable_updated" | "payment_intent.canceled" | "payment_intent.created" | "payment_intent.partially_funded" | "payment_intent.payment_failed" | "payment_intent.processing" | "payment_intent.requires_action" | "payment_intent.succeeded" | "payment_link.created" | "payment_link.updated" | "payment_method.attached" | "payment_method.automatically_updated" | "payment_method.detached" | "payment_method.updated" | "payout.canceled" | "payout.created" | "payout.failed" | "payout.paid" | "payout.reconciliation_completed" | "payout.updated" | "person.created" | "person.deleted" | "person.updated" | "plan.created" | "plan.deleted" | "plan.updated" | "price.created" | "price.deleted" | "price.updated" | "product.created" | "product.deleted" | "product.updated" | "promotion_code.created" | "promotion_code.updated" | "quote.accepted" | "quote.canceled" | "quote.created" | "quote.finalized" | "radar.early_fraud_warning.created" | "radar.early_fraud_warning.updated" | "refund.created" | "refund.failed" | "refund.updated" | "reporting.report_run.failed" | "reporting.report_run.succeeded" | "reporting.report_type.updated" | "review.closed" | "review.opened" | "setup_intent.canceled" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.setup_failed" | "setup_intent.succeeded" | "sigma.scheduled_query_run.created" | "source.canceled" | "source.chargeable" | "source.failed" | "source.mandate_notification" | "source.refund_attributes_required" | "source.transaction.created" | "source.transaction.updated" | "subscription_schedule.aborted" | "subscription_schedule.canceled" | "subscription_schedule.completed" | "subscription_schedule.created" | "subscription_schedule.expiring" | "subscription_schedule.released" | "subscription_schedule.updated" | "tax.settings.updated" | "tax_rate.created" | "tax_rate.updated" | "terminal.reader.action_failed" | "terminal.reader.action_succeeded" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.created" | "test_helpers.test_clock.deleted" | "test_helpers.test_clock.internal_failure" | "test_helpers.test_clock.ready" | "topup.canceled" | "topup.created" | "topup.failed" | "topup.reversed" | "topup.succeeded" | "transfer.created" | "transfer.reversed" | "transfer.updated" | "treasury.credit_reversal.created" | "treasury.credit_reversal.posted" | "treasury.debit_reversal.completed" | "treasury.debit_reversal.created" | "treasury.debit_reversal.initial_credit_granted" | "treasury.financial_account.closed" | "treasury.financial_account.created" | "treasury.financial_account.features_status_updated" | "treasury.inbound_transfer.canceled" | "treasury.inbound_transfer.created" | "treasury.inbound_transfer.failed" | "treasury.inbound_transfer.succeeded" | "treasury.outbound_payment.canceled" | "treasury.outbound_payment.created" | "treasury.outbound_payment.expected_arrival_date_updated" | "treasury.outbound_payment.failed" | "treasury.outbound_payment.posted" | "treasury.outbound_payment.returned" | "treasury.outbound_payment.tracking_details_updated" | "treasury.outbound_transfer.canceled" | "treasury.outbound_transfer.created" | "treasury.outbound_transfer.expected_arrival_date_updated" | "treasury.outbound_transfer.failed" | "treasury.outbound_transfer.posted" | "treasury.outbound_transfer.returned" | "treasury.outbound_transfer.tracking_details_updated" | "treasury.received_credit.created" | "treasury.received_credit.failed" | "treasury.received_credit.succeeded" | "treasury.received_debit.created")[]; /** @description Specifies which fields in the response should be expanded. */ expand?: string[]; /** @description Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ diff --git a/packages/openapi-typescript/examples/stripe-api.yaml b/packages/openapi-typescript/examples/stripe-api.yaml index 870997aa0..142f19ed1 100644 --- a/packages/openapi-typescript/examples/stripe-api.yaml +++ b/packages/openapi-typescript/examples/stripe-api.yaml @@ -56,7 +56,7 @@ components: capabilities: $ref: '#/components/schemas/account_capabilities' charges_enabled: - description: Whether the account can create live charges. + description: Whether the account can process charges. type: boolean company: $ref: '#/components/schemas/legal_entity_company' @@ -139,6 +139,11 @@ components: - data future_requirements: $ref: '#/components/schemas/account_future_requirements' + groups: + anyOf: + - $ref: '#/components/schemas/account_group_membership' + description: The groups associated with the account. + nullable: true id: description: Unique identifier for the object. maxLength: 5000 @@ -162,7 +167,7 @@ components: - account type: string payouts_enabled: - description: Whether Stripe can send payouts to this account. + description: Whether the funds in this account can be paid out. type: boolean requirements: $ref: '#/components/schemas/account_requirements' @@ -195,6 +200,7 @@ components: - controller - external_accounts - future_requirements + - groups - individual - requirements - settings @@ -403,6 +409,15 @@ components: - inactive - pending type: string + alma_payments: + description: >- + The status of the Alma capability of the account, or whether the + account can directly process Alma payments. + enum: + - active + - inactive + - pending + type: string amazon_pay_payments: description: >- The status of the AmazonPay capability of the account, or whether @@ -592,6 +607,15 @@ components: - inactive - pending type: string + kakao_pay_payments: + description: >- + The status of the KakaoPay capability of the account, or whether the + account can directly process KakaoPay payments. + enum: + - active + - inactive + - pending + type: string klarna_payments: description: >- The status of the Klarna payments capability of the account, or @@ -610,6 +634,15 @@ components: - inactive - pending type: string + kr_card_payments: + description: >- + The status of the KrCard capability of the account, or whether the + account can directly process KrCard payments. + enum: + - active + - inactive + - pending + type: string legacy_payments: description: The status of the legacy payments capability of the account. enum: @@ -654,6 +687,15 @@ components: - inactive - pending type: string + naver_pay_payments: + description: >- + The status of the NaverPay capability of the account, or whether the + account can directly process NaverPay payments. + enum: + - active + - inactive + - pending + type: string oxxo_payments: description: >- The status of the OXXO payments capability of the account, or @@ -672,6 +714,15 @@ components: - inactive - pending type: string + payco_payments: + description: >- + The status of the Payco capability of the account, or whether the + account can directly process Payco payments. + enum: + - active + - inactive + - pending + type: string paynow_payments: description: >- The status of the paynow payments capability of the account, or @@ -699,6 +750,15 @@ components: - inactive - pending type: string + samsung_pay_payments: + description: >- + The status of the SamsungPay capability of the account, or whether + the account can directly process SamsungPay payments. + enum: + - active + - inactive + - pending + type: string sepa_bank_transfer_payments: description: >- The status of the SEPA customer_balance payments (EUR currency) @@ -1185,6 +1245,22 @@ components: x-expandableFields: - alternatives - errors + account_group_membership: + description: '' + properties: + payments_pricing: + description: >- + The group the account is in to determine their payments pricing, and + null if the account is on customized pricing. [See the Platform + pricing tool + documentation](https://stripe.com/docs/connect/platform-pricing-tools) + for details. + maxLength: 5000 + nullable: true + type: string + title: AccountGroupMembership + type: object + x-expandableFields: [] account_invoices_settings: description: '' properties: @@ -3207,13 +3283,6 @@ components: - usage_threshold type: string x-stripeBypassValidation: true - filter: - anyOf: - - $ref: '#/components/schemas/thresholds_resource_alert_filter' - description: >- - Limits the scope of the alert to a specific - [customer](https://stripe.com/docs/api/customers). - nullable: true id: description: Unique identifier for the object. maxLength: 5000 @@ -3242,7 +3311,7 @@ components: description: Title of the alert. maxLength: 5000 type: string - usage_threshold_config: + usage_threshold: anyOf: - $ref: '#/components/schemas/thresholds_resource_usage_threshold_config' description: >- @@ -3258,9 +3327,270 @@ components: title: ThresholdsResourceAlert type: object x-expandableFields: - - filter - - usage_threshold_config + - usage_threshold x-resourceId: billing.alert + billing.credit_balance_summary: + description: >- + Indicates the billing credit balance for billing credits granted to a + customer. + properties: + balances: + description: >- + The billing credit balances. One entry per credit grant currency. If + a customer only has credit grants in a single currency, then this + will have a single balance entry. + items: + $ref: '#/components/schemas/credit_balance' + type: array + customer: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/customer' + - $ref: '#/components/schemas/deleted_customer' + description: The customer the balance is for. + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/customer' + - $ref: '#/components/schemas/deleted_customer' + livemode: + description: >- + Has the value `true` if the object exists in live mode or the value + `false` if the object exists in test mode. + type: boolean + object: + description: >- + String representing the object's type. Objects of the same type + share the same value. + enum: + - billing.credit_balance_summary + type: string + required: + - balances + - customer + - livemode + - object + title: CreditBalanceSummary + type: object + x-expandableFields: + - balances + - customer + x-resourceId: billing.credit_balance_summary + billing.credit_balance_transaction: + description: >- + A credit balance transaction is a resource representing a transaction + (either a credit or a debit) against an existing credit grant. + properties: + created: + description: >- + Time at which the object was created. Measured in seconds since the + Unix epoch. + format: unix-time + type: integer + credit: + anyOf: + - $ref: >- + #/components/schemas/billing_credit_grants_resource_balance_credit + description: >- + Credit details for this credit balance transaction. Only present if + type is `credit`. + nullable: true + credit_grant: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/billing.credit_grant' + description: The credit grant associated with this credit balance transaction. + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/billing.credit_grant' + debit: + anyOf: + - $ref: >- + #/components/schemas/billing_credit_grants_resource_balance_debit + description: >- + Debit details for this credit balance transaction. Only present if + type is `debit`. + nullable: true + effective_at: + description: The effective time of this credit balance transaction. + format: unix-time + type: integer + id: + description: Unique identifier for the object. + maxLength: 5000 + type: string + livemode: + description: >- + Has the value `true` if the object exists in live mode or the value + `false` if the object exists in test mode. + type: boolean + object: + description: >- + String representing the object's type. Objects of the same type + share the same value. + enum: + - billing.credit_balance_transaction + type: string + test_clock: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/test_helpers.test_clock' + description: ID of the test clock this credit balance transaction belongs to. + nullable: true + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/test_helpers.test_clock' + type: + description: The type of credit balance transaction (credit or debit). + enum: + - credit + - debit + nullable: true + type: string + required: + - created + - credit_grant + - effective_at + - id + - livemode + - object + title: CreditBalanceTransaction + type: object + x-expandableFields: + - credit + - credit_grant + - debit + - test_clock + x-resourceId: billing.credit_balance_transaction + billing.credit_grant: + description: >- + A credit grant is an API resource that documents the allocation of some + billing credits to a customer. + + + Related guide: [Billing + credits](https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits) + + end + properties: + amount: + $ref: '#/components/schemas/billing_credit_grants_resource_amount' + applicability_config: + $ref: >- + #/components/schemas/billing_credit_grants_resource_applicability_config + category: + description: >- + The category of this credit grant. This is for tracking purposes and + will not be displayed to the customer. + enum: + - paid + - promotional + type: string + created: + description: >- + Time at which the object was created. Measured in seconds since the + Unix epoch. + format: unix-time + type: integer + customer: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/customer' + - $ref: '#/components/schemas/deleted_customer' + description: ID of the customer to whom the billing credits are granted. + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/customer' + - $ref: '#/components/schemas/deleted_customer' + effective_at: + description: >- + The time when the billing credits become effective i.e when they are + eligible to be used. + format: unix-time + nullable: true + type: integer + expires_at: + description: >- + The time when the billing credits will expire. If not present, the + billing credits will never expire. + format: unix-time + nullable: true + type: integer + id: + description: Unique identifier for the object. + maxLength: 5000 + type: string + livemode: + description: >- + Has the value `true` if the object exists in live mode or the value + `false` if the object exists in test mode. + type: boolean + metadata: + additionalProperties: + maxLength: 500 + type: string + description: >- + Set of [key-value pairs](https://stripe.com/docs/api/metadata) that + you can attach to an object. This can be useful for storing + additional information about the object in a structured format. + type: object + name: + description: A descriptive name shown in dashboard. + maxLength: 5000 + nullable: true + type: string + object: + description: >- + String representing the object's type. Objects of the same type + share the same value. + enum: + - billing.credit_grant + type: string + test_clock: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/test_helpers.test_clock' + description: ID of the test clock this credit grant belongs to. + nullable: true + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/test_helpers.test_clock' + updated: + description: >- + Time at which the object was last updated. Measured in seconds since + the Unix epoch. + format: unix-time + type: integer + voided_at: + description: >- + The time when this credit grant was voided. If not present, the + credit grant hasn't been voided. + format: unix-time + nullable: true + type: integer + required: + - amount + - applicability_config + - category + - created + - customer + - id + - livemode + - metadata + - object + - updated + title: CreditGrant + type: object + x-expandableFields: + - amount + - applicability_config + - customer + - test_clock + x-resourceId: billing.credit_grant billing.meter: description: >- A billing meter is a resource that allows you to track usage of a @@ -3268,6 +3598,10 @@ components: the number of API calls made by a particular user. You can then attach the billing meter to a price and attach the price to a subscription to charge the user for the number of API calls they make. + + + Related guide: [Usage based + billing](https://docs.stripe.com/billing/subscriptions/usage-based) properties: created: description: >- @@ -3551,6 +3885,144 @@ components: type: object x-expandableFields: - advancing + billing_credit_grants_resource_amount: + description: '' + properties: + monetary: + anyOf: + - $ref: >- + #/components/schemas/billing_credit_grants_resource_monetary_amount + description: The monetary amount. + nullable: true + type: + description: >- + The type of this amount. We currently only support `monetary` + billing credits. + enum: + - monetary + type: string + required: + - type + title: BillingCreditGrantsResourceAmount + type: object + x-expandableFields: + - monetary + billing_credit_grants_resource_applicability_config: + description: '' + properties: + scope: + $ref: '#/components/schemas/billing_credit_grants_resource_scope' + required: + - scope + title: BillingCreditGrantsResourceApplicabilityConfig + type: object + x-expandableFields: + - scope + billing_credit_grants_resource_balance_credit: + description: '' + properties: + amount: + $ref: '#/components/schemas/billing_credit_grants_resource_amount' + type: + description: The type of credit transaction. + enum: + - credits_granted + type: string + required: + - amount + - type + title: BillingCreditGrantsResourceBalanceCredit + type: object + x-expandableFields: + - amount + billing_credit_grants_resource_balance_credits_applied: + description: '' + properties: + invoice: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/invoice' + description: The invoice to which the billing credits were applied. + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/invoice' + invoice_line_item: + description: The invoice line item to which the billing credits were applied. + maxLength: 5000 + type: string + required: + - invoice + - invoice_line_item + title: BillingCreditGrantsResourceBalanceCreditsApplied + type: object + x-expandableFields: + - invoice + billing_credit_grants_resource_balance_debit: + description: '' + properties: + amount: + $ref: '#/components/schemas/billing_credit_grants_resource_amount' + credits_applied: + anyOf: + - $ref: >- + #/components/schemas/billing_credit_grants_resource_balance_credits_applied + description: >- + Details of how the billing credits were applied to an invoice. Only + present if `type` is `credits_applied`. + nullable: true + type: + description: The type of debit transaction. + enum: + - credits_applied + - credits_expired + - credits_voided + type: string + required: + - amount + - type + title: BillingCreditGrantsResourceBalanceDebit + type: object + x-expandableFields: + - amount + - credits_applied + billing_credit_grants_resource_monetary_amount: + description: '' + properties: + currency: + description: >- + Three-letter [ISO currency + code](https://www.iso.org/iso-4217-currency-codes.html), in + lowercase. Must be a [supported + currency](https://stripe.com/docs/currencies). + maxLength: 5000 + type: string + value: + description: A positive integer representing the amount. + type: integer + required: + - currency + - value + title: BillingCreditGrantsResourceMonetaryAmount + type: object + x-expandableFields: [] + billing_credit_grants_resource_scope: + description: '' + properties: + price_type: + description: >- + The price type to which credit grants can apply to. We currently + only support `metered` price type. This refers to prices that have a + [Billing Meter](https://docs.stripe.com/api/billing/meter) attached + to them. + enum: + - metered + type: string + required: + - price_type + title: BillingCreditGrantsResourceScope + type: object + x-expandableFields: [] billing_details: description: '' properties: @@ -4001,9 +4473,7 @@ components: requirements: $ref: '#/components/schemas/account_capability_requirements' status: - description: >- - The status of the capability. Can be `active`, `inactive`, - `pending`, or `unrequested`. + description: The status of the capability. enum: - active - disabled @@ -5423,6 +5893,7 @@ components: - pay nullable: true type: string + x-stripeBypassValidation: true subscription: anyOf: - maxLength: 5000 @@ -7156,6 +7627,7 @@ components: - direct_air_capture - enhanced_weathering type: string + x-stripeBypassValidation: true required: - id - info_url @@ -7503,6 +7975,8 @@ components: - limited - unspecified type: string + alma: + $ref: '#/components/schemas/payment_method_alma' amazon_pay: $ref: '#/components/schemas/payment_method_amazon_pay' au_becs_debit: @@ -7550,20 +8024,28 @@ components: $ref: '#/components/schemas/payment_method_ideal' interac_present: $ref: '#/components/schemas/payment_method_interac_present' + kakao_pay: + $ref: '#/components/schemas/payment_method_kakao_pay' klarna: $ref: '#/components/schemas/payment_method_klarna' konbini: $ref: '#/components/schemas/payment_method_konbini' + kr_card: + $ref: '#/components/schemas/payment_method_kr_card' link: $ref: '#/components/schemas/payment_method_link' mobilepay: $ref: '#/components/schemas/payment_method_mobilepay' multibanco: $ref: '#/components/schemas/payment_method_multibanco' + naver_pay: + $ref: '#/components/schemas/payment_method_naver_pay' oxxo: $ref: '#/components/schemas/payment_method_oxxo' p24: $ref: '#/components/schemas/payment_method_p24' + payco: + $ref: '#/components/schemas/payment_method_payco' paynow: $ref: '#/components/schemas/payment_method_paynow' paypal: @@ -7574,6 +8056,8 @@ components: $ref: '#/components/schemas/payment_method_promptpay' revolut_pay: $ref: '#/components/schemas/payment_method_revolut_pay' + samsung_pay: + $ref: '#/components/schemas/payment_method_samsung_pay' sepa_debit: $ref: '#/components/schemas/payment_method_sepa_debit' sofort: @@ -7592,6 +8076,7 @@ components: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -7608,18 +8093,23 @@ components: - grabpay - ideal - interac_present + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -7645,6 +8135,7 @@ components: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -7663,18 +8154,23 @@ components: - grabpay - ideal - interac_present + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -7794,13 +8290,23 @@ components: connect_embedded_account_features_claim: description: '' properties: + disable_stripe_user_authentication: + description: >- + Disables Stripe user authentication for this embedded component. + This feature can only be false for accounts where you’re responsible + for collecting updated information when requirements are due or + change, like custom accounts. The default value for this feature is + `false` when `external_account_collection` is enabled and `true` + otherwise. + type: boolean external_account_collection: description: >- Whether to allow platforms to control bank account collection for - their connected accounts. This feature can only be false for custom - accounts (or accounts where the platform is compliance owner). + their connected accounts. This feature can only be false for + accounts where you’re responsible for collecting updated information + when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance - requirements. + requirements. The default value for this feature is `true`. type: boolean required: - external_account_collection @@ -7941,6 +8447,15 @@ components: connect_embedded_payouts_features: description: '' properties: + disable_stripe_user_authentication: + description: >- + Disables Stripe user authentication for this embedded component. + This feature can only be false for accounts where you’re responsible + for collecting updated information when requirements are due or + change, like custom accounts. The default value for this feature is + `false` when `external_account_collection` is enabled and `true` + otherwise. + type: boolean edit_payout_schedule: description: >- Whether to allow payout schedule to be changed. Default `true` when @@ -7949,10 +8464,11 @@ components: external_account_collection: description: >- Whether to allow platforms to control bank account collection for - their connected accounts. This feature can only be false for custom - accounts (or accounts where the platform is compliance owner). + their connected accounts. This feature can only be false for + accounts where you’re responsible for collecting updated information + when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance - requirements. + requirements. The default value for this feature is `true`. type: boolean instant_payouts: description: >- @@ -8255,6 +8771,21 @@ components: title: CouponCurrencyOption type: object x-expandableFields: [] + credit_balance: + description: '' + properties: + available_balance: + $ref: '#/components/schemas/billing_credit_grants_resource_amount' + ledger_balance: + $ref: '#/components/schemas/billing_credit_grants_resource_amount' + required: + - available_balance + - ledger_balance + title: CreditBalance + type: object + x-expandableFields: + - available_balance + - ledger_balance credit_note: description: >- Issue a credit note to adjust an invoice's amount after the invoice is @@ -8411,6 +8942,13 @@ components: description: The link to download the PDF of the credit note. maxLength: 5000 type: string + pretax_credit_amounts: + description: >- + The pretax credit amounts (ex: discount, credit grants, etc) for all + line items. + items: + $ref: '#/components/schemas/credit_notes_pretax_credit_amount' + type: array reason: description: >- Reason for issuing this credit note, one of `duplicate`, @@ -8522,6 +9060,7 @@ components: - discount_amounts - invoice - lines + - pretax_credit_amounts - refund - shipping_cost - tax_amounts @@ -8577,6 +9116,13 @@ components: enum: - credit_note_line_item type: string + pretax_credit_amounts: + description: >- + The pretax credit amounts (ex: discount, credit grants, etc) for + this line item. + items: + $ref: '#/components/schemas/credit_notes_pretax_credit_amount' + type: array quantity: description: The number of units of product being credited. nullable: true @@ -8634,6 +9180,7 @@ components: type: object x-expandableFields: - discount_amounts + - pretax_credit_amounts - tax_amounts - tax_rates x-resourceId: credit_note_line_item @@ -8693,6 +9240,50 @@ components: type: object x-expandableFields: - tax_rate + credit_notes_pretax_credit_amount: + description: '' + properties: + amount: + description: >- + The amount, in cents (or local equivalent), of the pretax credit + amount. + type: integer + credit_balance_transaction: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/billing.credit_balance_transaction' + description: >- + The credit balance transaction that was applied to get this pretax + credit amount. + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/billing.credit_balance_transaction' + discount: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/discount' + - $ref: '#/components/schemas/deleted_discount' + description: The discount that was applied to get this pretax credit amount. + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/discount' + - $ref: '#/components/schemas/deleted_discount' + type: + description: Type of the pretax credit amount referenced. + enum: + - credit_balance_transaction + - discount + type: string + required: + - amount + - type + title: CreditNotesPretaxCreditAmount + type: object + x-expandableFields: + - credit_balance_transaction + - discount currency_option: description: '' properties: @@ -8767,12 +9358,12 @@ components: x-expandableFields: [] customer: description: >- - This object represents a customer of your business. Use it to create - recurring charges and track payments that belong to the same customer. - + This object represents a customer of your business. Use it to [create + recurring charges](https://stripe.com/docs/invoicing/customer), [save + payment](https://stripe.com/docs/payments/save-during-payment) and + contact information, - Related guide: [Save a card during - payment](https://stripe.com/docs/payments/save-during-payment) + and track payments that belong to the same customer. properties: address: anyOf: @@ -12916,6 +13507,16 @@ components: Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. type: boolean + metadata: + additionalProperties: + maxLength: 500 + type: string + description: >- + Set of [key-value pairs](https://stripe.com/docs/api/metadata) that + you can attach to an object. This can be useful for storing + additional information about the object in a structured format. + nullable: true + type: object object: description: >- String representing the object's type. Objects of the same type @@ -15112,6 +15713,15 @@ components: all tax. nullable: true type: integer + total_pretax_credit_amounts: + description: >- + Contains pretax credit amounts (ex: discount, credit grants, etc) + that apply to this invoice. This is a combined list of + total_pretax_credit_amounts across all invoice line items. + items: + $ref: '#/components/schemas/invoices_resource_pretax_credit_amount' + nullable: true + type: array total_tax_amounts: description: The aggregate amounts calculated per tax rate for all line items. items: @@ -15200,6 +15810,7 @@ components: - test_clock - threshold_reason - total_discount_amounts + - total_pretax_credit_amounts - total_tax_amounts - transfer_data x-resourceId: invoice @@ -16190,14 +16801,20 @@ components: - giropay - grabpay - ideal + - jp_credit_transfer + - kakao_pay - konbini + - kr_card - link - multibanco + - naver_pay - p24 + - payco - paynow - paypal - promptpay - revolut_pay + - sepa_credit_transfer - sepa_debit - sofort - swish @@ -16279,7 +16896,8 @@ components: `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, - `om_vat`, `de_stn`, `ch_uid`, or `unknown` + `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, + `md_vat`, `ma_vat`, `by_tin`, or `unknown` enum: - ad_nrt - ae_trn @@ -16291,6 +16909,7 @@ components: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -16326,6 +16945,8 @@ components: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -16349,10 +16970,13 @@ components: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - unknown - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -16400,6 +17024,52 @@ components: type: object x-expandableFields: - credited_items + invoices_resource_pretax_credit_amount: + description: '' + properties: + amount: + description: >- + The amount, in cents (or local equivalent), of the pretax credit + amount. + type: integer + credit_balance_transaction: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/billing.credit_balance_transaction' + description: >- + The credit balance transaction that was applied to get this pretax + credit amount. + nullable: true + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/billing.credit_balance_transaction' + discount: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/discount' + - $ref: '#/components/schemas/deleted_discount' + description: The discount that was applied to get this pretax credit amount. + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/discount' + - $ref: '#/components/schemas/deleted_discount' + type: + description: Type of the pretax credit amount referenced. + enum: + - credit_balance_transaction + - discount + type: string + x-stripeBypassValidation: true + required: + - amount + - type + title: InvoicesResourcePretaxCreditAmount + type: object + x-expandableFields: + - credit_balance_transaction + - discount invoices_resource_shipping_cost: description: '' properties: @@ -16630,6 +17300,7 @@ components: - pending - reversed type: string + x-stripeBypassValidation: true token: anyOf: - maxLength: 5000 @@ -22556,6 +23227,14 @@ components: type: string period: $ref: '#/components/schemas/invoice_line_item_period' + pretax_credit_amounts: + description: >- + Contains pretax credit amounts (ex: discount, credit grants, etc) + that apply to this line item. + items: + $ref: '#/components/schemas/invoices_resource_pretax_credit_amount' + nullable: true + type: array price: anyOf: - $ref: '#/components/schemas/price' @@ -22643,6 +23322,7 @@ components: - discounts - invoice_item - period + - pretax_credit_amounts - price - proration_details - subscription @@ -22963,6 +23643,18 @@ components: title: mandate_cashapp type: object x-expandableFields: [] + mandate_kakao_pay: + description: '' + properties: {} + title: mandate_kakao_pay + type: object + x-expandableFields: [] + mandate_kr_card: + description: '' + properties: {} + title: mandate_kr_card + type: object + x-expandableFields: [] mandate_link: description: '' properties: {} @@ -22990,6 +23682,10 @@ components: $ref: '#/components/schemas/card_mandate_payment_method_details' cashapp: $ref: '#/components/schemas/mandate_cashapp' + kakao_pay: + $ref: '#/components/schemas/mandate_kakao_pay' + kr_card: + $ref: '#/components/schemas/mandate_kr_card' link: $ref: '#/components/schemas/mandate_link' paypal: @@ -23019,6 +23715,8 @@ components: - bacs_debit - card - cashapp + - kakao_pay + - kr_card - link - paypal - revolut_pay @@ -23608,6 +24306,47 @@ components: title: PaymentFlowsPrivatePaymentMethodsCardPresentCommonWallet type: object x-expandableFields: [] + payment_flows_private_payment_methods_kakao_pay_payment_method_options: + description: '' + properties: + capture_method: + description: >- + Controls when the funds will be captured from the customer's + account. + enum: + - manual + type: string + setup_future_usage: + description: >- + Indicates that you intend to make future payments with this + PaymentIntent's payment method. + + + If you provide a Customer with the PaymentIntent, you can use this + parameter to [attach the payment + method](/payments/save-during-payment) to the Customer after the + PaymentIntent is confirmed and the customer completes any required + actions. If you don't provide a Customer, you can still + [attach](/api/payment_methods/attach) the payment method to a + Customer after the transaction completes. + + + If the payment method is `card_present` and isn't a digital wallet, + Stripe creates and attaches a + [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) + payment method representing the card to the Customer instead. + + + When processing card payments, Stripe uses `setup_future_usage` to + help you comply with regional legislation and network rules, such as + [SCA](/strong-customer-authentication). + enum: + - none + - off_session + type: string + title: PaymentFlowsPrivatePaymentMethodsKakaoPayPaymentMethodOptions + type: object + x-expandableFields: [] payment_flows_private_payment_methods_klarna_dob: description: '' properties: @@ -23626,6 +24365,45 @@ components: title: PaymentFlowsPrivatePaymentMethodsKlarnaDOB type: object x-expandableFields: [] + payment_flows_private_payment_methods_naver_pay_payment_method_options: + description: '' + properties: + capture_method: + description: >- + Controls when the funds will be captured from the customer's + account. + enum: + - manual + type: string + title: PaymentFlowsPrivatePaymentMethodsNaverPayPaymentMethodOptions + type: object + x-expandableFields: [] + payment_flows_private_payment_methods_payco_payment_method_options: + description: '' + properties: + capture_method: + description: >- + Controls when the funds will be captured from the customer's + account. + enum: + - manual + type: string + title: PaymentFlowsPrivatePaymentMethodsPaycoPaymentMethodOptions + type: object + x-expandableFields: [] + payment_flows_private_payment_methods_samsung_pay_payment_method_options: + description: '' + properties: + capture_method: + description: >- + Controls when the funds will be captured from the customer's + account. + enum: + - manual + type: string + title: PaymentFlowsPrivatePaymentMethodsSamsungPayPaymentMethodOptions + type: object + x-expandableFields: [] payment_flows_private_payment_methods_us_bank_account_linked_account_options_filters: description: '' properties: @@ -24830,6 +25608,11 @@ components: - $ref: '#/components/schemas/payment_method_options_alipay' - $ref: >- #/components/schemas/payment_intent_type_specific_payment_method_options_client + alma: + anyOf: + - $ref: '#/components/schemas/payment_method_options_alma' + - $ref: >- + #/components/schemas/payment_intent_type_specific_payment_method_options_client amazon_pay: anyOf: - $ref: '#/components/schemas/payment_method_options_amazon_pay' @@ -24912,6 +25695,12 @@ components: - $ref: '#/components/schemas/payment_method_options_interac_present' - $ref: >- #/components/schemas/payment_intent_type_specific_payment_method_options_client + kakao_pay: + anyOf: + - $ref: >- + #/components/schemas/payment_flows_private_payment_methods_kakao_pay_payment_method_options + - $ref: >- + #/components/schemas/payment_intent_type_specific_payment_method_options_client klarna: anyOf: - $ref: '#/components/schemas/payment_method_options_klarna' @@ -24922,6 +25711,11 @@ components: - $ref: '#/components/schemas/payment_method_options_konbini' - $ref: >- #/components/schemas/payment_intent_type_specific_payment_method_options_client + kr_card: + anyOf: + - $ref: '#/components/schemas/payment_method_options_kr_card' + - $ref: >- + #/components/schemas/payment_intent_type_specific_payment_method_options_client link: anyOf: - $ref: '#/components/schemas/payment_intent_payment_method_options_link' @@ -24938,6 +25732,12 @@ components: - $ref: '#/components/schemas/payment_method_options_multibanco' - $ref: >- #/components/schemas/payment_intent_type_specific_payment_method_options_client + naver_pay: + anyOf: + - $ref: >- + #/components/schemas/payment_flows_private_payment_methods_naver_pay_payment_method_options + - $ref: >- + #/components/schemas/payment_intent_type_specific_payment_method_options_client oxxo: anyOf: - $ref: '#/components/schemas/payment_method_options_oxxo' @@ -24948,6 +25748,12 @@ components: - $ref: '#/components/schemas/payment_method_options_p24' - $ref: >- #/components/schemas/payment_intent_type_specific_payment_method_options_client + payco: + anyOf: + - $ref: >- + #/components/schemas/payment_flows_private_payment_methods_payco_payment_method_options + - $ref: >- + #/components/schemas/payment_intent_type_specific_payment_method_options_client paynow: anyOf: - $ref: '#/components/schemas/payment_method_options_paynow' @@ -24973,6 +25779,12 @@ components: - $ref: '#/components/schemas/payment_method_options_revolut_pay' - $ref: >- #/components/schemas/payment_intent_type_specific_payment_method_options_client + samsung_pay: + anyOf: + - $ref: >- + #/components/schemas/payment_flows_private_payment_methods_samsung_pay_payment_method_options + - $ref: >- + #/components/schemas/payment_intent_type_specific_payment_method_options_client sepa_debit: anyOf: - $ref: >- @@ -25017,6 +25829,7 @@ components: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -25033,18 +25846,23 @@ components: - grabpay - ideal - interac_present + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -25977,6 +26795,7 @@ components: - affirm - afterpay_clearpay - alipay + - alma - au_becs_debit - bacs_debit - bancontact @@ -26039,6 +26858,7 @@ components: - donate - pay type: string + x-stripeBypassValidation: true subscription_data: anyOf: - $ref: '#/components/schemas/payment_links_resource_subscription_data' @@ -27015,6 +27835,8 @@ components: - limited - unspecified type: string + alma: + $ref: '#/components/schemas/payment_method_alma' amazon_pay: $ref: '#/components/schemas/payment_method_amazon_pay' au_becs_debit: @@ -27072,10 +27894,14 @@ components: $ref: '#/components/schemas/payment_method_ideal' interac_present: $ref: '#/components/schemas/payment_method_interac_present' + kakao_pay: + $ref: '#/components/schemas/payment_method_kakao_pay' klarna: $ref: '#/components/schemas/payment_method_klarna' konbini: $ref: '#/components/schemas/payment_method_konbini' + kr_card: + $ref: '#/components/schemas/payment_method_kr_card' link: $ref: '#/components/schemas/payment_method_link' livemode: @@ -27097,6 +27923,8 @@ components: $ref: '#/components/schemas/payment_method_mobilepay' multibanco: $ref: '#/components/schemas/payment_method_multibanco' + naver_pay: + $ref: '#/components/schemas/payment_method_naver_pay' object: description: >- String representing the object's type. Objects of the same type @@ -27108,6 +27936,8 @@ components: $ref: '#/components/schemas/payment_method_oxxo' p24: $ref: '#/components/schemas/payment_method_p24' + payco: + $ref: '#/components/schemas/payment_method_payco' paynow: $ref: '#/components/schemas/payment_method_paynow' paypal: @@ -27120,6 +27950,8 @@ components: $ref: '#/components/schemas/radar_radar_options' revolut_pay: $ref: '#/components/schemas/payment_method_revolut_pay' + samsung_pay: + $ref: '#/components/schemas/payment_method_samsung_pay' sepa_debit: $ref: '#/components/schemas/payment_method_sepa_debit' sofort: @@ -27138,6 +27970,7 @@ components: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -27154,18 +27987,23 @@ components: - grabpay - ideal - interac_present + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -27195,6 +28033,7 @@ components: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -27213,19 +28052,24 @@ components: - grabpay - ideal - interac_present + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - radar_options - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -27279,6 +28123,12 @@ components: title: payment_method_afterpay_clearpay type: object x-expandableFields: [] + payment_method_alma: + description: '' + properties: {} + title: payment_method_alma + type: object + x-expandableFields: [] payment_method_amazon_pay: description: '' properties: {} @@ -27965,6 +28815,9 @@ components: alipay: $ref: >- #/components/schemas/payment_method_config_resource_payment_method_properties + alma: + $ref: >- + #/components/schemas/payment_method_config_resource_payment_method_properties amazon_pay: $ref: >- #/components/schemas/payment_method_config_resource_payment_method_properties @@ -28124,6 +28977,7 @@ components: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - apple_pay - au_becs_debit @@ -28183,6 +29037,8 @@ components: alipay: $ref: >- #/components/schemas/payment_flows_private_payment_methods_alipay_details + alma: + $ref: '#/components/schemas/payment_method_details_alma' amazon_pay: $ref: '#/components/schemas/payment_method_details_amazon_pay' au_becs_debit: @@ -28215,20 +29071,28 @@ components: $ref: '#/components/schemas/payment_method_details_ideal' interac_present: $ref: '#/components/schemas/payment_method_details_interac_present' + kakao_pay: + $ref: '#/components/schemas/payment_method_details_kakao_pay' klarna: $ref: '#/components/schemas/payment_method_details_klarna' konbini: $ref: '#/components/schemas/payment_method_details_konbini' + kr_card: + $ref: '#/components/schemas/payment_method_details_kr_card' link: $ref: '#/components/schemas/payment_method_details_link' mobilepay: $ref: '#/components/schemas/payment_method_details_mobilepay' multibanco: $ref: '#/components/schemas/payment_method_details_multibanco' + naver_pay: + $ref: '#/components/schemas/payment_method_details_naver_pay' oxxo: $ref: '#/components/schemas/payment_method_details_oxxo' p24: $ref: '#/components/schemas/payment_method_details_p24' + payco: + $ref: '#/components/schemas/payment_method_details_payco' paynow: $ref: '#/components/schemas/payment_method_details_paynow' paypal: @@ -28239,6 +29103,8 @@ components: $ref: '#/components/schemas/payment_method_details_promptpay' revolut_pay: $ref: '#/components/schemas/payment_method_details_revolut_pay' + samsung_pay: + $ref: '#/components/schemas/payment_method_details_samsung_pay' sepa_debit: $ref: '#/components/schemas/payment_method_details_sepa_debit' sofort: @@ -28282,6 +29148,7 @@ components: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -28298,18 +29165,23 @@ components: - grabpay - ideal - interac_present + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - stripe_account @@ -28453,6 +29325,12 @@ components: title: payment_method_details_afterpay_clearpay type: object x-expandableFields: [] + payment_method_details_alma: + description: '' + properties: {} + title: payment_method_details_alma + type: object + x-expandableFields: [] payment_method_details_amazon_pay: description: '' properties: {} @@ -29750,6 +30628,19 @@ components: title: payment_method_details_interac_present_receipt type: object x-expandableFields: [] + payment_method_details_kakao_pay: + description: '' + properties: + buyer_id: + description: >- + A unique identifier for the buyer as determined by the local payment + processor. + maxLength: 5000 + nullable: true + type: string + title: payment_method_details_kakao_pay + type: object + x-expandableFields: [] payment_method_details_klarna: description: '' properties: @@ -29817,6 +30708,53 @@ components: title: payment_method_details_konbini_store type: object x-expandableFields: [] + payment_method_details_kr_card: + description: '' + properties: + brand: + description: The local credit or debit card brand. + enum: + - bc + - citi + - hana + - hyundai + - jeju + - jeonbuk + - kakaobank + - kbank + - kdbbank + - kookmin + - kwangju + - lotte + - mg + - nh + - post + - samsung + - savingsbank + - shinhan + - shinhyup + - suhyup + - tossbank + - woori + nullable: true + type: string + buyer_id: + description: >- + A unique identifier for the buyer as determined by the local payment + processor. + maxLength: 5000 + nullable: true + type: string + last4: + description: >- + The last four digits of the card. This may not be present for + American Express cards. + maxLength: 4 + nullable: true + type: string + title: payment_method_details_kr_card + type: object + x-expandableFields: [] payment_method_details_link: description: '' properties: @@ -29860,6 +30798,19 @@ components: title: payment_method_details_multibanco type: object x-expandableFields: [] + payment_method_details_naver_pay: + description: '' + properties: + buyer_id: + description: >- + A unique identifier for the buyer as determined by the local payment + processor. + maxLength: 5000 + nullable: true + type: string + title: payment_method_details_naver_pay + type: object + x-expandableFields: [] payment_method_details_oxxo: description: '' properties: @@ -29934,6 +30885,19 @@ components: title: payment_method_details_p24 type: object x-expandableFields: [] + payment_method_details_payco: + description: '' + properties: + buyer_id: + description: >- + A unique identifier for the buyer as determined by the local payment + processor. + maxLength: 5000 + nullable: true + type: string + title: payment_method_details_payco + type: object + x-expandableFields: [] payment_method_details_paynow: description: '' properties: @@ -30017,6 +30981,19 @@ components: title: payment_method_details_revolut_pay type: object x-expandableFields: [] + payment_method_details_samsung_pay: + description: '' + properties: + buyer_id: + description: >- + A unique identifier for the buyer as determined by the local payment + processor. + maxLength: 5000 + nullable: true + type: string + title: payment_method_details_samsung_pay + type: object + x-expandableFields: [] payment_method_details_sepa_debit: description: '' properties: @@ -30281,6 +31258,9 @@ components: Related guide: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration). properties: + amazon_pay: + $ref: >- + #/components/schemas/payment_method_domain_resource_payment_method_status apple_pay: $ref: >- #/components/schemas/payment_method_domain_resource_payment_method_status @@ -30326,6 +31306,7 @@ components: $ref: >- #/components/schemas/payment_method_domain_resource_payment_method_status required: + - amazon_pay - apple_pay - created - domain_name @@ -30339,6 +31320,7 @@ components: title: PaymentMethodDomainResourcePaymentMethodDomain type: object x-expandableFields: + - amazon_pay - apple_pay - google_pay - link @@ -30645,6 +31627,12 @@ components: type: object x-expandableFields: - networks + payment_method_kakao_pay: + description: '' + properties: {} + title: payment_method_kakao_pay + type: object + x-expandableFields: [] payment_method_klarna: description: '' properties: @@ -30664,6 +31652,46 @@ components: title: payment_method_konbini type: object x-expandableFields: [] + payment_method_kr_card: + description: '' + properties: + brand: + description: The local credit or debit card brand. + enum: + - bc + - citi + - hana + - hyundai + - jeju + - jeonbuk + - kakaobank + - kbank + - kdbbank + - kookmin + - kwangju + - lotte + - mg + - nh + - post + - samsung + - savingsbank + - shinhan + - shinhyup + - suhyup + - tossbank + - woori + nullable: true + type: string + last4: + description: >- + The last four digits of the card. This may not be present for + American Express cards. + maxLength: 4 + nullable: true + type: string + title: payment_method_kr_card + type: object + x-expandableFields: [] payment_method_link: description: '' properties: @@ -30687,6 +31715,21 @@ components: title: payment_method_multibanco type: object x-expandableFields: [] + payment_method_naver_pay: + description: '' + properties: + funding: + description: Whether to fund this transaction with Naver Pay points or a card. + enum: + - card + - points + type: string + x-stripeBypassValidation: true + required: + - funding + title: payment_method_naver_pay + type: object + x-expandableFields: [] payment_method_options_affirm: description: '' properties: @@ -30818,6 +31861,19 @@ components: title: payment_method_options_alipay type: object x-expandableFields: [] + payment_method_options_alma: + description: '' + properties: + capture_method: + description: >- + Controls when the funds will be captured from the customer's + account. + enum: + - manual + type: string + title: payment_method_options_alma + type: object + x-expandableFields: [] payment_method_options_amazon_pay: description: '' properties: @@ -31496,6 +32552,47 @@ components: title: payment_method_options_konbini type: object x-expandableFields: [] + payment_method_options_kr_card: + description: '' + properties: + capture_method: + description: >- + Controls when the funds will be captured from the customer's + account. + enum: + - manual + type: string + setup_future_usage: + description: >- + Indicates that you intend to make future payments with this + PaymentIntent's payment method. + + + If you provide a Customer with the PaymentIntent, you can use this + parameter to [attach the payment + method](/payments/save-during-payment) to the Customer after the + PaymentIntent is confirmed and the customer completes any required + actions. If you don't provide a Customer, you can still + [attach](/api/payment_methods/attach) the payment method to a + Customer after the transaction completes. + + + If the payment method is `card_present` and isn't a digital wallet, + Stripe creates and attaches a + [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) + payment method representing the card to the Customer instead. + + + When processing card payments, Stripe uses `setup_future_usage` to + help you comply with regional legislation and network rules, such as + [SCA](/strong-customer-authentication). + enum: + - none + - off_session + type: string + title: payment_method_options_kr_card + type: object + x-expandableFields: [] payment_method_options_multibanco: description: '' properties: @@ -32030,6 +33127,12 @@ components: title: payment_method_p24 type: object x-expandableFields: [] + payment_method_payco: + description: '' + properties: {} + title: payment_method_payco + type: object + x-expandableFields: [] payment_method_paynow: description: '' properties: {} @@ -32076,6 +33179,12 @@ components: title: payment_method_revolut_pay type: object x-expandableFields: [] + payment_method_samsung_pay: + description: '' + properties: {} + title: payment_method_samsung_pay + type: object + x-expandableFields: [] payment_method_sepa_debit: description: '' properties: @@ -33200,7 +34309,8 @@ components: `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, - `om_vat`, `de_stn`, `ch_uid`, or `unknown` + `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, + `md_vat`, `ma_vat`, `by_tin`, or `unknown` enum: - ad_nrt - ae_trn @@ -33212,6 +34322,7 @@ components: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -33247,6 +34358,8 @@ components: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -33270,10 +34383,13 @@ components: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - unknown - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -33738,9 +34854,7 @@ components: - $ref: '#/components/schemas/person_future_requirements' nullable: true gender: - description: >- - The person's gender (International regulations require either "male" - or "female"). + description: The person's gender. nullable: true type: string id: @@ -34700,6 +35814,37 @@ components: title: PortalPaymentMethodUpdate type: object x-expandableFields: [] + portal_resource_schedule_update_at_period_end: + description: '' + properties: + conditions: + description: >- + List of conditions. When any condition is true, an update will be + scheduled at the end of the current period. + items: + $ref: >- + #/components/schemas/portal_resource_schedule_update_at_period_end_condition + type: array + required: + - conditions + title: PortalResourceScheduleUpdateAtPeriodEnd + type: object + x-expandableFields: + - conditions + portal_resource_schedule_update_at_period_end_condition: + description: '' + properties: + type: + description: The type of condition. + enum: + - decreasing_item_amount + - shortening_interval + type: string + required: + - type + title: PortalResourceScheduleUpdateAtPeriodEndCondition + type: object + x-expandableFields: [] portal_subscription_cancel: description: '' properties: @@ -34795,6 +35940,8 @@ components: - create_prorations - none type: string + schedule_at_period_end: + $ref: '#/components/schemas/portal_resource_schedule_update_at_period_end' required: - default_allowed_updates - enabled @@ -34803,6 +35950,7 @@ components: type: object x-expandableFields: - products + - schedule_at_period_end portal_subscription_update_product: description: '' properties: @@ -35288,7 +36436,9 @@ components: code: description: >- The customer-facing code. Regardless of case, this code must be - unique across all active promotion codes for each customer. + unique across all active promotion codes for each customer. Valid + characters are lower case letters (a-z), upper case letters (A-Z), + and digits (0-9). maxLength: 5000 type: string coupon: @@ -36670,6 +37820,8 @@ components: $ref: '#/components/schemas/destination_details_unimplemented' alipay: $ref: '#/components/schemas/destination_details_unimplemented' + alma: + $ref: '#/components/schemas/destination_details_unimplemented' amazon_pay: $ref: '#/components/schemas/destination_details_unimplemented' au_bank_transfer: @@ -36740,6 +37892,7 @@ components: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_bank_transfer - blik @@ -37563,8 +38716,12 @@ components: $ref: '#/components/schemas/setup_attempt_payment_method_details_cashapp' ideal: $ref: '#/components/schemas/setup_attempt_payment_method_details_ideal' + kakao_pay: + $ref: '#/components/schemas/setup_attempt_payment_method_details_kakao_pay' klarna: $ref: '#/components/schemas/setup_attempt_payment_method_details_klarna' + kr_card: + $ref: '#/components/schemas/setup_attempt_payment_method_details_kr_card' link: $ref: '#/components/schemas/setup_attempt_payment_method_details_link' paypal: @@ -37602,7 +38759,9 @@ components: - card_present - cashapp - ideal + - kakao_pay - klarna + - kr_card - link - paypal - revolut_pay @@ -37980,12 +39139,24 @@ components: x-expandableFields: - generated_sepa_debit - generated_sepa_debit_mandate + setup_attempt_payment_method_details_kakao_pay: + description: '' + properties: {} + title: setup_attempt_payment_method_details_kakao_pay + type: object + x-expandableFields: [] setup_attempt_payment_method_details_klarna: description: '' properties: {} title: setup_attempt_payment_method_details_klarna type: object x-expandableFields: [] + setup_attempt_payment_method_details_kr_card: + description: '' + properties: {} + title: setup_attempt_payment_method_details_kr_card + type: object + x-expandableFields: [] setup_attempt_payment_method_details_link: description: '' properties: {} @@ -41951,14 +43122,20 @@ components: - giropay - grabpay - ideal + - jp_credit_transfer + - kakao_pay - konbini + - kr_card - link - multibanco + - naver_pay - p24 + - payco - paynow - paypal - promptpay - revolut_pay + - sepa_credit_transfer - sepa_debit - sofort - swish @@ -42423,10 +43600,7 @@ components: - tax.settings type: string status: - description: >- - The `active` status indicates you have all required settings to - calculate tax. A status can transition out of `active` when new - required settings are introduced. + description: The status of the Tax `Settings`. enum: - active - pending @@ -42880,17 +44054,18 @@ components: description: >- Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, - `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, - `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, - `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, - `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, - `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, - `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, - `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, - `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, - `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, - `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, - `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax + `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, + `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, + `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, + `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, + `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, + `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, + `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, + `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, + `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, + `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, + `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, + `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown` enum: - ad_nrt @@ -42903,6 +44078,7 @@ components: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -42938,6 +44114,8 @@ components: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -42961,10 +44139,13 @@ components: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - unknown - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -43041,6 +44222,9 @@ components: bh: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_default + by: + $ref: >- + #/components/schemas/tax_product_registrations_resource_country_options_simplified ca: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_canada @@ -43053,6 +44237,9 @@ components: co: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_simplified + cr: + $ref: >- + #/components/schemas/tax_product_registrations_resource_country_options_simplified cy: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_europe @@ -43065,6 +44252,9 @@ components: dk: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_europe + ec: + $ref: >- + #/components/schemas/tax_product_registrations_resource_country_options_simplified ee: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_europe @@ -43128,6 +44318,12 @@ components: lv: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_europe + ma: + $ref: >- + #/components/schemas/tax_product_registrations_resource_country_options_simplified + md: + $ref: >- + #/components/schemas/tax_product_registrations_resource_country_options_simplified mt: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_europe @@ -43161,6 +44357,12 @@ components: ro: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_europe + rs: + $ref: >- + #/components/schemas/tax_product_registrations_resource_country_options_default + ru: + $ref: >- + #/components/schemas/tax_product_registrations_resource_country_options_simplified sa: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_simplified @@ -43182,9 +44384,15 @@ components: tr: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_simplified + tz: + $ref: >- + #/components/schemas/tax_product_registrations_resource_country_options_simplified us: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_united_states + uz: + $ref: >- + #/components/schemas/tax_product_registrations_resource_country_options_simplified vn: $ref: >- #/components/schemas/tax_product_registrations_resource_country_options_simplified @@ -43200,14 +44408,17 @@ components: - be - bg - bh + - by - ca - ch - cl - co + - cr - cy - cz - de - dk + - ec - ee - eg - es @@ -43229,6 +44440,8 @@ components: - lt - lu - lv + - ma + - md - mt - mx - my @@ -43240,6 +44453,8 @@ components: - pl - pt - ro + - rs + - ru - sa - se - sg @@ -43247,7 +44462,9 @@ components: - sk - th - tr + - tz - us + - uz - vn - za tax_product_registrations_resource_country_options_ca_province_standard: @@ -43367,6 +44584,7 @@ components: - local_amusement_tax - local_lease_tax - state_communications_tax + - state_retail_delivery_fee - state_sales_tax type: string x-stripeBypassValidation: true @@ -43504,7 +44722,8 @@ components: `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, - `om_vat`, `de_stn`, `ch_uid`, or `unknown` + `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, + `md_vat`, `ma_vat`, `by_tin`, or `unknown` enum: - ad_nrt - ae_trn @@ -43516,6 +44735,7 @@ components: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -43551,6 +44771,8 @@ components: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -43574,10 +44796,13 @@ components: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - unknown - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -43722,6 +44947,7 @@ components: - lease_tax - pst - qst + - retail_delivery_fee - rst - sales_tax - vat @@ -43898,12 +45124,30 @@ components: maxLength: 5000 nullable: true type: string + flat_amount: + anyOf: + - $ref: '#/components/schemas/tax_rate_flat_amount' + description: >- + The amount of the tax rate when the `rate_type` is `flat_amount`. + Tax rates with `rate_type` `percentage` can vary based on the + transaction, resulting in this field being `null`. This field + exposes the amount and currency of the flat tax rate. + nullable: true percentage_decimal: description: >- The tax rate percentage as a string. For example, 8.5% is represented as `"8.5"`. maxLength: 5000 type: string + rate_type: + description: >- + Indicates the type of tax rate applied to the taxable amount. This + value can be `null` when no tax applies to the location. + enum: + - flat_amount + - percentage + nullable: true + type: string state: description: 'State, county, province, or region.' maxLength: 5000 @@ -43921,6 +45165,7 @@ components: - lease_tax - pst - qst + - retail_delivery_fee - rst - sales_tax - vat @@ -43931,7 +45176,8 @@ components: - percentage_decimal title: TaxProductResourceTaxRateDetails type: object - x-expandableFields: [] + x-expandableFields: + - flat_amount tax_product_resource_tax_settings_defaults: description: '' properties: @@ -44130,6 +45376,15 @@ components: corresponding jurisdiction. nullable: true type: number + flat_amount: + anyOf: + - $ref: '#/components/schemas/tax_rate_flat_amount' + description: >- + The amount of the tax rate when the `rate_type` is `flat_amount`. + Tax rates with `rate_type` `percentage` can vary based on the + transaction, resulting in this field being `null`. This field + exposes the amount and currency of the flat tax rate. + nullable: true id: description: Unique identifier for the object. maxLength: 5000 @@ -44185,6 +45440,15 @@ components: automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions. type: number + rate_type: + description: >- + Indicates the type of tax rate applied to the taxable amount. This + value can be `null` when no tax applies to the location. + enum: + - flat_amount + - percentage + nullable: true + type: string state: description: >- [ISO 3166-2 subdivision @@ -44205,6 +45469,7 @@ components: - lease_tax - pst - qst + - retail_delivery_fee - rst - sales_tax - vat @@ -44222,8 +45487,35 @@ components: - percentage title: TaxRate type: object - x-expandableFields: [] + x-expandableFields: + - flat_amount x-resourceId: tax_rate + tax_rate_flat_amount: + description: >- + The amount of the tax rate when the `rate_type`` is `flat_amount`. Tax + rates with `rate_type` `percentage` can vary based on the transaction, + resulting in this field being `null`. This field exposes the amount and + currency of the flat tax rate. + properties: + amount: + description: >- + Amount of the tax when the `rate_type` is `flat_amount`. This + positive integer represents how much to charge in the smallest + currency unit (e.g., 100 cents to charge $1.00 or 100 to charge + ¥100, a zero-decimal currency). The amount value supports up to + eight digits (e.g., a value of 99999999 for a USD charge of + $999,999.99). + type: integer + currency: + description: 'Three-letter ISO currency code, in lowercase.' + maxLength: 5000 + type: string + required: + - amount + - currency + title: TaxRateFlatAmount + type: object + x-expandableFields: [] terminal.configuration: description: >- A Configurations object represents how features should be configured for @@ -44593,6 +45885,9 @@ components: nzd: $ref: >- #/components/schemas/terminal_configuration_configuration_resource_currency_specific_config + pln: + $ref: >- + #/components/schemas/terminal_configuration_configuration_resource_currency_specific_config sek: $ref: >- #/components/schemas/terminal_configuration_configuration_resource_currency_specific_config @@ -44616,6 +45911,7 @@ components: - myr - nok - nzd + - pln - sek - sgd - usd @@ -45162,7 +46458,7 @@ components: title: three_d_secure_usage type: object x-expandableFields: [] - thresholds_resource_alert_filter: + thresholds_resource_usage_alert_filter: description: '' properties: customer: @@ -45175,7 +46471,13 @@ components: x-expansionResources: oneOf: - $ref: '#/components/schemas/customer' - title: ThresholdsResourceAlertFilter + type: + enum: + - customer + type: string + required: + - type + title: ThresholdsResourceUsageAlertFilter type: object x-expandableFields: - customer @@ -45184,6 +46486,14 @@ components: The usage threshold alert configuration enables setting up alerts for when a certain usage threshold on a specific meter is crossed. properties: + filters: + description: >- + The filters allow limiting the scope of this usage alert. You can + only specify up to one filter at this time. + items: + $ref: '#/components/schemas/thresholds_resource_usage_alert_filter' + nullable: true + type: array gte: description: The value at which this alert will trigger. type: integer @@ -45209,6 +46519,7 @@ components: title: ThresholdsResourceUsageThresholdConfig type: object x-expandableFields: + - filters - meter token: description: >- @@ -46235,7 +47546,7 @@ components: x-stripeBypassValidation: true type: array status: - description: The enum specifying what state the account is in. + description: Status of this FinancialAccount. enum: - closed - open @@ -46443,6 +47754,7 @@ components: - processing - succeeded type: string + x-stripeBypassValidation: true status_transitions: $ref: >- #/components/schemas/treasury_inbound_transfers_resource_inbound_transfer_resource_status_transitions @@ -46877,6 +48189,7 @@ components: enum: - account_closed - account_frozen + - international_transaction - other nullable: true type: string @@ -48480,7 +49793,10 @@ components: x-expandableFields: [] x-resourceId: usage_record usage_record_summary: - description: '' + description: >- + A usage record summary represents an aggregated view of how much usage + was accrued for a subscription item within a subscription billing + period. properties: id: description: Unique identifier for the object. @@ -48665,7 +49981,7 @@ info: details. termsOfService: 'https://stripe.com/us/terms/' title: Stripe API - version: '2024-06-20' + version: 2024-09-30.acacia x-stripeSpecFilename: spec3 openapi: 3.0.0 paths: @@ -48707,6 +50023,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve account /v1/account_links: post: description: >- @@ -48806,6 +50123,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an account link /v1/account_sessions: post: description: >- @@ -48843,6 +50161,8 @@ paths: type: boolean features: properties: + disable_stripe_user_authentication: + type: boolean external_account_collection: type: boolean title: account_features_param @@ -48857,6 +50177,8 @@ paths: type: boolean features: properties: + disable_stripe_user_authentication: + type: boolean external_account_collection: type: boolean title: account_features_param @@ -48871,6 +50193,8 @@ paths: type: boolean features: properties: + disable_stripe_user_authentication: + type: boolean edit_payout_schedule: type: boolean external_account_collection: @@ -48903,6 +50227,8 @@ paths: type: boolean features: properties: + disable_stripe_user_authentication: + type: boolean external_account_collection: type: boolean title: account_features_param @@ -48957,6 +50283,8 @@ paths: type: boolean features: properties: + disable_stripe_user_authentication: + type: boolean edit_payout_schedule: type: boolean external_account_collection: @@ -49033,6 +50361,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an Account Session /v1/accounts: get: description: >- @@ -49160,6 +50489,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all connected accounts post: description: >-

With Connect, you can create Stripe @@ -49204,6 +50534,9 @@ paths: expand: explode: true style: deepObject + groups: + explode: true + style: deepObject individual: explode: true style: deepObject @@ -49418,6 +50751,12 @@ paths: type: boolean title: capability_param type: object + alma_payments: + properties: + requested: + type: boolean + title: capability_param + type: object amazon_pay_payments: properties: requested: @@ -49538,6 +50877,12 @@ paths: type: boolean title: capability_param type: object + kakao_pay_payments: + properties: + requested: + type: boolean + title: capability_param + type: object klarna_payments: properties: requested: @@ -49550,6 +50895,12 @@ paths: type: boolean title: capability_param type: object + kr_card_payments: + properties: + requested: + type: boolean + title: capability_param + type: object legacy_payments: properties: requested: @@ -49580,6 +50931,12 @@ paths: type: boolean title: capability_param type: object + naver_pay_payments: + properties: + requested: + type: boolean + title: capability_param + type: object oxxo_payments: properties: requested: @@ -49592,6 +50949,12 @@ paths: type: boolean title: capability_param type: object + payco_payments: + properties: + requested: + type: boolean + title: capability_param + type: object paynow_payments: properties: requested: @@ -49610,6 +50973,12 @@ paths: type: boolean title: capability_param type: object + samsung_pay_payments: + properties: + requested: + type: boolean + title: capability_param + type: object sepa_bank_transfer_payments: properties: requested: @@ -50028,6 +51397,20 @@ paths: maxLength: 5000 type: string x-stripeBypassValidation: true + groups: + description: >- + A hash of account group type to tokens. These are account + groups this account should be added to + properties: + payments_pricing: + anyOf: + - maxLength: 5000 + type: string + - enum: + - '' + type: string + title: account_groups_specs + type: object individual: description: >- Information about the person represented by the account. @@ -50520,6 +51903,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete an account get: description:

Retrieves the details of an account.

operationId: GetAccountsAccount @@ -50564,6 +51948,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve account post: description: >-

Updates a connected account by @@ -50627,6 +52012,9 @@ paths: expand: explode: true style: deepObject + groups: + explode: true + style: deepObject individual: explode: true style: deepObject @@ -50781,6 +52169,12 @@ paths: type: boolean title: capability_param type: object + alma_payments: + properties: + requested: + type: boolean + title: capability_param + type: object amazon_pay_payments: properties: requested: @@ -50901,6 +52295,12 @@ paths: type: boolean title: capability_param type: object + kakao_pay_payments: + properties: + requested: + type: boolean + title: capability_param + type: object klarna_payments: properties: requested: @@ -50913,6 +52313,12 @@ paths: type: boolean title: capability_param type: object + kr_card_payments: + properties: + requested: + type: boolean + title: capability_param + type: object legacy_payments: properties: requested: @@ -50943,6 +52349,12 @@ paths: type: boolean title: capability_param type: object + naver_pay_payments: + properties: + requested: + type: boolean + title: capability_param + type: object oxxo_payments: properties: requested: @@ -50955,6 +52367,12 @@ paths: type: boolean title: capability_param type: object + payco_payments: + properties: + requested: + type: boolean + title: capability_param + type: object paynow_payments: properties: requested: @@ -50973,6 +52391,12 @@ paths: type: boolean title: capability_param type: object + samsung_pay_payments: + properties: + requested: + type: boolean + title: capability_param + type: object sepa_bank_transfer_payments: properties: requested: @@ -51336,6 +52760,20 @@ paths: maxLength: 5000 type: string x-stripeBypassValidation: true + groups: + description: >- + A hash of account group type to tokens. These are account + groups this account should be added to + properties: + payments_pricing: + anyOf: + - maxLength: 5000 + type: string + - enum: + - '' + type: string + title: account_groups_specs + type: object individual: description: >- Information about the person represented by the account. @@ -51781,6 +53219,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update an account '/v1/accounts/{account}/bank_accounts': post: description:

Create an external account for a given account.

@@ -51915,6 +53354,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an external account '/v1/accounts/{account}/bank_accounts/{id}': delete: description:

Delete a specified external account for a given account.

@@ -51955,6 +53395,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete an external account get: description:

Retrieve a specified external account for a given account.

operationId: GetAccountsAccountBankAccountsId @@ -52005,6 +53446,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an external account post: description: >-

Updates the metadata, account holder name, account holder type of a @@ -52257,6 +53699,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all account capabilities '/v1/accounts/{account}/capabilities/{capability}': get: description:

Retrieves information about the specified Account Capability.

@@ -52308,6 +53751,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an Account Capability post: description: >-

Updates an existing Account Capability. Request or remove a @@ -52371,6 +53815,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update an Account Capability '/v1/accounts/{account}/external_accounts': get: description:

List external accounts for an account.

@@ -52499,6 +53944,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all external accounts post: description:

Create an external account for a given account.

operationId: PostAccountsAccountExternalAccounts @@ -52632,6 +54078,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an external account '/v1/accounts/{account}/external_accounts/{id}': delete: description:

Delete a specified external account for a given account.

@@ -52672,6 +54119,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete an external account get: description:

Retrieve a specified external account for a given account.

operationId: GetAccountsAccountExternalAccountsId @@ -52722,6 +54170,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an external account post: description: >-

Updates the metadata, account holder name, account holder type of a @@ -52946,6 +54395,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a login link '/v1/accounts/{account}/people': get: description: >- @@ -53081,6 +54531,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all persons post: description:

Creates a new person.

operationId: PostAccountsAccountPeople @@ -53507,6 +54958,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a person '/v1/accounts/{account}/people/{person}': delete: description: >- @@ -53554,6 +55006,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a person get: description:

Retrieves an existing person.

operationId: GetAccountsAccountPeoplePerson @@ -53605,6 +55058,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a person post: description:

Updates an existing person.

operationId: PostAccountsAccountPeoplePerson @@ -54038,6 +55492,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a person '/v1/accounts/{account}/persons': get: description: >- @@ -54173,6 +55628,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all persons post: description:

Creates a new person.

operationId: PostAccountsAccountPersons @@ -54599,6 +56055,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a person '/v1/accounts/{account}/persons/{person}': delete: description: >- @@ -54646,6 +56103,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a person get: description:

Retrieves an existing person.

operationId: GetAccountsAccountPersonsPerson @@ -54697,6 +56155,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a person post: description:

Updates an existing person.

operationId: PostAccountsAccountPersonsPerson @@ -55130,6 +56589,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a person '/v1/accounts/{account}/reject': post: description: >- @@ -55189,6 +56649,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Reject an account /v1/apple_pay/domains: get: description:

List apple pay domains.

@@ -55555,6 +57016,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all application fees '/v1/application_fees/{fee}/refunds/{id}': get: description: >- @@ -55610,6 +57072,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an application fee refund post: description: >-

Updates the specified application fee refund by setting the values of @@ -55684,6 +57147,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update an application fee refund '/v1/application_fees/{id}': get: description: >- @@ -55732,6 +57196,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an application fee '/v1/application_fees/{id}/refund': post: description: '' @@ -55897,6 +57362,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all application fee refunds post: description: >-

Refunds an application fee that has previously been collected but not @@ -55980,6 +57446,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an application fee refund /v1/apps/secrets: get: description:

List all secrets stored on the given scope.

@@ -56107,6 +57574,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List secrets post: description:

Create or replace a secret in the secret store.

operationId: PostAppsSecrets @@ -56180,6 +57648,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Set a Secret /v1/apps/secrets/delete: post: description:

Deletes a secret from the secret store by name and scope.

@@ -56243,6 +57712,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a Secret /v1/apps/secrets/find: get: description:

Finds a secret in the secret store by name and scope.

@@ -56312,6 +57782,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Find a Secret /v1/balance: get: description: >- @@ -56353,6 +57824,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve balance /v1/balance/history: get: description: >- @@ -56539,6 +58011,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all balance transactions '/v1/balance/history/{id}': get: description: >- @@ -56589,6 +58062,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a balance transaction /v1/balance_transactions: get: description: >- @@ -56775,6 +58249,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all balance transactions '/v1/balance_transactions/{id}': get: description: >- @@ -56825,6 +58300,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a balance transaction /v1/billing/alerts: get: description:

Lists billing active and inactive alerts

@@ -56947,6 +58423,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List billing alerts post: description:

Creates a billing alert

operationId: PostBillingAlerts @@ -56957,10 +58434,7 @@ paths: expand: explode: true style: deepObject - filter: - explode: true - style: deepObject - usage_threshold_config: + usage_threshold: explode: true style: deepObject schema: @@ -56978,27 +58452,28 @@ paths: maxLength: 5000 type: string type: array - filter: - description: Filters to limit the scope of an alert. - properties: - customer: - maxLength: 5000 - type: string - subscription: - maxLength: 5000 - type: string - subscription_item: - maxLength: 5000 - type: string - title: alert_filter - type: object title: description: The title of the alert. maxLength: 256 type: string - usage_threshold_config: + usage_threshold: description: The configuration of the usage threshold. properties: + filters: + items: + properties: + customer: + maxLength: 5000 + type: string + type: + enum: + - customer + type: string + required: + - type + title: usage_alert_filter + type: object + type: array gte: type: integer meter: @@ -57032,6 +58507,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a billing alert '/v1/billing/alerts/{id}': get: description:

Retrieves a billing alert given an ID

@@ -57077,6 +58553,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a billing alert '/v1/billing/alerts/{id}/activate': post: description: '

Reactivates this alert, allowing it to trigger again.

' @@ -57120,6 +58597,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Activate a billing alert '/v1/billing/alerts/{id}/archive': post: description: >- @@ -57165,6 +58643,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Archive a billing alert '/v1/billing/alerts/{id}/deactivate': post: description: '

Deactivates this alert, preventing it from triggering.

' @@ -57208,62 +58687,76 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. - /v1/billing/meter_event_adjustments: - post: - description:

Creates a billing meter event adjustment

- operationId: PostBillingMeterEventAdjustments + summary: Deactivate a billing alert + /v1/billing/credit_balance_summary: + get: + description:

Retrieves the credit balance summary for a customer

+ operationId: GetBillingCreditBalanceSummary + parameters: + - description: The customer for which to fetch credit balance summary. + in: query + name: customer + required: true + schema: + maxLength: 5000 + type: string + style: form + - description: Specifies which fields in the response should be expanded. + explode: true + in: query + name: expand + required: false + schema: + items: + maxLength: 5000 + type: string + type: array + style: deepObject + - description: The filter criteria for the credit balance summary. + explode: true + in: query + name: filter + required: true + schema: + properties: + applicability_scope: + properties: + price_type: + enum: + - metered + type: string + required: + - price_type + title: scope_param + type: object + credit_grant: + maxLength: 5000 + type: string + type: + enum: + - applicability_scope + - credit_grant + type: string + required: + - type + title: balance_summary_filter_param + type: object + style: deepObject requestBody: content: application/x-www-form-urlencoded: - encoding: - cancel: - explode: true - style: deepObject - expand: - explode: true - style: deepObject + encoding: {} schema: additionalProperties: false - properties: - cancel: - description: Specifies which event to cancel. - properties: - identifier: - maxLength: 100 - type: string - title: event_adjustment_cancel_settings_param - type: object - event_name: - description: >- - The name of the meter event. Corresponds with the - `event_name` field on a meter. - maxLength: 100 - type: string - expand: - description: Specifies which fields in the response should be expanded. - items: - maxLength: 5000 - type: string - type: array - type: - description: >- - Specifies whether to cancel a single event or a range of - events for a time period. Time period cancellation is not - supported yet. - enum: - - cancel - type: string - required: - - event_name - - type + properties: {} type: object - required: true + required: false responses: '200': content: application/json: schema: - $ref: '#/components/schemas/billing.meter_event_adjustment' + $ref: '#/components/schemas/billing.credit_balance_summary' description: Successful response. default: content: @@ -57271,73 +58764,167 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. - /v1/billing/meter_events: - post: - description:

Creates a billing meter event

- operationId: PostBillingMeterEvents + summary: Retrieve the credit balance summary for a customer + /v1/billing/credit_balance_transactions: + get: + description:

Retrieve a list of credit balance transactions

+ operationId: GetBillingCreditBalanceTransactions + parameters: + - description: The credit grant for which to fetch credit balance transactions. + in: query + name: credit_grant + required: false + schema: + maxLength: 5000 + type: string + style: form + - description: The customer for which to fetch credit balance transactions. + in: query + name: customer + required: true + schema: + maxLength: 5000 + type: string + style: form + - description: >- + A cursor for use in pagination. `ending_before` is an object ID that + defines your place in the list. For instance, if you make a list + request and receive 100 objects, starting with `obj_bar`, your + subsequent call can include `ending_before=obj_bar` in order to + fetch the previous page of the list. + in: query + name: ending_before + required: false + schema: + maxLength: 5000 + type: string + style: form + - description: Specifies which fields in the response should be expanded. + explode: true + in: query + name: expand + required: false + schema: + items: + maxLength: 5000 + type: string + type: array + style: deepObject + - description: >- + A limit on the number of objects to be returned. Limit can range + between 1 and 100, and the default is 10. + in: query + name: limit + required: false + schema: + type: integer + style: form + - description: >- + A cursor for use in pagination. `starting_after` is an object ID + that defines your place in the list. For instance, if you make a + list request and receive 100 objects, ending with `obj_foo`, your + subsequent call can include `starting_after=obj_foo` in order to + fetch the next page of the list. + in: query + name: starting_after + required: false + schema: + maxLength: 5000 + type: string + style: form requestBody: content: application/x-www-form-urlencoded: - encoding: - expand: - explode: true - style: deepObject - payload: - explode: true - style: deepObject + encoding: {} schema: additionalProperties: false - properties: - event_name: - description: >- - The name of the meter event. Corresponds with the - `event_name` field on a meter. - maxLength: 100 - type: string - expand: - description: Specifies which fields in the response should be expanded. - items: - maxLength: 5000 + properties: {} + type: object + required: false + responses: + '200': + content: + application/json: + schema: + description: '' + properties: + data: + items: + $ref: '#/components/schemas/billing.credit_balance_transaction' + type: array + has_more: + description: >- + True if this list has another page of items after this one + that can be fetched. + type: boolean + object: + description: >- + String representing the object's type. Objects of the same + type share the same value. Always has the value `list`. + enum: + - list type: string - type: array - identifier: - description: >- - A unique identifier for the event. If not provided, one will - be generated. We recommend using a globally unique - identifier for this. We'll enforce uniqueness within a - rolling 24 hour period. - maxLength: 100 - type: string - payload: - additionalProperties: + url: + description: The URL where this list can be accessed. + maxLength: 5000 + pattern: ^/v1/billing/credit_grants type: string - description: >- - The payload of the event. This must contain the fields - corresponding to a meter's - `customer_mapping.event_payload_key` (default is - `stripe_customer_id`) and `value_settings.event_payload_key` - (default is `value`). Read more about the - [payload](https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides). - type: object - timestamp: - description: >- - The time of the event. Measured in seconds since the Unix - epoch. Must be within the past 35 calendar days or up to 5 - minutes in the future. Defaults to current timestamp if not - specified. - format: unix-time - type: integer - required: - - event_name - - payload + required: + - data + - has_more + - object + - url + title: BillingCreditGrantsResourceBalanceTransactionList + type: object + x-expandableFields: + - data + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: List credit balance transactions + '/v1/billing/credit_balance_transactions/{id}': + get: + description:

Retrieves a credit balance transaction

+ operationId: GetBillingCreditBalanceTransactionsId + parameters: + - description: Specifies which fields in the response should be expanded. + explode: true + in: query + name: expand + required: false + schema: + items: + maxLength: 5000 + type: string + type: array + style: deepObject + - description: Unique identifier for the object. + in: path + name: id + required: true + schema: + maxLength: 5000 + type: string + style: simple + requestBody: + content: + application/x-www-form-urlencoded: + encoding: {} + schema: + additionalProperties: false + properties: {} type: object - required: true + required: false responses: '200': content: application/json: schema: - $ref: '#/components/schemas/billing.meter_event' + $ref: '#/components/schemas/billing.credit_balance_transaction' description: Successful response. default: content: @@ -57345,10 +58932,594 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. - /v1/billing/meters: + summary: Retrieve a credit balance transaction + /v1/billing/credit_grants: get: - description:

Retrieve a list of billing meters.

- operationId: GetBillingMeters + description:

Retrieve a list of credit grants

+ operationId: GetBillingCreditGrants + parameters: + - description: Only return credit grants for this customer. + in: query + name: customer + required: false + schema: + maxLength: 5000 + type: string + style: form + - description: >- + A cursor for use in pagination. `ending_before` is an object ID that + defines your place in the list. For instance, if you make a list + request and receive 100 objects, starting with `obj_bar`, your + subsequent call can include `ending_before=obj_bar` in order to + fetch the previous page of the list. + in: query + name: ending_before + required: false + schema: + maxLength: 5000 + type: string + style: form + - description: Specifies which fields in the response should be expanded. + explode: true + in: query + name: expand + required: false + schema: + items: + maxLength: 5000 + type: string + type: array + style: deepObject + - description: >- + A limit on the number of objects to be returned. Limit can range + between 1 and 100, and the default is 10. + in: query + name: limit + required: false + schema: + type: integer + style: form + - description: >- + A cursor for use in pagination. `starting_after` is an object ID + that defines your place in the list. For instance, if you make a + list request and receive 100 objects, ending with `obj_foo`, your + subsequent call can include `starting_after=obj_foo` in order to + fetch the next page of the list. + in: query + name: starting_after + required: false + schema: + maxLength: 5000 + type: string + style: form + requestBody: + content: + application/x-www-form-urlencoded: + encoding: {} + schema: + additionalProperties: false + properties: {} + type: object + required: false + responses: + '200': + content: + application/json: + schema: + description: '' + properties: + data: + items: + $ref: '#/components/schemas/billing.credit_grant' + type: array + has_more: + description: >- + True if this list has another page of items after this one + that can be fetched. + type: boolean + object: + description: >- + String representing the object's type. Objects of the same + type share the same value. Always has the value `list`. + enum: + - list + type: string + url: + description: The URL where this list can be accessed. + maxLength: 5000 + pattern: ^/v1/billing/credit_grants + type: string + required: + - data + - has_more + - object + - url + title: BillingCreditGrantsResourceCreditGrantList + type: object + x-expandableFields: + - data + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: List credit grants + post: + description:

Creates a credit grant

+ operationId: PostBillingCreditGrants + requestBody: + content: + application/x-www-form-urlencoded: + encoding: + amount: + explode: true + style: deepObject + applicability_config: + explode: true + style: deepObject + expand: + explode: true + style: deepObject + metadata: + explode: true + style: deepObject + schema: + additionalProperties: false + properties: + amount: + description: Amount of this credit grant. + properties: + monetary: + properties: + currency: + type: string + value: + type: integer + required: + - currency + - value + title: monetary_amount_param + type: object + type: + enum: + - monetary + type: string + required: + - type + title: amount_param + type: object + applicability_config: + description: Configuration specifying what this credit grant applies to. + properties: + scope: + properties: + price_type: + enum: + - metered + type: string + required: + - price_type + title: scope_param + type: object + required: + - scope + title: applicability_config_param + type: object + category: + description: The category of this credit grant. + enum: + - paid + - promotional + type: string + customer: + description: >- + ID of the customer to whom the billing credits should be + granted. + maxLength: 5000 + type: string + effective_at: + description: >- + The time when the billing credits become effective i.e when + they are eligible to be used. Defaults to the current + timestamp if not specified. + format: unix-time + type: integer + expand: + description: Specifies which fields in the response should be expanded. + items: + maxLength: 5000 + type: string + type: array + expires_at: + description: >- + The time when the billing credits will expire. If not + specified, the billing credits will never expire. + format: unix-time + type: integer + metadata: + additionalProperties: + type: string + description: >- + Set of key-value pairs that you can attach to an object. + This can be useful for storing additional information about + the object (ex: cost basis) in a structured format. + type: object + name: + description: A descriptive name shown in dashboard. + maxLength: 100 + type: string + required: + - amount + - applicability_config + - category + - customer + type: object + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/billing.credit_grant' + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: Create a credit grant + '/v1/billing/credit_grants/{id}': + get: + description:

Retrieves a credit grant

+ operationId: GetBillingCreditGrantsId + parameters: + - description: Specifies which fields in the response should be expanded. + explode: true + in: query + name: expand + required: false + schema: + items: + maxLength: 5000 + type: string + type: array + style: deepObject + - description: Unique identifier for the object. + in: path + name: id + required: true + schema: + maxLength: 5000 + type: string + style: simple + requestBody: + content: + application/x-www-form-urlencoded: + encoding: {} + schema: + additionalProperties: false + properties: {} + type: object + required: false + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/billing.credit_grant' + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: Retrieve a credit grant + post: + description:

Updates a credit grant

+ operationId: PostBillingCreditGrantsId + parameters: + - description: Unique identifier for the object. + in: path + name: id + required: true + schema: + maxLength: 5000 + type: string + style: simple + requestBody: + content: + application/x-www-form-urlencoded: + encoding: + expand: + explode: true + style: deepObject + expires_at: + explode: true + style: deepObject + metadata: + explode: true + style: deepObject + schema: + additionalProperties: false + properties: + expand: + description: Specifies which fields in the response should be expanded. + items: + maxLength: 5000 + type: string + type: array + expires_at: + anyOf: + - format: unix-time + type: integer + - enum: + - '' + type: string + description: >- + The time when the billing credits created by this credit + grant will expire. If set to empty, the billing credits will + never expire. + metadata: + additionalProperties: + type: string + description: >- + Set of key-value pairs that you can attach to an object. + This can be useful for storing additional information about + the object (ex: cost basis) in a structured format. + type: object + type: object + required: false + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/billing.credit_grant' + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: Update a credit grant + '/v1/billing/credit_grants/{id}/expire': + post: + description:

Expires a credit grant

+ operationId: PostBillingCreditGrantsIdExpire + parameters: + - description: Unique identifier for the object. + in: path + name: id + required: true + schema: + maxLength: 5000 + type: string + style: simple + requestBody: + content: + application/x-www-form-urlencoded: + encoding: + expand: + explode: true + style: deepObject + schema: + additionalProperties: false + properties: + expand: + description: Specifies which fields in the response should be expanded. + items: + maxLength: 5000 + type: string + type: array + type: object + required: false + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/billing.credit_grant' + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: Expire a credit grant + '/v1/billing/credit_grants/{id}/void': + post: + description:

Voids a credit grant

+ operationId: PostBillingCreditGrantsIdVoid + parameters: + - description: Unique identifier for the object. + in: path + name: id + required: true + schema: + maxLength: 5000 + type: string + style: simple + requestBody: + content: + application/x-www-form-urlencoded: + encoding: + expand: + explode: true + style: deepObject + schema: + additionalProperties: false + properties: + expand: + description: Specifies which fields in the response should be expanded. + items: + maxLength: 5000 + type: string + type: array + type: object + required: false + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/billing.credit_grant' + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: Void a credit grant + /v1/billing/meter_event_adjustments: + post: + description:

Creates a billing meter event adjustment

+ operationId: PostBillingMeterEventAdjustments + requestBody: + content: + application/x-www-form-urlencoded: + encoding: + cancel: + explode: true + style: deepObject + expand: + explode: true + style: deepObject + schema: + additionalProperties: false + properties: + cancel: + description: Specifies which event to cancel. + properties: + identifier: + maxLength: 100 + type: string + title: event_adjustment_cancel_settings_param + type: object + event_name: + description: >- + The name of the meter event. Corresponds with the + `event_name` field on a meter. + maxLength: 100 + type: string + expand: + description: Specifies which fields in the response should be expanded. + items: + maxLength: 5000 + type: string + type: array + type: + description: >- + Specifies whether to cancel a single event or a range of + events for a time period. Time period cancellation is not + supported yet. + enum: + - cancel + type: string + required: + - event_name + - type + type: object + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/billing.meter_event_adjustment' + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: Create a billing meter event adjustment + /v1/billing/meter_events: + post: + description:

Creates a billing meter event

+ operationId: PostBillingMeterEvents + requestBody: + content: + application/x-www-form-urlencoded: + encoding: + expand: + explode: true + style: deepObject + payload: + explode: true + style: deepObject + schema: + additionalProperties: false + properties: + event_name: + description: >- + The name of the meter event. Corresponds with the + `event_name` field on a meter. + maxLength: 100 + type: string + expand: + description: Specifies which fields in the response should be expanded. + items: + maxLength: 5000 + type: string + type: array + identifier: + description: >- + A unique identifier for the event. If not provided, one will + be generated. We recommend using a globally unique + identifier for this. We'll enforce uniqueness within a + rolling 24 hour period. + maxLength: 100 + type: string + payload: + additionalProperties: + type: string + description: >- + The payload of the event. This must contain the fields + corresponding to a meter's + `customer_mapping.event_payload_key` (default is + `stripe_customer_id`) and `value_settings.event_payload_key` + (default is `value`). Read more about the + [payload](https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides). + type: object + timestamp: + description: >- + The time of the event. Measured in seconds since the Unix + epoch. Must be within the past 35 calendar days or up to 5 + minutes in the future. Defaults to current timestamp if not + specified. + format: unix-time + type: integer + required: + - event_name + - payload + type: object + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/billing.meter_event' + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: Create a billing meter event + /v1/billing/meters: + get: + description:

Retrieve a list of billing meters.

+ operationId: GetBillingMeters parameters: - description: >- A cursor for use in pagination. `ending_before` is an object ID that @@ -57459,6 +59630,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List billing meters post: description:

Creates a billing meter

operationId: PostBillingMeters @@ -57559,6 +59731,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a billing meter '/v1/billing/meters/{id}': get: description:

Retrieves a billing meter given an ID

@@ -57605,6 +59778,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a billing meter post: description:

Updates a billing meter

operationId: PostBillingMetersId @@ -57652,6 +59826,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a billing meter '/v1/billing/meters/{id}/deactivate': post: description:

Deactivates a billing meter

@@ -57696,6 +59871,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Deactivate a billing meter '/v1/billing/meters/{id}/event_summaries': get: description:

Retrieve a list of billing meter event summaries.

@@ -57852,6 +60028,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List billing meter event summaries '/v1/billing/meters/{id}/reactivate': post: description:

Reactivates a billing meter

@@ -57896,6 +60073,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Reactivate a billing meter /v1/billing_portal/configurations: get: description: >- @@ -58020,6 +60198,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List portal configurations post: description: >-

Creates a configuration that describes the functionality and behavior @@ -58213,10 +60392,25 @@ paths: - create_prorations - none type: string + schedule_at_period_end: + properties: + conditions: + items: + properties: + type: + enum: + - decreasing_item_amount + - shortening_interval + type: string + required: + - type + title: schedule_update_at_period_end_condition_param + type: object + type: array + title: schedule_update_at_period_end_creating_param + type: object required: - - default_allowed_updates - enabled - - products title: subscription_update_creation_param type: object title: features_creation_param @@ -58246,7 +60440,6 @@ paths: value to `metadata`. type: object required: - - business_profile - features type: object required: true @@ -58263,6 +60456,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a portal configuration '/v1/billing_portal/configurations/{configuration}': get: description: >- @@ -58310,6 +60504,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a portal configuration post: description: >-

Updates a configuration that describes the functionality of the @@ -58519,6 +60714,28 @@ paths: - create_prorations - none type: string + schedule_at_period_end: + properties: + conditions: + anyOf: + - items: + properties: + type: + enum: + - decreasing_item_amount + - shortening_interval + type: string + required: + - type + title: >- + schedule_update_at_period_end_condition_param + type: object + type: array + - enum: + - '' + type: string + title: schedule_update_at_period_end_updating_param + type: object title: subscription_update_updating_param type: object title: features_updating_param @@ -58566,6 +60783,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a portal configuration /v1/billing_portal/sessions: post: description:

Creates a session of the customer portal.

@@ -58812,6 +61030,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a portal session /v1/charges: get: description: >- @@ -58965,6 +61184,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all charges post: description: >-

This method is no longer recommended—use the - @@ -59477,6 +61698,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a charge post: description: >-

Updates the specified charge by setting the values of the parameters @@ -59642,6 +61864,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a charge '/v1/charges/{charge}/capture': post: description: >- @@ -59767,6 +61990,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Capture a payment '/v1/charges/{charge}/dispute': get: description:

Retrieve a dispute for a specified charge.

@@ -60143,6 +62367,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a refund '/v1/charges/{charge}/refunds': get: description: >- @@ -60256,6 +62481,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all refunds post: description: >-

When you create a new refund, you must specify a Charge or a @@ -60402,6 +62628,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create customer balance refund '/v1/charges/{charge}/refunds/{refund}': get: description:

Retrieves the details of an existing refund.

@@ -60694,6 +62921,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all Checkout Sessions post: description:

Creates a Session object.

operationId: PostCheckoutSessions @@ -62051,6 +64279,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -62065,18 +64294,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -62533,6 +64767,7 @@ paths: - donate - pay type: string + x-stripeBypassValidation: true subscription_data: description: >- A subset of parameters to be passed to subscription creation @@ -62667,6 +64902,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Session '/v1/checkout/sessions/{session}': get: description:

Retrieves a Session object.

@@ -62712,6 +64948,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Session post: description:

Updates a Session object.

operationId: PostCheckoutSessionsSession @@ -62773,6 +65010,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a Session '/v1/checkout/sessions/{session}/expire': post: description: >- @@ -62822,6 +65060,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Expire a Session '/v1/checkout/sessions/{session}/line_items': get: description: >- @@ -62937,6 +65176,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Checkout Session's line items /v1/climate/orders: get: description: >- @@ -63045,6 +65285,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List orders post: description: >-

Creates a Climate order object for a given Climate product. The order @@ -63140,6 +65381,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an order '/v1/climate/orders/{order}': get: description: >- @@ -63188,6 +65430,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an order post: description: >-

Updates the specified order by setting the values of the parameters @@ -63271,6 +65514,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update an order '/v1/climate/orders/{order}/cancel': post: description: >- @@ -63326,6 +65570,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel an order /v1/climate/products: get: description:

Lists all available Climate product objects.

@@ -63430,6 +65675,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List products '/v1/climate/products/{product}': get: description:

Retrieves the details of a Climate product with the given ID.

@@ -63475,6 +65721,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a product /v1/climate/suppliers: get: description:

Lists all available Climate supplier objects.

@@ -63579,6 +65826,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List suppliers '/v1/climate/suppliers/{supplier}': get: description:

Retrieves a Climate supplier object.

@@ -63624,6 +65872,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a supplier '/v1/confirmation_tokens/{confirmation_token}': get: description:

Retrieves an existing ConfirmationToken object

@@ -63669,6 +65918,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a ConfirmationToken /v1/country_specs: get: description:

Lists all Country Spec objects available in the API.

@@ -63773,6 +66023,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List Country Specs '/v1/country_specs/{country}': get: description:

Returns a Country Spec for a given Country code.

@@ -63818,6 +66069,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Country Spec /v1/coupons: get: description:

Returns a list of your coupons.

@@ -63945,6 +66197,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all coupons post: description: >-

You can create coupons easily via the - @@ -64150,6 +66404,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a coupon get: description:

Retrieves the coupon with the given ID.

operationId: GetCouponsCoupon @@ -64194,6 +66449,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a coupon post: description: >-

Updates the metadata of a coupon. Other coupon details (currency, @@ -64283,6 +66539,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a coupon /v1/credit_notes: get: description:

Returns a list of credit notes.

@@ -64428,6 +66685,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all credit notes post: description: >-

Issue a credit note to adjust the amount of a finalized invoice. For @@ -64648,6 +66906,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a credit note /v1/credit_notes/preview: get: description:

Get a preview of a credit note without creating it.

@@ -64878,6 +67137,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Preview a credit note /v1/credit_notes/preview/lines: get: description: >- @@ -65178,6 +67438,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a credit note preview's line items '/v1/credit_notes/{credit_note}/lines': get: description: >- @@ -65292,6 +67553,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a credit note's line items '/v1/credit_notes/{id}': get: description:

Retrieves the credit note object with the given identifier.

@@ -65337,6 +67599,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a credit note post: description:

Updates an existing credit note.

operationId: PostCreditNotesId @@ -65398,6 +67661,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a credit note '/v1/credit_notes/{id}/void': post: description: >- @@ -65444,6 +67708,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Void a credit note /v1/customer_sessions: post: description: >- @@ -65562,6 +67827,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Customer Session /v1/customers: get: description: >- @@ -65711,6 +67977,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all customers post: description:

Creates a new customer object.

operationId: PostCustomers @@ -65769,7 +68036,7 @@ paths: state: maxLength: 5000 type: string - title: optional_fields_address + title: optional_fields_customer_address type: object - enum: - '' @@ -65945,7 +68212,7 @@ paths: state: maxLength: 5000 type: string - title: optional_fields_address + title: optional_fields_customer_address type: object name: maxLength: 5000 @@ -65982,7 +68249,7 @@ paths: - deferred - immediately type: string - title: tax_param + title: shared_tax_create_param type: object tax_exempt: description: >- @@ -66010,6 +68277,7 @@ paths: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -66045,6 +68313,8 @@ paths: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -66068,9 +68338,12 @@ paths: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -66104,6 +68377,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a customer /v1/customers/search: get: description: >- @@ -66220,6 +68494,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Search customers '/v1/customers/{customer}': delete: description: >- @@ -66256,6 +68531,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a customer get: description:

Retrieves a Customer object.

operationId: GetCustomersCustomer @@ -66302,6 +68578,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a customer post: description: >-

Updates the specified customer by setting the values of the @@ -66388,7 +68665,7 @@ paths: state: maxLength: 5000 type: string - title: optional_fields_address + title: optional_fields_customer_address type: object - enum: - '' @@ -66691,7 +68968,7 @@ paths: state: maxLength: 5000 type: string - title: optional_fields_address + title: optional_fields_customer_address type: object name: maxLength: 5000 @@ -66725,10 +69002,11 @@ paths: type: string validate_location: enum: + - auto - deferred - immediately type: string - title: tax_param + title: shared_tax_update_param type: object tax_exempt: description: >- @@ -66755,6 +69033,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a customer '/v1/customers/{customer}/balance_transactions': get: description: >- @@ -66868,6 +69147,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List customer balance transactions post: description: >-

Creates an immutable transaction that updates the customer’s credit @@ -66955,6 +69235,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a customer balance transaction '/v1/customers/{customer}/balance_transactions/{transaction}': get: description: >- @@ -67008,6 +69289,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a customer balance transaction post: description: >-

Most credit balance transaction fields are immutable, but you may @@ -67084,6 +69366,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a customer credit balance transaction '/v1/customers/{customer}/bank_accounts': get: deprecated: true @@ -67199,6 +69482,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all bank accounts post: description: >-

When you create a new credit card, you must specify a customer or @@ -67381,6 +69665,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a card '/v1/customers/{customer}/bank_accounts/{id}': delete: description:

Delete a specified source for a given customer.

@@ -67432,6 +69717,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a customer source get: deprecated: true description: >- @@ -67487,6 +69773,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a bank account post: description:

Update a specified source for a given customer.

operationId: PostCustomersCustomerBankAccountsId @@ -67706,6 +69993,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Verify a bank account '/v1/customers/{customer}/cards': get: deprecated: true @@ -67823,6 +70111,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all cards post: description: >-

When you create a new credit card, you must specify a customer or @@ -68005,6 +70294,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a card '/v1/customers/{customer}/cards/{id}': delete: description:

Delete a specified source for a given customer.

@@ -68056,6 +70346,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a customer source get: deprecated: true description: >- @@ -68111,6 +70402,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a card post: description:

Update a specified source for a given customer.

operationId: PostCustomersCustomerCardsId @@ -68315,6 +70607,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a cash balance post: description:

Changes the settings on a customer’s cash balance.

operationId: PostCustomersCustomerCashBalance @@ -68371,6 +70664,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a cash balance's settings '/v1/customers/{customer}/cash_balance_transactions': get: description: >- @@ -68494,6 +70788,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List cash balance transactions '/v1/customers/{customer}/cash_balance_transactions/{transaction}': get: description: >- @@ -68548,6 +70843,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a cash balance transaction '/v1/customers/{customer}/discount': delete: description:

Removes the currently applied discount on a customer.

@@ -68582,6 +70878,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a customer discount get: description: '' operationId: GetCustomersCustomerDiscount @@ -68731,6 +71028,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create or retrieve funding instructions for a customer cash balance '/v1/customers/{customer}/payment_methods': get: description:

Returns a list of PaymentMethods for a given Customer

@@ -68818,6 +71116,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -68832,18 +71131,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -68906,6 +71210,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List a Customer's PaymentMethods '/v1/customers/{customer}/payment_methods/{payment_method}': get: description:

Retrieves a PaymentMethod object for a given Customer.

@@ -68958,6 +71263,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Customer's PaymentMethod '/v1/customers/{customer}/sources': get: description:

List sources for a specified customer.

@@ -69262,6 +71568,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a card '/v1/customers/{customer}/sources/{id}': delete: description:

Delete a specified source for a given customer.

@@ -69313,6 +71620,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a customer source get: description:

Retrieve a specified source for a given customer.

operationId: GetCustomersCustomerSourcesId @@ -69583,6 +71891,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Verify a bank account '/v1/customers/{customer}/subscriptions': get: description: >- @@ -69699,6 +72008,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List active subscriptions post: description:

Creates a new subscription on an existing customer.

operationId: PostCustomersCustomerSubscriptions @@ -70423,14 +72733,20 @@ paths: - giropay - grabpay - ideal + - jp_credit_transfer + - kakao_pay - konbini + - kr_card - link - multibanco + - naver_pay - p24 + - payco - paynow - paypal - promptpay - revolut_pay + - sepa_credit_transfer - sepa_debit - sofort - swish @@ -70578,6 +72894,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a subscription '/v1/customers/{customer}/subscriptions/{subscription_exposed_id}': delete: description: >- @@ -70666,6 +72983,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a subscription get: description:

Retrieves the subscription with the given ID.

operationId: GetCustomersCustomerSubscriptionsSubscriptionExposedId @@ -70717,6 +73035,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a subscription post: description: >-

Updates an existing subscription on a customer to match the specified @@ -71507,14 +73826,20 @@ paths: - giropay - grabpay - ideal + - jp_credit_transfer + - kakao_pay - konbini + - kr_card - link - multibanco + - naver_pay - p24 + - payco - paynow - paypal - promptpay - revolut_pay + - sepa_credit_transfer - sepa_debit - sofort - swish @@ -71672,6 +73997,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a subscription on a customer '/v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount': delete: description:

Removes the currently applied discount on a customer.

@@ -71713,6 +74039,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a customer discount get: description: '' operationId: GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount @@ -71875,6 +74202,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all Customer tax IDs post: description:

Creates a new tax_id object for a customer.

operationId: PostCustomersCustomerTaxIds @@ -71906,17 +74234,18 @@ paths: description: >- Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, - `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, - `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, - `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, - `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, - `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, - `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, - `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, - `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, - `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, - `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, - `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, + `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, + `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, + `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, + `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, + `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, + `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, + `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, + `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, + `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, + `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, + `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, + `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat` enum: - ad_nrt @@ -71929,6 +74258,7 @@ paths: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -71964,6 +74294,8 @@ paths: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -71987,9 +74319,12 @@ paths: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -72017,6 +74352,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Customer tax ID '/v1/customers/{customer}/tax_ids/{id}': delete: description:

Deletes an existing tax_id object.

@@ -72057,6 +74393,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a Customer tax ID get: description: >-

Retrieves the tax_id object with the given @@ -72109,6 +74446,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Customer tax ID /v1/disputes: get: description:

Returns a list of your disputes.

@@ -72255,6 +74593,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all disputes '/v1/disputes/{dispute}': get: description:

Retrieves the dispute with the given ID.

@@ -72300,6 +74639,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a dispute post: description: >-

When you get a dispute, contacting your customer is always the best @@ -72464,6 +74804,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a dispute '/v1/disputes/{dispute}/close': post: description: >- @@ -72515,6 +74856,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Close a dispute /v1/entitlements/active_entitlements: get: description:

Retrieve a list of active entitlements for a customer

@@ -72626,6 +74968,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all active entitlements '/v1/entitlements/active_entitlements/{id}': get: description:

Retrieve an active entitlement

@@ -72672,6 +75015,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an active entitlement /v1/entitlements/features: get: description:

Retrieve a list of features

@@ -72795,6 +75139,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all features post: description:

Creates a feature

operationId: PostEntitlementsFeatures @@ -72855,6 +75200,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a feature '/v1/entitlements/features/{id}': get: description:

Retrieves a feature

@@ -72901,6 +75247,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a feature post: description:

Update a feature’s metadata or permanently deactivate it.

operationId: PostEntitlementsFeaturesId @@ -72969,6 +75316,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Updates a feature /v1/ephemeral_keys: post: description:

Creates a short-lived API key for a given resource.

@@ -73029,6 +75377,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an ephemeral key '/v1/ephemeral_keys/{key}': delete: description:

Invalidates a short-lived API key for a given resource.

@@ -73072,6 +75421,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Immediately invalidate an ephemeral key /v1/events: get: description: >- @@ -73236,6 +75586,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all events '/v1/events/{id}': get: description: >- @@ -73284,6 +75635,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an event /v1/exchange_rates: get: description: >- @@ -73392,6 +75744,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all exchange rates '/v1/exchange_rates/{rate_id}': get: description: >- @@ -73439,6 +75792,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an exchange rate /v1/file_links: get: description:

Returns a list of file links.

@@ -73579,6 +75933,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all file links post: description:

Creates a new file link object.

operationId: PostFileLinks @@ -73649,6 +76004,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a file link '/v1/file_links/{link}': get: description:

Retrieves the file link with the given ID.

@@ -73693,6 +76049,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a file link post: description: >-

Updates an existing file link object. Expired links can no longer be @@ -73772,6 +76129,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a file link /v1/files: get: description: >- @@ -73927,6 +76285,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all files post: description: >-

To upload a file to Stripe, you need to send a request of type @@ -74025,6 +76384,7 @@ paths: description: Error response. servers: - url: 'https://files.stripe.com/' + summary: Create a file '/v1/files/{file}': get: description: >- @@ -74074,6 +76434,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a file /v1/financial_connections/accounts: get: description: >- @@ -74210,6 +76571,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List Accounts '/v1/financial_connections/accounts/{account}': get: description: >- @@ -74257,6 +76619,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an Account '/v1/financial_connections/accounts/{account}/disconnect': post: description: >- @@ -74303,6 +76666,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Disconnect an Account '/v1/financial_connections/accounts/{account}/owners': get: description:

Lists all owners for a given Account

@@ -74422,6 +76786,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List Account Owners '/v1/financial_connections/accounts/{account}/refresh': post: description: >- @@ -74482,6 +76847,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Refresh Account data '/v1/financial_connections/accounts/{account}/subscribe': post: description: >- @@ -74542,6 +76908,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Subscribe to data refreshes for an Account '/v1/financial_connections/accounts/{account}/unsubscribe': post: description: >- @@ -74602,6 +76969,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Unsubscribe from data refreshes for an Account /v1/financial_connections/sessions: post: description: >- @@ -74730,6 +77098,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Session '/v1/financial_connections/sessions/{session}': get: description: >- @@ -74777,6 +77146,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Session /v1/financial_connections/transactions: get: description: >- @@ -74932,6 +77302,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List Transactions '/v1/financial_connections/transactions/{transaction}': get: description: >- @@ -74979,6 +77350,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Transaction /v1/forwarding/requests: get: description:

Lists all ForwardingRequest objects.

@@ -75096,6 +77468,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all ForwardingRequests post: description:

Creates a ForwardingRequest object.

operationId: PostForwardingRequests @@ -75106,6 +77479,9 @@ paths: expand: explode: true style: deepObject + metadata: + explode: true + style: deepObject replacements: explode: true style: deepObject @@ -75121,6 +77497,18 @@ paths: maxLength: 5000 type: string type: array + metadata: + additionalProperties: + type: string + description: >- + Set of [key-value + pairs](https://stripe.com/docs/api/metadata) that you can + attach to an object. This can be useful for storing + additional information about the object in a structured + format. Individual keys can be unset by posting an empty + value to them. All keys can be unset by posting an empty + value to `metadata`. + type: object payment_method: description: >- The PaymentMethod to insert into the forwarded request. @@ -75187,6 +77575,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a ForwardingRequest '/v1/forwarding/requests/{id}': get: description:

Retrieves a ForwardingRequest object.

@@ -75232,6 +77621,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a ForwardingRequest /v1/identity/verification_reports: get: description:

List all verification reports.

@@ -75390,6 +77780,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List VerificationReports '/v1/identity/verification_reports/{report}': get: description:

Retrieves an existing VerificationReport

@@ -75435,6 +77826,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a VerificationReport /v1/identity/verification_sessions: get: description:

Returns a list of VerificationSessions

@@ -75594,6 +77986,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List VerificationSessions post: description: >-

Creates a VerificationSession object.

@@ -75735,6 +78128,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a VerificationSession '/v1/identity/verification_sessions/{session}': get: description: >- @@ -75789,6 +78183,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a VerificationSession post: description: >-

Updates a VerificationSession object.

@@ -75907,6 +78302,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a VerificationSession '/v1/identity/verification_sessions/{session}/cancel': post: description: >- @@ -75958,6 +78354,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a VerificationSession '/v1/identity/verification_sessions/{session}/redact': post: description: >- @@ -76045,6 +78442,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Redact a VerificationSession /v1/invoice_rendering_templates: get: description: >- @@ -76160,6 +78558,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all invoice rendering templates '/v1/invoice_rendering_templates/{template}': get: description: >- @@ -76214,6 +78613,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an invoice rendering template '/v1/invoice_rendering_templates/{template}/archive': post: description: >- @@ -76262,6 +78662,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Archive an invoice rendering template '/v1/invoice_rendering_templates/{template}/unarchive': post: description: >- @@ -76307,6 +78708,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Unarchive an invoice rendering template /v1/invoiceitems: get: description: >- @@ -76467,6 +78869,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all invoice items post: description: >-

Creates an item to be added to a draft invoice (up to 250 items per @@ -76721,6 +79124,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an invoice item '/v1/invoiceitems/{invoiceitem}': delete: description: >- @@ -76758,6 +79162,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete an invoice item get: description:

Retrieves the invoice item with the given ID.

operationId: GetInvoiceitemsInvoiceitem @@ -76802,6 +79207,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an invoice item post: description: >-

Updates the amount or description of an invoice item on an upcoming @@ -77036,6 +79442,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update an invoice item /v1/invoices: get: description: >- @@ -77231,6 +79638,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all invoices post: description: >-

This endpoint creates a draft invoice for a given customer. The @@ -77750,14 +80158,20 @@ paths: - giropay - grabpay - ideal + - jp_credit_transfer + - kakao_pay - konbini + - kr_card - link - multibanco + - naver_pay - p24 + - payco - paynow - paypal - promptpay - revolut_pay + - sepa_credit_transfer - sepa_debit - sofort - swish @@ -78000,6 +80414,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an invoice /v1/invoices/create_preview: post: description: >- @@ -78166,7 +80581,7 @@ paths: state: maxLength: 5000 type: string - title: optional_fields_address + title: optional_fields_customer_address type: object name: maxLength: 5000 @@ -78214,6 +80629,7 @@ paths: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -78249,6 +80665,8 @@ paths: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -78272,9 +80690,12 @@ paths: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -79019,6 +81440,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a preview invoice /v1/invoices/search: get: description: >- @@ -79135,6 +81557,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Search invoices /v1/invoices/upcoming: get: description: >- @@ -79287,7 +81710,7 @@ paths: state: maxLength: 5000 type: string - title: optional_fields_address + title: optional_fields_customer_address type: object name: maxLength: 5000 @@ -79335,6 +81758,7 @@ paths: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -79370,6 +81794,8 @@ paths: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -79393,9 +81819,12 @@ paths: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -80469,6 +82898,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an upcoming invoice /v1/invoices/upcoming/lines: get: description: >- @@ -80596,7 +83026,7 @@ paths: state: maxLength: 5000 type: string - title: optional_fields_address + title: optional_fields_customer_address type: object name: maxLength: 5000 @@ -80644,6 +83074,7 @@ paths: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -80679,6 +83110,8 @@ paths: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -80702,9 +83135,12 @@ paths: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -81844,6 +84280,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an upcoming invoice's line items '/v1/invoices/{invoice}': delete: description: >- @@ -81882,6 +84319,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a draft invoice get: description:

Retrieves the invoice with the given ID.

operationId: GetInvoicesInvoice @@ -81926,6 +84364,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an invoice post: description: >-

Draft invoices are fully editable. Once an invoice is - @@ -82879,7 +85325,7 @@ paths: maxLength: 5000 type: string display_name: - maxLength: 50 + maxLength: 100 type: string inclusive: type: boolean @@ -82902,6 +85348,7 @@ paths: - lease_tax - pst - qst + - retail_delivery_fee - rst - sales_tax - vat @@ -82954,6 +85401,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Bulk add invoice line items '/v1/invoices/{invoice}/finalize': post: description: >- @@ -83007,6 +85455,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Finalize an invoice '/v1/invoices/{invoice}/lines': get: description: >- @@ -83122,6 +85571,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an invoice's line items '/v1/invoices/{invoice}/lines/{line_item_id}': post: description: >- @@ -83351,7 +85801,7 @@ paths: maxLength: 5000 type: string display_name: - maxLength: 50 + maxLength: 100 type: string inclusive: type: boolean @@ -83374,6 +85824,7 @@ paths: - lease_tax - pst - qst + - retail_delivery_fee - rst - sales_tax - vat @@ -83437,6 +85888,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update an invoice's line item '/v1/invoices/{invoice}/mark_uncollectible': post: description: >- @@ -83482,6 +85934,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Mark an invoice as uncollectible '/v1/invoices/{invoice}/pay': post: description: >- @@ -83589,6 +86042,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Pay an invoice '/v1/invoices/{invoice}/remove_lines': post: description: >- @@ -83676,6 +86130,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Bulk remove invoice line items '/v1/invoices/{invoice}/send': post: description: >- @@ -83730,6 +86185,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Send an invoice for manual payment '/v1/invoices/{invoice}/update_lines': post: description: >- @@ -83907,7 +86363,7 @@ paths: maxLength: 5000 type: string display_name: - maxLength: 50 + maxLength: 100 type: string inclusive: type: boolean @@ -83930,6 +86386,7 @@ paths: - lease_tax - pst - qst + - retail_delivery_fee - rst - sales_tax - vat @@ -83984,6 +86441,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Bulk update invoice line items '/v1/invoices/{invoice}/void': post: description: >- @@ -84039,6 +86497,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Void an invoice /v1/issuing/authorizations: get: description: >- @@ -84143,6 +86602,7 @@ paths: - pending - reversed type: string + x-stripeBypassValidation: true style: form requestBody: content: @@ -84197,6 +86657,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all authorizations '/v1/issuing/authorizations/{authorization}': get: description:

Retrieves an Issuing Authorization object.

@@ -84242,6 +86703,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an authorization post: description: >-

Updates the specified Issuing Authorization object by @@ -84306,6 +86768,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update an authorization '/v1/issuing/authorizations/{authorization}/approve': post: deprecated: true @@ -84386,6 +86849,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Approve an authorization '/v1/issuing/authorizations/{authorization}/decline': post: deprecated: true @@ -84457,6 +86921,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Decline an authorization /v1/issuing/cardholders: get: description: >- @@ -84626,6 +87091,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all cardholders post: description: >-

Creates a new Issuing Cardholder object that can be @@ -85820,6 +88286,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a cardholder '/v1/issuing/cardholders/{cardholder}': get: description:

Retrieves an Issuing Cardholder object.

@@ -85865,6 +88332,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a cardholder post: description: >-

Updates the specified Issuing Cardholder object by @@ -87047,6 +89515,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a cardholder /v1/issuing/cards: get: description: >- @@ -87237,6 +89706,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all cards post: description:

Creates an Issuing Card object.

operationId: PostIssuingCards @@ -87329,7 +89799,9 @@ paths: - enum: - '' type: string - description: The second line to print on the card. + description: >- + The second line to print on the card. Max length: 24 + characters. shipping: description: The address where the card will be shipped. properties: @@ -88410,6 +90882,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a card '/v1/issuing/cards/{card}': get: description:

Retrieves an Issuing Card object.

@@ -88455,6 +90928,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a card post: description: >-

Updates the specified Issuing Card object by setting the @@ -89605,6 +92079,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a card /v1/issuing/disputes: get: description: >- @@ -89755,6 +92230,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all disputes post: description: >-

Creates an Issuing Dispute object. Individual pieces of @@ -90181,6 +92657,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a dispute '/v1/issuing/disputes/{dispute}': get: description:

Retrieves an Issuing Dispute object.

@@ -90226,6 +92703,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a dispute post: description: >-

Updates the specified Issuing Dispute object by setting @@ -90640,6 +93118,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a dispute '/v1/issuing/disputes/{dispute}/submit': post: description: >- @@ -90707,6 +93186,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Submit a dispute /v1/issuing/personalization_designs: get: description: >- @@ -90851,6 +93331,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all personalization designs post: description:

Creates a personalization design object.

operationId: PostIssuingPersonalizationDesigns @@ -90983,6 +93464,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a personalization design '/v1/issuing/personalization_designs/{personalization_design}': get: description:

Retrieves a personalization design object.

@@ -91028,6 +93510,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a personalization design post: description:

Updates a card personalization object.

operationId: PostIssuingPersonalizationDesignsPersonalizationDesign @@ -91193,6 +93676,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a personalization design /v1/issuing/physical_bundles: get: description: >- @@ -91321,6 +93805,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all physical bundles '/v1/issuing/physical_bundles/{physical_bundle}': get: description:

Retrieves a physical bundle object.

@@ -91366,6 +93851,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a physical bundle '/v1/issuing/settlements/{settlement}': get: description:

Retrieves an Issuing Settlement object.

@@ -91411,6 +93897,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a settlement post: description: >-

Updates the specified Issuing Settlement object by @@ -91471,6 +93958,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a settlement /v1/issuing/tokens: get: description:

Lists all Issuing Token objects for a given card.

@@ -91616,6 +94104,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all issuing tokens for card '/v1/issuing/tokens/{token}': get: description:

Retrieves an Issuing Token object.

@@ -91661,6 +94150,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an issuing token post: description: >-

Attempts to update the specified Issuing Token object to @@ -91714,6 +94204,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a token status /v1/issuing/transactions: get: description: >- @@ -91872,6 +94363,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all transactions '/v1/issuing/transactions/{transaction}': get: description:

Retrieves an Issuing Transaction object.

@@ -91917,6 +94409,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a transaction post: description: >-

Updates the specified Issuing Transaction object by @@ -91981,6 +94474,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a transaction /v1/link_account_sessions: post: description: >- @@ -92109,6 +94603,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Session '/v1/link_account_sessions/{session}': get: description: >- @@ -92156,6 +94651,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Session /v1/linked_accounts: get: description: >- @@ -92292,6 +94788,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List Accounts '/v1/linked_accounts/{account}': get: description: >- @@ -92339,6 +94836,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an Account '/v1/linked_accounts/{account}/disconnect': post: description: >- @@ -92385,6 +94883,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Disconnect an Account '/v1/linked_accounts/{account}/owners': get: description:

Lists all owners for a given Account

@@ -92504,6 +95003,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List Account Owners '/v1/linked_accounts/{account}/refresh': post: description: >- @@ -92564,6 +95064,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Refresh Account data '/v1/mandates/{mandate}': get: description:

Retrieves a Mandate object.

@@ -92608,6 +95109,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Mandate /v1/payment_intents: get: description:

Returns a list of PaymentIntents.

@@ -92745,6 +95247,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all PaymentIntents post: description: >-

Creates a PaymentIntent object.

@@ -93093,6 +95596,10 @@ paths: - limited - unspecified type: string + alma: + properties: {} + title: param + type: object amazon_pay: properties: {} title: param @@ -93300,6 +95807,10 @@ paths: properties: {} title: param type: object + kakao_pay: + properties: {} + title: param + type: object klarna: properties: dob: @@ -93322,6 +95833,10 @@ paths: properties: {} title: param type: object + kr_card: + properties: {} + title: param + type: object link: properties: {} title: param @@ -93338,6 +95853,16 @@ paths: properties: {} title: param type: object + naver_pay: + properties: + funding: + enum: + - card + - points + type: string + x-stripeBypassValidation: true + title: param + type: object oxxo: properties: {} title: param @@ -93376,6 +95901,10 @@ paths: x-stripeBypassValidation: true title: param type: object + payco: + properties: {} + title: param + type: object paynow: properties: {} title: param @@ -93403,6 +95932,10 @@ paths: properties: {} title: param type: object + samsung_pay: + properties: {} + title: param + type: object sepa_debit: properties: iban: @@ -93441,6 +95974,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -93454,18 +95988,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -93617,6 +96156,19 @@ paths: - enum: - '' type: string + alma: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string amazon_pay: anyOf: - properties: @@ -94116,6 +96668,25 @@ paths: - enum: - '' type: string + kakao_pay: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + setup_future_usage: + enum: + - '' + - none + - off_session + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string klarna: anyOf: - properties: @@ -94223,6 +96794,25 @@ paths: - enum: - '' type: string + kr_card: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + setup_future_usage: + enum: + - '' + - none + - off_session + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string link: anyOf: - properties: @@ -94271,6 +96861,19 @@ paths: - enum: - '' type: string + naver_pay: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string oxxo: anyOf: - properties: @@ -94299,6 +96902,19 @@ paths: - enum: - '' type: string + payco: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string paynow: anyOf: - properties: @@ -94409,6 +97025,19 @@ paths: - enum: - '' type: string + samsung_pay: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string sepa_debit: anyOf: - properties: @@ -94790,6 +97419,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a PaymentIntent /v1/payment_intents/search: get: description: >- @@ -94906,6 +97536,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Search PaymentIntents '/v1/payment_intents/{intent}': get: description: >- @@ -94973,6 +97604,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a PaymentIntent post: description: >-

Updates properties on a PaymentIntent object without confirming.

@@ -95187,6 +97819,10 @@ paths: - limited - unspecified type: string + alma: + properties: {} + title: param + type: object amazon_pay: properties: {} title: param @@ -95394,6 +98030,10 @@ paths: properties: {} title: param type: object + kakao_pay: + properties: {} + title: param + type: object klarna: properties: dob: @@ -95416,6 +98056,10 @@ paths: properties: {} title: param type: object + kr_card: + properties: {} + title: param + type: object link: properties: {} title: param @@ -95432,6 +98076,16 @@ paths: properties: {} title: param type: object + naver_pay: + properties: + funding: + enum: + - card + - points + type: string + x-stripeBypassValidation: true + title: param + type: object oxxo: properties: {} title: param @@ -95470,6 +98124,10 @@ paths: x-stripeBypassValidation: true title: param type: object + payco: + properties: {} + title: param + type: object paynow: properties: {} title: param @@ -95497,6 +98155,10 @@ paths: properties: {} title: param type: object + samsung_pay: + properties: {} + title: param + type: object sepa_debit: properties: iban: @@ -95535,6 +98197,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -95548,18 +98211,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -95711,6 +98379,19 @@ paths: - enum: - '' type: string + alma: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string amazon_pay: anyOf: - properties: @@ -96210,6 +98891,25 @@ paths: - enum: - '' type: string + kakao_pay: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + setup_future_usage: + enum: + - '' + - none + - off_session + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string klarna: anyOf: - properties: @@ -96317,6 +99017,25 @@ paths: - enum: - '' type: string + kr_card: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + setup_future_usage: + enum: + - '' + - none + - off_session + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string link: anyOf: - properties: @@ -96365,6 +99084,19 @@ paths: - enum: - '' type: string + naver_pay: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string oxxo: anyOf: - properties: @@ -96393,6 +99125,19 @@ paths: - enum: - '' type: string + payco: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string paynow: anyOf: - properties: @@ -96503,6 +99248,19 @@ paths: - enum: - '' type: string + samsung_pay: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string sepa_debit: anyOf: - properties: @@ -96866,6 +99624,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a PaymentIntent '/v1/payment_intents/{intent}/apply_customer_balance': post: description: >- @@ -96893,17 +99652,17 @@ paths: amount: description: >- Amount that you intend to apply to this PaymentIntent from - the customer’s cash balance. + the customer’s cash balance. If the PaymentIntent was + created by an Invoice, the full amount of the PaymentIntent + is applied regardless of this parameter. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (for example, 100 cents to charge 1 USD or 100 to charge 100 JPY, - a zero-decimal currency). - - - The maximum amount is the amount of the PaymentIntent. + a zero-decimal currency). The maximum amount is the amount + of the PaymentIntent. When you omit the amount, it defaults to the remaining @@ -96937,6 +99696,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Reconcile a customer_balance PaymentIntent '/v1/payment_intents/{intent}/cancel': post: description: >- @@ -97010,6 +99770,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a PaymentIntent '/v1/payment_intents/{intent}/capture': post: description: >- @@ -97149,6 +99910,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Capture a PaymentIntent '/v1/payment_intents/{intent}/confirm': post: description: >- @@ -97435,6 +100197,10 @@ paths: - limited - unspecified type: string + alma: + properties: {} + title: param + type: object amazon_pay: properties: {} title: param @@ -97642,6 +100408,10 @@ paths: properties: {} title: param type: object + kakao_pay: + properties: {} + title: param + type: object klarna: properties: dob: @@ -97664,6 +100434,10 @@ paths: properties: {} title: param type: object + kr_card: + properties: {} + title: param + type: object link: properties: {} title: param @@ -97680,6 +100454,16 @@ paths: properties: {} title: param type: object + naver_pay: + properties: + funding: + enum: + - card + - points + type: string + x-stripeBypassValidation: true + title: param + type: object oxxo: properties: {} title: param @@ -97718,6 +100502,10 @@ paths: x-stripeBypassValidation: true title: param type: object + payco: + properties: {} + title: param + type: object paynow: properties: {} title: param @@ -97745,6 +100533,10 @@ paths: properties: {} title: param type: object + samsung_pay: + properties: {} + title: param + type: object sepa_debit: properties: iban: @@ -97783,6 +100575,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -97796,18 +100589,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -97959,6 +100757,19 @@ paths: - enum: - '' type: string + alma: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string amazon_pay: anyOf: - properties: @@ -98458,6 +101269,25 @@ paths: - enum: - '' type: string + kakao_pay: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + setup_future_usage: + enum: + - '' + - none + - off_session + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string klarna: anyOf: - properties: @@ -98565,6 +101395,25 @@ paths: - enum: - '' type: string + kr_card: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + setup_future_usage: + enum: + - '' + - none + - off_session + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string link: anyOf: - properties: @@ -98613,6 +101462,19 @@ paths: - enum: - '' type: string + naver_pay: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string oxxo: anyOf: - properties: @@ -98641,6 +101503,19 @@ paths: - enum: - '' type: string + payco: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string paynow: anyOf: - properties: @@ -98751,6 +101626,19 @@ paths: - enum: - '' type: string + samsung_pay: + anyOf: + - properties: + capture_method: + enum: + - '' + - manual + type: string + title: payment_method_options_param + type: object + - enum: + - '' + type: string sepa_debit: anyOf: - properties: @@ -99099,6 +101987,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Confirm a PaymentIntent '/v1/payment_intents/{intent}/increment_authorization': post: description: >- @@ -99258,6 +102147,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Increment an authorization '/v1/payment_intents/{intent}/verify_microdeposits': post: description:

Verifies microdeposits on a PaymentIntent object.

@@ -99321,6 +102211,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Verify microdeposits on a PaymentIntent /v1/payment_links: get: description:

Returns a list of your payment links.

@@ -99434,6 +102325,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all payment links post: description:

Creates a payment link.

operationId: PostPaymentLinks @@ -99962,6 +102854,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - au_becs_debit - bacs_debit - bancontact @@ -100302,6 +103195,7 @@ paths: - donate - pay type: string + x-stripeBypassValidation: true subscription_data: description: >- When creating a subscription, the specified configuration @@ -100399,6 +103293,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a payment link '/v1/payment_links/{payment_link}': get: description:

Retrieve a payment link.

@@ -100444,6 +103339,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve payment link post: description:

Updates a payment link.

operationId: PostPaymentLinksPaymentLink @@ -100935,6 +103831,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - au_becs_debit - bacs_debit - bancontact @@ -101334,6 +104231,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a payment link '/v1/payment_links/{payment_link}/line_items': get: description: >- @@ -101449,6 +104347,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a payment link's line items /v1/payment_method_configurations: get: description:

List payment method configurations

@@ -101566,6 +104465,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List payment method configurations post: description:

Creates a payment method configuration

operationId: PostPaymentMethodConfigurations @@ -101585,6 +104485,9 @@ paths: alipay: explode: true style: deepObject + alma: + explode: true + style: deepObject amazon_pay: explode: true style: deepObject @@ -101786,6 +104689,23 @@ paths: type: object title: payment_method_param type: object + alma: + description: >- + Alma is a Buy Now, Pay Later payment method that offers + customers the ability to pay in 2, 3, or 4 installments. + properties: + display_preference: + properties: + preference: + enum: + - none + - 'off' + - 'on' + type: string + title: display_preference_param + type: object + title: payment_method_param + type: object amazon_pay: description: >- Amazon Pay is a wallet payment method that lets your @@ -102527,8 +105447,8 @@ paths: debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this - [page](https://stripe.com/docs/payments/ach-debit) for more - details. + [page](https://stripe.com/docs/payments/ach-direct-debit) + for more details. properties: display_preference: properties: @@ -102599,6 +105519,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a payment method configuration '/v1/payment_method_configurations/{configuration}': get: description:

Retrieve payment method configuration

@@ -102644,6 +105565,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve payment method configuration post: description:

Update payment method configuration

operationId: PostPaymentMethodConfigurationsConfiguration @@ -102671,6 +105593,9 @@ paths: alipay: explode: true style: deepObject + alma: + explode: true + style: deepObject amazon_pay: explode: true style: deepObject @@ -102875,6 +105800,23 @@ paths: type: object title: payment_method_param type: object + alma: + description: >- + Alma is a Buy Now, Pay Later payment method that offers + customers the ability to pay in 2, 3, or 4 installments. + properties: + display_preference: + properties: + preference: + enum: + - none + - 'off' + - 'on' + type: string + title: display_preference_param + type: object + title: payment_method_param + type: object amazon_pay: description: >- Amazon Pay is a wallet payment method that lets your @@ -103610,8 +106552,8 @@ paths: debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this - [page](https://stripe.com/docs/payments/ach-debit) for more - details. + [page](https://stripe.com/docs/payments/ach-direct-debit) + for more details. properties: display_preference: properties: @@ -103682,6 +106624,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update payment method configuration /v1/payment_method_domains: get: description:

Lists the details of existing payment method domains.

@@ -103803,6 +106746,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List payment method domains post: description:

Creates a payment method domain.

operationId: PostPaymentMethodDomains @@ -103851,6 +106795,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a payment method domain '/v1/payment_method_domains/{payment_method_domain}': get: description:

Retrieves the details of an existing payment method domain.

@@ -103896,6 +106841,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a payment method domain post: description:

Updates an existing payment method domain.

operationId: PostPaymentMethodDomainsPaymentMethodDomain @@ -103944,6 +106890,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a payment method domain '/v1/payment_method_domains/{payment_method_domain}/validate': post: description: >- @@ -104003,6 +106950,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Validate an existing payment method domain /v1/payment_methods: get: description: >- @@ -104079,6 +107027,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -104093,18 +107042,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -104168,6 +107122,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List PaymentMethods post: description: >-

Creates a PaymentMethod object. Read the - + If this is a Alma PaymentMethod, this hash contains details + about the Alma payment method. + properties: {} + title: param + type: object amazon_pay: description: >- If this is a AmazonPay PaymentMethod, this hash contains @@ -104681,6 +107661,13 @@ paths: properties: {} title: param type: object + kakao_pay: + description: >- + If this is a `kakao_pay` PaymentMethod, this hash contains + details about the Kakao Pay payment method. + properties: {} + title: param + type: object klarna: description: >- If this is a `klarna` PaymentMethod, this hash contains @@ -104709,6 +107696,13 @@ paths: properties: {} title: param type: object + kr_card: + description: >- + If this is a `kr_card` PaymentMethod, this hash contains + details about the Korean Card payment method. + properties: {} + title: param + type: object link: description: >- If this is an `Link` PaymentMethod, this hash contains @@ -104742,6 +107736,19 @@ paths: properties: {} title: param type: object + naver_pay: + description: >- + If this is a `naver_pay` PaymentMethod, this hash contains + details about the Naver Pay payment method. + properties: + funding: + enum: + - card + - points + type: string + x-stripeBypassValidation: true + title: param + type: object oxxo: description: >- If this is an `oxxo` PaymentMethod, this hash contains @@ -104786,6 +107793,13 @@ paths: x-stripeBypassValidation: true title: param type: object + payco: + description: >- + If this is a `payco` PaymentMethod, this hash contains + details about the PAYCO payment method. + properties: {} + title: param + type: object payment_method: description: The PaymentMethod to share. maxLength: 5000 @@ -104836,6 +107850,13 @@ paths: properties: {} title: param type: object + samsung_pay: + description: >- + If this is a `samsung_pay` PaymentMethod, this hash contains + details about the SamsungPay payment method. + properties: {} + title: param + type: object sepa_debit: description: >- If this is a `sepa_debit` PaymentMethod, this hash contains @@ -104891,6 +107912,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -104905,18 +107927,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -104981,6 +108008,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Shares a PaymentMethod '/v1/payment_methods/{payment_method}': get: description: >- @@ -105030,6 +108058,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a PaymentMethod post: description: >-

Updates a PaymentMethod object. A PaymentMethod must be attached a @@ -105062,6 +108091,9 @@ paths: metadata: explode: true style: deepObject + naver_pay: + explode: true + style: deepObject us_bank_account: explode: true style: deepObject @@ -105186,6 +108218,19 @@ paths: format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + naver_pay: + description: >- + If this is a `naver_pay` PaymentMethod, this hash contains + details about the Naver Pay payment method. + properties: + funding: + enum: + - card + - points + type: string + x-stripeBypassValidation: true + title: param + type: object us_bank_account: description: >- If this is an `us_bank_account` PaymentMethod, this hash @@ -105218,6 +108263,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a PaymentMethod '/v1/payment_methods/{payment_method}/attach': post: description: >- @@ -105298,6 +108344,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Attach a PaymentMethod to a Customer '/v1/payment_methods/{payment_method}/detach': post: description: >- @@ -105344,6 +108391,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Detach a PaymentMethod from a Customer /v1/payouts: get: description: >- @@ -105514,6 +108562,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all payouts post: description: >-

To send funds to your own bank account, create a new payout object. @@ -105637,6 +108686,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a payout '/v1/payouts/{payout}': get: description: >- @@ -105685,6 +108735,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a payout post: description: >-

Updates the specified payout by setting the values of the parameters @@ -105749,6 +108800,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a payout '/v1/payouts/{payout}/cancel': post: description: >- @@ -105795,6 +108847,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a payout '/v1/payouts/{payout}/reverse': post: description: >- @@ -105863,6 +108916,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Reverse a payout /v1/plans: get: description:

Returns a list of your plans.

@@ -106008,6 +109062,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all plans post: description: >-

You can now model subscriptions more flexibly using the - @@ -106315,6 +109371,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a plan get: description:

Retrieves the plan with the given ID.

operationId: GetPlansPlan @@ -106359,6 +109416,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a plan post: description: >-

Updates the specified plan by setting the values of the parameters @@ -106444,6 +109502,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a plan /v1/prices: get: description: >- @@ -106648,6 +109707,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all prices post: description: >-

Creates a new price for an existing product. The price can be @@ -106994,6 +110054,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a price /v1/prices/search: get: description: >- @@ -107110,6 +110171,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Search prices '/v1/prices/{price}': get: description:

Retrieves the price with the given ID.

@@ -107155,6 +110217,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a price post: description: >-

Updates the specified price by setting the values of the parameters @@ -107320,6 +110383,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a price /v1/products: get: description: >- @@ -107491,6 +110555,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all products post: description:

Creates a new product object.

operationId: PostProducts @@ -107588,6 +110653,20 @@ paths: title: currency_option type: object type: object + custom_unit_amount: + properties: + enabled: + type: boolean + maximum: + type: integer + minimum: + type: integer + preset: + type: integer + required: + - enabled + title: custom_unit_amount + type: object recurring: properties: interval: @@ -107744,6 +110823,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a product /v1/products/search: get: description: >- @@ -107860,6 +110940,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Search products '/v1/products/{id}': delete: description: >- @@ -107898,6 +110979,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a product get: description: >-

Retrieves the details of an existing product. Supply the unique @@ -107945,6 +111027,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a product post: description: >-

Updates the specific product by setting the values of the parameters @@ -108150,6 +111233,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a product '/v1/products/{product}/features': get: description:

Retrieve a list of features for a product

@@ -108260,6 +111344,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all features attached to a product post: description: >-

Creates a product_feature, which represents a feature attachment to a @@ -108313,6 +111398,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Attach a feature to a product '/v1/products/{product}/features/{id}': delete: description:

Deletes the feature attachment to a product

@@ -108354,6 +111440,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Remove a feature from a product get: description: >-

Retrieves a product_feature, which represents a feature attachment to @@ -108409,6 +111496,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a product_feature /v1/promotion_codes: get: description:

Returns a list of your promotion codes.

@@ -108567,6 +111655,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all promotion codes post: description: >-

A promotion code points to a coupon. You can optionally restrict the @@ -108595,7 +111684,11 @@ paths: description: >- The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for a specific - customer. If left blank, we will generate one automatically. + customer. Valid characters are lower case letters (a-z), + upper case letters (A-Z), and digits (0-9). + + + If left blank, we will generate one automatically. maxLength: 500 type: string coupon: @@ -108676,6 +111769,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a promotion code '/v1/promotion_codes/{promotion_code}': get: description: >- @@ -108725,6 +111819,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a promotion code post: description: >-

Updates the specified promotion code by setting the values of the @@ -108810,6 +111905,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a promotion code /v1/quotes: get: description:

Returns a list of your quotes.

@@ -108946,6 +112042,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all quotes post: description: >-

A quote models prices and services for a customer. Default options @@ -109373,6 +112470,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a quote '/v1/quotes/{quote}': get: description:

Retrieves the quote with the given ID.

@@ -109418,6 +112516,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a quote post: description:

A quote models prices and services for a customer.

operationId: PostQuotesQuote @@ -109815,6 +112914,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a quote '/v1/quotes/{quote}/accept': post: description:

Accepts the specified quote.

@@ -109858,6 +112958,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Accept a quote '/v1/quotes/{quote}/cancel': post: description:

Cancels the quote.

@@ -109901,6 +113002,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a quote '/v1/quotes/{quote}/computed_upfront_line_items': get: description: >- @@ -110017,6 +113119,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a quote's upfront line items '/v1/quotes/{quote}/finalize': post: description:

Finalizes the quote.

@@ -110067,6 +113170,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Finalize a quote '/v1/quotes/{quote}/line_items': get: description: >- @@ -110182,6 +113286,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a quote's line items '/v1/quotes/{quote}/pdf': get: description: >- @@ -110233,6 +113338,7 @@ paths: description: Error response. servers: - url: 'https://files.stripe.com/' + summary: Download quote PDF /v1/radar/early_fraud_warnings: get: description:

Returns a list of early fraud warnings.

@@ -110378,6 +113484,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all early fraud warnings '/v1/radar/early_fraud_warnings/{early_fraud_warning}': get: description: >- @@ -110429,6 +113536,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an early fraud warning /v1/radar/value_list_items: get: description: >- @@ -110574,6 +113682,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all value list items post: description: >-

Creates a new ValueListItem object, which is added to @@ -110625,6 +113734,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a value list item '/v1/radar/value_list_items/{item}': delete: description: >- @@ -110661,6 +113771,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a value list item get: description:

Retrieves a ValueListItem object.

operationId: GetRadarValueListItemsItem @@ -110705,6 +113816,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a value list item /v1/radar/value_lists: get: description: >- @@ -110852,6 +113964,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all value lists post: description: >-

Creates a new ValueList object, which can then be @@ -110935,6 +114048,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a value list '/v1/radar/value_lists/{value_list}': delete: description: >- @@ -110972,6 +114086,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a value list get: description:

Retrieves a ValueList object.

operationId: GetRadarValueListsValueList @@ -111016,6 +114131,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a value list post: description: >-

Updates a ValueList object by setting the values of the @@ -111084,6 +114200,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a value list /v1/refunds: get: description: >- @@ -111226,6 +114343,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all refunds post: description: >-

When you create a new refund, you must specify a Charge or a @@ -111367,6 +114485,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create customer balance refund '/v1/refunds/{refund}': get: description:

Retrieves the details of an existing refund.

@@ -111411,6 +114530,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a refund post: description: >-

Updates the refund that you specify by setting the values of the @@ -111477,6 +114597,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a refund '/v1/refunds/{refund}/cancel': post: description: >- @@ -111525,6 +114646,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a refund /v1/reporting/report_runs: get: description: >- @@ -111653,6 +114775,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all Report Runs post: description: >-

Creates a new object and begin running the report. (Certain report @@ -112373,6 +115496,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Report Run '/v1/reporting/report_runs/{report_run}': get: description:

Retrieves the details of an existing Report Run.

@@ -112418,6 +115542,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Report Run /v1/reporting/report_types: get: description:

Returns a full list of Report Types.

@@ -112486,6 +115611,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all Report Types '/v1/reporting/report_types/{report_type}': get: description: >- @@ -112533,6 +115659,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Report Type /v1/reviews: get: description: >- @@ -112662,6 +115789,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all open reviews '/v1/reviews/{review}': get: description:

Retrieves a Review object.

@@ -112707,6 +115835,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a review '/v1/reviews/{review}/approve': post: description: >- @@ -112752,6 +115881,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Approve a review /v1/setup_attempts: get: description: >- @@ -112891,6 +116021,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all SetupAttempts /v1/setup_intents: get: description:

Returns a list of SetupIntents.

@@ -113053,6 +116184,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all SetupIntents post: description: >-

Creates a SetupIntent object.

@@ -113302,6 +116434,10 @@ paths: - limited - unspecified type: string + alma: + properties: {} + title: param + type: object amazon_pay: properties: {} title: param @@ -113509,6 +116645,10 @@ paths: properties: {} title: param type: object + kakao_pay: + properties: {} + title: param + type: object klarna: properties: dob: @@ -113531,6 +116671,10 @@ paths: properties: {} title: param type: object + kr_card: + properties: {} + title: param + type: object link: properties: {} title: param @@ -113547,6 +116691,16 @@ paths: properties: {} title: param type: object + naver_pay: + properties: + funding: + enum: + - card + - points + type: string + x-stripeBypassValidation: true + title: param + type: object oxxo: properties: {} title: param @@ -113585,6 +116739,10 @@ paths: x-stripeBypassValidation: true title: param type: object + payco: + properties: {} + title: param + type: object paynow: properties: {} title: param @@ -113612,6 +116770,10 @@ paths: properties: {} title: param type: object + samsung_pay: + properties: {} + title: param + type: object sepa_debit: properties: iban: @@ -113650,6 +116812,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -113663,18 +116826,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -114079,6 +117247,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a SetupIntent '/v1/setup_intents/{intent}': get: description: >- @@ -114146,6 +117315,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a SetupIntent post: description:

Updates a SetupIntent object.

operationId: PostSetupIntentsIntent @@ -114307,6 +117477,10 @@ paths: - limited - unspecified type: string + alma: + properties: {} + title: param + type: object amazon_pay: properties: {} title: param @@ -114514,6 +117688,10 @@ paths: properties: {} title: param type: object + kakao_pay: + properties: {} + title: param + type: object klarna: properties: dob: @@ -114536,6 +117714,10 @@ paths: properties: {} title: param type: object + kr_card: + properties: {} + title: param + type: object link: properties: {} title: param @@ -114552,6 +117734,16 @@ paths: properties: {} title: param type: object + naver_pay: + properties: + funding: + enum: + - card + - points + type: string + x-stripeBypassValidation: true + title: param + type: object oxxo: properties: {} title: param @@ -114590,6 +117782,10 @@ paths: x-stripeBypassValidation: true title: param type: object + payco: + properties: {} + title: param + type: object paynow: properties: {} title: param @@ -114617,6 +117813,10 @@ paths: properties: {} title: param type: object + samsung_pay: + properties: {} + title: param + type: object sepa_debit: properties: iban: @@ -114655,6 +117855,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -114668,18 +117869,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -115046,6 +118252,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a SetupIntent '/v1/setup_intents/{intent}/cancel': post: description: >- @@ -115109,6 +118316,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a SetupIntent '/v1/setup_intents/{intent}/confirm': post: description: >- @@ -115306,6 +118514,10 @@ paths: - limited - unspecified type: string + alma: + properties: {} + title: param + type: object amazon_pay: properties: {} title: param @@ -115513,6 +118725,10 @@ paths: properties: {} title: param type: object + kakao_pay: + properties: {} + title: param + type: object klarna: properties: dob: @@ -115535,6 +118751,10 @@ paths: properties: {} title: param type: object + kr_card: + properties: {} + title: param + type: object link: properties: {} title: param @@ -115551,6 +118771,16 @@ paths: properties: {} title: param type: object + naver_pay: + properties: + funding: + enum: + - card + - points + type: string + x-stripeBypassValidation: true + title: param + type: object oxxo: properties: {} title: param @@ -115589,6 +118819,10 @@ paths: x-stripeBypassValidation: true title: param type: object + payco: + properties: {} + title: param + type: object paynow: properties: {} title: param @@ -115616,6 +118850,10 @@ paths: properties: {} title: param type: object + samsung_pay: + properties: {} + title: param + type: object sepa_debit: properties: iban: @@ -115654,6 +118892,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -115667,18 +118906,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -116053,6 +119297,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Confirm a SetupIntent '/v1/setup_intents/{intent}/verify_microdeposits': post: description:

Verifies microdeposits on a SetupIntent object.

@@ -116116,6 +119361,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Verify microdeposits on a SetupIntent /v1/shipping_rates: get: description:

Returns a list of your shipping rates.

@@ -116257,6 +119503,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all shipping rates post: description:

Creates a new shipping rate object.

operationId: PostShippingRates @@ -116412,6 +119659,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a shipping rate '/v1/shipping_rates/{shipping_rate_token}': get: description:

Returns the shipping rate object with the given ID.

@@ -116457,6 +119705,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a shipping rate post: description:

Updates an existing shipping rate object.

operationId: PostShippingRatesShippingRateToken @@ -116557,6 +119806,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a shipping rate /v1/sigma/scheduled_query_runs: get: description:

Returns a list of scheduled query runs.

@@ -116661,6 +119911,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all scheduled query runs '/v1/sigma/scheduled_query_runs/{scheduled_query_run}': get: description:

Retrieves the details of an scheduled query run.

@@ -116706,6 +119957,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a scheduled query run /v1/sources: post: description:

Creates a new source object.

@@ -117052,6 +120304,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Shares a source '/v1/sources/{source}': get: description: >- @@ -117110,6 +120363,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a source post: description: >-

Updates the specified source by setting the values of the parameters @@ -117384,6 +120638,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a source '/v1/sources/{source}/mandate_notifications/{mandate_notification}': get: description:

Retrieves a new Source MandateNotification.

@@ -117436,6 +120691,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Source MandateNotification '/v1/sources/{source}/source_transactions': get: description:

List source transactions for a given source.

@@ -117602,6 +120858,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a source transaction '/v1/sources/{source}/verify': post: description:

Verify a given source.

@@ -117768,6 +121025,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all subscription items post: description: >-

Adds a new item to an existing subscription. No existing items will @@ -118010,6 +121268,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a subscription item '/v1/subscription_items/{item}': delete: description: >- @@ -118074,6 +121333,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a subscription item get: description:

Retrieves the subscription item with the given ID.

operationId: GetSubscriptionItemsItem @@ -118118,6 +121378,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a subscription item post: description: >-

Updates the plan or quantity of an item on a current @@ -118377,6 +121638,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a subscription item '/v1/subscription_items/{subscription_item}/usage_record_summaries': get: description: >- @@ -118497,6 +121759,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all subscription item period summaries '/v1/subscription_items/{subscription_item}/usage_records': post: description: >- @@ -118603,6 +121866,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a usage record /v1/subscription_schedules: get: description:

Retrieves the list of your subscription schedules.

@@ -118810,6 +122074,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all schedules post: description: >-

Creates a new subscription schedule object. Each customer can have up @@ -119344,6 +122609,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a schedule '/v1/subscription_schedules/{schedule}': get: description: >- @@ -119392,6 +122658,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a schedule post: description:

Updates an existing subscription schedule.

operationId: PostSubscriptionSchedulesSchedule @@ -119923,6 +123190,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a schedule '/v1/subscription_schedules/{schedule}/cancel': post: description: >- @@ -119982,6 +123250,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a schedule '/v1/subscription_schedules/{schedule}/release': post: description: >- @@ -120037,6 +123306,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Release a schedule /v1/subscriptions: get: description: >- @@ -120290,6 +123560,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List subscriptions post: description: >-

Creates a new subscription on an existing customer. Each customer can @@ -121073,14 +124344,20 @@ paths: - giropay - grabpay - ideal + - jp_credit_transfer + - kakao_pay - konbini + - kr_card - link - multibanco + - naver_pay - p24 + - payco - paynow - paypal - promptpay - revolut_pay + - sepa_credit_transfer - sepa_debit - sofort - swish @@ -121230,6 +124507,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a subscription /v1/subscriptions/search: get: description: >- @@ -121346,29 +124624,31 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Search subscriptions '/v1/subscriptions/{subscription_exposed_id}': delete: description: >- -

Cancels a customer’s subscription immediately. The customer will not - be charged again for the subscription.

+

Cancels a customer’s subscription immediately. The customer won’t be + charged again for the subscription. After it’s canceled, you can no + longer update the subscription or its metadata.

-

Note, however, that any pending invoice items that you’ve created - will still be charged for at the end of the period, unless manually Any pending invoice items that you’ve created are still charged at + the end of the period, unless manually deleted. If you’ve set the subscription - to cancel at the end of the period, any pending prorations will also be - left in place and collected at the end of the period. But if the - subscription is set to cancel immediately, pending prorations will be - removed.

- - -

By default, upon subscription cancellation, Stripe will stop - automatic collection of all finalized invoices for the customer. This is - intended to prevent unexpected payment attempts after the customer has - canceled a subscription. However, you can resume automatic collection of - the invoices manually after subscription cancellation to have us - proceed. Or, you could check for unpaid invoices before allowing the - customer to cancel the subscription at all.

+ to cancel at the end of the period, any pending prorations are also left + in place and collected at the end of the period. But if the subscription + is set to cancel immediately, pending prorations are removed.

+ + +

By default, upon subscription cancellation, Stripe stops automatic + collection of all finalized invoices for the customer. This is intended + to prevent unexpected payment attempts after the customer has canceled a + subscription. However, you can resume automatic collection of the + invoices manually after subscription cancellation to have us proceed. + Or, you could check for unpaid invoices before allowing the customer to + cancel the subscription at all.

operationId: DeleteSubscriptionsSubscriptionExposedId parameters: - in: path @@ -121425,7 +124705,7 @@ paths: description: >- Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice - items. Defaults to `true`. + items. Defaults to `false`. type: boolean prorate: description: >- @@ -121448,6 +124728,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a subscription get: description:

Retrieves the subscription with the given ID.

operationId: GetSubscriptionsSubscriptionExposedId @@ -121492,6 +124773,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a subscription post: description: >-

Updates an existing subscription to match the specified parameters. @@ -122367,14 +125649,20 @@ paths: - giropay - grabpay - ideal + - jp_credit_transfer + - kakao_pay - konbini + - kr_card - link - multibanco + - naver_pay - p24 + - payco - paynow - paypal - promptpay - revolut_pay + - sepa_credit_transfer - sepa_debit - sofort - swish @@ -122532,6 +125820,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a subscription '/v1/subscriptions/{subscription_exposed_id}/discount': delete: description:

Removes the currently applied discount on a subscription.

@@ -122566,6 +125855,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a subscription discount '/v1/subscriptions/{subscription}/resume': post: description: >- @@ -122597,17 +125887,13 @@ paths: properties: billing_cycle_anchor: description: >- - Either `now` or `unchanged`. Setting the value to `now` - resets the subscription's billing cycle anchor to the - current time (in UTC). Setting the value to `unchanged` - advances the subscription's billing cycle anchor to the - period that surrounds the current time. For more - information, see the billing cycle + The billing cycle anchor that applies when the subscription + is resumed. Either `now` or `unchanged`. The default is + `now`. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). enum: - now - unchanged - maxLength: 5000 type: string expand: description: Specifies which fields in the response should be expanded. @@ -122653,6 +125939,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Resume a subscription /v1/tax/calculations: post: description: >- @@ -122764,6 +126051,7 @@ paths: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -122799,6 +126087,8 @@ paths: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -122822,9 +126112,12 @@ paths: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -122974,6 +126267,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Tax Calculation '/v1/tax/calculations/{calculation}': get: description: >- @@ -123021,6 +126315,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Tax Calculation '/v1/tax/calculations/{calculation}/line_items': get: description: >- @@ -123135,6 +126430,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a calculation's line items /v1/tax/registrations: get: description:

Returns a list of Tax Registration objects.

@@ -123251,6 +126547,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List registrations post: description:

Creates a new Tax Registration object.

operationId: PostTaxRegistrations @@ -123395,6 +126692,16 @@ paths: - type title: default type: object + by: + properties: + type: + enum: + - simplified + type: string + required: + - type + title: simplified + type: object ca: properties: province_standard: @@ -123446,6 +126753,16 @@ paths: - type title: simplified type: object + cr: + properties: + type: + enum: + - simplified + type: string + required: + - type + title: simplified + type: object cy: properties: standard: @@ -123542,6 +126859,16 @@ paths: - type title: europe type: object + ec: + properties: + type: + enum: + - simplified + type: string + required: + - type + title: simplified + type: object ee: properties: standard: @@ -123920,6 +127247,26 @@ paths: - type title: europe type: object + ma: + properties: + type: + enum: + - simplified + type: string + required: + - type + title: simplified + type: object + md: + properties: + type: + enum: + - simplified + type: string + required: + - type + title: simplified + type: object mt: properties: standard: @@ -124100,6 +127447,26 @@ paths: - type title: europe type: object + rs: + properties: + type: + enum: + - standard + type: string + required: + - type + title: default + type: object + ru: + properties: + type: + enum: + - simplified + type: string + required: + - type + title: simplified + type: object sa: properties: type: @@ -124212,6 +127579,16 @@ paths: - type title: simplified type: object + tz: + properties: + type: + enum: + - simplified + type: string + required: + - type + title: simplified + type: object us: properties: local_amusement_tax: @@ -124263,6 +127640,7 @@ paths: - local_amusement_tax - local_lease_tax - state_communications_tax + - state_retail_delivery_fee - state_sales_tax type: string x-stripeBypassValidation: true @@ -124271,6 +127649,16 @@ paths: - type title: united_states type: object + uz: + properties: + type: + enum: + - simplified + type: string + required: + - type + title: simplified + type: object vn: properties: type: @@ -124326,6 +127714,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a registration '/v1/tax/registrations/{id}': get: description:

Returns a Tax Registration object.

@@ -124371,6 +127760,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a registration post: description: >-

Updates an existing Tax Registration object.

@@ -124453,6 +127843,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a registration /v1/tax/settings: get: description:

Retrieves Tax Settings for a merchant.

@@ -124491,6 +127882,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve settings post: description: >-

Updates Tax Settings parameters used in tax @@ -124576,6 +127968,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update settings /v1/tax/transactions/create_from_calculation: post: description: >- @@ -124653,6 +128046,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a transaction from a calculation /v1/tax/transactions/create_reversal: post: description: >- @@ -124785,6 +128179,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a reversal transaction '/v1/tax/transactions/{transaction}': get: description:

Retrieves a Tax Transaction object.

@@ -124830,6 +128225,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a transaction '/v1/tax/transactions/{transaction}/line_items': get: description: >- @@ -124944,6 +128340,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a transaction's line items /v1/tax_codes: get: description: >- @@ -125048,6 +128445,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all tax codes '/v1/tax_codes/{id}': get: description: >- @@ -125096,6 +128494,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a tax code /v1/tax_ids: get: description:

Returns a list of tax IDs.

@@ -125226,6 +128625,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all tax IDs post: description:

Creates a new account or customer tax_id object.

operationId: PostTaxIds @@ -125273,17 +128673,18 @@ paths: description: >- Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, - `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, - `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, - `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, - `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, - `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, - `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, - `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, - `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, - `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, - `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, - `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, + `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, + `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, + `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, + `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, + `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, + `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, + `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `ma_vat`, `md_vat`, + `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, + `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, + `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, + `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, + `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat` enum: - ad_nrt @@ -125296,6 +128697,7 @@ paths: - bo_tin - br_cnpj - br_cpf + - by_tin - ca_bn - ca_gst_hst - ca_pst_bc @@ -125331,6 +128733,8 @@ paths: - kr_brn - kz_bin - li_uid + - ma_vat + - md_vat - mx_rfc - my_frp - my_itn @@ -125354,9 +128758,12 @@ paths: - th_vat - tr_tin - tw_vat + - tz_vat - ua_vat - us_ein - uy_ruc + - uz_tin + - uz_vat - ve_rif - vn_tin - za_vat @@ -125384,6 +128791,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a tax ID '/v1/tax_ids/{id}': delete: description: >- @@ -125420,6 +128828,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a tax ID get: description:

Retrieves an account or customer tax_id object.

operationId: GetTaxIdsId @@ -125464,6 +128873,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a tax ID /v1/tax_rates: get: description: >- @@ -125609,6 +129019,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all tax rates post: description:

Creates a new tax rate.

operationId: PostTaxRates @@ -125701,6 +129112,7 @@ paths: - lease_tax - pst - qst + - retail_delivery_fee - rst - sales_tax - vat @@ -125725,6 +129137,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a tax rate '/v1/tax_rates/{tax_rate}': get: description:

Retrieves a tax rate with the given ID

@@ -125770,6 +129183,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a tax rate post: description:

Updates an existing tax rate.

operationId: PostTaxRatesTaxRate @@ -125868,6 +129282,7 @@ paths: - lease_tax - pst - qst + - retail_delivery_fee - rst - sales_tax - vat @@ -125888,6 +129303,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a tax rate /v1/terminal/configurations: get: description:

Returns a list of Configuration objects.

@@ -126001,6 +129417,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all Configurations post: description:

Creates a new Configuration object.

operationId: PostTerminalConfigurations @@ -126252,6 +129669,20 @@ paths: type: integer title: currency_specific_config type: object + pln: + properties: + fixed_amounts: + items: + type: integer + type: array + percentages: + items: + type: integer + type: array + smart_tip_threshold: + type: integer + title: currency_specific_config + type: object sek: properties: fixed_amounts: @@ -126328,6 +129759,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Configuration '/v1/terminal/configurations/{configuration}': delete: description:

Deletes a Configuration object.

@@ -126362,6 +129794,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a Configuration get: description:

Retrieves a Configuration object.

operationId: GetTerminalConfigurationsConfiguration @@ -126408,6 +129841,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Configuration post: description:

Updates a new Configuration object.

operationId: PostTerminalConfigurationsConfiguration @@ -126679,6 +130113,20 @@ paths: type: integer title: currency_specific_config type: object + pln: + properties: + fixed_amounts: + items: + type: integer + type: array + percentages: + items: + type: integer + type: array + smart_tip_threshold: + type: integer + title: currency_specific_config + type: object sek: properties: fixed_amounts: @@ -126761,6 +130209,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a Configuration /v1/terminal/connection_tokens: post: description: >- @@ -126811,6 +130260,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Connection Token /v1/terminal/locations: get: description:

Returns a list of Location objects.

@@ -126915,6 +130365,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all Locations post: description: >-

Creates a new Location object. @@ -127014,6 +130465,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Location '/v1/terminal/locations/{location}': delete: description:

Deletes a Location object.

@@ -127048,6 +130500,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a Location get: description:

Retrieves a Location object.

operationId: GetTerminalLocationsLocation @@ -127094,6 +130547,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Location post: description: >-

Updates a Location object by setting the values of the @@ -127208,6 +130662,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a Location /v1/terminal/readers: get: description:

Returns a list of Reader objects.

@@ -127357,6 +130812,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all Readers post: description:

Creates a new Reader object.

operationId: PostTerminalReaders @@ -127429,6 +130885,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a Reader '/v1/terminal/readers/{reader}': delete: description:

Deletes a Reader object.

@@ -127463,6 +130920,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a Reader get: description:

Retrieves a Reader object.

operationId: GetTerminalReadersReader @@ -127509,6 +130967,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Reader post: description: >-

Updates a Reader object by setting the values of the @@ -127586,6 +131045,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a Reader '/v1/terminal/readers/{reader}/cancel_action': post: description:

Cancels the current reader action.

@@ -127629,6 +131089,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel the current reader action '/v1/terminal/readers/{reader}/process_payment_intent': post: description:

Initiates a payment flow on a Reader.

@@ -127667,6 +131128,12 @@ paths: process_config: description: Configuration overrides properties: + allow_redisplay: + enum: + - always + - limited + - unspecified + type: string enable_customer_cancellation: type: boolean skip_tipping: @@ -127696,6 +131163,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Hand-off a PaymentIntent to a Reader '/v1/terminal/readers/{reader}/process_setup_intent': post: description:

Initiates a setup intent flow on a Reader.

@@ -127721,9 +131189,18 @@ paths: schema: additionalProperties: false properties: - customer_consent_collected: - description: Customer Consent Collected - type: boolean + allow_redisplay: + description: >- + This field indicates whether this payment method can be + shown again to its customer in a checkout flow. Stripe + products such as Checkout and Elements use this field to + determine whether a payment method can be shown as a saved + payment method in a checkout flow. + enum: + - always + - limited + - unspecified + type: string expand: description: Specifies which fields in the response should be expanded. items: @@ -127742,6 +131219,7 @@ paths: maxLength: 5000 type: string required: + - allow_redisplay - setup_intent type: object required: true @@ -127758,6 +131236,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Hand-off a SetupIntent to a Reader '/v1/terminal/readers/{reader}/refund_payment': post: description:

Initiates a refund on a Reader

@@ -127857,6 +131336,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Refund a Charge or a PaymentIntent in-person '/v1/terminal/readers/{reader}/set_reader_display': post: description:

Sets reader display to show cart details.

@@ -127942,6 +131422,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Set reader display /v1/test_helpers/confirmation_tokens: post: description: >- @@ -128014,6 +131495,10 @@ paths: - limited - unspecified type: string + alma: + properties: {} + title: param + type: object amazon_pay: properties: {} title: param @@ -128221,6 +131706,10 @@ paths: properties: {} title: param type: object + kakao_pay: + properties: {} + title: param + type: object klarna: properties: dob: @@ -128243,6 +131732,10 @@ paths: properties: {} title: param type: object + kr_card: + properties: {} + title: param + type: object link: properties: {} title: param @@ -128259,6 +131752,16 @@ paths: properties: {} title: param type: object + naver_pay: + properties: + funding: + enum: + - card + - points + type: string + x-stripeBypassValidation: true + title: param + type: object oxxo: properties: {} title: param @@ -128297,6 +131800,10 @@ paths: x-stripeBypassValidation: true title: param type: object + payco: + properties: {} + title: param + type: object paynow: properties: {} title: param @@ -128324,6 +131831,10 @@ paths: properties: {} title: param type: object + samsung_pay: + properties: {} + title: param + type: object sepa_debit: properties: iban: @@ -128362,6 +131873,7 @@ paths: - affirm - afterpay_clearpay - alipay + - alma - amazon_pay - au_becs_debit - bacs_debit @@ -128375,18 +131887,23 @@ paths: - giropay - grabpay - ideal + - kakao_pay - klarna - konbini + - kr_card - link - mobilepay - multibanco + - naver_pay - oxxo - p24 + - payco - paynow - paypal - pix - promptpay - revolut_pay + - samsung_pay - sepa_debit - sofort - swish @@ -128504,6 +132021,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a test Confirmation Token '/v1/test_helpers/customers/{customer}/fund_cash_balance': post: description:

Create an incoming testmode bank transfer

@@ -128576,6 +132094,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Fund a test mode cash balance /v1/test_helpers/issuing/authorizations: post: description:

Create a test-mode authorization.

@@ -129202,6 +132721,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a test-mode authorization '/v1/test_helpers/issuing/authorizations/{authorization}/capture': post: description:

Capture a test-mode authorization.

@@ -129432,6 +132952,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Capture a test-mode authorization '/v1/test_helpers/issuing/authorizations/{authorization}/expire': post: description:

Expire a test-mode Authorization.

@@ -129475,6 +132996,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Expire a test-mode authorization '/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount': post: description: >- @@ -129639,6 +133161,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Finalize a test-mode authorization's amount '/v1/test_helpers/issuing/authorizations/{authorization}/increment': post: description:

Increment a test-mode Authorization.

@@ -129696,6 +133219,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Increment a test-mode authorization '/v1/test_helpers/issuing/authorizations/{authorization}/reverse': post: description:

Reverse a test-mode Authorization.

@@ -129747,6 +133271,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Reverse a test-mode authorization '/v1/test_helpers/issuing/cards/{card}/shipping/deliver': post: description: >- @@ -129792,6 +133317,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Deliver a testmode card '/v1/test_helpers/issuing/cards/{card}/shipping/fail': post: description: >- @@ -129837,6 +133363,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Fail a testmode card '/v1/test_helpers/issuing/cards/{card}/shipping/return': post: description: >- @@ -129882,6 +133409,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Return a testmode card '/v1/test_helpers/issuing/cards/{card}/shipping/ship': post: description: >- @@ -129927,6 +133455,54 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Ship a testmode card + '/v1/test_helpers/issuing/cards/{card}/shipping/submit': + post: + description: >- +

Updates the shipping status of the specified Issuing + Card object to submitted. This method requires + Stripe Version ‘2024-09-30.acacia’ or later.

+ operationId: PostTestHelpersIssuingCardsCardShippingSubmit + parameters: + - in: path + name: card + required: true + schema: + maxLength: 5000 + type: string + style: simple + requestBody: + content: + application/x-www-form-urlencoded: + encoding: + expand: + explode: true + style: deepObject + schema: + additionalProperties: false + properties: + expand: + description: Specifies which fields in the response should be expanded. + items: + maxLength: 5000 + type: string + type: array + type: object + required: false + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/issuing.card' + description: Successful response. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/error' + description: Error response. + summary: Submit a testmode card '/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate': post: description: >- @@ -129973,6 +133549,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Activate a testmode personalization design '/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate': post: description: >- @@ -130019,6 +133596,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Deactivate a testmode personalization design '/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject': post: description: >- @@ -130099,6 +133677,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Reject a testmode personalization design /v1/test_helpers/issuing/settlements: post: description:

Allows the user to create an Issuing settlement.

@@ -130179,6 +133758,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a test-mode settleemnt /v1/test_helpers/issuing/transactions/create_force_capture: post: description: >- @@ -130751,6 +134331,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a test-mode force capture /v1/test_helpers/issuing/transactions/create_unlinked_refund: post: description: >- @@ -131324,6 +134905,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a test-mode unlinked refund '/v1/test_helpers/issuing/transactions/{transaction}/refund': post: description:

Refund a test-mode Transaction.

@@ -131374,6 +134956,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Refund a test-mode transaction '/v1/test_helpers/refunds/{refund}/expire': post: description:

Expire a refund with a status of requires_action.

@@ -131416,6 +134999,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Expire a pending refund. '/v1/test_helpers/terminal/readers/{reader}/present_payment_method': post: description: >- @@ -131494,6 +135078,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Simulate presenting a payment method /v1/test_helpers/test_clocks: get: description:

Returns a list of your test clocks.

@@ -131598,6 +135183,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all test clocks post: description: >-

Creates a new test clock that can be attached to new customers and @@ -131644,6 +135230,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a test clock '/v1/test_helpers/test_clocks/{test_clock}': delete: description:

Deletes a test clock.

@@ -131678,6 +135265,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a test clock get: description:

Retrieves a test clock.

operationId: GetTestHelpersTestClocksTestClock @@ -131722,6 +135310,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a test clock '/v1/test_helpers/test_clocks/{test_clock}/advance': post: description: >- @@ -131778,6 +135367,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Advance a test clock '/v1/test_helpers/treasury/inbound_transfers/{id}/fail': post: description: >- @@ -131848,6 +135438,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Fail an InboundTransfer' '/v1/test_helpers/treasury/inbound_transfers/{id}/return': post: description: >- @@ -131894,6 +135485,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Return an InboundTransfer' '/v1/test_helpers/treasury/inbound_transfers/{id}/succeed': post: description: >- @@ -131940,6 +135532,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Succeed an InboundTransfer' '/v1/test_helpers/treasury/outbound_payments/{id}': post: description: >- @@ -132025,6 +135618,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Update an OutboundPayment' '/v1/test_helpers/treasury/outbound_payments/{id}/fail': post: description: >- @@ -132071,6 +135665,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Fail an OutboundPayment' '/v1/test_helpers/treasury/outbound_payments/{id}/post': post: description: >- @@ -132117,6 +135712,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Post an OutboundPayment' '/v1/test_helpers/treasury/outbound_payments/{id}/return': post: description: >- @@ -132184,6 +135780,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Return an OutboundPayment' '/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}': post: description: >- @@ -132269,6 +135866,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Update an OutboundTransfer' '/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail': post: description: >- @@ -132315,6 +135913,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Fail an OutboundTransfer' '/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post': post: description: >- @@ -132361,6 +135960,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Post an OutboundTransfer' '/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return': post: description: >- @@ -132428,6 +136028,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Return an OutboundTransfer' /v1/test_helpers/treasury/received_credits: post: description: >- @@ -132528,6 +136129,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Create a ReceivedCredit' /v1/test_helpers/treasury/received_debits: post: description: >- @@ -132627,12 +136229,13 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: 'Test mode: Create a ReceivedDebit' /v1/tokens: post: description: >-

Creates a single-use token that represents a bank account’s details. - You can use this token with any API method in place of a bank account + You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a connected account where controller.requirement_collection @@ -133506,6 +137109,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a CVC update token '/v1/tokens/{token}': get: description:

Retrieves the token with the given ID.

@@ -133551,6 +137155,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a token /v1/topups: get: description:

Returns a list of top-ups.

@@ -133713,6 +137318,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all top-ups post: description:

Top up the balance of an account

operationId: PostTopups @@ -133804,6 +137410,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a top-up '/v1/topups/{topup}': get: description: >- @@ -133853,6 +137460,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a top-up post: description: >-

Updates the metadata of a top-up. Other top-up details are not @@ -133922,6 +137530,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a top-up '/v1/topups/{topup}/cancel': post: description:

Cancels a top-up. Only pending top-ups can be canceled.

@@ -133965,6 +137574,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel a top-up /v1/transfers: get: description: >- @@ -134113,6 +137723,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all transfers post: description: >-

To send funds from your Stripe account to a connected account, you @@ -134222,6 +137833,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a transfer '/v1/transfers/{id}/reversals': get: description: >- @@ -134338,6 +137950,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all reversals post: description: >-

When you create a new reversal, you must specify a transfer to create @@ -134435,6 +138048,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a transfer reversal '/v1/transfers/{transfer}': get: description: >- @@ -134483,6 +138097,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a transfer post: description: >-

Updates the specified transfer by setting the values of the @@ -134556,6 +138171,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a transfer '/v1/transfers/{transfer}/reversals/{id}': get: description: >- @@ -134611,6 +138227,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a reversal post: description: >-

Updates the specified reversal by setting the values of the @@ -134685,6 +138302,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a reversal /v1/treasury/credit_reversals: get: description:

Returns a list of CreditReversals.

@@ -134815,6 +138433,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all CreditReversals post: description:

Reverses a ReceivedCredit and creates a CreditReversal object.

operationId: PostTreasuryCreditReversals @@ -134870,6 +138489,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a CreditReversal '/v1/treasury/credit_reversals/{credit_reversal}': get: description: >- @@ -134918,6 +138538,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a CreditReversal /v1/treasury/debit_reversals: get: description:

Returns a list of DebitReversals.

@@ -135058,6 +138679,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all DebitReversals post: description:

Reverses a ReceivedDebit and creates a DebitReversal object.

operationId: PostTreasuryDebitReversals @@ -135113,6 +138735,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a DebitReversal '/v1/treasury/debit_reversals/{debit_reversal}': get: description:

Retrieves a DebitReversal object.

@@ -135158,6 +138781,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a DebitReversal /v1/treasury/financial_accounts: get: description:

Returns a list of FinancialAccounts.

@@ -135272,6 +138896,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all FinancialAccounts post: description: >-

Creates a new FinancialAccount. For now, each connected account can @@ -135453,6 +139078,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a FinancialAccount '/v1/treasury/financial_accounts/{financial_account}': get: description:

Retrieves the details of a FinancialAccount.

@@ -135498,6 +139124,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a FinancialAccount post: description:

Updates the details of a FinancialAccount.

operationId: PostTreasuryFinancialAccountsFinancialAccount @@ -135675,6 +139302,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a FinancialAccount '/v1/treasury/financial_accounts/{financial_account}/features': get: description: >- @@ -135722,6 +139350,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve FinancialAccount Features post: description:

Updates the Features associated with a FinancialAccount.

operationId: PostTreasuryFinancialAccountsFinancialAccountFeatures @@ -135898,6 +139527,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update FinancialAccount Features /v1/treasury/inbound_transfers: get: description: >- @@ -135971,6 +139601,7 @@ paths: - processing - succeeded type: string + x-stripeBypassValidation: true style: form requestBody: content: @@ -136025,6 +139656,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all InboundTransfers post: description:

Creates an InboundTransfer.

operationId: PostTreasuryInboundTransfers @@ -136110,6 +139742,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an InboundTransfer '/v1/treasury/inbound_transfers/{id}': get: description:

Retrieves the details of an existing InboundTransfer.

@@ -136155,6 +139788,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an InboundTransfer '/v1/treasury/inbound_transfers/{inbound_transfer}/cancel': post: description:

Cancels an InboundTransfer.

@@ -136198,6 +139832,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel an InboundTransfer /v1/treasury/outbound_payments: get: description: >- @@ -136357,6 +139992,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all OutboundPayments post: description:

Creates an OutboundPayment.

operationId: PostTreasuryOutboundPayments @@ -136587,6 +140223,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an OutboundPayment '/v1/treasury/outbound_payments/{id}': get: description: >- @@ -136635,6 +140272,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an OutboundPayment '/v1/treasury/outbound_payments/{id}/cancel': post: description:

Cancel an OutboundPayment.

@@ -136678,6 +140316,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel an OutboundPayment /v1/treasury/outbound_transfers: get: description: >- @@ -136806,6 +140445,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all OutboundTransfers post: description:

Creates an OutboundTransfer.

operationId: PostTreasuryOutboundTransfers @@ -136913,6 +140553,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create an OutboundTransfer '/v1/treasury/outbound_transfers/{outbound_transfer}': get: description: >- @@ -136961,6 +140602,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve an OutboundTransfer '/v1/treasury/outbound_transfers/{outbound_transfer}/cancel': post: description: >- @@ -137006,6 +140648,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Cancel an OutboundTransfer /v1/treasury/received_credits: get: description:

Returns a list of ReceivedCredits.

@@ -137150,6 +140793,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all ReceivedCredits '/v1/treasury/received_credits/{id}': get: description: >- @@ -137197,6 +140841,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a ReceivedCredit /v1/treasury/received_debits: get: description:

Returns a list of ReceivedDebits.

@@ -137321,6 +140966,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all ReceivedDebits '/v1/treasury/received_debits/{id}': get: description: >- @@ -137368,6 +141014,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a ReceivedDebit /v1/treasury/transaction_entries: get: description:

Retrieves a list of TransactionEntry objects.

@@ -137541,6 +141188,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all TransactionEntries '/v1/treasury/transaction_entries/{id}': get: description:

Retrieves a TransactionEntry object.

@@ -137586,6 +141234,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a TransactionEntry /v1/treasury/transactions: get: description:

Retrieves a list of Transaction objects.

@@ -137772,6 +141421,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all Transactions '/v1/treasury/transactions/{id}': get: description:

Retrieves the details of an existing Transaction.

@@ -137817,6 +141467,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a Transaction /v1/webhook_endpoints: get: description:

Returns a list of your webhook endpoints.

@@ -137921,6 +141572,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: List all webhook endpoints post: description: >-

A webhook endpoint must have a url and a list of @@ -138060,6 +141712,7 @@ paths: - '2023-10-16' - '2024-04-10' - '2024-06-20' + - 2024-09-30.acacia maxLength: 5000 type: string x-stripeBypassValidation: true @@ -138205,6 +141858,7 @@ paths: - issuing_token.created - issuing_token.updated - issuing_transaction.created + - issuing_transaction.purchase_details_receipt_updated - issuing_transaction.updated - mandate.updated - payment_intent.amount_capturable_updated @@ -138248,6 +141902,7 @@ paths: - radar.early_fraud_warning.created - radar.early_fraud_warning.updated - refund.created + - refund.failed - refund.updated - reporting.report_run.failed - reporting.report_run.succeeded @@ -138368,6 +142023,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Create a webhook endpoint '/v1/webhook_endpoints/{webhook_endpoint}': delete: description: >- @@ -138405,6 +142061,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Delete a webhook endpoint get: description:

Retrieves the webhook endpoint with the given ID.

operationId: GetWebhookEndpointsWebhookEndpoint @@ -138449,6 +142106,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Retrieve a webhook endpoint post: description: >-

Updates the webhook endpoint. You may edit the url, the @@ -138621,6 +142279,7 @@ paths: - issuing_token.created - issuing_token.updated - issuing_transaction.created + - issuing_transaction.purchase_details_receipt_updated - issuing_transaction.updated - mandate.updated - payment_intent.amount_capturable_updated @@ -138664,6 +142323,7 @@ paths: - radar.early_fraud_warning.created - radar.early_fraud_warning.updated - refund.created + - refund.failed - refund.updated - reporting.report_run.failed - reporting.report_run.succeeded @@ -138781,6 +142441,7 @@ paths: schema: $ref: '#/components/schemas/error' description: Error response. + summary: Update a webhook endpoint security: - basicAuth: [] - bearerAuth: [] diff --git a/packages/openapi-typescript/src/transform/schema-object.ts b/packages/openapi-typescript/src/transform/schema-object.ts index 7e74f094c..2c1edce0d 100644 --- a/packages/openapi-typescript/src/transform/schema-object.ts +++ b/packages/openapi-typescript/src/transform/schema-object.ts @@ -240,24 +240,21 @@ export function transformSchemaObjectWithComposition( } } - // if final type could be generated, return intersection of all members - if (finalType) { - // deprecated nullable - if (schemaObject.nullable && !schemaObject.default) { - return tsNullable([finalType]); + // When no final type can be generated, fall back to unknown type (or related variants) + if (!finalType) { + if ("type" in schemaObject) { + finalType = tsRecord(STRING, options.ctx.emptyObjectsUnknown ? UNKNOWN : NEVER); } - return finalType; - } - // otherwise fall back to unknown type (or related variants) - else { - // fallback: unknown - if (!("type" in schemaObject)) { - return UNKNOWN; + else { + finalType = UNKNOWN; } + } - // if no type could be generated, fall back to “empty object” type - return tsRecord(STRING, options.ctx.emptyObjectsUnknown ? UNKNOWN : NEVER); + if (finalType !== UNKNOWN && schemaObject.nullable && !schemaObject.default) { + finalType = tsNullable([finalType]); } + + return finalType; } /** diff --git a/packages/openapi-typescript/test/index.test.ts b/packages/openapi-typescript/test/index.test.ts index 46b01c8b8..8d5065066 100644 --- a/packages/openapi-typescript/test/index.test.ts +++ b/packages/openapi-typescript/test/index.test.ts @@ -694,6 +694,61 @@ export type operations = Record;`, }, }, ], + [ + "nullable schemas are supported", + { + given: { + openapi: "3.1", + info: { title: "Test", version: "1.0" }, + components: { + schemas: { + "NullableEmptyObject": { + "nullable": true, + "properties": {}, + "title": "NullableEmptyObject", + "type": "object" + }, + "NullableObject": { + "nullable": true, + "properties": { + "name": { + "type": "string" + } + }, + "title": "NullableObject", + "type": "object" + }, + "NullableString": { + "nullable": true, + "title": "NullableString", + "type": "string" + } + } + } + }, + want: `export type paths = Record; +export type webhooks = Record; +export interface components { + schemas: { + /** NullableEmptyObject */ + NullableEmptyObject: Record | null; + /** NullableObject */ + NullableObject: { + name?: string; + } | null; + /** NullableString */ + NullableString: string | null; + }; + responses: never; + parameters: never; + requestBodies: never; + headers: never; + pathItems: never; +} +export type $defs = Record; +export type operations = Record;`, + }, + ], ]; for (const [testName, { given, want, options, ci }] of tests) {