From f367fe5efc4b6e6fc4c49ea01596d58168e030b8 Mon Sep 17 00:00:00 2001 From: Tanguy Krotoff Date: Fri, 21 Jul 2023 09:28:18 +0200 Subject: [PATCH 1/3] Factorize parenthesise function and apply it to arrays --- packages/openapi-typescript/src/utils.ts | 15 +++++++------- .../test/schema-object.test.ts | 20 +++++++++---------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/packages/openapi-typescript/src/utils.ts b/packages/openapi-typescript/src/utils.ts index 9fc69ecf5..3c907dc6e 100644 --- a/packages/openapi-typescript/src/utils.ts +++ b/packages/openapi-typescript/src/utils.ts @@ -168,9 +168,14 @@ export function encodeRef(ref: string): string { return ref.replace(TILDE_RE, "~0").replace(FS_RE, "~1"); } +/** if the type has & or | we should parenthesise it for safety */ +function parenthesise(type: string) { + return TS_UNION_INTERSECTION_RE.test(type) ? `(${type})` : type; +} + /** T[] */ export function tsArrayOf(type: string): string { - return `(${type})[]`; + return `${parenthesise(type)}[]`; } /** X & Y & Z; */ @@ -178,7 +183,7 @@ export function tsIntersectionOf(...types: string[]): string { types = types.filter((t) => t !== "unknown"); if (types.length === 0) return "unknown"; if (types.length === 1) return String(types[0]); // don’t add parentheses around one thing - return types.map((t) => (TS_UNION_INTERSECTION_RE.test(t) ? `(${t})` : t)).join(" & "); + return types.map((t) => parenthesise(t)).join(" & "); } /** NonNullable */ @@ -258,11 +263,7 @@ export function tsUnionOf(...types: (string | number | boolean)[]): string { let out = ""; for (let i = 0; i < memberArr.length; i++) { const t = memberArr[i]; - - // if the type has & or | we should parenthesise it for safety - const escaped = TS_UNION_INTERSECTION_RE.test(t) ? `(${t})` : t; - - out += escaped; + out += parenthesise(t); if (i !== memberArr.length - 1) out += " | "; } diff --git a/packages/openapi-typescript/test/schema-object.test.ts b/packages/openapi-typescript/test/schema-object.test.ts index 5fea56f46..b68236ab5 100644 --- a/packages/openapi-typescript/test/schema-object.test.ts +++ b/packages/openapi-typescript/test/schema-object.test.ts @@ -97,7 +97,7 @@ describe("Schema Object", () => { test("basic", () => { const schema: SchemaObject = { type: "array", items: { type: "string" } }; const generated = transformSchemaObject(schema, options); - expect(generated).toBe("(string)[]"); + expect(generated).toBe("string[]"); }); test("tuple array", () => { @@ -109,7 +109,7 @@ describe("Schema Object", () => { test("ref", () => { const schema: SchemaObject = { type: "array", items: { $ref: 'components["schemas"]["ArrayItem"]' } }; const generated = transformSchemaObject(schema, options); - expect(generated).toBe('(components["schemas"]["ArrayItem"])[]'); + expect(generated).toBe('components["schemas"]["ArrayItem"][]'); }); }); @@ -267,7 +267,7 @@ describe("Schema Object", () => { test("array", () => { const generated = transformSchemaObject({ type: "array", items: { type: "string" }, nullable: true }, options); - expect(generated).toBe("(string)[] | null"); + expect(generated).toBe("string[] | null"); }); test("object", () => { @@ -301,7 +301,7 @@ describe("Schema Object", () => { test("array", () => { const generated = transformSchemaObject({ type: ["array", "null"], items: { type: "string" } } as any, options); - expect(generated).toBe("(string)[] | null"); + expect(generated).toBe("string[] | null"); }); test("object", () => { @@ -405,7 +405,7 @@ describe("Schema Object", () => { } | { number: number; } | { - array: (string)[]; + array: string[]; } | { object: { string: string; @@ -606,10 +606,10 @@ describe("Schema Object", () => { test("supportArrayLength", () => { const opts = { ...options, ctx: { ...options.ctx, supportArrayLength: true } }; - expect(transformSchemaObject({ type: "array", items: { type: "string" } }, options)).toBe(`(string)[]`); - expect(transformSchemaObject({ type: "array", items: { type: "string" }, minItems: 1 }, opts)).toBe(`[string, ...(string)[]]`); + expect(transformSchemaObject({ type: "array", items: { type: "string" } }, options)).toBe(`string[]`); + expect(transformSchemaObject({ type: "array", items: { type: "string" }, minItems: 1 }, opts)).toBe(`[string, ...string[]]`); expect(transformSchemaObject({ type: "array", items: { type: "string" }, maxItems: 2 }, opts)).toBe(`[] | [string] | [string, string]`); - expect(transformSchemaObject({ type: "array", items: { type: "string" }, maxItems: 20 }, opts)).toBe(`(string)[]`); + expect(transformSchemaObject({ type: "array", items: { type: "string" }, maxItems: 20 }, opts)).toBe(`string[]`); }); test("prefixItems", () => { @@ -642,9 +642,9 @@ describe("Schema Object", () => { ctx: { ...options.ctx, immutableTypes: true }, }); expect(generated).toBe(`{ - readonly array?: readonly ({ + readonly array?: readonly { [key: string]: unknown; - })[] | null; + }[] | null; }`); }); }); From 30e3654ff336d6b0a19117abb4b307dcdeebc05b Mon Sep 17 00:00:00 2001 From: Tanguy Krotoff Date: Fri, 21 Jul 2023 14:01:27 +0200 Subject: [PATCH 2/3] Update examples --- .../examples/digital-ocean-api.ts | 410 ++-- .../examples/github-api-next.ts | 1660 +++++++-------- .../openapi-typescript/examples/github-api.ts | 1668 +++++++-------- .../examples/octokit-ghes-3.6-diff-to-api.ts | 264 +-- .../openapi-typescript/examples/stripe-api.ts | 1870 ++++++++--------- 5 files changed, 2936 insertions(+), 2936 deletions(-) diff --git a/packages/openapi-typescript/examples/digital-ocean-api.ts b/packages/openapi-typescript/examples/digital-ocean-api.ts index 671477343..4f3f2323e 100644 --- a/packages/openapi-typescript/examples/digital-ocean-api.ts +++ b/packages/openapi-typescript/examples/digital-ocean-api.ts @@ -698,7 +698,7 @@ export interface external { * "loki" * ] */ - addon_slugs: (string)[]; + addon_slugs: string[]; /** * cluster_uuid * @description A unique ID for the Kubernetes cluster to which the 1-Click Applications will be installed. @@ -775,7 +775,7 @@ export interface external { }; content: { "application/json": { - "1_clicks"?: (external["resources/1-clicks/models/oneClicks.yml"])[]; + "1_clicks"?: external["resources/1-clicks/models/oneClicks.yml"][]; }; }; } @@ -977,7 +977,7 @@ export interface external { }; content: { "application/json": { - actions?: (external["resources/actions/models/action.yml"])[]; + actions?: external["resources/actions/models/action.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -1659,7 +1659,7 @@ export interface external { } "resources/apps/models/app_alert_progress.yml": { /** Steps of an alert's progress. */ - steps?: (external["resources/apps/models/app_alert_progress_step.yml"])[]; + steps?: external["resources/apps/models/app_alert_progress_step.yml"][]; } "resources/apps/models/app_alert_slack_webhook.yml": { /** @@ -1710,9 +1710,9 @@ export interface external { * "sammy@digitalocean.com" * ] */ - emails?: (external["resources/apps/models/app_alert_email.yml"])[]; + emails?: external["resources/apps/models/app_alert_email.yml"][]; /** Slack Webhooks to send alerts to */ - slack_webhooks?: (external["resources/apps/models/app_alert_slack_webhook.yml"])[]; + slack_webhooks?: external["resources/apps/models/app_alert_slack_webhook.yml"][]; phase?: external["resources/apps/models/app_alert_phase.yml"]; progress?: external["resources/apps/models/app_alert_progress.yml"]; } @@ -1747,7 +1747,7 @@ export interface external { */ source_dir?: string; /** @description A list of environment variables made available to the component. */ - envs?: (external["resources/apps/models/app_variable_definition.yml"])[]; + envs?: external["resources/apps/models/app_variable_definition.yml"][]; /** * @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/). * @example node-js @@ -1865,7 +1865,7 @@ export interface external { "resources/apps/models/app_functions_spec.yml": { cors?: external["resources/apps/models/apps_cors_policy.yml"]; /** @description A list of HTTP routes that should be routed to this component. */ - routes?: (external["resources/apps/models/app_route_spec.yml"])[]; + routes?: external["resources/apps/models/app_route_spec.yml"][]; /** * @description The name. Must be unique across all components within the same app. * @example api @@ -1876,9 +1876,9 @@ export interface external { * @example path/to/dir */ source_dir?: string; - alerts?: (external["resources/apps/models/app_alert_spec.yml"])[]; + alerts?: external["resources/apps/models/app_alert_spec.yml"][]; /** @description A list of environment variables made available to the component. */ - envs?: (external["resources/apps/models/app_variable_definition.yml"])[]; + envs?: external["resources/apps/models/app_variable_definition.yml"][]; git?: external["resources/apps/models/apps_git_source_spec.yml"]; github?: external["resources/apps/models/apps_github_source_spec.yml"]; gitlab?: external["resources/apps/models/apps_gitlab_source_spec.yml"]; @@ -1948,7 +1948,7 @@ export interface external { } "resources/apps/models/app_ingress_spec.yml": { /** @description Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects. */ - rules?: (external["resources/apps/models/app_ingress_spec_rule.yml"])[]; + rules?: external["resources/apps/models/app_ingress_spec_rule.yml"][]; } "resources/apps/models/app_job_spec.yml": external["resources/apps/models/app_component_base.yml"] & external["resources/apps/models/app_component_instance_base.yml"] & ({ /** @@ -2016,7 +2016,7 @@ export interface external { * "c2a93513-8d9b-4223-9d61-5e7272c81cf5" * ] */ - app_ids: (string)[]; + app_ids: string[]; /** * Format: date-time * @description Optional day to query. Only the date component of the timestamp will be considered. Default: yesterday. @@ -2026,7 +2026,7 @@ export interface external { } "resources/apps/models/app_metrics_bandwidth_usage.yml": { /** @description A list of bandwidth usage details by app. */ - app_bandwidth_usage?: (external["resources/apps/models/app_metrics_bandwidth_usage_details.yml"])[]; + app_bandwidth_usage?: external["resources/apps/models/app_metrics_bandwidth_usage_details.yml"][]; /** * Format: date-time * @description The date for the metrics data. @@ -2110,7 +2110,7 @@ export interface external { * "www" * ] */ - components?: (string)[]; + components?: string[]; } "resources/apps/models/app_route_spec.yml": { /** @@ -2184,9 +2184,9 @@ export interface external { * 443 * ] */ - internal_ports?: (number)[]; + internal_ports?: number[]; /** @description A list of HTTP routes that should be routed to this component. */ - routes?: (external["resources/apps/models/app_route_spec.yml"])[]; + routes?: external["resources/apps/models/app_route_spec.yml"][]; } "resources/apps/models/app_spec.yml": { /** @@ -2201,22 +2201,22 @@ export interface external { */ region?: "ams" | "nyc" | "fra" | "sfo" | "sgp" | "blr" | "tor" | "lon" | "syd"; /** @description A set of hostnames where the application will be available. */ - domains?: (external["resources/apps/models/app_domain_spec.yml"])[]; + domains?: external["resources/apps/models/app_domain_spec.yml"][]; /** @description Workloads which expose publicly-accessible HTTP services. */ - services?: (external["resources/apps/models/app_service_spec.yml"])[]; + services?: external["resources/apps/models/app_service_spec.yml"][]; /** @description Content which can be rendered to static web assets. */ - static_sites?: (external["resources/apps/models/app_static_site_spec.yml"])[]; + static_sites?: external["resources/apps/models/app_static_site_spec.yml"][]; /** @description Pre and post deployment workloads which do not expose publicly-accessible HTTP routes. */ - jobs?: (external["resources/apps/models/app_job_spec.yml"])[]; + jobs?: external["resources/apps/models/app_job_spec.yml"][]; /** @description Workloads which do not expose publicly-accessible HTTP services. */ - workers?: (external["resources/apps/models/app_worker_spec.yml"])[]; + workers?: external["resources/apps/models/app_worker_spec.yml"][]; /** @description Workloads which expose publicly-accessible HTTP services via Functions Components. */ - functions?: (external["resources/apps/models/app_functions_spec.yml"])[]; + functions?: external["resources/apps/models/app_functions_spec.yml"][]; /** * @description Database instances which can provide persistence to workloads within the * application. */ - databases?: (external["resources/apps/models/app_database_spec.yml"])[]; + databases?: external["resources/apps/models/app_database_spec.yml"][]; ingress?: external["resources/apps/models/app_ingress_spec.yml"]; } "resources/apps/models/app_static_site_spec.yml": WithRequired "resources/apps/models/app_variable_definition.yml": { /** @@ -2290,7 +2290,7 @@ export interface external { */ default_ingress?: string; /** Contains all domains for the app */ - domains?: readonly (external["resources/apps/models/apps_domain.yml"])[]; + domains?: readonly external["resources/apps/models/apps_domain.yml"][]; /** * The ID of the application * @example 4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf @@ -2353,8 +2353,8 @@ export interface external { * "sammy@digitalocean.com" * ] */ - emails?: (external["resources/apps/models/app_alert_email.yml"])[]; - slack_webhooks?: (external["resources/apps/models/app_alert_slack_webhook.yml"])[]; + emails?: external["resources/apps/models/app_alert_email.yml"][]; + slack_webhooks?: external["resources/apps/models/app_alert_slack_webhook.yml"][]; } "resources/apps/models/apps_cors_policy.yml": { /** @@ -2368,7 +2368,7 @@ export interface external { * } * ] */ - allow_origins?: (external["resources/apps/models/apps_string_match.yml"])[]; + allow_origins?: external["resources/apps/models/apps_string_match.yml"][]; /** * @description The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header. * @example [ @@ -2380,7 +2380,7 @@ export interface external { * "DELETE" * ] */ - allow_methods?: (string)[]; + allow_methods?: string[]; /** * @description The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header. * @example [ @@ -2388,7 +2388,7 @@ export interface external { * "X-Custom-Header" * ] */ - allow_headers?: (string)[]; + allow_headers?: string[]; /** * @description The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header. * @example [ @@ -2396,7 +2396,7 @@ export interface external { * "X-Custom-Header" * ] */ - expose_headers?: (string)[]; + expose_headers?: string[]; /** * @description An optional duration specifying how long browsers can cache the results of a preflight request. This configures the `Access-Control-Max-Age` header. * @example 5h30m @@ -2504,7 +2504,7 @@ export interface external { started_at?: string; status?: external["resources/apps/models/apps_deployment_progress_step_status.yml"]; /** Child steps of this step */ - steps?: (Record)[]; + steps?: Record[]; } "resources/apps/models/apps_deployment_progress.yml": { /** @@ -2526,7 +2526,7 @@ export interface external { */ running_steps?: number; /** The deployment's steps */ - steps?: (external["resources/apps/models/apps_deployment_progress_step.yml"])[]; + steps?: external["resources/apps/models/apps_deployment_progress_step.yml"][]; /** * Number of successful steps * Format: int32 @@ -2534,7 +2534,7 @@ export interface external { */ success_steps?: number; /** A flattened summary of the steps */ - summary_steps?: (external["resources/apps/models/apps_deployment_progress_step.yml"])[]; + summary_steps?: external["resources/apps/models/apps_deployment_progress_step.yml"][]; /** * Total number of steps * Format: int32 @@ -2604,9 +2604,9 @@ export interface external { */ id?: string; /** Job components that are part of this deployment */ - jobs?: (external["resources/apps/models/apps_deployment_job.yml"])[]; + jobs?: external["resources/apps/models/apps_deployment_job.yml"][]; /** Functions components that are part of this deployment */ - functions?: (external["resources/apps/models/apps_deployment_functions.yml"])[]; + functions?: external["resources/apps/models/apps_deployment_functions.yml"][]; phase?: external["resources/apps/models/apps_deployment_phase.yml"]; /** * When the deployment phase was last updated @@ -2616,10 +2616,10 @@ export interface external { phase_last_updated_at?: string; progress?: external["resources/apps/models/apps_deployment_progress.yml"]; /** Service components that are part of this deployment */ - services?: (external["resources/apps/models/apps_deployment_service.yml"])[]; + services?: external["resources/apps/models/apps_deployment_service.yml"][]; spec?: external["resources/apps/models/app_spec.yml"]; /** Static Site components that are part of this deployment */ - static_sites?: (external["resources/apps/models/apps_deployment_static_site.yml"])[]; + static_sites?: external["resources/apps/models/apps_deployment_static_site.yml"][]; /** * The current pricing tier slug of the deployment * @example basic @@ -2632,16 +2632,16 @@ export interface external { */ updated_at?: string; /** Worker components that are part of this deployment */ - workers?: (external["resources/apps/models/apps_deployment_worker.yml"])[]; + workers?: external["resources/apps/models/apps_deployment_worker.yml"][]; } "resources/apps/models/apps_deployments_response.yml": { /** A list of deployments */ - deployments?: (external["resources/apps/models/apps_deployment.yml"])[]; + deployments?: external["resources/apps/models/apps_deployment.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"] "resources/apps/models/apps_domain_phase.yml": "UNKNOWN" | "PENDING" | "CONFIGURING" | "ACTIVE" | "ERROR" "resources/apps/models/apps_domain_progress.yml": { /** The steps of the domain's progress */ - steps?: (Record)[]; + steps?: Record[]; } "resources/apps/models/apps_domain.yml": { /** @@ -2653,7 +2653,7 @@ export interface external { progress?: external["resources/apps/models/apps_domain_progress.yml"]; spec?: external["resources/apps/models/app_domain_spec.yml"]; /** List of TXT validation records */ - validations?: (external["resources/apps/models/app_domain_validation.yml"])[]; + validations?: external["resources/apps/models/app_domain_validation.yml"][]; /** Validation values have changed and require manual intervention */ rotate_validation_records?: boolean; /** @@ -2668,7 +2668,7 @@ export interface external { } "resources/apps/models/apps_get_logs_response.yml": { /** A list of URLs to archived log files */ - historic_urls?: (string)[]; + historic_urls?: string[]; /** * @description A URL of the real-time live logs. This URL may use either the `https://` or `wss://` protocols and will keep pushing live logs as they become available. * @example ws://logs/build @@ -2800,7 +2800,7 @@ export interface external { usd_per_second?: string; } "resources/apps/models/apps_list_alerts_response.yml": { - alerts?: (external["resources/apps/models/app_alert.yml"])[]; + alerts?: external["resources/apps/models/app_alert.yml"][]; } "resources/apps/models/apps_list_instance_sizes_response.yml": { /** @@ -2808,13 +2808,13 @@ export interface external { * @example 2.32 */ discount_percent?: number; - instance_sizes?: (external["resources/apps/models/apps_instance_size.yml"])[]; + instance_sizes?: external["resources/apps/models/apps_instance_size.yml"][]; } "resources/apps/models/apps_list_regions_response.yml": { - regions?: (external["resources/apps/models/apps_region.yml"])[]; + regions?: external["resources/apps/models/apps_region.yml"][]; } "resources/apps/models/apps_list_tiers_response.yml": { - tiers?: (external["resources/apps/models/apps_tier.yml"])[]; + tiers?: external["resources/apps/models/apps_tier.yml"][]; } "resources/apps/models/apps_region.yml": { /** @@ -2828,7 +2828,7 @@ export interface external { * "ams" * ] */ - data_centers?: readonly (string)[]; + data_centers?: readonly string[]; /** * @description Whether or not the region is presented as the default. * @example true @@ -2862,7 +2862,7 @@ export interface external { } "resources/apps/models/apps_response.yml": { /** A list of apps */ - apps?: (external["resources/apps/models/app.yml"])[]; + apps?: external["resources/apps/models/app.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"] "resources/apps/models/apps_rollback_app_request.yml": { /** @@ -2975,7 +2975,7 @@ export interface external { valid?: boolean; error?: external["resources/apps/models/app_rollback_validation_condition.yml"]; /** @description Contains a list of warnings that may cause the rollback to run under unideal circumstances. */ - warnings?: (external["resources/apps/models/app_rollback_validation_condition.yml"])[]; + warnings?: external["resources/apps/models/app_rollback_validation_condition.yml"][]; }; }; } @@ -3541,7 +3541,7 @@ export interface external { * } * ] */ - items?: (external["resources/billing/models/product_charge_item.yml"])[]; + items?: external["resources/billing/models/product_charge_item.yml"][]; } "resources/billing/models/simple_charge.yml": { /** @@ -3576,7 +3576,7 @@ export interface external { }; content: { "application/json": { - billing_history?: (external["resources/billing/models/billing_history.yml"])[]; + billing_history?: external["resources/billing/models/billing_history.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta_optional_total.yml"]; }; } @@ -3620,7 +3620,7 @@ export interface external { }; content: { "application/json": { - invoice_items?: (external["resources/billing/models/invoice_item.yml"])[]; + invoice_items?: external["resources/billing/models/invoice_item.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -3632,7 +3632,7 @@ export interface external { }; content: { "application/json": { - invoices?: (external["resources/billing/models/invoice_preview.yml"])[]; + invoices?: external["resources/billing/models/invoice_preview.yml"][]; invoice_preview?: external["resources/billing/models/invoice_preview.yml"]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; @@ -3831,7 +3831,7 @@ export interface external { * "path/to/css/*" * ] */ - files: (string)[]; + files: string[]; } "resources/cdn/models/update_endpoint.yml": { /** @@ -3865,7 +3865,7 @@ export interface external { }; content: { "application/json": { - endpoints?: (external["resources/cdn/models/cdn_endpoint.yml"])[]; + endpoints?: external["resources/cdn/models/cdn_endpoint.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -4116,7 +4116,7 @@ export interface external { * "example.com" * ] */ - dns_names: (string)[]; + dns_names: string[]; }; }; "resources/certificates/models/certificate.yml": { @@ -4155,7 +4155,7 @@ export interface external { * "example.com" * ] */ - dns_names?: (string)[]; + dns_names?: string[]; /** * @description A string representing the current state of the certificate. It may be `pending`, `verified`, or `error`. * @example verified @@ -4180,7 +4180,7 @@ export interface external { }; content: { "application/json": { - certificates?: (external["resources/certificates/models/certificate.yml"])[]; + certificates?: external["resources/certificates/models/certificate.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -5159,7 +5159,7 @@ export interface external { * } */ "application/json": { - rules?: (external["resources/databases/models/firewall_rule.yml"])[]; + rules?: external["resources/databases/models/firewall_rule.yml"][]; }; }; }; @@ -5411,7 +5411,7 @@ export interface external { } "resources/databases/models/connection_pools.yml": { /** @description An array of connection pool objects. */ - pools?: readonly (external["resources/databases/models/connection_pool.yml"])[]; + pools?: readonly external["resources/databases/models/connection_pool.yml"][]; } "resources/databases/models/database_backup.yml": { /** @@ -5505,17 +5505,17 @@ export interface external { * "production" * ] */ - tags?: (string)[] | null; + tags?: string[] | null; /** * @description An array of strings containing the names of databases created in the database cluster. * @example [ * "doadmin" * ] */ - db_names?: readonly (string)[] | null; + db_names?: readonly string[] | null; connection?: external["resources/databases/models/database_connection.yml"]; private_connection?: external["resources/databases/models/database_connection.yml"]; - users?: readonly (external["resources/databases/models/database_user.yml"])[] | null; + users?: readonly external["resources/databases/models/database_user.yml"][] | null; maintenance_window?: external["resources/databases/models/database_maintenance_window.yml"]; /** * Format: uuid @@ -5523,7 +5523,7 @@ export interface external { * @example 9cc10173-e9ea-4176-9dbc-a4cee4c4ff30 */ project_id?: string; - rules?: (external["resources/databases/models/firewall_rule.yml"])[]; + rules?: external["resources/databases/models/firewall_rule.yml"][]; /** * @description A timestamp referring to the date when the particular version will no longer be supported. If null, the version does not have an end of life timeline. * @example 2023-11-09T00:00:00Z @@ -5585,11 +5585,11 @@ export interface external { * "db-s-1vcpu-2gb" * ] */ - sizes?: readonly (string)[]; + sizes?: readonly string[]; } "resources/databases/models/database_layout_options.yml": { /** @description An array of objects, each indicating the node sizes (otherwise referred to as slugs) that are available with various numbers of nodes in the database cluster. Each slugs denotes the node's identifier, CPU, and RAM (in that order). */ - layouts?: readonly (external["resources/databases/models/database_layout_option.yml"])[]; + layouts?: readonly external["resources/databases/models/database_layout_option.yml"][]; } "resources/databases/models/database_maintenance_window.yml": { /** @@ -5614,7 +5614,7 @@ export interface external { * "Upgrade to PostgreSQL 11.2 and 10.7 bugfix releases" * ] */ - description?: readonly (string)[]; + description?: readonly string[]; } | null "resources/databases/models/database_region_options.yml": { /** @@ -5624,7 +5624,7 @@ export interface external { * "blr1" * ] */ - regions?: readonly (string)[]; + regions?: readonly string[]; } "resources/databases/models/database_replica.yml": { /** @@ -5660,7 +5660,7 @@ export interface external { * "production" * ] */ - tags?: (string)[]; + tags?: string[]; /** * Format: date-time * @description A time value given in ISO8601 combined date and time format that represents when the database cluster was created. @@ -5696,7 +5696,7 @@ export interface external { password?: string; mysql_settings?: external["resources/databases/models/mysql_settings.yml"]; } - "resources/databases/models/database_version_availabilities.yml": (external["resources/databases/models/database_version_availability.yml"])[] + "resources/databases/models/database_version_availabilities.yml": external["resources/databases/models/database_version_availability.yml"][] "resources/databases/models/database_version_availability.yml": { /** * @description A timestamp referring to the date when the particular version will no longer be supported. If null, the version does not have an end of life timeline. @@ -5722,7 +5722,7 @@ export interface external { * "5.0" * ] */ - versions?: readonly (string)[]; + versions?: readonly string[]; } "resources/databases/models/database.yml": { /** @@ -6424,7 +6424,7 @@ export interface external { }; content: { "application/json": { - backups: (external["resources/databases/models/backup.yml"])[]; + backups: external["resources/databases/models/backup.yml"][]; }; }; } @@ -6448,7 +6448,7 @@ export interface external { }; content: { "application/json": { - databases?: (external["resources/databases/models/database_cluster.yml"])[]; + databases?: external["resources/databases/models/database_cluster.yml"][]; }; }; } @@ -6484,7 +6484,7 @@ export interface external { }; content: { "application/json": { - replicas?: (external["resources/databases/models/database_replica.yml"])[]; + replicas?: external["resources/databases/models/database_replica.yml"][]; }; }; } @@ -6508,7 +6508,7 @@ export interface external { }; content: { "application/json": { - dbs?: (external["resources/databases/models/database.yml"])[]; + dbs?: external["resources/databases/models/database.yml"][]; }; }; } @@ -6532,7 +6532,7 @@ export interface external { }; content: { "application/json": { - rules?: (external["resources/databases/models/firewall_rule.yml"])[]; + rules?: external["resources/databases/models/firewall_rule.yml"][]; }; }; } @@ -6586,7 +6586,7 @@ export interface external { }; content: { "application/json": { - users?: (external["resources/databases/models/database_user.yml"])[]; + users?: external["resources/databases/models/database_user.yml"][]; }; }; } @@ -6965,7 +6965,7 @@ export interface external { }; content: { "application/json": { - domain_records?: (external["resources/domains/models/domain_record.yml"])[]; + domain_records?: external["resources/domains/models/domain_record.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -6978,7 +6978,7 @@ export interface external { content: { "application/json": { /** @description Array of volumes. */ - domains: (external["resources/domains/models/domain.yml"])[]; + domains: external["resources/domains/models/domain.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -7614,11 +7614,11 @@ export interface external { droplet?: external["resources/droplets/models/destroyed_associated_resource.yml"]; /** @description An object containing additional information about resource related to a Droplet requested to be destroyed. */ resources?: { - reserved_ips?: (external["resources/droplets/models/destroyed_associated_resource.yml"])[]; - floating_ips?: (external["resources/droplets/models/destroyed_associated_resource.yml"])[]; - snapshots?: (external["resources/droplets/models/destroyed_associated_resource.yml"])[]; - volumes?: (external["resources/droplets/models/destroyed_associated_resource.yml"])[]; - volume_snapshots?: (external["resources/droplets/models/destroyed_associated_resource.yml"])[]; + reserved_ips?: external["resources/droplets/models/destroyed_associated_resource.yml"][]; + floating_ips?: external["resources/droplets/models/destroyed_associated_resource.yml"][]; + snapshots?: external["resources/droplets/models/destroyed_associated_resource.yml"][]; + volumes?: external["resources/droplets/models/destroyed_associated_resource.yml"][]; + volume_snapshots?: external["resources/droplets/models/destroyed_associated_resource.yml"][]; }; /** * Format: date-time @@ -7780,7 +7780,7 @@ export interface external { * "web" * ] */ - tags?: (string)[] | null; + tags?: string[] | null; /** * @description A string containing 'user data' which may be used to configure the Droplet on first boot, often a 'cloud-config' file or Bash script. It must be plain text and may not exceed 64 KiB in size. * @example #cloud-config @@ -7802,7 +7802,7 @@ export interface external { * "12e97116-7280-11ed-b3d0-0a58ac146812" * ] */ - volumes?: (string)[]; + volumes?: string[]; /** * @description A string specifying the UUID of the VPC to which the Droplet will be assigned. If excluded, the Droplet will be assigned to your account's default VPC for the region. * @example 760e09ef-dc84-11e8-981e-3cfdfeaae000 @@ -7822,7 +7822,7 @@ export interface external { * "sub-02.example.com" * ] */ - names: (string)[]; + names: string[]; } & external["resources/droplets/models/droplet_create.yml"] "resources/droplets/models/droplet_single_create.yml": { /** @@ -7897,14 +7897,14 @@ export interface external { * "ipv6" * ] */ - features: (string)[]; + features: string[]; /** * @description An array of backup IDs of any backups that have been taken of the Droplet instance. Droplet backups are enabled at the time of the instance creation. * @example [ * 53893572 * ] */ - backup_ids: (number)[]; + backup_ids: number[]; /** @description The details of the Droplet's backups feature, if backups are configured for the Droplet. This object contains keys for the start and end times of the window during which the backup will start. */ next_backup_window: { /** @@ -7926,7 +7926,7 @@ export interface external { * 67512819 * ] */ - snapshot_ids: (number)[]; + snapshot_ids: number[]; image: external["resources/images/models/image.yml"]; /** * @description A flat array including the unique identifier for each Block Storage volume attached to the Droplet. @@ -7934,7 +7934,7 @@ export interface external { * "506f78a4-e098-11e5-ad9f-000f53306ae1" * ] */ - volume_ids: (string)[]; + volume_ids: string[]; size: external["resources/sizes/models/size.yml"]; /** * @description The unique slug identifier for the size of this Droplet. @@ -7943,8 +7943,8 @@ export interface external { size_slug: string; /** @description The details of the network that are configured for the Droplet instance. This is an object that contains keys for IPv4 and IPv6. The value of each of these is an array that contains objects describing an individual IP resource allocated to the Droplet. These will define attributes like the IP address, netmask, and gateway of the specific network depending on the type of network it is. */ networks: { - v4?: (external["resources/droplets/models/network_v4.yml"])[]; - v6?: (external["resources/droplets/models/network_v6.yml"])[]; + v4?: external["resources/droplets/models/network_v4.yml"][]; + v6?: external["resources/droplets/models/network_v6.yml"][]; }; region: external["resources/regions/models/region.yml"]; /** @@ -7954,7 +7954,7 @@ export interface external { * "env:prod" * ] */ - tags: (string)[]; + tags: string[]; /** * @description A string specifying the UUID of the VPC to which the Droplet is assigned. * @example 760e09ef-dc84-11e8-981e-3cfdfeaae000 @@ -7993,7 +7993,7 @@ export interface external { * ] * ] */ - neighbor_ids?: ((number)[])[]; + neighbor_ids?: number[][]; } "resources/droplets/models/network_v4.yml": { /** @@ -8060,35 +8060,35 @@ export interface external { * "6186916" * ] */ - floating_ips?: (string)[]; + floating_ips?: string[]; /** * @description An array of unique identifiers for the reserved IPs to be scheduled for deletion. * @example [ * "6186916" * ] */ - reserved_ips?: (string)[]; + reserved_ips?: string[]; /** * @description An array of unique identifiers for the snapshots to be scheduled for deletion. * @example [ * "61486916" * ] */ - snapshots?: (string)[]; + snapshots?: string[]; /** * @description An array of unique identifiers for the volumes to be scheduled for deletion. * @example [ * "ba49449a-7435-11ea-b89e-0a58ac14480f" * ] */ - volumes?: (string)[]; + volumes?: string[]; /** * @description An array of unique identifiers for the volume snapshots to be scheduled for deletion. * @example [ * "edb0478d-7436-11ea-86e6-0a58ac144b91" * ] */ - volume_snapshots?: (string)[]; + volume_snapshots?: string[]; } "resources/droplets/parameters.yml": { droplet_id: number; @@ -8105,7 +8105,7 @@ export interface external { }; content: { "application/json": { - actions?: (external["resources/actions/models/action.yml"])[]; + actions?: external["resources/actions/models/action.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -8117,7 +8117,7 @@ export interface external { }; content: { "application/json": { - backups?: (external["resources/droplets/models/droplet_snapshot.yml"])[]; + backups?: external["resources/droplets/models/droplet_snapshot.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -8129,7 +8129,7 @@ export interface external { }; content: { "application/json": { - snapshots?: (external["resources/droplets/models/droplet_snapshot.yml"])[]; + snapshots?: external["resources/droplets/models/droplet_snapshot.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -8141,7 +8141,7 @@ export interface external { }; content: { "application/json": { - droplets?: (external["resources/droplets/models/droplet.yml"])[]; + droplets?: external["resources/droplets/models/droplet.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -8153,7 +8153,7 @@ export interface external { }; content: { "application/json": { - firewalls?: (external["resources/firewalls/models/firewall.yml"])[]; + firewalls?: external["resources/firewalls/models/firewall.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -8165,7 +8165,7 @@ export interface external { }; content: { "application/json": { - kernels?: (external["resources/droplets/models/kernel.yml"])[]; + kernels?: external["resources/droplets/models/kernel.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -8177,11 +8177,11 @@ export interface external { }; content: { "application/json": { - reserved_ips?: (external["resources/droplets/models/associated_resource.yml"])[]; - floating_ips?: (external["resources/droplets/models/associated_resource.yml"])[]; - snapshots?: (external["resources/droplets/models/associated_resource.yml"])[]; - volumes?: (external["resources/droplets/models/associated_resource.yml"])[]; - volume_snapshots?: (external["resources/droplets/models/associated_resource.yml"])[]; + reserved_ips?: external["resources/droplets/models/associated_resource.yml"][]; + floating_ips?: external["resources/droplets/models/associated_resource.yml"][]; + snapshots?: external["resources/droplets/models/associated_resource.yml"][]; + volumes?: external["resources/droplets/models/associated_resource.yml"][]; + volume_snapshots?: external["resources/droplets/models/associated_resource.yml"][]; }; }; } @@ -8215,7 +8215,7 @@ export interface external { }; content: { "application/json": { - actions?: (external["resources/actions/models/action.yml"])[]; + actions?: external["resources/actions/models/action.yml"][]; }; }; } @@ -8229,12 +8229,12 @@ export interface external { "application/json": OneOf<[{ droplet: external["resources/droplets/models/droplet.yml"]; links: { - actions?: (external["shared/models/action_link.yml"])[]; + actions?: external["shared/models/action_link.yml"][]; }; }, { - droplets: (external["resources/droplets/models/droplet.yml"])[]; + droplets: external["resources/droplets/models/droplet.yml"][]; links: { - actions?: (external["shared/models/action_link.yml"])[]; + actions?: external["shared/models/action_link.yml"][]; }; }]>; }; @@ -8270,7 +8270,7 @@ export interface external { }; content: { "application/json": { - droplets?: (external["resources/droplets/models/droplet.yml"])[]; + droplets?: external["resources/droplets/models/droplet.yml"][]; }; }; } @@ -8404,7 +8404,7 @@ export interface external { * 49696269 * ] */ - droplet_ids: (number)[]; + droplet_ids: number[]; }; }; }; @@ -8513,7 +8513,7 @@ export interface external { * 49696269 * ] */ - droplet_ids: (number)[]; + droplet_ids: number[]; }; }; }; @@ -8789,14 +8789,14 @@ export interface external { * } * ] */ - pending_changes?: readonly ({ + pending_changes?: readonly { /** @example 8043964 */ droplet_id?: number; /** @example false */ removing?: boolean; /** @example waiting */ status?: string; - })[]; + }[]; /** * @description A human-readable name for a firewall. The name must begin with an alphanumeric character. Subsequent characters must either be alphanumeric characters, a period (.), or a dash (-). * @example firewall @@ -8808,7 +8808,7 @@ export interface external { * 8043964 * ] */ - droplet_ids?: (number)[] | null; + droplet_ids?: number[] | null; tags?: external["shared/attributes/tags_array.yml"]; }) & external["resources/firewalls/models/firewall_rule.yml"]["firewall_rules"] "resources/firewalls/parameters.yml": { @@ -8846,7 +8846,7 @@ export interface external { }; content: { "application/json": { - firewalls?: (external["resources/firewalls/models/firewall.yml"])[]; + firewalls?: external["resources/firewalls/models/firewall.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -9118,7 +9118,7 @@ export interface external { }; content: { "application/json": { - actions?: (external["resources/actions/models/action.yml"])[]; + actions?: external["resources/actions/models/action.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -9132,8 +9132,8 @@ export interface external { "application/json": { floating_ip?: external["resources/floating_ips/models/floating_ip.yml"]; links?: { - droplets?: (external["shared/models/action_link.yml"])[]; - actions?: (external["shared/models/action_link.yml"])[]; + droplets?: external["shared/models/action_link.yml"][]; + actions?: external["shared/models/action_link.yml"][]; }; }; }; @@ -9146,7 +9146,7 @@ export interface external { }; content: { "application/json": { - floating_ips?: (external["resources/floating_ips/models/floating_ip.yml"])[]; + floating_ips?: external["resources/floating_ips/models/floating_ip.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -9509,7 +9509,7 @@ export interface external { }; content: { "application/json": { - namespaces?: (external["resources/functions/models/namespace_info.yml"])[]; + namespaces?: external["resources/functions/models/namespace_info.yml"][]; }; }; } @@ -9521,7 +9521,7 @@ export interface external { }; content: { "application/json": { - triggers?: (external["resources/functions/models/trigger_info.yml"])[]; + triggers?: external["resources/functions/models/trigger_info.yml"][]; }; }; } @@ -9930,7 +9930,7 @@ export interface external { }; content: { "application/json": { - images: (external["resources/images/models/image.yml"])[]; + images: external["resources/images/models/image.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -9965,7 +9965,7 @@ export interface external { }; content: { "application/json": { - actions?: (external["resources/actions/models/action.yml"])[]; + actions?: external["resources/actions/models/action.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -10502,7 +10502,7 @@ export interface external { * "d8db5e1a-6103-43b5-a7b3-8a948210a9fc" * ] */ - nodes?: (string)[]; + nodes?: string[]; }; }; }; @@ -10667,7 +10667,7 @@ export interface external { * } * ] */ - load_balancers?: (associated_kubernetes_resource[])[]; + load_balancers?: associated_kubernetes_resource[][]; /** * @description A list of names and IDs for associated volumes that can be destroyed along with the cluster. * @example [ @@ -10677,7 +10677,7 @@ export interface external { * } * ] */ - volumes?: (associated_kubernetes_resource[])[]; + volumes?: associated_kubernetes_resource[][]; /** * @description A list of names and IDs for associated volume snapshots that can be destroyed along with the cluster. * @example [ @@ -10687,7 +10687,7 @@ export interface external { * } * ] */ - volume_snapshots?: (associated_kubernetes_resource[])[]; + volume_snapshots?: associated_kubernetes_resource[][]; }; associated_kubernetes_resource: { /** @@ -10708,21 +10708,21 @@ export interface external { * "4de7ac8b-495b-4884-9a69-1050c6793cd6" * ] */ - load_balancers?: (string)[]; + load_balancers?: string[]; /** * @description A list of IDs for associated volumes to destroy along with the cluster. * @example [ * "ba49449a-7435-11ea-b89e-0a58ac14480f" * ] */ - volumes?: (string)[]; + volumes?: string[]; /** * @description A list of IDs for associated volume snapshots to destroy along with the cluster. * @example [ * "edb0478d-7436-11ea-86e6-0a58ac144b91" * ] */ - volume_snapshots?: (string)[]; + volume_snapshots?: string[]; }; }; "resources/kubernetes/models/cluster_registries.yml": { @@ -10733,7 +10733,7 @@ export interface external { * "50c2f44c-011d-493e-aee5-361a4a0d1844" * ] */ - cluster_uuids?: (string)[]; + cluster_uuids?: string[]; } "resources/kubernetes/models/cluster_update.yml": { /** @@ -10750,7 +10750,7 @@ export interface external { * "web-team" * ] */ - tags?: (string)[]; + tags?: string[]; maintenance_policy?: external["resources/kubernetes/models/maintenance_policy.yml"]; /** * @description A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window. @@ -10829,9 +10829,9 @@ export interface external { * "web-team" * ] */ - tags?: (string)[]; + tags?: string[]; /** @description An object specifying the details of the worker nodes available to the Kubernetes cluster. */ - node_pools: (external["resources/kubernetes/models/node_pool.yml"]["kubernetes_node_pool"])[]; + node_pools: external["resources/kubernetes/models/node_pool.yml"]["kubernetes_node_pool"][]; maintenance_policy?: external["resources/kubernetes/models/maintenance_policy.yml"]; /** * @description A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window. @@ -10892,7 +10892,7 @@ export interface external { * "security" * ] */ - include_groups?: (string)[]; + include_groups?: string[]; /** * @description An array of checks that will be run when clusterlint executes checks. * @example [ @@ -10900,21 +10900,21 @@ export interface external { * "resource-requirements" * ] */ - include_checks?: (string)[]; + include_checks?: string[]; /** * @description An array of check groups that will be omitted when clusterlint executes checks. * @example [ * "workload-health" * ] */ - exclude_groups?: (string)[]; + exclude_groups?: string[]; /** * @description An array of checks that will be run when clusterlint executes checks. * @example [ * "default-namespace" * ] */ - exclude_checks?: (string)[]; + exclude_checks?: string[]; } "resources/kubernetes/models/clusterlint_results.yml": { /** @@ -10935,7 +10935,7 @@ export interface external { */ completed_at?: string; /** @description An array of diagnostics reporting potential problems for the given cluster. */ - diagnostics?: ({ + diagnostics?: { /** * @description The clusterlint check that resulted in the diagnostic. * @example unused-config-map @@ -10969,7 +10969,7 @@ export interface external { */ namespace?: string; }; - })[]; + }[]; } "resources/kubernetes/models/credentials.yml": { /** @@ -11097,7 +11097,7 @@ export interface external { * "k8saas:authenticated" * ] */ - groups?: (string)[]; + groups?: string[]; }; } "resources/kubernetes/parameters.yml": { @@ -11117,7 +11117,7 @@ export interface external { }; content: { "application/json": { - kubernetes_clusters?: (external["resources/kubernetes/models/cluster.yml"])[]; + kubernetes_clusters?: external["resources/kubernetes/models/cluster.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -11129,7 +11129,7 @@ export interface external { }; content: { "application/json": { - node_pools?: (external["resources/kubernetes/models/node_pool.yml"]["kubernetes_node_pool"])[]; + node_pools?: external["resources/kubernetes/models/node_pool.yml"]["kubernetes_node_pool"][]; }; }; } @@ -11161,7 +11161,7 @@ export interface external { }; content: { "application/json": { - available_upgrade_versions?: (external["resources/kubernetes/models/options.yml"]["kubernetes_version"])[] | null; + available_upgrade_versions?: external["resources/kubernetes/models/options.yml"]["kubernetes_version"][] | null; }; }; } @@ -11350,7 +11350,7 @@ export interface external { requestBody: { content: { "application/json": { - forwarding_rules: (external["resources/load_balancers/models/forwarding_rule.yml"])[]; + forwarding_rules: external["resources/load_balancers/models/forwarding_rule.yml"][]; }; }; }; @@ -11508,7 +11508,7 @@ export interface external { requestBody: { content: { "application/json": { - forwarding_rules: (external["resources/load_balancers/models/forwarding_rule.yml"])[]; + forwarding_rules: external["resources/load_balancers/models/forwarding_rule.yml"][]; }; }; }; @@ -11641,7 +11641,7 @@ export interface external { * "cidr:2.3.0.0/16" * ] */ - deny?: (string)[]; + deny?: string[]; /** * @description the rules for allowing traffic to the load balancer (in the form 'ip:1.2.3.4' or 'cidr:1.2.0.0/16') * @default [] @@ -11650,7 +11650,7 @@ export interface external { * "cidr:2.3.0.0/16" * ] */ - allow?: (string)[]; + allow?: string[]; } "resources/load_balancers/models/load_balancer_base.yml": { /** @@ -11714,7 +11714,7 @@ export interface external { */ created_at?: string; /** @description An array of objects specifying the forwarding rules for a load balancer. */ - forwarding_rules: (external["resources/load_balancers/models/forwarding_rule.yml"])[]; + forwarding_rules: external["resources/load_balancers/models/forwarding_rule.yml"][]; health_check?: external["resources/load_balancers/models/health_check.yml"]; sticky_sessions?: external["resources/load_balancers/models/sticky_sessions.yml"]; /** @@ -11801,7 +11801,7 @@ export interface external { }; content: { "application/json": { - load_balancers?: (external["resources/load_balancers/models/load_balancer.yml"])[]; + load_balancers?: external["resources/load_balancers/models/load_balancer.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -11858,13 +11858,13 @@ export interface external { * "192018292" * ] */ - entities: (string)[]; + entities: string[]; /** * @example [ * "droplet_tag" * ] */ - tags: (string)[]; + tags: string[]; /** * @example v1/insights/droplet/cpu * @enum {string} @@ -11897,13 +11897,13 @@ export interface external { * "192018292" * ] */ - entities: (string)[]; + entities: string[]; /** * @example [ * "droplet_tag" * ] */ - tags: (string)[]; + tags: string[]; /** * @example v1/insights/droplet/cpu * @enum {string} @@ -11929,16 +11929,16 @@ export interface external { * "bob@exmaple.com" * ] */ - email: (string)[]; + email: string[]; /** @description Slack integration details. */ - slack: (external["resources/monitoring/models/slack_details.yml"])[]; + slack: external["resources/monitoring/models/slack_details.yml"][]; } "resources/monitoring/models/list_alert_policy.yml": { - policies: (external["resources/monitoring/models/alert_policy.yml"])[]; + policies: external["resources/monitoring/models/alert_policy.yml"][]; } "resources/monitoring/models/metrics_data.yml": { /** @description Result of query. */ - result: (external["resources/monitoring/models/metrics_result.yml"])[]; + result: external["resources/monitoring/models/metrics_result.yml"][]; /** * @example matrix * @enum {string} @@ -12456,7 +12456,7 @@ export interface external { * "do:droplet:13457723" * ] */ - resources?: (external["shared/attributes/urn.yml"])[]; + resources?: external["shared/attributes/urn.yml"][]; } "resources/projects/models/project.yml": unknown "resources/projects/models/resource.yml": { @@ -12765,7 +12765,7 @@ export interface external { }; content: { "application/json": { - resources?: (external["resources/projects/models/resource.yml"])[]; + resources?: external["resources/projects/models/resource.yml"][]; }; }; } @@ -12811,7 +12811,7 @@ export interface external { }; content: { "application/json": { - projects?: (external["resources/projects/models/project.yml"]["project"])[]; + projects?: external["resources/projects/models/project.yml"]["project"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -12823,7 +12823,7 @@ export interface external { }; content: { "application/json": { - resources?: (external["resources/projects/models/resource.yml"])[]; + resources?: external["resources/projects/models/resource.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -12905,7 +12905,7 @@ export interface external { }; content: { "application/json": { - regions: (external["resources/regions/models/region.yml"])[]; + regions: external["resources/regions/models/region.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -13061,9 +13061,9 @@ export interface external { * "v2" * ] */ - tags?: (string)[]; + tags?: string[]; /** @description All blobs associated with this manifest */ - blobs?: (external["resources/registry/models/repository_blob.yml"])[]; + blobs?: external["resources/registry/models/repository_blob.yml"][]; } "resources/registry/models/repository_tag.yml": { /** @@ -13638,7 +13638,7 @@ export interface external { }; content: { "application/json": { - repositories?: (external["resources/registry/models/repository_v2.yml"])[]; + repositories?: external["resources/registry/models/repository_v2.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -13650,7 +13650,7 @@ export interface external { }; content: { "application/json": { - repositories?: (external["resources/registry/models/repository.yml"])[]; + repositories?: external["resources/registry/models/repository.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -13684,7 +13684,7 @@ export interface external { }; content: { "application/json": { - garbage_collections?: (external["resources/registry/models/garbage_collection.yml"])[]; + garbage_collections?: external["resources/registry/models/garbage_collection.yml"][]; }; }; } @@ -13714,7 +13714,7 @@ export interface external { * "nyc3" * ] */ - available_regions?: (string)[]; + available_regions?: string[]; subscription_tiers?: (external["resources/registry/models/subscription_tier.yml"]["subscription_tier_base"] & external["resources/registry/models/subscription_tier.yml"]["subscription_tier_extended"])[]; }; }; @@ -13728,7 +13728,7 @@ export interface external { }; content: { "application/json": { - manifests?: (external["resources/registry/models/repository_manifest.yml"])[]; + manifests?: external["resources/registry/models/repository_manifest.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -13740,7 +13740,7 @@ export interface external { }; content: { "application/json": { - tags?: (external["resources/registry/models/repository_tag.yml"])[]; + tags?: external["resources/registry/models/repository_tag.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -14012,7 +14012,7 @@ export interface external { }; content: { "application/json": { - actions?: (external["resources/actions/models/action.yml"])[]; + actions?: external["resources/actions/models/action.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -14026,8 +14026,8 @@ export interface external { "application/json": { reserved_ip?: external["resources/reserved_ips/models/reserved_ip.yml"]; links?: { - droplets?: (external["shared/models/action_link.yml"])[]; - actions?: (external["shared/models/action_link.yml"])[]; + droplets?: external["shared/models/action_link.yml"][]; + actions?: external["shared/models/action_link.yml"][]; }; }; }; @@ -14040,7 +14040,7 @@ export interface external { }; content: { "application/json": { - reserved_ips?: (external["resources/reserved_ips/models/reserved_ip.yml"])[]; + reserved_ips?: external["resources/reserved_ips/models/reserved_ip.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -14113,7 +14113,7 @@ export interface external { * "tor1" * ] */ - regions: (string)[]; + regions: string[]; /** * @description This is a boolean value that represents whether new Droplets can be created with this size. * @default true @@ -14134,7 +14134,7 @@ export interface external { }; content: { "application/json": { - sizes: (external["resources/sizes/models/size.yml"])[]; + sizes: external["resources/sizes/models/size.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -14177,7 +14177,7 @@ export interface external { * "sfo3" * ] */ - regions: (string)[]; + regions: string[]; /** * @description The minimum size in GB required for a volume or Droplet to use this snapshot. * @example 25 @@ -14215,7 +14215,7 @@ export interface external { * "env:prod" * ] */ - tags: (string)[] | null; + tags: string[] | null; }) "resources/snapshots/parameters.yml": { snapshot_resource_type?: "droplet" | "volume"; @@ -14242,7 +14242,7 @@ export interface external { }; content: { "application/json": { - snapshots?: (external["resources/snapshots/models/snapshots.yml"])[]; + snapshots?: external["resources/snapshots/models/snapshots.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -14358,7 +14358,7 @@ export interface external { }; content: { "application/json": { - ssh_keys?: (external["resources/ssh_keys/models/sshKeys.yml"])[]; + ssh_keys?: external["resources/ssh_keys/models/sshKeys.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -14594,7 +14594,7 @@ export interface external { }; content: { "application/json": { - tags?: (external["resources/tags/models/tags.yml"])[]; + tags?: external["resources/tags/models/tags.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -14966,9 +14966,9 @@ export interface external { * "bob@example.com" * ] */ - email: (string)[]; + email: string[]; /** @description Slack integration details. */ - slack: ({ + slack: { /** * Format: string * @description Slack channel to notify of an alert trigger. @@ -14981,7 +14981,7 @@ export interface external { * @example https://hooks.slack.com/services/T1234567/AAAAAAAA/ZZZZZZ */ url: string; - })[]; + }[]; } "resources/uptime/models/state.yml": unknown "resources/uptime/parameters.yml": { @@ -14996,7 +14996,7 @@ export interface external { }; content: { "application/json": { - alerts?: (external["resources/uptime/models/alert.yml"]["alert"])[]; + alerts?: external["resources/uptime/models/alert.yml"]["alert"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -15008,7 +15008,7 @@ export interface external { }; content: { "application/json": { - checks?: (external["resources/uptime/models/check.yml"]["check"])[]; + checks?: external["resources/uptime/models/check.yml"]["check"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -15129,7 +15129,7 @@ export interface external { * @description An array containing the IDs of the Droplets the volume is attached to. Note that at this time, a volume can only be attached to a single Droplet. * @example [] */ - droplet_ids?: readonly (number)[] | null; + droplet_ids?: readonly number[] | null; /** * @description A human-readable name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter. * @example example @@ -15248,7 +15248,7 @@ export interface external { }; content: { "application/json": { - actions?: (external["resources/volumes/models/volumeAction.yml"])[]; + actions?: external["resources/volumes/models/volumeAction.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -15261,7 +15261,7 @@ export interface external { content: { "application/json": { /** @description Array of volumes. */ - volumes: (external["resources/volumes/models/volume_full.yml"])[]; + volumes: external["resources/volumes/models/volume_full.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -15285,7 +15285,7 @@ export interface external { }; content: { "application/json": { - snapshots?: (external["resources/snapshots/models/snapshots.yml"])[]; + snapshots?: external["resources/snapshots/models/snapshots.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -15688,7 +15688,7 @@ export interface external { }; content: { "application/json": { - vpcs?: (external["resources/vpcs/models/vpc.yml"]["vpc"])[]; + vpcs?: external["resources/vpcs/models/vpc.yml"]["vpc"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -15712,7 +15712,7 @@ export interface external { }; content: { "application/json": { - members?: (external["resources/vpcs/models/vpc_member.yml"])[]; + members?: external["resources/vpcs/models/vpc_member.yml"][]; } & external["shared/pages.yml"]["pagination"] & external["shared/meta.yml"]; }; } @@ -15883,8 +15883,8 @@ export interface external { } "shared/attributes/distribution.yml": "Arch Linux" | "CentOS" | "CoreOS" | "Debian" | "Fedora" | "Fedora Atomic" | "FreeBSD" | "Gentoo" | "openSUSE" | "RancherOS" | "Rocky Linux" | "Ubuntu" | "Unknown" "shared/attributes/region_slug.yml": "ams1" | "ams2" | "ams3" | "blr1" | "fra1" | "lon1" | "nyc1" | "nyc2" | "nyc3" | "sfo1" | "sfo2" | "sfo3" | "sgp1" | "tor1" - "shared/attributes/regions_array.yml": (external["shared/attributes/region_slug.yml"])[] - "shared/attributes/tags_array.yml": (string)[] | null + "shared/attributes/regions_array.yml": external["shared/attributes/region_slug.yml"][] + "shared/attributes/tags_array.yml": string[] | null "shared/attributes/urn.yml": string "shared/headers.yml": { /** @@ -15946,12 +15946,12 @@ export interface external { * @description A list of error messages. * @example null */ - messages?: (string)[] | null; + messages?: string[] | null; /** * @description A list of underlying causes for the error, including details to help resolve it when possible. * @example [] */ - root_causes: (string)[]; + root_causes: string[]; } "shared/models/error.yml": { /** diff --git a/packages/openapi-typescript/examples/github-api-next.ts b/packages/openapi-typescript/examples/github-api-next.ts index e404e34ed..2b0255bcd 100644 --- a/packages/openapi-typescript/examples/github-api-next.ts +++ b/packages/openapi-typescript/examples/github-api-next.ts @@ -10759,7 +10759,7 @@ export interface components { [key: string]: string | undefined; }; /** @description The list of events for the GitHub app */ - events: (string)[]; + events: string[]; /** @description The number of installations associated with the GitHub app */ installations_count?: number; client_id?: string; @@ -10784,7 +10784,7 @@ export interface components { "validation-error-simple": { message: string; documentation_url: string; - errors?: (string)[]; + errors?: string[]; }; /** * Format: uri @@ -10847,7 +10847,7 @@ export interface components { detail?: string | null; status?: number; scimType?: string | null; - schemas?: (string)[]; + schemas?: string[]; }; /** * Validation Error @@ -10862,7 +10862,7 @@ export interface components { message?: string; code: string; index?: number; - value?: (string | null) | (number | null) | ((string)[] | null); + value?: (string | null) | (number | null) | (string[] | null); })[]; }; /** @@ -11163,14 +11163,14 @@ export interface components { target_id: number; target_type: string; permissions: components["schemas"]["app-permissions"]; - events: (string)[]; + events: string[]; /** Format: date-time */ created_at: string; /** Format: date-time */ updated_at: string; single_file_name: string | null; has_multiple_single_files?: boolean; - single_file_paths?: (string)[]; + single_file_paths?: string[]; app_slug: string; suspended_by: null | components["schemas"]["simple-user"]; /** Format: date-time */ @@ -11296,7 +11296,7 @@ export interface components { * @default false */ is_template?: boolean; - topics?: (string)[]; + topics?: string[]; /** * @description Whether issues are enabled. * @default true @@ -11426,7 +11426,7 @@ export interface components { default_branch?: string; open_issues_count?: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues?: boolean; has_projects?: boolean; has_wiki?: boolean; @@ -11582,10 +11582,10 @@ export interface components { permissions?: components["schemas"]["app-permissions"]; /** @enum {string} */ repository_selection?: "all" | "selected"; - repositories?: (components["schemas"]["repository"])[]; + repositories?: components["schemas"]["repository"][]; single_file?: string; has_multiple_single_files?: boolean; - single_file_paths?: (string)[]; + single_file_paths?: string[]; }; /** Scoped Installation */ "scoped-installation": { @@ -11597,7 +11597,7 @@ export interface components { repository_selection: "all" | "selected"; single_file_name: string | null; has_multiple_single_files?: boolean; - single_file_paths?: (string)[]; + single_file_paths?: string[]; /** Format: uri */ repositories_url: string; account: components["schemas"]["simple-user"]; @@ -11611,7 +11611,7 @@ export interface components { /** Format: uri */ url: string; /** @description A list of scopes that this authorization is in. */ - scopes: (string)[] | null; + scopes: string[] | null; token: string; token_last_eight: string | null; hashed_token: string | null; @@ -11683,7 +11683,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly (components["schemas"]["dependabot-alert-security-vulnerability"])[]; + readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -11697,12 +11697,12 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly ({ + readonly cwes: readonly { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; - })[]; + }[]; /** @description Values that identify this advisory among security information sources. */ readonly identifiers: readonly ({ /** @@ -11714,13 +11714,13 @@ export interface components { readonly value: string; })[]; /** @description Links to additional advisory information. */ - readonly references: readonly ({ + readonly references: readonly { /** * Format: uri * @description The URL of the reference. */ readonly url: string; - })[]; + }[]; /** * Format: date-time * @description The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. @@ -12121,7 +12121,7 @@ export interface components { default?: boolean; }]>)[]; assignee: null | components["schemas"]["simple-user"]; - assignees?: (components["schemas"]["simple-user"])[] | null; + assignees?: components["schemas"]["simple-user"][] | null; milestone: null | components["schemas"]["milestone"]; locked: boolean; active_lock_reason?: string | null; @@ -12239,7 +12239,7 @@ export interface components { current_user_url?: string; current_user_actor_url?: string; current_user_organization_url?: string; - current_user_organization_urls?: (string)[]; + current_user_organization_urls?: string[]; security_advisories_url?: string; /** @description A feed of discussions for a given repository. */ repository_discussions_url?: string; @@ -12253,7 +12253,7 @@ export interface components { current_user_public?: components["schemas"]["link-with-type"]; current_user_actor?: components["schemas"]["link-with-type"]; current_user_organization?: components["schemas"]["link-with-type"]; - current_user_organizations?: (components["schemas"]["link-with-type"])[]; + current_user_organizations?: components["schemas"]["link-with-type"][]; repository_discussions?: components["schemas"]["link-with-type"]; repository_discussions_category?: components["schemas"]["link-with-type"]; }; @@ -12298,8 +12298,8 @@ export interface components { comments_url: string; owner?: components["schemas"]["simple-user"]; truncated?: boolean; - forks?: (unknown)[]; - history?: (unknown)[]; + forks?: unknown[]; + history?: unknown[]; }; /** * Public User @@ -12386,7 +12386,7 @@ export interface components { */ "gist-simple": { /** @deprecated */ - forks?: ({ + forks?: { id?: string; /** Format: uri */ url?: string; @@ -12395,9 +12395,9 @@ export interface components { created_at?: string; /** Format: date-time */ updated_at?: string; - })[] | null; + }[] | null; /** @deprecated */ - history?: (components["schemas"]["gist-history"])[] | null; + history?: components["schemas"]["gist-history"][] | null; /** * Gist * @description Gist @@ -12438,8 +12438,8 @@ export interface components { comments_url: string; owner?: null | components["schemas"]["simple-user"]; truncated?: boolean; - forks?: (unknown)[]; - history?: (unknown)[]; + forks?: unknown[]; + history?: unknown[]; }) | null; url?: string; forks_url?: string; @@ -12528,9 +12528,9 @@ export interface components { html_url: string; description: string; implementation: string; - permissions: (string)[]; - conditions: (string)[]; - limitations: (string)[]; + permissions: string[]; + conditions: string[]; + limitations: string[]; body: string; featured: boolean; }; @@ -12554,7 +12554,7 @@ export interface components { has_free_trial: boolean; unit_name: string | null; state: string; - bullets: (string)[]; + bullets: string[]; }; /** * Marketplace Purchase @@ -12597,21 +12597,21 @@ export interface components { SHA256_ECDSA?: string; SHA256_ED25519?: string; }; - ssh_keys?: (string)[]; - hooks?: (string)[]; - web?: (string)[]; - api?: (string)[]; - git?: (string)[]; - packages?: (string)[]; - pages?: (string)[]; - importer?: (string)[]; - actions?: (string)[]; - dependabot?: (string)[]; + ssh_keys?: string[]; + hooks?: string[]; + web?: string[]; + api?: string[]; + git?: string[]; + packages?: string[]; + pages?: string[]; + importer?: string[]; + actions?: string[]; + dependabot?: string[]; domains?: { - website?: (string)[]; - codespaces?: (string)[]; - copilot?: (string)[]; - packages?: (string)[]; + website?: string[]; + codespaces?: string[]; + copilot?: string[]; + packages?: string[]; }; }; "security-and-analysis": ({ @@ -12717,7 +12717,7 @@ export interface components { default_branch?: string; open_issues_count?: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues?: boolean; has_projects?: boolean; has_wiki?: boolean; @@ -12958,7 +12958,7 @@ export interface components { */ "oidc-custom-sub": { /** @description Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. */ - include_claim_keys: (string)[]; + include_claim_keys: string[]; }; /** * Empty Object @@ -12994,7 +12994,7 @@ export interface components { * * **Note**: The `patterns_allowed` setting only applies to public repositories. */ - patterns_allowed?: (string)[]; + patterns_allowed?: string[]; }; /** * @description The default workflow permissions granted to the GITHUB_TOKEN when running workflows. @@ -13042,7 +13042,7 @@ export interface components { /** @description The status of the runner. */ status: string; busy: boolean; - labels: (components["schemas"]["runner-label"])[]; + labels: components["schemas"]["runner-label"][]; }; /** * Runner Application @@ -13071,7 +13071,7 @@ export interface components { expires_at: string; permissions?: Record; /** @description The repositories this token has access to */ - repositories?: (components["schemas"]["repository"])[]; + repositories?: components["schemas"]["repository"][]; single_file?: string | null; /** * @description Describe whether all repositories have been selected or there's a selection involved @@ -13190,7 +13190,7 @@ export interface components { /** @description description of the rule used to detect the alert. */ full_description?: string; /** @description A set of tags applicable for the rule. */ - tags?: (string)[] | null; + tags?: string[] | null; /** @description Detailed documentation for the rule as GitHub Flavored Markdown. */ help?: string | null; /** @description A link to the documentation for the rule used to detect the alert. */ @@ -13243,7 +13243,7 @@ export interface components { * @description Classifications that have been applied to the file that triggered the alert. * For example identifying it as documentation, or a generated file. */ - classifications?: (components["schemas"]["code-scanning-alert-classification"])[]; + classifications?: components["schemas"]["code-scanning-alert-classification"][]; }; "code-scanning-organization-alert-items": { number: components["schemas"]["alert-number"]; @@ -13375,10 +13375,10 @@ export interface components { * @description API URL for the Pull Request associated with this codespace, if any. */ pulls_url: string | null; - recent_folders: (string)[]; + recent_folders: string[]; runtime_constraints?: { /** @description The privacy settings a user can select from when forwarding a port. */ - allowed_port_privacy_settings?: (string)[] | null; + allowed_port_privacy_settings?: string[] | null; }; /** @description Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it. */ pending_operation?: boolean | null; @@ -13522,7 +13522,7 @@ export interface components { /** Format: uri */ deliveries_url?: string; name: string; - events: (string)[]; + events: string[]; active: boolean; config: { url?: string; @@ -13667,7 +13667,7 @@ export interface components { exclude_owner_projects: boolean; org_metadata_only: boolean; /** @description The repositories included in the migration. Only returned for export migrations. */ - repositories: (components["schemas"]["repository"])[]; + repositories: components["schemas"]["repository"][]; /** Format: uri */ url: string; /** Format: date-time */ @@ -13678,7 +13678,7 @@ export interface components { /** Format: uri */ archive_url?: string; /** @description Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `"repositories"`. */ - exclude?: (string)[]; + exclude?: string[]; }; /** * Package Version @@ -13706,11 +13706,11 @@ export interface components { package_type: "npm" | "maven" | "rubygems" | "docker" | "nuget" | "container"; /** Container Metadata */ container?: { - tags: (string)[]; + tags: string[]; }; /** Docker Metadata */ docker?: { - tag?: (string)[]; + tag?: string[]; }; }; }; @@ -13853,9 +13853,9 @@ export interface components { "repository-ruleset-conditions": { ref_name?: { /** @description Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. */ - include?: (string)[]; + include?: string[]; /** @description Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. */ - exclude?: (string)[]; + exclude?: string[]; }; }; /** @@ -13865,9 +13865,9 @@ export interface components { "repository-ruleset-conditions-repository-name-target": { repository_name: { /** @description Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. */ - include?: (string)[]; + include?: string[]; /** @description Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. */ - exclude?: (string)[]; + exclude?: string[]; /** @description Whether renaming of target repositories is prevented. */ protected?: boolean; }; @@ -13879,7 +13879,7 @@ export interface components { "repository-ruleset-conditions-repository-id-target": { repository_id: { /** @description The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. */ - repository_ids?: (number)[]; + repository_ids?: number[]; }; }; /** @@ -13977,7 +13977,7 @@ export interface components { ruleset_id?: number; parameters?: { /** @description The environments that must be successfully deployed to before branches can be merged. */ - required_deployment_environments: (string)[]; + required_deployment_environments: string[]; }; }; /** @@ -14054,7 +14054,7 @@ export interface components { ruleset_id?: number; parameters?: { /** @description Status checks that are required. */ - required_status_checks: (components["schemas"]["repository-rule-params-status-check-configuration"])[]; + required_status_checks: components["schemas"]["repository-rule-params-status-check-configuration"][]; /** @description Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. */ strict_required_status_checks_policy: boolean; }; @@ -14254,7 +14254,7 @@ export interface components { source: string; enforcement: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; /** * @description Whether the user making this API request is able to bypass the ruleset. This field is only returned when * querying the repository-level endpoint. @@ -14272,7 +14272,7 @@ export interface components { }; }; conditions?: components["schemas"]["repository-ruleset-conditions"] | components["schemas"]["org-ruleset-conditions"]; - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; /** Format: date-time */ created_at?: string; /** Format: date-time */ @@ -14682,7 +14682,7 @@ export interface components { * @default false */ is_template?: boolean; - topics?: (string)[]; + topics?: string[]; /** * @description Whether issues are enabled. * @default true @@ -14948,7 +14948,7 @@ export interface components { default_branch: string; open_issues_count: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues: boolean; has_projects: boolean; has_wiki: boolean; @@ -15073,7 +15073,7 @@ export interface components { /** @description Total number of caches */ total_count: number; /** @description Array of caches */ - actions_caches: ({ + actions_caches: { id?: number; ref?: string; key?: string; @@ -15083,7 +15083,7 @@ export interface components { /** Format: date-time */ created_at?: string; size_in_bytes?: number; - })[]; + }[]; }; /** * Job @@ -15154,7 +15154,7 @@ export interface components { })[]; check_run_url: string; /** @description Labels for the workflow job. Specified by the "runs_on" attribute in the action's workflow file. */ - labels: (string)[]; + labels: string[]; /** @description The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.) */ runner_id: number | null; /** @description The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.) */ @@ -15176,7 +15176,7 @@ export interface components { /** @description Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored. */ use_default: boolean; /** @description Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. */ - include_claim_keys?: (string)[]; + include_claim_keys?: string[]; }; /** * Actions Secret @@ -15317,7 +15317,7 @@ export interface components { run_number: number; /** @description Attempt number of the run, 1 for first attempt and higher if the workflow was re-run. */ run_attempt?: number; - referenced_workflows?: (components["schemas"]["referenced-workflow"])[] | null; + referenced_workflows?: components["schemas"]["referenced-workflow"][] | null; event: string; status: string | null; conclusion: string | null; @@ -15327,7 +15327,7 @@ export interface components { url: string; html_url: string; /** @description Pull requests that are open with a `head_sha` or `head_branch` that matches the workflow run. The returned pull requests do not necessarily indicate pull requests that triggered the run. */ - pull_requests: (components["schemas"]["pull-request-minimal"])[] | null; + pull_requests: components["schemas"]["pull-request-minimal"][] | null; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -15368,7 +15368,7 @@ export interface components { */ "environment-approvals": { /** @description The list of environments that were approved or rejected */ - environments: ({ + environments: { /** @description The id of the environment. */ id?: number; node_id?: string; @@ -15386,7 +15386,7 @@ export interface components { * @description The time that the environment was last updated, in ISO 8601 format. */ updated_at?: string; - })[]; + }[]; /** * @description Whether deployment to the environment(s) was approved or rejected or pending (with comments) * @enum {string} @@ -15493,26 +15493,26 @@ export interface components { UBUNTU?: { total_ms: number; jobs: number; - job_runs?: ({ + job_runs?: { job_id: number; duration_ms: number; - })[]; + }[]; }; MACOS?: { total_ms: number; jobs: number; - job_runs?: ({ + job_runs?: { job_id: number; duration_ms: number; - })[]; + }[]; }; WINDOWS?: { total_ms: number; jobs: number; - job_runs?: ({ + job_runs?: { job_id: number; duration_ms: number; - })[]; + }[]; }; }; run_duration_ms?: number; @@ -15575,7 +15575,7 @@ export interface components { "protected-branch-required-status-check": { url?: string; enforcement_level?: string; - contexts: (string)[]; + contexts: string[]; checks: ({ context: string; app_id: number | null; @@ -15601,11 +15601,11 @@ export interface components { url?: string; dismissal_restrictions?: { /** @description The list of users with review dismissal access. */ - users?: (components["schemas"]["simple-user"])[]; + users?: components["schemas"]["simple-user"][]; /** @description The list of teams with review dismissal access. */ - teams?: (components["schemas"]["team"])[]; + teams?: components["schemas"]["team"][]; /** @description The list of apps with review dismissal access. */ - apps?: (components["schemas"]["integration"])[]; + apps?: components["schemas"]["integration"][]; url?: string; users_url?: string; teams_url?: string; @@ -15613,11 +15613,11 @@ export interface components { /** @description Allow specific users, teams, or apps to bypass pull request requirements. */ bypass_pull_request_allowances?: { /** @description The list of users allowed to bypass pull request requirements. */ - users?: (components["schemas"]["simple-user"])[]; + users?: components["schemas"]["simple-user"][]; /** @description The list of teams allowed to bypass pull request requirements. */ - teams?: (components["schemas"]["team"])[]; + teams?: components["schemas"]["team"][]; /** @description The list of apps allowed to bypass pull request requirements. */ - apps?: (components["schemas"]["integration"])[]; + apps?: components["schemas"]["integration"][]; }; dismiss_stale_reviews: boolean; require_code_owner_reviews: boolean; @@ -15641,7 +15641,7 @@ export interface components { teams_url: string; /** Format: uri */ apps_url: string; - users: ({ + users: { login?: string; id?: number; node_id?: string; @@ -15660,7 +15660,7 @@ export interface components { received_events_url?: string; type?: string; site_admin?: boolean; - })[]; + }[]; teams: ({ id?: number; node_id?: string; @@ -15676,7 +15676,7 @@ export interface components { repositories_url?: string; parent?: string | null; })[]; - apps: ({ + apps: { id?: number; slug?: string; node_id?: string; @@ -15717,8 +15717,8 @@ export interface components { issues?: string; single_file?: string; }; - events?: (string)[]; - })[]; + events?: string[]; + }[]; }; /** * Branch Protection @@ -15846,19 +15846,19 @@ export interface components { }; author: null | components["schemas"]["simple-user"]; committer: null | components["schemas"]["simple-user"]; - parents: ({ + parents: { sha: string; /** Format: uri */ url: string; /** Format: uri */ html_url?: string; - })[]; + }[]; stats?: { additions?: number; deletions?: number; total?: number; }; - files?: (components["schemas"]["diff-entry"])[]; + files?: components["schemas"]["diff-entry"][]; }; /** * Branch With Protection @@ -15887,7 +15887,7 @@ export interface components { /** Format: uri */ url: string; strict: boolean; - contexts: (string)[]; + contexts: string[]; checks: ({ context: string; app_id: number | null; @@ -15921,14 +15921,14 @@ export interface components { users_url: string; /** Format: uri */ teams_url: string; - users: (components["schemas"]["simple-user"])[]; - teams: (components["schemas"]["team"])[]; - apps?: (components["schemas"]["integration"])[]; + users: components["schemas"]["simple-user"][]; + teams: components["schemas"]["team"][]; + apps?: components["schemas"]["integration"][]; }; bypass_pull_request_allowances?: { - users: (components["schemas"]["simple-user"])[]; - teams: (components["schemas"]["team"])[]; - apps?: (components["schemas"]["integration"])[]; + users: components["schemas"]["simple-user"][]; + teams: components["schemas"]["team"][]; + apps?: components["schemas"]["integration"][]; }; }; required_signatures?: { @@ -16038,7 +16038,7 @@ export interface components { } | null; app: null | components["schemas"]["integration"]; /** @description Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. */ - pull_requests: (components["schemas"]["pull-request-minimal"])[]; + pull_requests: components["schemas"]["pull-request-minimal"][]; deployment?: components["schemas"]["deployment-simple"]; }; /** @@ -16074,7 +16074,7 @@ export interface components { url: string | null; before: string | null; after: string | null; - pull_requests: (components["schemas"]["pull-request-minimal"])[] | null; + pull_requests: components["schemas"]["pull-request-minimal"][] | null; app: null | components["schemas"]["integration"]; repository: components["schemas"]["minimal-repository"]; /** Format: date-time */ @@ -16093,10 +16093,10 @@ export interface components { */ "check-suite-preference": { preferences: { - auto_trigger_checks?: ({ + auto_trigger_checks?: { app_id: number; setting: boolean; - })[]; + }[]; }; repository: components["schemas"]["minimal-repository"]; }; @@ -16106,7 +16106,7 @@ export interface components { /** @description The name of the rule used to detect the alert. */ name?: string; /** @description A set of tags applicable for the rule. */ - tags?: (string)[] | null; + tags?: string[] | null; /** * @description The severity of the alert. * @enum {string|null} @@ -16302,7 +16302,7 @@ export interface components { */ analyses_url?: string | null; /** @description Any errors that ocurred during processing of the delivery. */ - errors?: readonly (string)[] | null; + errors?: readonly string[] | null; }; /** * CODEOWNERS errors @@ -16504,7 +16504,7 @@ export interface components { title: string; user: null | components["schemas"]["simple-user"]; body: string | null; - labels: ({ + labels: { /** Format: int64 */ id: number; node_id: string; @@ -16513,7 +16513,7 @@ export interface components { description: string; color: string; default: boolean; - })[]; + }[]; milestone: null | components["schemas"]["milestone"]; active_lock_reason?: string | null; /** Format: date-time */ @@ -16526,9 +16526,9 @@ export interface components { merged_at: string | null; merge_commit_sha: string | null; assignee: null | components["schemas"]["simple-user"]; - assignees?: (components["schemas"]["simple-user"])[] | null; - requested_reviewers?: (components["schemas"]["simple-user"])[] | null; - requested_teams?: (components["schemas"]["team"])[] | null; + assignees?: components["schemas"]["simple-user"][] | null; + requested_reviewers?: components["schemas"]["simple-user"][] | null; + requested_teams?: components["schemas"]["team"][] | null; head: { label: string; ref: string; @@ -16583,7 +16583,7 @@ export interface components { */ "combined-commit-status": { state: string; - statuses: (components["schemas"]["simple-commit-status"])[]; + statuses: components["schemas"]["simple-commit-status"][]; sha: string; total_count: number; repository: components["schemas"]["minimal-repository"]; @@ -16659,8 +16659,8 @@ export interface components { ahead_by: number; behind_by: number; total_commits: number; - commits: (components["schemas"]["commit"])[]; - files?: (components["schemas"]["diff-entry"])[]; + commits: components["schemas"]["commit"][]; + files?: components["schemas"]["diff-entry"][]; }; /** * Content Tree @@ -16874,11 +16874,11 @@ export interface components { url?: string; sha?: string; }; - parents?: ({ + parents?: { url?: string; html_url?: string; sha?: string; - })[]; + }[]; verification?: { verified?: boolean; reason?: string; @@ -16985,12 +16985,12 @@ export interface components { package_url: string | null; license: string | null; source_repository_url: string | null; - vulnerabilities: ({ + vulnerabilities: { severity: string; advisory_ghsa_id: string; advisory_summary: string; advisory_url: string; - })[]; + }[]; /** * @description Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment. * @enum {string} @@ -17011,17 +17011,17 @@ export interface components { /** @description The date and time the SPDX document was created. */ created: string; /** @description The tools that were used to generate the SPDX document. */ - creators: (string)[]; + creators: string[]; }; /** @description The name of the SPDX document. */ name: string; /** @description The license under which the SPDX document is licensed. */ dataLicense: string; /** @description The name of the repository that the SPDX document describes. */ - documentDescribes: (string)[]; + documentDescribes: string[]; /** @description The namespace for the SPDX document. */ documentNamespace: string; - packages: ({ + packages: { /** @description A unique SPDX identifier for the package. */ SPDXID?: string; /** @description The name of the package. */ @@ -17050,15 +17050,15 @@ export interface components { licenseDeclared?: string; /** @description The distribution source of this package, or NOASSERTION if this was not determined. */ supplier?: string; - externalRefs?: ({ + externalRefs?: { /** @description The category of reference to an external resource this reference refers to. */ referenceCategory: string; /** @description A locator for the particular external resource this reference refers to. */ referenceLocator: string; /** @description The category of reference to an external resource this reference refers to. */ referenceType: string; - })[]; - })[]; + }[]; + }[]; }; }; /** @@ -17083,7 +17083,7 @@ export interface components { */ scope?: "runtime" | "development"; /** @description Array of package-url (PURLs) of direct child dependencies. */ - dependencies?: (string)[]; + dependencies?: string[]; }; manifest: { /** @description The name of the manifest. */ @@ -17355,14 +17355,14 @@ export interface components { /** Format: uri */ url: string; }; - parents: ({ + parents: { /** @description SHA for the commit */ sha: string; /** Format: uri */ url: string; /** Format: uri */ html_url: string; - })[]; + }[]; verification: { verified: boolean; reason: string; @@ -17428,14 +17428,14 @@ export interface components { url: string; truncated: boolean; /** @description Objects specifying a tree structure */ - tree: ({ + tree: { path?: string; mode?: string; type?: string; sha?: string; size?: number; url?: string; - })[]; + }[]; }; /** Hook Response */ "hook-response": { @@ -17456,7 +17456,7 @@ export interface components { /** @description Determines whether the hook is actually triggered on pushes. */ active: boolean; /** @description Determines what events the hook is triggered for. Default: ['push']. */ - events: (string)[]; + events: string[]; config: { email?: string; password?: string; @@ -17505,11 +17505,11 @@ export interface components { has_large_files?: boolean; large_files_size?: number; large_files_count?: number; - project_choices?: ({ + project_choices?: { vcs?: string; tfvc_project?: string; human_name?: string; - })[]; + }[]; message?: string; authors_count?: number | null; /** Format: uri */ @@ -18038,14 +18038,14 @@ export interface components { /** Format: uri */ url: string; }; - parents: ({ + parents: { /** @description SHA for the commit */ sha: string; /** Format: uri */ url: string; /** Format: uri */ html_url: string; - })[]; + }[]; verification: { verified: boolean; reason: string; @@ -18183,7 +18183,7 @@ export interface components { "timeline-line-commented-event": { event?: string; node_id?: string; - comments?: (components["schemas"]["pull-request-review-comment"])[]; + comments?: components["schemas"]["pull-request-review-comment"][]; }; /** * Timeline Commit Commented Event @@ -18193,7 +18193,7 @@ export interface components { event?: string; node_id?: string; commit_id?: string; - comments?: (components["schemas"]["commit-comment"])[]; + comments?: components["schemas"]["commit-comment"][]; }; /** * Timeline Assigned Issue Event @@ -18321,7 +18321,7 @@ export interface components { state: "new" | "authorization_created" | "authorization_pending" | "authorized" | "authorization_revoked" | "issued" | "uploaded" | "approved" | "errored" | "bad_authz" | "destroy_pending" | "dns_changed"; description: string; /** @description Array of the domain set and its alternate name (if it is configured) */ - domains: (string)[]; + domains: string[]; /** Format: date */ expires_at?: string; }; @@ -18549,9 +18549,9 @@ export interface components { merged_at: string | null; merge_commit_sha: string | null; assignee: null | components["schemas"]["simple-user"]; - assignees?: (components["schemas"]["simple-user"])[] | null; - requested_reviewers?: (components["schemas"]["simple-user"])[] | null; - requested_teams?: (components["schemas"]["team-simple"])[] | null; + assignees?: components["schemas"]["simple-user"][] | null; + requested_reviewers?: components["schemas"]["simple-user"][] | null; + requested_teams?: components["schemas"]["team-simple"][] | null; head: { label: string; ref: string; @@ -18693,7 +18693,7 @@ export interface components { stargazers_count: number; /** Format: uri */ svn_url: string; - topics?: (string)[]; + topics?: string[]; watchers: number; watchers_count: number; /** Format: date-time */ @@ -18869,7 +18869,7 @@ export interface components { stargazers_count: number; /** Format: uri */ svn_url: string; - topics?: (string)[]; + topics?: string[]; watchers: number; watchers_count: number; /** Format: date-time */ @@ -18951,8 +18951,8 @@ export interface components { * @description Pull Request Review Request */ "pull-request-review-request": { - users: (components["schemas"]["simple-user"])[]; - teams: (components["schemas"]["team"])[]; + users: components["schemas"]["simple-user"][]; + teams: components["schemas"]["team"][]; }; /** * Pull Request Review @@ -19104,7 +19104,7 @@ export interface components { /** Format: date-time */ published_at: string | null; author: components["schemas"]["simple-user"]; - assets: (components["schemas"]["release-asset"])[]; + assets: components["schemas"]["release-asset"][]; body_html?: string; body_text?: string; mentions_count?: number; @@ -19237,7 +19237,7 @@ export interface components { /** @description The package version(s) that resolve the vulnerability. */ patched_versions: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions: (string)[] | null; + vulnerable_functions: string[] | null; }; /** * @description The type of credit the user is receiving. @@ -19323,27 +19323,27 @@ export interface components { /** @description Whether a private vulnerability report was accepted by the repository's administrators. */ readonly accepted: boolean; } | null; - vulnerabilities: (components["schemas"]["repository-advisory-vulnerability"])[] | null; + vulnerabilities: components["schemas"]["repository-advisory-vulnerability"][] | null; cvss: ({ /** @description The CVSS vector. */ vector_string: string | null; /** @description The CVSS score. */ score: number | null; }) | null; - cwes: readonly ({ + cwes: readonly { /** @description The Common Weakness Enumeration (CWE) identifier. */ cwe_id: string; /** @description The name of the CWE. */ name: string; - })[] | null; + }[] | null; /** @description A list of only the CWE IDs. */ - cwe_ids: (string)[] | null; - credits: ({ + cwe_ids: string[] | null; + credits: { /** @description The username of the user credited. */ login?: string; type?: components["schemas"]["security-advisory-credit-types"]; - })[] | null; - credits_detailed: readonly (components["schemas"]["repository-advisory-credit"])[] | null; + }[] | null; + credits_detailed: readonly components["schemas"]["repository-advisory-credit"][] | null; }; "repository-advisory-create": { /** @description A short summary of the advisory. */ @@ -19365,16 +19365,16 @@ export interface components { /** @description The package version(s) that resolve the vulnerability. */ patched_versions?: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions?: (string)[] | null; + vulnerable_functions?: string[] | null; })[]; /** @description A list of Common Weakness Enumeration (CWE) IDs. */ - cwe_ids?: (string)[] | null; + cwe_ids?: string[] | null; /** @description A list of users receiving credit for their participation in the security advisory. */ - credits?: ({ + credits?: { /** @description The username of the user credited. */ login: string; type: components["schemas"]["security-advisory-credit-types"]; - })[] | null; + }[] | null; /** * @description The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. * @enum {string|null} @@ -19401,10 +19401,10 @@ export interface components { /** @description The package version(s) that resolve the vulnerability. */ patched_versions?: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions?: (string)[] | null; + vulnerable_functions?: string[] | null; })[]) | null; /** @description A list of Common Weakness Enumeration (CWE) IDs. */ - cwe_ids?: (string)[] | null; + cwe_ids?: string[] | null; /** * @description The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. * @enum {string|null} @@ -19433,16 +19433,16 @@ export interface components { /** @description The package version(s) that resolve the vulnerability. */ patched_versions?: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions?: (string)[] | null; + vulnerable_functions?: string[] | null; })[]; /** @description A list of Common Weakness Enumeration (CWE) IDs. */ - cwe_ids?: (string)[] | null; + cwe_ids?: string[] | null; /** @description A list of users receiving credit for their participation in the security advisory. */ - credits?: ({ + credits?: { /** @description The username of the user credited. */ login: string; type: components["schemas"]["security-advisory-credit-types"]; - })[] | null; + }[] | null; /** * @description The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. * @enum {string|null} @@ -19469,13 +19469,13 @@ export interface components { * Code Frequency Stat * @description Code Frequency Stat */ - "code-frequency-stat": (number)[]; + "code-frequency-stat": number[]; /** * Commit Activity * @description Commit Activity */ "commit-activity": { - days: (number)[]; + days: number[]; total: number; week: number; }; @@ -19486,17 +19486,17 @@ export interface components { "contributor-activity": { author: null | components["schemas"]["simple-user"]; total: number; - weeks: ({ + weeks: { w?: number; a?: number; d?: number; c?: number; - })[]; + }[]; }; /** Participation Stats */ "participation-stats": { - all: (number)[]; - owner: (number)[]; + all: number[]; + owner: number[]; }; /** * Repository Invitation @@ -19548,7 +19548,7 @@ export interface components { * @description A topic aggregates entities that are related to a subject. */ topic: { - names: (string)[]; + names: string[]; }; /** Traffic */ traffic: { @@ -19564,7 +19564,7 @@ export interface components { "clone-traffic": { count: number; uniques: number; - clones: (components["schemas"]["traffic"])[]; + clones: components["schemas"]["traffic"][]; }; /** * Content Traffic @@ -19592,7 +19592,7 @@ export interface components { "view-traffic": { count: number; uniques: number; - views: (components["schemas"]["traffic"])[]; + views: components["schemas"]["traffic"][]; }; /** Search Result Text Matches */ "search-result-text-matches": ({ @@ -19600,10 +19600,10 @@ export interface components { object_type?: string | null; property?: string; fragment?: string; - matches?: ({ + matches?: { text?: string; - indices?: (number)[]; - })[]; + indices?: number[]; + }[]; })[]; /** * Code Search Result Item @@ -19625,7 +19625,7 @@ export interface components { language?: string | null; /** Format: date-time */ last_modified_at?: string; - line_numbers?: (string)[]; + line_numbers?: string[]; text_matches?: components["schemas"]["search-result-text-matches"]; }; /** @@ -19661,11 +19661,11 @@ export interface components { }; author: null | components["schemas"]["simple-user"]; committer: null | components["schemas"]["git-user"]; - parents: ({ + parents: { url?: string; html_url?: string; sha?: string; - })[]; + }[]; repository: components["schemas"]["minimal-repository"]; score: number; node_id: string; @@ -19694,7 +19694,7 @@ export interface components { title: string; locked: boolean; active_lock_reason?: string | null; - assignees?: (components["schemas"]["simple-user"])[] | null; + assignees?: components["schemas"]["simple-user"][] | null; user: null | components["schemas"]["simple-user"]; labels: ({ /** Format: int64 */ @@ -19849,7 +19849,7 @@ export interface components { forks: number; open_issues: number; watchers: number; - topics?: (string)[]; + topics?: string[]; /** Format: uri */ mirror_url: string | null; has_issues: boolean; @@ -19904,22 +19904,22 @@ export interface components { /** Format: uri */ logo_url?: string | null; text_matches?: components["schemas"]["search-result-text-matches"]; - related?: ({ + related?: { topic_relation?: { id?: number; name?: string; topic_id?: number; relation_type?: string; }; - })[] | null; - aliases?: ({ + }[] | null; + aliases?: { topic_relation?: { id?: number; name?: string; topic_id?: number; relation_type?: string; }; - })[] | null; + }[] | null; }; /** * User Search Result Item @@ -20188,10 +20188,10 @@ export interface components { * @description API URL for the Pull Request associated with this codespace, if any. */ pulls_url: string | null; - recent_folders: (string)[]; + recent_folders: string[]; runtime_constraints?: { /** @description The privacy settings a user can select from when forwarding a port. */ - allowed_port_privacy_settings?: (string)[] | null; + allowed_port_privacy_settings?: string[] | null; }; /** @description Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it. */ pending_operation?: boolean | null; @@ -20228,20 +20228,20 @@ export interface components { primary_key_id: number | null; key_id: string; public_key: string; - emails: ({ + emails: { email?: string; verified?: boolean; - })[]; + }[]; subkeys: ({ id?: number; primary_key_id?: number; key_id?: string; public_key?: string; - emails?: ({ + emails?: { email?: string; verified?: boolean; - })[]; - subkeys?: (unknown)[]; + }[]; + subkeys?: unknown[]; can_sign?: boolean; can_encrypt_comms?: boolean; can_encrypt_storage?: boolean; @@ -20339,10 +20339,10 @@ export interface components { * @description Hovercard */ hovercard: { - contexts: ({ + contexts: { message: string; octicon: string; - })[]; + }[]; }; /** * Key Simple @@ -20376,7 +20376,7 @@ export interface components { head_sha?: string; id?: number; node_id?: string; - pull_requests?: (components["schemas"]["pull-request-minimal"])[]; + pull_requests?: components["schemas"]["pull-request-minimal"][]; repository?: components["schemas"]["minimal-repository"]; /** @enum {string} */ status?: "queued" | "in_progress" | "completed" | "pending" | "waiting"; @@ -20414,7 +20414,7 @@ export interface components { text: string | null; title: string | null; }; - pull_requests: (components["schemas"]["pull-request-minimal"])[]; + pull_requests: components["schemas"]["pull-request-minimal"][]; /** Format: date-time */ started_at: string; /** @@ -20633,7 +20633,7 @@ export interface components { /** @description The number of repositories the token is requesting access to. This field is only populated when `repository_selection` is `subset`. */ repository_count: number | null; /** @description An array of repository objects the token is requesting access to. This field is only populated when `repository_selection` is `subset`. */ - repositories: ({ + repositories: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -20642,7 +20642,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[] | null; + }[] | null; /** @description Date and time when the request for access was created. */ created_at: string; /** @description Whether the associated fine-grained personal access token has expired. */ @@ -20718,7 +20718,7 @@ export interface components { allow_deletions_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ allow_force_pushes_enforcement_level: "off" | "non_admins" | "everyone"; - authorized_actor_names: (string)[]; + authorized_actor_names: string[]; authorized_actors_only: boolean; authorized_dismissal_actors_only: boolean; create_protected?: boolean; @@ -20743,7 +20743,7 @@ export interface components { required_conversation_resolution_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ required_deployments_enforcement_level: "off" | "non_admins" | "everyone"; - required_status_checks: (string)[]; + required_status_checks: string[]; /** @enum {string} */ required_status_checks_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ @@ -20772,7 +20772,7 @@ export interface components { allow_deletions_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ allow_force_pushes_enforcement_level: "off" | "non_admins" | "everyone"; - authorized_actor_names: (string)[]; + authorized_actor_names: string[]; authorized_actors_only: boolean; authorized_dismissal_actors_only: boolean; create_protected?: boolean; @@ -20797,7 +20797,7 @@ export interface components { required_conversation_resolution_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ required_deployments_enforcement_level: "off" | "non_admins" | "everyone"; - required_status_checks: (string)[]; + required_status_checks: string[]; /** @enum {string} */ required_status_checks_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ @@ -20818,7 +20818,7 @@ export interface components { from: boolean | null; }; authorized_actor_names?: { - from: (string)[]; + from: string[]; }; authorized_actors_only?: { from: boolean | null; @@ -20831,7 +20831,7 @@ export interface components { from: "off" | "non_admins" | "everyone"; }; required_status_checks?: { - from: (string)[]; + from: string[]; }; required_status_checks_enforcement_level?: { /** @enum {string} */ @@ -20852,7 +20852,7 @@ export interface components { allow_deletions_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ allow_force_pushes_enforcement_level: "off" | "non_admins" | "everyone"; - authorized_actor_names: (string)[]; + authorized_actor_names: string[]; authorized_actors_only: boolean; authorized_dismissal_actors_only: boolean; create_protected?: boolean; @@ -20877,7 +20877,7 @@ export interface components { required_conversation_resolution_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ required_deployments_enforcement_level: "off" | "non_admins" | "everyone"; - required_status_checks: (string)[]; + required_status_checks: string[]; /** @enum {string} */ required_status_checks_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ @@ -21157,7 +21157,7 @@ export interface components { latest_check_runs_count: number; node_id: string; /** @description An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty. */ - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -21184,7 +21184,7 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; + }[]; rerequestable?: boolean; runs_rerequestable?: boolean; /** @@ -21398,7 +21398,7 @@ export interface components { latest_check_runs_count: number; node_id: string; /** @description An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty. */ - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -21425,7 +21425,7 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; + }[]; rerequestable?: boolean; runs_rerequestable?: boolean; /** @@ -21639,7 +21639,7 @@ export interface components { latest_check_runs_count: number; node_id: string; /** @description An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty. */ - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -21666,7 +21666,7 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; + }[]; rerequestable?: boolean; runs_rerequestable?: boolean; /** @@ -21757,7 +21757,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -21885,7 +21885,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -21924,7 +21924,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: (string)[] | null; + tags?: string[] | null; }; /** * @description State of a code scanning alert. @@ -21981,7 +21981,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -22020,7 +22020,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: (string)[] | null; + tags?: string[] | null; }; /** * @description State of a code scanning alert. @@ -22119,7 +22119,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -22158,7 +22158,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: (string)[] | null; + tags?: string[] | null; }; /** * @description State of a code scanning alert. @@ -22212,7 +22212,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -22251,7 +22251,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: (string)[] | null; + tags?: string[] | null; }; /** * @description State of a code scanning alert. @@ -22305,7 +22305,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -22970,7 +22970,7 @@ export interface components { node_id: string; path: string; previous_attempt_url?: null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -22997,12 +22997,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -23136,7 +23136,7 @@ export interface components { */ deployment_callback_url?: string; deployment?: components["schemas"]["deployment"]; - pull_requests?: (components["schemas"]["pull-request"])[]; + pull_requests?: components["schemas"]["pull-request"][]; repository?: components["schemas"]["repository"]; organization?: components["schemas"]["organization-simple"]; installation?: components["schemas"]["simple-installation"]; @@ -23719,7 +23719,7 @@ export interface components { node_id: string; path: string; previous_attempt_url?: null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -23746,12 +23746,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -24900,7 +24900,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -25005,7 +25005,7 @@ export interface components { svn_url?: string; tags_url?: string; teams_url?: string; - topics?: (null)[]; + topics?: null[]; trees_url?: string; updated_at?: string; url?: string; @@ -25064,7 +25064,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -25073,7 +25073,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; /** User */ requester?: ({ @@ -25122,7 +25122,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -25131,7 +25131,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; requester?: null; sender: components["schemas"]["simple-user"]; @@ -25144,7 +25144,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -25153,7 +25153,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; requester?: null; sender: components["schemas"]["simple-user"]; @@ -25166,7 +25166,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects, which were added to the installation. */ - repositories_added: ({ + repositories_added: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -25175,9 +25175,9 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; /** @description An array of repository objects, which were removed from the installation. */ - repositories_removed: ({ + repositories_removed: { full_name?: string; /** @description Unique identifier of the repository */ id?: number; @@ -25186,7 +25186,7 @@ export interface components { node_id?: string; /** @description Whether the repository is private or public. */ private?: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; /** * @description Describe whether all repositories have been selected or there's a selection involved @@ -25240,7 +25240,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects, which were added to the installation. */ - repositories_added: ({ + repositories_added: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -25249,9 +25249,9 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; /** @description An array of repository objects, which were removed from the installation. */ - repositories_removed: ({ + repositories_removed: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -25260,7 +25260,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; /** * @description Describe whether all repositories have been selected or there's a selection involved @@ -25314,7 +25314,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -25323,7 +25323,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; requester?: null; sender: components["schemas"]["simple-user"]; @@ -25391,7 +25391,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -25400,7 +25400,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; requester?: null; sender: components["schemas"]["simple-user"]; @@ -31840,7 +31840,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -33807,7 +33807,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -36142,7 +36142,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -36195,7 +36195,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -36231,7 +36231,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -36284,7 +36284,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean | null; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -36320,7 +36320,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -36373,7 +36373,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -36409,7 +36409,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -36439,7 +36439,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -36475,7 +36475,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -36528,7 +36528,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38035,18 +38035,18 @@ export interface components { }) | null; created_at?: string; description: string; - docker_metadata?: ({ - tags?: (string)[]; - })[]; + docker_metadata?: { + tags?: string[]; + }[]; draft?: boolean; /** Format: uri */ html_url: string; id: number; installation_command: string; manifest?: string; - metadata: ({ + metadata: { [key: string]: unknown; - })[]; + }[]; name: string; npm_metadata?: ({ name?: string; @@ -38070,16 +38070,16 @@ export interface components { node_version?: string; npm_version?: string; has_shrinkwrap?: boolean; - maintainers?: (Record)[]; - contributors?: (Record)[]; + maintainers?: Record[]; + contributors?: Record[]; engines?: Record; - keywords?: (string)[]; - files?: (string)[]; + keywords?: string[]; + files?: string[]; bin?: Record; man?: Record; directories?: Record | null; - os?: (string)[]; - cpu?: (string)[]; + os?: string[]; + cpu?: string[]; readme?: string; installation_command?: string; release_id?: number; @@ -38164,7 +38164,7 @@ export interface components { /** Format: uri */ url: string; }; - rubygems_metadata?: (components["schemas"]["webhook-rubygems-metadata"])[]; + rubygems_metadata?: components["schemas"]["webhook-rubygems-metadata"][]; source_url?: string; summary: string; tag_name?: string; @@ -38284,18 +38284,18 @@ export interface components { body_html: string; created_at: string; description: string; - docker_metadata?: ({ - tags?: (string)[]; - })[]; + docker_metadata?: { + tags?: string[]; + }[]; draft?: boolean; /** Format: uri */ html_url: string; id: number; installation_command: string; manifest?: string; - metadata: ({ + metadata: { [key: string]: unknown; - })[]; + }[]; name: string; package_files: ({ content_type: string; @@ -38364,7 +38364,7 @@ export interface components { /** Format: uri */ url: string; }; - rubygems_metadata?: (components["schemas"]["webhook-rubygems-metadata"])[]; + rubygems_metadata?: components["schemas"]["webhook-rubygems-metadata"][]; /** Format: uri */ source_url?: string; summary: string; @@ -38504,7 +38504,7 @@ export interface components { /** Format: uri */ deliveries_url?: string; /** @description Determines what events the hook is triggered for. Default: ['push']. */ - events: (string)[]; + events: string[]; /** @description Unique identifier of the webhook. */ id: number; last_response?: components["schemas"]["hook-response"]; @@ -40096,7 +40096,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -40436,7 +40436,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -41284,7 +41284,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -41624,7 +41624,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -42473,7 +42473,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -42813,7 +42813,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -43785,7 +43785,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -44125,7 +44125,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -44973,7 +44973,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -45313,7 +45313,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -46242,7 +46242,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -46582,7 +46582,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -47447,7 +47447,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -47787,7 +47787,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -48636,7 +48636,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -48976,7 +48976,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -49825,7 +49825,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -50165,7 +50165,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -51338,7 +51338,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -51671,7 +51671,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -52610,7 +52610,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -52943,7 +52943,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -53889,7 +53889,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -54222,7 +54222,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -55017,7 +55017,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -55350,7 +55350,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -56185,7 +56185,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -56472,7 +56472,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -57328,7 +57328,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -57668,7 +57668,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -58552,7 +58552,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -58892,7 +58892,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -59796,7 +59796,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -60136,7 +60136,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -61020,7 +61020,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -61360,7 +61360,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -62261,7 +62261,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -62594,7 +62594,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -63427,7 +63427,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -63721,7 +63721,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -64621,7 +64621,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -64915,7 +64915,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -65854,7 +65854,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -66187,7 +66187,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -67073,7 +67073,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -67413,7 +67413,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -68278,7 +68278,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -68611,7 +68611,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -69460,7 +69460,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -69800,7 +69800,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -70207,7 +70207,7 @@ export interface components { /** @description An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/reference/repos#commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries. */ commits: ({ /** @description An array of files added in the commit. */ - added?: (string)[]; + added?: string[]; /** * Committer * @description Metaproperties for Git author/committer information. @@ -70240,9 +70240,9 @@ export interface components { /** @description The commit message. */ message: string; /** @description An array of files modified by the commit. */ - modified?: (string)[]; + modified?: string[]; /** @description An array of files removed in the commit. */ - removed?: (string)[]; + removed?: string[]; /** * Format: date-time * @description The ISO 8601 timestamp of the commit. @@ -70267,7 +70267,7 @@ export interface components { /** Commit */ head_commit: ({ /** @description An array of files added in the commit. */ - added?: (string)[]; + added?: string[]; /** * Committer * @description Metaproperties for Git author/committer information. @@ -70300,9 +70300,9 @@ export interface components { /** @description The commit message. */ message: string; /** @description An array of files modified by the commit. */ - modified?: (string)[]; + modified?: string[]; /** @description An array of files removed in the commit. */ - removed?: (string)[]; + removed?: string[]; /** * Format: date-time * @description The ISO 8601 timestamp of the commit. @@ -70560,7 +70560,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -70644,17 +70644,17 @@ export interface components { }; created_at?: string; description: string; - docker_metadata?: ({ - tags?: (string)[]; - })[]; + docker_metadata?: { + tags?: string[]; + }[]; draft?: boolean; html_url: string; id: number; installation_command: string; manifest?: string; - metadata: ({ + metadata: { [key: string]: unknown; - })[]; + }[]; name: string; npm_metadata?: ({ name?: string; @@ -70678,16 +70678,16 @@ export interface components { node_version?: string; npm_version?: string; has_shrinkwrap?: boolean; - maintainers?: (string)[]; - contributors?: (string)[]; + maintainers?: string[]; + contributors?: string[]; engines?: Record; - keywords?: (string)[]; - files?: (string)[]; + keywords?: string[]; + files?: string[]; bin?: Record; man?: Record; directories?: string | Record; - os?: (string)[]; - cpu?: (string)[]; + os?: string[]; + cpu?: string[]; readme?: string; installation_command?: string; release_id?: number; @@ -70752,7 +70752,7 @@ export interface components { target_commitish?: string; url?: string; }; - rubygems_metadata?: (components["schemas"]["webhook-rubygems-metadata"])[]; + rubygems_metadata?: components["schemas"]["webhook-rubygems-metadata"][]; summary: string; tag_name?: string; target_commitish?: string; @@ -70832,16 +70832,16 @@ export interface components { created_at: string; description: string; docker_metadata?: ({ - tags?: (string)[]; + tags?: string[]; } | null)[]; draft?: boolean; html_url: string; id: number; installation_command: string; manifest?: string; - metadata: ({ + metadata: { [key: string]: unknown; - })[]; + }[]; name: string; package_files: ({ content_type?: string; @@ -70890,7 +70890,7 @@ export interface components { target_commitish: string; url: string; }; - rubygems_metadata?: (components["schemas"]["webhook-rubygems-metadata"])[]; + rubygems_metadata?: components["schemas"]["webhook-rubygems-metadata"][]; summary: string; tag_name?: string; target_commitish: string; @@ -72204,7 +72204,7 @@ export interface components { from: string | null; }; topics?: { - from?: (string)[] | null; + from?: string[] | null; }; }; enterprise?: components["schemas"]["enterprise"]; @@ -72836,21 +72836,21 @@ export interface components { score: number; vector_string: string | null; }; - cwes: ({ + cwes: { cwe_id: string; name: string; - })[]; + }[]; description: string; ghsa_id: string; - identifiers: ({ + identifiers: { type: string; value: string; - })[]; + }[]; published_at: string; - references: ({ + references: { /** Format: uri */ url: string; - })[]; + }[]; severity: string; summary: string; updated_at: string; @@ -72883,21 +72883,21 @@ export interface components { score: number; vector_string: string | null; }; - cwes: ({ + cwes: { cwe_id: string; name: string; - })[]; + }[]; description: string; ghsa_id: string; - identifiers: ({ + identifiers: { type: string; value: string; - })[]; + }[]; published_at: string; - references: ({ + references: { /** Format: uri */ url: string; - })[]; + }[]; severity: string; summary: string; updated_at: string; @@ -72930,21 +72930,21 @@ export interface components { score: number; vector_string: string | null; }; - cwes: ({ + cwes: { cwe_id: string; name: string; - })[]; + }[]; description: string; ghsa_id: string; - identifiers: ({ + identifiers: { type: string; value: string; - })[]; + }[]; published_at: string; - references: ({ + references: { /** Format: uri */ url: string; - })[]; + }[]; severity: string; summary: string; updated_at: string; @@ -73930,13 +73930,13 @@ export interface components { /** Format: uri */ html_url: string; node_id: string; - parents: ({ + parents: { /** Format: uri */ html_url: string; sha: string; /** Format: uri */ url: string; - })[]; + }[]; sha: string; /** Format: uri */ url: string; @@ -74267,7 +74267,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -74576,7 +74576,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -74885,7 +74885,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -75225,7 +75225,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -75534,7 +75534,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -75658,7 +75658,7 @@ export interface components { html_url: string; id: number; /** @description Custom labels for the job. Specified by the [`"runs-on"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML. */ - labels: (string)[]; + labels: string[]; name: string; node_id: string; run_attempt: number; @@ -75748,7 +75748,7 @@ export interface components { html_url: string; id: number; /** @description Custom labels for the job. Specified by the [`"runs-on"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML. */ - labels: (string)[]; + labels: string[]; name: string; node_id: string; run_attempt: number; @@ -75794,7 +75794,7 @@ export interface components { head_sha?: string; html_url?: string; id?: number; - labels?: (string)[]; + labels?: string[]; name?: string; node_id?: string; run_attempt?: number; @@ -75844,7 +75844,7 @@ export interface components { /** Format: uri */ html_url: string; id: number; - labels: (string)[]; + labels: string[]; name: string; node_id: string; run_attempt: number; @@ -75898,7 +75898,7 @@ export interface components { /** Format: uri */ html_url: string; id: number; - labels: (string)[]; + labels: string[]; name: string; node_id: string; run_attempt: number; @@ -76183,7 +76183,7 @@ export interface components { path: string; /** Format: uri */ previous_attempt_url: string | null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -76210,12 +76210,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; /** Repository Lite */ repository: { /** Format: uri-template */ @@ -76516,11 +76516,11 @@ export interface components { path?: string; previous_attempt_url?: string | null; pull_requests?: (Record | null)[]; - referenced_workflows?: ({ + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -76870,7 +76870,7 @@ export interface components { path: string; /** Format: uri */ previous_attempt_url: string | null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -76897,12 +76897,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; /** Repository Lite */ repository: { /** Format: uri-template */ @@ -77203,11 +77203,11 @@ export interface components { path?: string; previous_attempt_url?: string | null; pull_requests?: (Record | null)[]; - referenced_workflows?: ({ + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -77558,7 +77558,7 @@ export interface components { path: string; /** Format: uri */ previous_attempt_url: string | null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -77585,12 +77585,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; /** Repository Lite */ repository: { /** Format: uri-template */ @@ -77870,7 +77870,7 @@ export interface components { content: { "application/json": { total_count: number; - labels: (components["schemas"]["runner-label"])[]; + labels: components["schemas"]["runner-label"][]; }; }; }; @@ -77879,7 +77879,7 @@ export interface components { content: { "application/json": { total_count: number; - labels: (components["schemas"]["runner-label"])[]; + labels: components["schemas"]["runner-label"][]; }; }; }; @@ -78079,7 +78079,7 @@ export interface components { /** @description The property by which to sort the results. */ "personal-access-token-sort"?: "created_at"; /** @description A list of owner usernames to use to filter the results. */ - "personal-access-token-owner"?: (string)[]; + "personal-access-token-owner"?: string[]; /** @description The name of the repository to use to filter the results. */ "personal-access-token-repository"?: string; /** @description The permission to use to filter the results. */ @@ -78376,7 +78376,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["hook-delivery-item"])[]; + "application/json": components["schemas"]["hook-delivery-item"][]; }; }; 400: components["responses"]["bad_request"]; @@ -78439,7 +78439,7 @@ export interface operations { /** @description List of integration installation requests */ 200: { content: { - "application/json": (components["schemas"]["integration-installation-request"])[]; + "application/json": components["schemas"]["integration-installation-request"][]; }; }; 304: components["responses"]["not_modified"]; @@ -78468,7 +78468,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["installation"])[]; + "application/json": components["schemas"]["installation"][]; }; }; }; @@ -78529,9 +78529,9 @@ export interface operations { content: { "application/json": { /** @description List of repository names that the token should have access to */ - repositories?: (string)[]; + repositories?: string[]; /** @description List of repository IDs that the token should have access to */ - repository_ids?: (number)[]; + repository_ids?: number[]; permissions?: components["schemas"]["app-permissions"]; }; }; @@ -78711,9 +78711,9 @@ export interface operations { /** @description The ID of the user or organization to scope the user access token to. **Required** unless `target` is specified. */ target_id?: number; /** @description The list of repository names to scope the user access token to. `repositories` may not be specified if `repository_ids` is specified. */ - repositories?: (string)[]; + repositories?: string[]; /** @description The list of repository IDs to scope the user access token to. `repository_ids` may not be specified if `repositories` is specified. */ - repository_ids?: (number)[]; + repository_ids?: number[]; permissions?: components["schemas"]["app-permissions"]; }; }; @@ -78763,7 +78763,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-of-conduct"])[]; + "application/json": components["schemas"]["code-of-conduct"][]; }; }; 304: components["responses"]["not_modified"]; @@ -78838,7 +78838,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["dependabot-alert-with-repository"])[]; + "application/json": components["schemas"]["dependabot-alert-with-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -78875,7 +78875,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-secret-scanning-alert"])[]; + "application/json": components["schemas"]["organization-secret-scanning-alert"][]; }; }; 404: components["responses"]["not_found"]; @@ -78897,7 +78897,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; 304: components["responses"]["not_modified"]; @@ -78948,7 +78948,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["base-gist"])[]; + "application/json": components["schemas"]["base-gist"][]; }; }; 304: components["responses"]["not_modified"]; @@ -79016,7 +79016,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["base-gist"])[]; + "application/json": components["schemas"]["base-gist"][]; }; }; 304: components["responses"]["not_modified"]; @@ -79043,7 +79043,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["base-gist"])[]; + "application/json": components["schemas"]["base-gist"][]; }; }; 304: components["responses"]["not_modified"]; @@ -79146,7 +79146,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["gist-comment"])[]; + "application/json": components["schemas"]["gist-comment"][]; }; }; 304: components["responses"]["not_modified"]; @@ -79266,7 +79266,7 @@ export interface operations { Link?: string; }; content: { - "application/json": (components["schemas"]["gist-commit"])[]; + "application/json": components["schemas"]["gist-commit"][]; }; }; 304: components["responses"]["not_modified"]; @@ -79292,7 +79292,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["gist-simple"])[]; + "application/json": components["schemas"]["gist-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -79406,7 +79406,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 304: components["responses"]["not_modified"]; @@ -79455,7 +79455,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["repository"])[]; + repositories: components["schemas"]["repository"][]; repository_selection?: string; }; }; @@ -79518,7 +79518,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue"])[]; + "application/json": components["schemas"]["issue"][]; }; }; 304: components["responses"]["not_modified"]; @@ -79539,7 +79539,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["license-simple"])[]; + "application/json": components["schemas"]["license-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -79670,7 +79670,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["marketplace-listing-plan"])[]; + "application/json": components["schemas"]["marketplace-listing-plan"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -79703,7 +79703,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["marketplace-purchase"])[]; + "application/json": components["schemas"]["marketplace-purchase"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -79755,7 +79755,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["marketplace-listing-plan"])[]; + "application/json": components["schemas"]["marketplace-listing-plan"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -79787,7 +79787,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["marketplace-purchase"])[]; + "application/json": components["schemas"]["marketplace-purchase"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -79830,7 +79830,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -79862,7 +79862,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["thread"])[]; + "application/json": components["schemas"]["thread"][]; }; }; 304: components["responses"]["not_modified"]; @@ -80064,7 +80064,7 @@ export interface operations { Link?: string; }; content: { - "application/json": (components["schemas"]["organization-simple"])[]; + "application/json": components["schemas"]["organization-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -80316,7 +80316,7 @@ export interface operations { content: { "application/json": { total_count: number; - repository_cache_usages: (components["schemas"]["actions-cache-usage-by-repository"])[]; + repository_cache_usages: components["schemas"]["actions-cache-usage-by-repository"][]; }; }; }; @@ -80439,7 +80439,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["repository"])[]; + repositories: components["schemas"]["repository"][]; }; }; }; @@ -80461,7 +80461,7 @@ export interface operations { content: { "application/json": { /** @description List of repository IDs to enable for GitHub Actions. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -80621,7 +80621,7 @@ export interface operations { content: { "application/json": { total_count: number; - runners: (components["schemas"]["runner"])[]; + runners: components["schemas"]["runner"][]; }; }; }; @@ -80643,7 +80643,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["runner-application"])[]; + "application/json": components["schemas"]["runner-application"][]; }; }; }; @@ -80668,7 +80668,7 @@ export interface operations { /** @description The ID of the runner group to register the runner to. */ runner_group_id: number; /** @description The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. */ - labels: (string)[]; + labels: string[]; /** * @description The working directory to be used for job execution, relative to the runner install directory. * @default _work @@ -80818,7 +80818,7 @@ export interface operations { content: { "application/json": { /** @description The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. */ - labels: (string)[]; + labels: string[]; }; }; }; @@ -80845,7 +80845,7 @@ export interface operations { content: { "application/json": { /** @description The names of the custom labels to add to the runner. */ - labels: (string)[]; + labels: string[]; }; }; }; @@ -80921,7 +80921,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["organization-actions-secret"])[]; + secrets: components["schemas"]["organization-actions-secret"][]; }; }; }; @@ -81065,7 +81065,7 @@ export interface operations { */ visibility: "all" | "private" | "selected"; /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids?: (number)[]; + selected_repository_ids?: number[]; }; }; }; @@ -81117,7 +81117,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -81138,7 +81138,7 @@ export interface operations { content: { "application/json": { /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -81208,7 +81208,7 @@ export interface operations { content: { "application/json": { total_count: number; - variables: (components["schemas"]["organization-actions-variable"])[]; + variables: components["schemas"]["organization-actions-variable"][]; }; }; }; @@ -81239,7 +81239,7 @@ export interface operations { */ visibility: "all" | "private" | "selected"; /** @description An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. */ - selected_repository_ids?: (number)[]; + selected_repository_ids?: number[]; }; }; }; @@ -81316,7 +81316,7 @@ export interface operations { */ visibility?: "all" | "private" | "selected"; /** @description An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. */ - selected_repository_ids?: (number)[]; + selected_repository_ids?: number[]; }; }; }; @@ -81346,7 +81346,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -81369,7 +81369,7 @@ export interface operations { content: { "application/json": { /** @description The IDs of the repositories that can access the organization variable. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -81436,7 +81436,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -81534,7 +81534,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["code-scanning-organization-alert-items"])[]; + "application/json": components["schemas"]["code-scanning-organization-alert-items"][]; }; }; 404: components["responses"]["not_found"]; @@ -81563,7 +81563,7 @@ export interface operations { content: { "application/json": { total_count: number; - codespaces: (components["schemas"]["codespace"])[]; + codespaces: components["schemas"]["codespace"][]; }; }; }; @@ -81595,7 +81595,7 @@ export interface operations { */ visibility: "disabled" | "selected_members" | "all_members" | "all_members_and_outside_collaborators"; /** @description The usernames of the organization members who should have access to codespaces in the organization. Required when `visibility` is `selected_members`. The provided list of usernames will replace any existing value. */ - selected_usernames?: (string)[]; + selected_usernames?: string[]; }; }; }; @@ -81630,7 +81630,7 @@ export interface operations { content: { "application/json": { /** @description The usernames of the organization members whose codespaces be billed to the organization. */ - selected_usernames: (string)[]; + selected_usernames: string[]; }; }; }; @@ -81665,7 +81665,7 @@ export interface operations { content: { "application/json": { /** @description The usernames of the organization members whose codespaces should not be billed to the organization. */ - selected_usernames: (string)[]; + selected_usernames: string[]; }; }; }; @@ -81704,7 +81704,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["codespaces-org-secret"])[]; + secrets: components["schemas"]["codespaces-org-secret"][]; }; }; }; @@ -81851,7 +81851,7 @@ export interface operations { */ visibility: "all" | "private" | "selected"; /** @description An array of repository IDs that can access the organization secret. You can only provide a list of repository IDs when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids?: (number)[]; + selected_repository_ids?: number[]; }; }; }; @@ -81906,7 +81906,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -81928,7 +81928,7 @@ export interface operations { content: { "application/json": { /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -82016,7 +82016,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["dependabot-alert-with-repository"])[]; + "application/json": components["schemas"]["dependabot-alert-with-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -82049,7 +82049,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["organization-dependabot-secret"])[]; + secrets: components["schemas"]["organization-dependabot-secret"][]; }; }; }; @@ -82193,7 +82193,7 @@ export interface operations { */ visibility: "all" | "private" | "selected"; /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids?: (string)[]; + selected_repository_ids?: string[]; }; }; }; @@ -82245,7 +82245,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -82266,7 +82266,7 @@ export interface operations { content: { "application/json": { /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -82328,7 +82328,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -82350,7 +82350,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -82376,7 +82376,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-invitation"])[]; + "application/json": components["schemas"]["organization-invitation"][]; }; }; 404: components["responses"]["not_found"]; @@ -82400,7 +82400,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["org-hook"])[]; + "application/json": components["schemas"]["org-hook"][]; }; }; 404: components["responses"]["not_found"]; @@ -82436,7 +82436,7 @@ export interface operations { * "push" * ] */ - events?: (string)[]; + events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -82522,7 +82522,7 @@ export interface operations { * "push" * ] */ - events?: (string)[]; + events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -82617,7 +82617,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["hook-delivery-item"])[]; + "application/json": components["schemas"]["hook-delivery-item"][]; }; }; 400: components["responses"]["bad_request"]; @@ -82726,7 +82726,7 @@ export interface operations { content: { "application/json": { total_count: number; - installations: (components["schemas"]["installation"])[]; + installations: components["schemas"]["installation"][]; }; }; }; @@ -82816,7 +82816,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-invitation"])[]; + "application/json": components["schemas"]["organization-invitation"][]; }; }; 404: components["responses"]["not_found"]; @@ -82851,7 +82851,7 @@ export interface operations { */ role?: "admin" | "direct_member" | "billing_manager"; /** @description Specify IDs for the teams you want to invite new members to. */ - team_ids?: (number)[]; + team_ids?: number[]; }; }; }; @@ -82908,7 +82908,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 404: components["responses"]["not_found"]; @@ -82949,7 +82949,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue"])[]; + "application/json": components["schemas"]["issue"][]; }; }; 404: components["responses"]["not_found"]; @@ -82980,7 +82980,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -83046,7 +83046,7 @@ export interface operations { content: { "application/json": { total_count: number; - codespaces: (components["schemas"]["codespace"])[]; + codespaces: components["schemas"]["codespace"][]; }; }; }; @@ -83206,7 +83206,7 @@ export interface operations { per_page?: components["parameters"]["per-page"]; page?: components["parameters"]["page"]; /** @description Exclude attributes from the API response to improve performance */ - exclude?: ("repositories")[]; + exclude?: "repositories"[]; }; path: { org: components["parameters"]["org"]; @@ -83219,7 +83219,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["migration"])[]; + "application/json": components["schemas"]["migration"][]; }; }; }; @@ -83238,7 +83238,7 @@ export interface operations { content: { "application/json": { /** @description A list of arrays indicating which repositories should be migrated. */ - repositories: (string)[]; + repositories: string[]; /** * @description Indicates whether repositories should be locked (to prevent manipulation) while migrating data. * @default false @@ -83275,7 +83275,7 @@ export interface operations { */ org_metadata_only?: boolean; /** @description Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `"repositories"`. */ - exclude?: ("repositories")[]; + exclude?: "repositories"[]; }; }; }; @@ -83305,7 +83305,7 @@ export interface operations { parameters: { query?: { /** @description Exclude attributes from the API response to improve performance */ - exclude?: ("repositories")[]; + exclude?: "repositories"[]; }; path: { org: components["parameters"]["org"]; @@ -83401,7 +83401,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 404: components["responses"]["not_found"]; @@ -83430,7 +83430,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -83521,7 +83521,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 400: components["responses"]["package_es_list_error"]; @@ -83632,7 +83632,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package-version"])[]; + "application/json": components["schemas"]["package-version"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -83749,7 +83749,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-programmatic-access-grant-request"])[]; + "application/json": components["schemas"]["organization-programmatic-access-grant-request"][]; }; }; 403: components["responses"]["forbidden"]; @@ -83775,7 +83775,7 @@ export interface operations { content: { "application/json": { /** @description Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values. */ - pat_request_ids?: (number)[]; + pat_request_ids?: number[]; /** * @description Action to apply to the requests. * @enum {string} @@ -83856,7 +83856,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 403: components["responses"]["forbidden"]; @@ -83895,7 +83895,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-programmatic-access-grant"])[]; + "application/json": components["schemas"]["organization-programmatic-access-grant"][]; }; }; 403: components["responses"]["forbidden"]; @@ -83926,7 +83926,7 @@ export interface operations { */ action: "revoke"; /** @description The IDs of the fine-grained personal access tokens. */ - pat_ids: (number)[]; + pat_ids: number[]; }; }; }; @@ -83997,7 +83997,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 403: components["responses"]["forbidden"]; @@ -84028,7 +84028,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project"])[]; + "application/json": components["schemas"]["project"][]; }; }; 422: components["responses"]["validation_failed_simple"]; @@ -84089,7 +84089,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -84176,7 +84176,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; }; @@ -84354,7 +84354,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository-ruleset"])[]; + "application/json": components["schemas"]["repository-ruleset"][]; }; }; 404: components["responses"]["not_found"]; @@ -84384,10 +84384,10 @@ export interface operations { target?: "branch" | "tag"; enforcement: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; conditions?: components["schemas"]["org-ruleset-conditions"]; /** @description An array of rules within the ruleset. */ - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; }; }; }; @@ -84450,10 +84450,10 @@ export interface operations { target?: "branch" | "tag"; enforcement?: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; conditions?: components["schemas"]["org-ruleset-conditions"]; /** @description An array of rules within the ruleset. */ - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; }; }; }; @@ -84519,7 +84519,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-secret-scanning-alert"])[]; + "application/json": components["schemas"]["organization-secret-scanning-alert"][]; }; }; 404: components["responses"]["not_found"]; @@ -84544,7 +84544,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team-simple"])[]; + "application/json": components["schemas"]["team-simple"][]; }; }; }; @@ -84681,7 +84681,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 403: components["responses"]["forbidden"]; @@ -84707,9 +84707,9 @@ export interface operations { /** @description The description of the team. */ description?: string; /** @description List GitHub IDs for organization members who will become team maintainers. */ - maintainers?: (string)[]; + maintainers?: string[]; /** @description The full name (e.g., "organization-name/repository-name") of repositories to add the team to. */ - repo_names?: (string)[]; + repo_names?: string[]; /** * @description The level of privacy this team should have. The options are: * **For a non-nested team:** @@ -84888,7 +84888,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-discussion"])[]; + "application/json": components["schemas"]["team-discussion"][]; }; }; }; @@ -85033,7 +85033,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-discussion-comment"])[]; + "application/json": components["schemas"]["team-discussion-comment"][]; }; }; }; @@ -85175,7 +85175,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; }; @@ -85269,7 +85269,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; }; @@ -85358,7 +85358,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-invitation"])[]; + "application/json": components["schemas"]["organization-invitation"][]; }; }; }; @@ -85389,7 +85389,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -85522,7 +85522,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-project"])[]; + "application/json": components["schemas"]["team-project"][]; }; }; }; @@ -85634,7 +85634,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; }; @@ -85748,7 +85748,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; }; @@ -85823,7 +85823,7 @@ export interface operations { "application/json": { message?: string; documentation_url?: string; - errors?: (string)[]; + errors?: string[]; }; }; }; @@ -85893,12 +85893,12 @@ export interface operations { "application/json": { message?: string; documentation_url?: string; - errors?: ({ + errors?: { code?: string; message?: string; resource?: string; field?: string; - })[]; + }[]; }; }; }; @@ -85910,10 +85910,10 @@ export interface operations { code?: string; message?: string; documentation_url?: string; - errors?: ({ + errors?: { code?: string; message?: string; - })[]; + }[]; }; }; }; @@ -86010,7 +86010,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project-card"])[]; + "application/json": components["schemas"]["project-card"][]; }; }; 304: components["responses"]["not_modified"]; @@ -86061,10 +86061,10 @@ export interface operations { code?: string; message?: string; documentation_url?: string; - errors?: ({ + errors?: { code?: string; message?: string; - })[]; + }[]; }; }; }; @@ -86141,7 +86141,7 @@ export interface operations { "application/json": { message?: string; documentation_url?: string; - errors?: (string)[]; + errors?: string[]; }; }; }; @@ -86193,7 +86193,7 @@ export interface operations { "application/json": { message?: string; documentation_url?: string; - errors?: (string)[]; + errors?: string[]; }; }; }; @@ -86226,7 +86226,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -86336,7 +86336,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project-column"])[]; + "application/json": components["schemas"]["project-column"][]; }; }; 304: components["responses"]["not_modified"]; @@ -86660,7 +86660,7 @@ export interface operations { content: { "application/json": { total_count: number; - artifacts: (components["schemas"]["artifact"])[]; + artifacts: components["schemas"]["artifact"][]; }; }; }; @@ -86947,7 +86947,7 @@ export interface operations { /** @description Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored. */ use_default: boolean; /** @description Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. */ - include_claim_keys?: (string)[]; + include_claim_keys?: string[]; }; }; }; @@ -86987,7 +86987,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["actions-secret"])[]; + secrets: components["schemas"]["actions-secret"][]; }; }; }; @@ -87017,7 +87017,7 @@ export interface operations { content: { "application/json": { total_count: number; - variables: (components["schemas"]["actions-variable"])[]; + variables: components["schemas"]["actions-variable"][]; }; }; }; @@ -87242,7 +87242,7 @@ export interface operations { content: { "application/json": { total_count: number; - runners: (components["schemas"]["runner"])[]; + runners: components["schemas"]["runner"][]; }; }; }; @@ -87265,7 +87265,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["runner-application"])[]; + "application/json": components["schemas"]["runner-application"][]; }; }; }; @@ -87291,7 +87291,7 @@ export interface operations { /** @description The ID of the runner group to register the runner to. */ runner_group_id: number; /** @description The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. */ - labels: (string)[]; + labels: string[]; /** * @description The working directory to be used for job execution, relative to the runner install directory. * @default _work @@ -87448,7 +87448,7 @@ export interface operations { content: { "application/json": { /** @description The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. */ - labels: (string)[]; + labels: string[]; }; }; }; @@ -87477,7 +87477,7 @@ export interface operations { content: { "application/json": { /** @description The names of the custom labels to add to the runner. */ - labels: (string)[]; + labels: string[]; }; }; }; @@ -87568,7 +87568,7 @@ export interface operations { content: { "application/json": { total_count: number; - workflow_runs: (components["schemas"]["workflow-run"])[]; + workflow_runs: components["schemas"]["workflow-run"][]; }; }; }; @@ -87633,7 +87633,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["environment-approvals"])[]; + "application/json": components["schemas"]["environment-approvals"][]; }; }; }; @@ -87688,7 +87688,7 @@ export interface operations { content: { "application/json": { total_count: number; - artifacts: (components["schemas"]["artifact"])[]; + artifacts: components["schemas"]["artifact"][]; }; }; }; @@ -87748,7 +87748,7 @@ export interface operations { content: { "application/json": { total_count: number; - jobs: (components["schemas"]["job"])[]; + jobs: components["schemas"]["job"][]; }; }; }; @@ -87852,7 +87852,7 @@ export interface operations { content: { "application/json": { total_count: number; - jobs: (components["schemas"]["job"])[]; + jobs: components["schemas"]["job"][]; }; }; }; @@ -87915,7 +87915,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["pending-deployment"])[]; + "application/json": components["schemas"]["pending-deployment"][]; }; }; }; @@ -87938,7 +87938,7 @@ export interface operations { content: { "application/json": { /** @description The list of environment ids to approve or reject */ - environment_ids: (number)[]; + environment_ids: number[]; /** * @description Whether to approve or reject deployment to the specified environments. * @enum {string} @@ -87953,7 +87953,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["deployment"])[]; + "application/json": components["schemas"]["deployment"][]; }; }; }; @@ -88069,7 +88069,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["actions-secret"])[]; + secrets: components["schemas"]["actions-secret"][]; }; }; }; @@ -88265,7 +88265,7 @@ export interface operations { content: { "application/json": { total_count: number; - variables: (components["schemas"]["actions-variable"])[]; + variables: components["schemas"]["actions-variable"][]; }; }; }; @@ -88396,7 +88396,7 @@ export interface operations { content: { "application/json": { total_count: number; - workflows: (components["schemas"]["workflow"])[]; + workflows: components["schemas"]["workflow"][]; }; }; }; @@ -88529,7 +88529,7 @@ export interface operations { content: { "application/json": { total_count: number; - workflow_runs: (components["schemas"]["workflow-run"])[]; + workflow_runs: components["schemas"]["workflow-run"][]; }; }; }; @@ -88580,7 +88580,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 404: components["responses"]["not_found"]; @@ -88633,7 +88633,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["autolink"])[]; + "application/json": components["schemas"]["autolink"][]; }; }; }; @@ -88775,7 +88775,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["short-branch"])[]; + "application/json": components["schemas"]["short-branch"][]; }; }; 404: components["responses"]["not_found"]; @@ -88852,14 +88852,14 @@ export interface operations { * @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. */ - contexts: (string)[]; + contexts: string[]; /** @description The list of status checks to require in order to merge into this branch. */ - checks?: ({ + checks?: { /** @description The name of the required check */ context: string; /** @description The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. */ app_id?: number; - })[]; + }[]; } | null; /** @description Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. */ enforce_admins: boolean | null; @@ -88868,11 +88868,11 @@ export interface operations { /** @description Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. */ dismissal_restrictions?: { /** @description The list of user `login`s with dismissal access */ - users?: (string)[]; + users?: string[]; /** @description The list of team `slug`s with dismissal access */ - teams?: (string)[]; + teams?: string[]; /** @description The list of app `slug`s with dismissal access */ - apps?: (string)[]; + apps?: string[]; }; /** @description Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. */ dismiss_stale_reviews?: boolean; @@ -88888,21 +88888,21 @@ export interface operations { /** @description Allow specific users, teams, or apps to bypass pull request requirements. */ bypass_pull_request_allowances?: { /** @description The list of user `login`s allowed to bypass pull request requirements. */ - users?: (string)[]; + users?: string[]; /** @description The list of team `slug`s allowed to bypass pull request requirements. */ - teams?: (string)[]; + teams?: string[]; /** @description The list of app `slug`s allowed to bypass pull request requirements. */ - apps?: (string)[]; + apps?: string[]; }; } | null; /** @description Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. */ restrictions: { /** @description The list of user `login`s with push access */ - users: (string)[]; + users: string[]; /** @description The list of team `slug`s with push access */ - teams: (string)[]; + teams: string[]; /** @description The list of app `slug`s with push access */ - apps?: (string)[]; + apps?: string[]; } | null; /** @description Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)" in the GitHub Help documentation. */ required_linear_history?: boolean; @@ -89082,11 +89082,11 @@ export interface operations { /** @description Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. */ dismissal_restrictions?: { /** @description The list of user `login`s with dismissal access */ - users?: (string)[]; + users?: string[]; /** @description The list of team `slug`s with dismissal access */ - teams?: (string)[]; + teams?: string[]; /** @description The list of app `slug`s with dismissal access */ - apps?: (string)[]; + apps?: string[]; }; /** @description Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. */ dismiss_stale_reviews?: boolean; @@ -89102,11 +89102,11 @@ export interface operations { /** @description Allow specific users, teams, or apps to bypass pull request requirements. */ bypass_pull_request_allowances?: { /** @description The list of user `login`s allowed to bypass pull request requirements. */ - users?: (string)[]; + users?: string[]; /** @description The list of team `slug`s allowed to bypass pull request requirements. */ - teams?: (string)[]; + teams?: string[]; /** @description The list of app `slug`s allowed to bypass pull request requirements. */ - apps?: (string)[]; + apps?: string[]; }; }; }; @@ -89253,14 +89253,14 @@ export interface operations { * @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. */ - contexts?: (string)[]; + contexts?: string[]; /** @description The list of status checks to require in order to merge into this branch. */ - checks?: ({ + checks?: { /** @description The name of the required check */ context: string; /** @description The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. */ app_id?: number; - })[]; + }[]; }; }; }; @@ -89291,7 +89291,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 404: components["responses"]["not_found"]; @@ -89313,15 +89313,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The name of the status checks */ - contexts: (string)[]; - }, (string)[]]>; + contexts: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 404: components["responses"]["not_found"]; @@ -89344,15 +89344,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The name of the status checks */ - contexts: (string)[]; - }, (string)[]]>; + contexts: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 403: components["responses"]["forbidden"]; @@ -89376,15 +89376,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The name of the status checks */ - contexts: (string)[]; - }, (string)[]]>; + contexts: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 404: components["responses"]["not_found"]; @@ -89454,7 +89454,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["integration"])[]; + "application/json": components["schemas"]["integration"][]; }; }; 404: components["responses"]["not_found"]; @@ -89478,15 +89478,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @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)[]]>; + apps: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["integration"])[]; + "application/json": components["schemas"]["integration"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -89510,15 +89510,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @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)[]]>; + apps: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["integration"])[]; + "application/json": components["schemas"]["integration"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -89542,15 +89542,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @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)[]]>; + apps: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["integration"])[]; + "application/json": components["schemas"]["integration"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -89574,7 +89574,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 404: components["responses"]["not_found"]; @@ -89598,15 +89598,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The slug values for teams */ - teams: (string)[]; - }, (string)[]]>; + teams: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -89630,15 +89630,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The slug values for teams */ - teams: (string)[]; - }, (string)[]]>; + teams: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -89662,15 +89662,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The slug values for teams */ - teams: (string)[]; - }, (string)[]]>; + teams: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -89694,7 +89694,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 404: components["responses"]["not_found"]; @@ -89722,15 +89722,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The username for users */ - users: (string)[]; - }, (string)[]]>; + users: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -89758,15 +89758,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The username for users */ - users: (string)[]; - }, (string)[]]>; + users: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -89794,15 +89794,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The username for users */ - users: (string)[]; - }, (string)[]]>; + users: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -89991,24 +89991,24 @@ export interface operations { raw_details?: string; })[]; /** @description Adds images to the output displayed in the GitHub pull request UI. */ - images?: ({ + images?: { /** @description The alternative text for the image. */ alt: string; /** @description The full URL of the image. */ image_url: string; /** @description A short image description. */ caption?: string; - })[]; + }[]; }; /** @description Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://docs.github.com/rest/reference/checks#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/reference/checks#check-runs-and-requested-actions)." */ - actions?: ({ + actions?: { /** @description The text to be displayed on a button in the web UI. The maximum size is 20 characters. */ label: string; /** @description A short explanation of what this action would do. The maximum size is 40 characters. */ description: string; /** @description A reference for the action on the integrator's system. The maximum size is 20 characters. */ identifier: string; - })[]; + }[]; }) & ({ /** @enum {unknown} */ status?: "completed"; @@ -90052,7 +90052,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["check-annotation"])[]; + "application/json": components["schemas"]["check-annotation"][]; }; }; }; @@ -90146,7 +90146,7 @@ export interface operations { content: { "application/json": { /** @description Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. */ - auto_trigger_checks?: ({ + auto_trigger_checks?: { /** @description The `id` of the GitHub App. */ app_id: number; /** @@ -90154,7 +90154,7 @@ export interface operations { * @default true */ setting: boolean; - })[]; + }[]; }; }; }; @@ -90221,7 +90221,7 @@ export interface operations { content: { "application/json": { total_count: number; - check_runs: (components["schemas"]["check-run"])[]; + check_runs: components["schemas"]["check-run"][]; }; }; }; @@ -90288,7 +90288,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-scanning-alert-items"])[]; + "application/json": components["schemas"]["code-scanning-alert-items"][]; }; }; 304: components["responses"]["not_modified"]; @@ -90379,7 +90379,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-scanning-alert-instance"])[]; + "application/json": components["schemas"]["code-scanning-alert-instance"][]; }; }; 403: components["responses"]["code_scanning_forbidden_read"]; @@ -90431,7 +90431,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-scanning-analysis"])[]; + "application/json": components["schemas"]["code-scanning-analysis"][]; }; }; 403: components["responses"]["code_scanning_forbidden_read"]; @@ -90598,7 +90598,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-scanning-codeql-database"])[]; + "application/json": components["schemas"]["code-scanning-codeql-database"][]; }; }; 403: components["responses"]["code_scanning_forbidden_read"]; @@ -90868,7 +90868,7 @@ export interface operations { content: { "application/json": { total_count: number; - codespaces: (components["schemas"]["codespace"])[]; + codespaces: components["schemas"]["codespace"][]; }; }; }; @@ -90970,11 +90970,11 @@ export interface operations { content: { "application/json": { total_count: number; - devcontainers: ({ + devcontainers: { path: string; name?: string; display_name?: string; - })[]; + }[]; }; }; }; @@ -91012,7 +91012,7 @@ export interface operations { content: { "application/json": { total_count: number; - machines: (components["schemas"]["codespace-machine"])[]; + machines: components["schemas"]["codespace-machine"][]; }; }; }; @@ -91086,7 +91086,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["repo-codespaces-secret"])[]; + secrets: components["schemas"]["repo-codespaces-secret"][]; }; }; }; @@ -91291,7 +91291,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["collaborator"])[]; + "application/json": components["schemas"]["collaborator"][]; }; }; 404: components["responses"]["not_found"]; @@ -91474,7 +91474,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["commit-comment"])[]; + "application/json": components["schemas"]["commit-comment"][]; }; }; }; @@ -91565,7 +91565,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -91690,7 +91690,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["commit"])[]; + "application/json": components["schemas"]["commit"][]; }; }; 400: components["responses"]["bad_request"]; @@ -91717,7 +91717,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["branch-short"])[]; + "application/json": components["schemas"]["branch-short"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -91746,7 +91746,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["commit-comment"])[]; + "application/json": components["schemas"]["commit-comment"][]; }; }; }; @@ -91819,7 +91819,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-simple"])[]; + "application/json": components["schemas"]["pull-request-simple"][]; }; }; }; @@ -91920,7 +91920,7 @@ export interface operations { content: { "application/json": { total_count: number; - check_runs: (components["schemas"]["check-run"])[]; + check_runs: components["schemas"]["check-run"][]; }; }; }; @@ -91959,7 +91959,7 @@ export interface operations { content: { "application/json": { total_count: number; - check_suites: (components["schemas"]["check-suite"])[]; + check_suites: components["schemas"]["check-suite"][]; }; }; }; @@ -92023,7 +92023,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["status"])[]; + "application/json": components["schemas"]["status"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -92349,7 +92349,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["contributor"])[]; + "application/json": components["schemas"]["contributor"][]; }; }; /** @description Response if repository is empty */ @@ -92399,7 +92399,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["dependabot-alert"])[]; + "application/json": components["schemas"]["dependabot-alert"][]; }; }; 304: components["responses"]["not_modified"]; @@ -92508,7 +92508,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["dependabot-secret"])[]; + secrets: components["schemas"]["dependabot-secret"][]; }; }; }; @@ -92799,7 +92799,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["deployment"])[]; + "application/json": components["schemas"]["deployment"][]; }; }; }; @@ -92875,7 +92875,7 @@ export interface operations { */ auto_merge?: boolean; /** @description The [status](https://docs.github.com/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts. */ - required_contexts?: (string)[]; + required_contexts?: string[]; payload?: OneOf<[{ [key: string]: unknown; }, string]>; @@ -92987,7 +92987,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["deployment-status"])[]; + "application/json": components["schemas"]["deployment-status"][]; }; }; 404: components["responses"]["not_found"]; @@ -93144,7 +93144,7 @@ export interface operations { "application/json": { /** @description The number of environments in this repository */ total_count?: number; - environments?: (components["schemas"]["environment"])[]; + environments?: components["schemas"]["environment"][]; }; }; }; @@ -93198,11 +93198,11 @@ export interface operations { "application/json": ({ wait_timer?: components["schemas"]["wait-timer"]; /** @description The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. */ - reviewers?: ({ + reviewers?: { type?: components["schemas"]["deployment-reviewer-type"]; /** @description The id of the user or team who can review the deployment */ id?: number; - })[] | null; + }[] | null; deployment_branch_policy?: components["schemas"]["deployment-branch-policy-settings"]; }) | null; }; @@ -93264,7 +93264,7 @@ export interface operations { "application/json": { /** @description The number of deployment branch policies for the environment. */ total_count: number; - branch_policies: (components["schemas"]["deployment-branch-policy"])[]; + branch_policies: components["schemas"]["deployment-branch-policy"][]; }; }; }; @@ -93396,7 +93396,7 @@ export interface operations { "application/json": { /** @description The number of enabled custom deployment protection rules for this environment */ total_count?: number; - custom_deployment_protection_rules?: (components["schemas"]["deployment-protection-rule"])[]; + custom_deployment_protection_rules?: components["schemas"]["deployment-protection-rule"][]; }; }; }; @@ -93462,7 +93462,7 @@ export interface operations { "application/json": { /** @description The total number of custom deployment protection rule integrations available for this environment. */ total_count?: number; - available_custom_deployment_protection_rule_integrations?: (components["schemas"]["custom-deployment-rule-app"])[]; + available_custom_deployment_protection_rule_integrations?: components["schemas"]["custom-deployment-rule-app"][]; }; }; }; @@ -93531,7 +93531,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -93557,7 +93557,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 400: components["responses"]["bad_request"]; @@ -93715,7 +93715,7 @@ export interface operations { /** @description The SHA of the tree object this commit points to */ tree: string; /** @description The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. */ - parents?: (string)[]; + parents?: string[]; /** @description Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. */ author?: { /** @description The name of the author (or committer) of the commit */ @@ -93838,7 +93838,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["git-ref"])[]; + "application/json": components["schemas"]["git-ref"][]; }; }; }; @@ -94208,7 +94208,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["hook"])[]; + "application/json": components["schemas"]["hook"][]; }; }; 404: components["responses"]["not_found"]; @@ -94246,7 +94246,7 @@ export interface operations { * "push" * ] */ - events?: (string)[]; + events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -94338,11 +94338,11 @@ export interface operations { * "push" * ] */ - events?: (string)[]; + events?: string[]; /** @description Determines a list of events to be added to the list of events that the Hook triggers for. */ - add_events?: (string)[]; + add_events?: string[]; /** @description Determines a list of events to be removed from the list of events that the Hook triggers for. */ - remove_events?: (string)[]; + remove_events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -94439,7 +94439,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["hook-delivery-item"])[]; + "application/json": components["schemas"]["hook-delivery-item"][]; }; }; 400: components["responses"]["bad_request"]; @@ -94725,7 +94725,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["porter-author"])[]; + "application/json": components["schemas"]["porter-author"][]; }; }; 404: components["responses"]["not_found"]; @@ -94790,7 +94790,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["porter-large-file"])[]; + "application/json": components["schemas"]["porter-large-file"][]; }; }; 503: components["responses"]["porter_maintenance"]; @@ -94948,7 +94948,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["repository-invitation"])[]; + "application/json": components["schemas"]["repository-invitation"][]; }; }; }; @@ -95038,7 +95038,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue"])[]; + "application/json": components["schemas"]["issue"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -95077,7 +95077,7 @@ export interface operations { color?: string | null; }]>)[]; /** @description Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ */ - assignees?: (string)[]; + assignees?: string[]; }; }; }; @@ -95128,7 +95128,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue-comment"])[]; + "application/json": components["schemas"]["issue-comment"][]; }; }; 404: components["responses"]["not_found"]; @@ -95229,7 +95229,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -95316,7 +95316,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue-event"])[]; + "application/json": components["schemas"]["issue-event"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -95421,7 +95421,7 @@ export interface operations { color?: string | null; }]>)[]; /** @description Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped. */ - assignees?: (string)[]; + assignees?: string[]; }; }; }; @@ -95456,7 +95456,7 @@ export interface operations { content: { "application/json": { /** @description Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._ */ - assignees?: (string)[]; + assignees?: string[]; }; }; }; @@ -95485,7 +95485,7 @@ export interface operations { content: { "application/json": { /** @description Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._ */ - assignees?: (string)[]; + assignees?: string[]; }; }; }; @@ -95552,7 +95552,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue-comment"])[]; + "application/json": components["schemas"]["issue-comment"][]; }; }; 404: components["responses"]["not_found"]; @@ -95626,7 +95626,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue-event-for-issue"])[]; + "application/json": components["schemas"]["issue-event-for-issue"][]; }; }; 410: components["responses"]["gone"]; @@ -95655,7 +95655,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -95679,21 +95679,21 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see "[Add labels to an issue](https://docs.github.com/rest/reference/issues#add-labels-to-an-issue)." */ - labels?: (string)[]; - }, (string)[], { - labels?: ({ + labels?: string[]; + }, string[], { + labels?: { name: string; - })[]; - }, ({ + }[]; + }, { name: string; - })[], string]>; + }[], string]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -95718,21 +95718,21 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see "[Set labels for an issue](https://docs.github.com/rest/reference/issues#set-labels-for-an-issue)." */ - labels?: (string)[]; - }, (string)[], { - labels?: ({ + labels?: string[]; + }, string[], { + labels?: { name: string; - })[]; - }, ({ + }[]; + }, { name: string; - })[], string]>; + }[], string]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -95778,7 +95778,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -95868,7 +95868,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -95957,7 +95957,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["timeline-issue-events"])[]; + "application/json": components["schemas"]["timeline-issue-events"][]; }; }; 404: components["responses"]["not_found"]; @@ -95983,7 +95983,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["deploy-key"])[]; + "application/json": components["schemas"]["deploy-key"][]; }; }; }; @@ -96087,7 +96087,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 404: components["responses"]["not_found"]; @@ -96381,7 +96381,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["milestone"])[]; + "application/json": components["schemas"]["milestone"][]; }; }; 404: components["responses"]["not_found"]; @@ -96536,7 +96536,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; }; @@ -96567,7 +96567,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["thread"])[]; + "application/json": components["schemas"]["thread"][]; }; }; }; @@ -96767,7 +96767,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["page-build"])[]; + "application/json": components["schemas"]["page-build"][]; }; }; }; @@ -96943,7 +96943,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project"])[]; + "application/json": components["schemas"]["project"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -97020,7 +97020,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-simple"])[]; + "application/json": components["schemas"]["pull-request-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -97111,7 +97111,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-review-comment"])[]; + "application/json": components["schemas"]["pull-request-review-comment"][]; }; }; }; @@ -97210,7 +97210,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -97449,7 +97449,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-review-comment"])[]; + "application/json": components["schemas"]["pull-request-review-comment"][]; }; }; }; @@ -97586,7 +97586,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["commit"])[]; + "application/json": components["schemas"]["commit"][]; }; }; }; @@ -97614,7 +97614,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["diff-entry"])[]; + "application/json": components["schemas"]["diff-entry"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -97742,9 +97742,9 @@ export interface operations { content: { "application/json": { /** @description An array of user `login`s that will be requested. */ - reviewers?: (string)[]; + reviewers?: string[]; /** @description An array of team `slug`s that will be requested. */ - team_reviewers?: (string)[]; + team_reviewers?: string[]; }; }; }; @@ -97776,9 +97776,9 @@ export interface operations { content: { "application/json": { /** @description An array of user `login`s that will be removed. */ - reviewers: (string)[]; + reviewers: string[]; /** @description An array of team `slug`s that will be removed. */ - team_reviewers?: (string)[]; + team_reviewers?: string[]; }; }; }; @@ -97815,7 +97815,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-review"])[]; + "application/json": components["schemas"]["pull-request-review"][]; }; }; }; @@ -97851,7 +97851,7 @@ export interface operations { */ event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; /** @description Use the following table to specify the location, destination, and contents of the draft review comment. */ - comments?: ({ + comments?: { /** @description The relative path to the file that necessitates a review comment. */ path: string; /** @description 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. For help finding the position value, read the note below. */ @@ -97862,7 +97862,7 @@ export interface operations { side?: string; start_line?: number; start_side?: string; - })[]; + }[]; }; }; }; @@ -97979,7 +97979,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["review-comment"])[]; + "application/json": components["schemas"]["review-comment"][]; }; }; 404: components["responses"]["not_found"]; @@ -98173,7 +98173,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["release"])[]; + "application/json": components["schemas"]["release"][]; }; }; 404: components["responses"]["not_found"]; @@ -98511,7 +98511,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["release-asset"])[]; + "application/json": components["schemas"]["release-asset"][]; }; }; }; @@ -98591,7 +98591,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -98678,7 +98678,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository-rule"])[]; + "application/json": components["schemas"]["repository-rule"][]; }; }; }; @@ -98704,7 +98704,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository-ruleset"])[]; + "application/json": components["schemas"]["repository-ruleset"][]; }; }; 404: components["responses"]["not_found"]; @@ -98735,10 +98735,10 @@ export interface operations { target?: "branch" | "tag"; enforcement: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; conditions?: components["schemas"]["repository-ruleset-conditions"]; /** @description An array of rules within the ruleset. */ - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; }; }; }; @@ -98807,10 +98807,10 @@ export interface operations { target?: "branch" | "tag"; enforcement?: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; conditions?: components["schemas"]["repository-ruleset-conditions"]; /** @description An array of rules within the ruleset. */ - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; }; }; }; @@ -98875,7 +98875,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["secret-scanning-alert"])[]; + "application/json": components["schemas"]["secret-scanning-alert"][]; }; }; /** @description Repository is public or secret scanning is disabled for the repository */ @@ -98980,7 +98980,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["secret-scanning-location"])[]; + "application/json": components["schemas"]["secret-scanning-location"][]; }; }; /** @description Repository is public, or secret scanning is disabled for the repository, or the resource is not found */ @@ -99018,7 +99018,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository-advisory"])[]; + "application/json": components["schemas"]["repository-advisory"][]; }; }; 400: components["responses"]["bad_request"]; @@ -99176,7 +99176,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[] | (components["schemas"]["stargazer"])[]; + "application/json": components["schemas"]["simple-user"][] | components["schemas"]["stargazer"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -99197,7 +99197,7 @@ export interface operations { /** @description Returns a weekly aggregate of the number of additions and deletions pushed to a repository. */ 200: { content: { - "application/json": (components["schemas"]["code-frequency-stat"])[]; + "application/json": components["schemas"]["code-frequency-stat"][]; }; }; 202: components["responses"]["accepted"]; @@ -99219,7 +99219,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["commit-activity"])[]; + "application/json": components["schemas"]["commit-activity"][]; }; }; 202: components["responses"]["accepted"]; @@ -99247,7 +99247,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["contributor-activity"])[]; + "application/json": components["schemas"]["contributor-activity"][]; }; }; 202: components["responses"]["accepted"]; @@ -99300,7 +99300,7 @@ export interface operations { /** @description For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. */ 200: { content: { - "application/json": (components["schemas"]["code-frequency-stat"])[]; + "application/json": components["schemas"]["code-frequency-stat"][]; }; }; 204: components["responses"]["no_content"]; @@ -99379,7 +99379,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -99472,7 +99472,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["tag"])[]; + "application/json": components["schemas"]["tag"][]; }; }; }; @@ -99494,7 +99494,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["tag-protection"])[]; + "application/json": components["schemas"]["tag-protection"][]; }; }; 403: components["responses"]["forbidden"]; @@ -99602,7 +99602,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 404: components["responses"]["not_found"]; @@ -99642,7 +99642,7 @@ export interface operations { content: { "application/json": { /** @description An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. */ - names: (string)[]; + names: string[]; }; }; }; @@ -99696,7 +99696,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["content-traffic"])[]; + "application/json": components["schemas"]["content-traffic"][]; }; }; 403: components["responses"]["forbidden"]; @@ -99717,7 +99717,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["referrer-traffic"])[]; + "application/json": components["schemas"]["referrer-traffic"][]; }; }; 403: components["responses"]["forbidden"]; @@ -99766,7 +99766,7 @@ export interface operations { /** @description The new name to be given to the repository. */ new_name?: string; /** @description ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. */ - team_ids?: (number)[]; + team_ids?: number[]; }; }; }; @@ -99927,7 +99927,7 @@ export interface operations { Link?: string; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -99958,7 +99958,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["actions-secret"])[]; + secrets: components["schemas"]["actions-secret"][]; }; }; }; @@ -100154,7 +100154,7 @@ export interface operations { content: { "application/json": { total_count: number; - variables: (components["schemas"]["actions-variable"])[]; + variables: components["schemas"]["actions-variable"][]; }; }; }; @@ -100310,7 +100310,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["code-search-result-item"])[]; + items: components["schemas"]["code-search-result-item"][]; }; }; }; @@ -100350,7 +100350,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["commit-search-result-item"])[]; + items: components["schemas"]["commit-search-result-item"][]; }; }; }; @@ -100391,7 +100391,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["issue-search-result-item"])[]; + items: components["schemas"]["issue-search-result-item"][]; }; }; }; @@ -100434,7 +100434,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["label-search-result-item"])[]; + items: components["schemas"]["label-search-result-item"][]; }; }; }; @@ -100475,7 +100475,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["repo-search-result-item"])[]; + items: components["schemas"]["repo-search-result-item"][]; }; }; }; @@ -100512,7 +100512,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["topic-search-result-item"])[]; + items: components["schemas"]["topic-search-result-item"][]; }; }; }; @@ -100552,7 +100552,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["user-search-result-item"])[]; + items: components["schemas"]["user-search-result-item"][]; }; }; }; @@ -100697,7 +100697,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-discussion"])[]; + "application/json": components["schemas"]["team-discussion"][]; }; }; }; @@ -100842,7 +100842,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-discussion-comment"])[]; + "application/json": components["schemas"]["team-discussion-comment"][]; }; }; }; @@ -100984,7 +100984,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; }; @@ -101051,7 +101051,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; }; @@ -101114,7 +101114,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-invitation"])[]; + "application/json": components["schemas"]["organization-invitation"][]; }; }; }; @@ -101145,7 +101145,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 404: components["responses"]["not_found"]; @@ -101361,7 +101361,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-project"])[]; + "application/json": components["schemas"]["team-project"][]; }; }; 404: components["responses"]["not_found"]; @@ -101476,7 +101476,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 404: components["responses"]["not_found"]; @@ -101589,7 +101589,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 403: components["responses"]["forbidden"]; @@ -101672,7 +101672,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -101766,7 +101766,7 @@ export interface operations { content: { "application/json": { total_count: number; - codespaces: (components["schemas"]["codespace"])[]; + codespaces: components["schemas"]["codespace"][]; }; }; }; @@ -101888,7 +101888,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["codespaces-secret"])[]; + secrets: components["schemas"]["codespaces-secret"][]; }; }; }; @@ -102086,7 +102086,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -102114,7 +102114,7 @@ export interface operations { content: { "application/json": { /** @description An array of repository ids for which a codespace can access the secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-a-user-secret), [Add a selected repository to a user secret](https://docs.github.com/rest/reference/codespaces#add-a-selected-repository-to-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/rest/reference/codespaces#remove-a-selected-repository-from-a-user-secret) endpoints. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -102246,7 +102246,7 @@ export interface operations { /** @description Display name for this codespace */ display_name?: string; /** @description Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in. */ - recent_folders?: (string)[]; + recent_folders?: string[]; }; }; }; @@ -102337,7 +102337,7 @@ export interface operations { content: { "application/json": { total_count: number; - machines: (components["schemas"]["codespace-machine"])[]; + machines: components["schemas"]["codespace-machine"][]; }; }; }; @@ -102465,7 +102465,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; }; @@ -102490,7 +102490,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["email"])[]; + "application/json": components["schemas"]["email"][]; }; }; 304: components["responses"]["not_modified"]; @@ -102518,7 +102518,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["email"])[]; + "application/json": components["schemas"]["email"][]; }; }; 304: components["responses"]["not_modified"]; @@ -102536,15 +102536,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. */ - emails: (string)[]; - }, (string)[], string]>; + emails: string[]; + }, string[], string]>; }; }; responses: { /** @description Response */ 201: { content: { - "application/json": (components["schemas"]["email"])[]; + "application/json": components["schemas"]["email"][]; }; }; 304: components["responses"]["not_modified"]; @@ -102563,8 +102563,8 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description Email addresses associated with the GitHub user account. */ - emails: (string)[]; - }, (string)[], string]>; + emails: string[]; + }, string[], string]>; }; }; responses: { @@ -102595,7 +102595,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -102621,7 +102621,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -102708,7 +102708,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["gpg-key"])[]; + "application/json": components["schemas"]["gpg-key"][]; }; }; 304: components["responses"]["not_modified"]; @@ -102815,7 +102815,7 @@ export interface operations { content: { "application/json": { total_count: number; - installations: (components["schemas"]["installation"])[]; + installations: components["schemas"]["installation"][]; }; }; }; @@ -102854,7 +102854,7 @@ export interface operations { "application/json": { total_count: number; repository_selection?: string; - repositories: (components["schemas"]["repository"])[]; + repositories: components["schemas"]["repository"][]; }; }; }; @@ -102985,7 +102985,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue"])[]; + "application/json": components["schemas"]["issue"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103010,7 +103010,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["key"])[]; + "application/json": components["schemas"]["key"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103108,7 +103108,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["user-marketplace-purchase"])[]; + "application/json": components["schemas"]["user-marketplace-purchase"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103134,7 +103134,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["user-marketplace-purchase"])[]; + "application/json": components["schemas"]["user-marketplace-purchase"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103161,7 +103161,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["org-membership"])[]; + "application/json": components["schemas"]["org-membership"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103242,7 +103242,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["migration"])[]; + "application/json": components["schemas"]["migration"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103276,8 +103276,8 @@ export interface operations { */ org_metadata_only?: boolean; /** @description Exclude attributes from the API response to improve performance */ - exclude?: ("repositories")[]; - repositories: (string)[]; + exclude?: "repositories"[]; + repositories: string[]; }; }; }; @@ -103308,7 +103308,7 @@ export interface operations { "migrations/get-status-for-authenticated-user": { parameters: { query?: { - exclude?: (string)[]; + exclude?: string[]; }; path: { migration_id: components["parameters"]["migration-id"]; @@ -103425,7 +103425,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 404: components["responses"]["not_found"]; @@ -103453,7 +103453,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-simple"])[]; + "application/json": components["schemas"]["organization-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103481,7 +103481,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 400: components["responses"]["package_es_list_error"]; @@ -103583,7 +103583,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package-version"])[]; + "application/json": components["schemas"]["package-version"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -103709,7 +103709,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["email"])[]; + "application/json": components["schemas"]["email"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103752,7 +103752,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository"])[]; + "application/json": components["schemas"]["repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103927,7 +103927,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["repository-invitation"])[]; + "application/json": components["schemas"]["repository-invitation"][]; }; }; 304: components["responses"]["not_modified"]; @@ -103986,7 +103986,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["social-account"])[]; + "application/json": components["schemas"]["social-account"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104004,7 +104004,7 @@ export interface operations { content: { "application/json": { /** @description Full URLs for the social media profiles to add. */ - account_urls: (string)[]; + account_urls: string[]; }; }; }; @@ -104012,7 +104012,7 @@ export interface operations { /** @description Response */ 201: { content: { - "application/json": (components["schemas"]["social-account"])[]; + "application/json": components["schemas"]["social-account"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104031,7 +104031,7 @@ export interface operations { content: { "application/json": { /** @description Full URLs for the social media profiles to delete. */ - account_urls: (string)[]; + account_urls: string[]; }; }; }; @@ -104063,7 +104063,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["ssh-signing-key"])[]; + "application/json": components["schemas"]["ssh-signing-key"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104165,8 +104165,8 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["repository"])[]; - "application/vnd.github.v3.star+json": (components["schemas"]["starred-repository"])[]; + "application/json": components["schemas"]["repository"][]; + "application/vnd.github.v3.star+json": components["schemas"]["starred-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104257,7 +104257,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104283,7 +104283,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-full"])[]; + "application/json": components["schemas"]["team-full"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104312,7 +104312,7 @@ export interface operations { Link?: string; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104359,7 +104359,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -104384,7 +104384,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -104408,7 +104408,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -104428,7 +104428,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -104454,7 +104454,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -104480,7 +104480,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -104522,7 +104522,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["base-gist"])[]; + "application/json": components["schemas"]["base-gist"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -104549,7 +104549,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["gpg-key"])[]; + "application/json": components["schemas"]["gpg-key"][]; }; }; }; @@ -104630,7 +104630,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["key-simple"])[]; + "application/json": components["schemas"]["key-simple"][]; }; }; }; @@ -104658,7 +104658,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-simple"])[]; + "application/json": components["schemas"]["organization-simple"][]; }; }; }; @@ -104686,7 +104686,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 400: components["responses"]["package_es_list_error"]; @@ -104791,7 +104791,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package-version"])[]; + "application/json": components["schemas"]["package-version"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -104900,7 +104900,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project"])[]; + "application/json": components["schemas"]["project"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -104924,7 +104924,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -104944,7 +104944,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -104976,7 +104976,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; }; @@ -105071,7 +105071,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["social-account"])[]; + "application/json": components["schemas"]["social-account"][]; }; }; }; @@ -105097,7 +105097,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["ssh-signing-key"])[]; + "application/json": components["schemas"]["ssh-signing-key"][]; }; }; }; @@ -105127,7 +105127,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["starred-repository"])[] | (components["schemas"]["repository"])[]; + "application/json": components["schemas"]["starred-repository"][] | components["schemas"]["repository"][]; }; }; }; @@ -105153,7 +105153,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; }; @@ -105167,7 +105167,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 404: components["responses"]["not_found"]; diff --git a/packages/openapi-typescript/examples/github-api.ts b/packages/openapi-typescript/examples/github-api.ts index 399340f59..4f31fa17b 100644 --- a/packages/openapi-typescript/examples/github-api.ts +++ b/packages/openapi-typescript/examples/github-api.ts @@ -8353,7 +8353,7 @@ export interface components { * "deployment" * ] */ - events: (string)[]; + events: string[]; /** * @description The number of installations associated with the GitHub app * @example 5 @@ -8385,7 +8385,7 @@ export interface components { "validation-error-simple": { message: string; documentation_url: string; - errors?: (string)[]; + errors?: string[]; }; /** * Format: uri @@ -8486,7 +8486,7 @@ export interface components { detail?: string | null; status?: number; scimType?: string | null; - schemas?: (string)[]; + schemas?: string[]; }; /** * Validation Error @@ -8501,7 +8501,7 @@ export interface components { message?: string; code: string; index?: number; - value?: (string | null) | (number | null) | ((string)[] | null); + value?: (string | null) | (number | null) | (string[] | null); })[]; }; /** @@ -8945,7 +8945,7 @@ export interface components { /** @example Organization */ target_type: string; permissions: components["schemas"]["app-permissions"]; - events: (string)[]; + events: string[]; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -8960,7 +8960,7 @@ export interface components { * ".github/issue_TEMPLATE.md" * ] */ - single_file_paths?: (string)[]; + single_file_paths?: string[]; /** @example github-actions */ app_slug: string; suspended_by: components["schemas"]["nullable-simple-user"]; @@ -9195,7 +9195,7 @@ export interface components { * @example true */ is_template?: boolean; - topics?: (string)[]; + topics?: string[]; /** * @description Whether issues are enabled. * @default true @@ -9340,7 +9340,7 @@ export interface components { default_branch?: string; open_issues_count?: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues?: boolean; has_projects?: boolean; has_wiki?: boolean; @@ -9502,7 +9502,7 @@ export interface components { permissions?: components["schemas"]["app-permissions"]; /** @enum {string} */ repository_selection?: "all" | "selected"; - repositories?: (components["schemas"]["repository"])[]; + repositories?: components["schemas"]["repository"][]; /** @example README.md */ single_file?: string; /** @example true */ @@ -9513,7 +9513,7 @@ export interface components { * ".github/issue_TEMPLATE.md" * ] */ - single_file_paths?: (string)[]; + single_file_paths?: string[]; }; /** Scoped Installation */ "nullable-scoped-installation": ({ @@ -9533,7 +9533,7 @@ export interface components { * ".github/issue_TEMPLATE.md" * ] */ - single_file_paths?: (string)[]; + single_file_paths?: string[]; /** * Format: uri * @example https://api.github.com/users/octocat/repos @@ -9550,7 +9550,7 @@ export interface components { /** Format: uri */ url: string; /** @description A list of scopes that this authorization is in. */ - scopes: (string)[] | null; + scopes: string[] | null; token: string; token_last_eight: string | null; hashed_token: string | null; @@ -9677,7 +9677,7 @@ export interface components { /** @description A long-form Markdown-supported description of the advisory. */ readonly description: string; /** @description Vulnerable version range information for the advisory. */ - readonly vulnerabilities: readonly (components["schemas"]["dependabot-alert-security-vulnerability"])[]; + readonly vulnerabilities: readonly components["schemas"]["dependabot-alert-security-vulnerability"][]; /** * @description The severity of the advisory. * @enum {string} @@ -9691,12 +9691,12 @@ export interface components { readonly vector_string: string | null; }; /** @description Details for the advisory pertaining to Common Weakness Enumeration. */ - readonly cwes: readonly ({ + readonly cwes: readonly { /** @description The unique CWE ID. */ readonly cwe_id: string; /** @description The short, plain text name of the CWE. */ readonly name: string; - })[]; + }[]; /** @description Values that identify this advisory among security information sources. */ readonly identifiers: readonly ({ /** @@ -9708,13 +9708,13 @@ export interface components { readonly value: string; })[]; /** @description Links to additional advisory information. */ - readonly references: readonly ({ + readonly references: readonly { /** * Format: uri * @description The URL of the reference. */ readonly url: string; - })[]; + }[]; /** * Format: date-time * @description The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. @@ -10250,7 +10250,7 @@ export interface components { * "deployment" * ] */ - events: (string)[]; + events: string[]; /** * @description The number of installations associated with the GitHub app * @example 5 @@ -10355,7 +10355,7 @@ export interface components { default?: boolean; }]>)[]; assignee: components["schemas"]["nullable-simple-user"]; - assignees?: (components["schemas"]["simple-user"])[] | null; + assignees?: components["schemas"]["simple-user"][] | null; milestone: components["schemas"]["nullable-milestone"]; locked: boolean; active_lock_reason?: string | null; @@ -10495,7 +10495,7 @@ export interface components { * "https://github.com/organizations/github/octocat.private.atom?token=abc123" * ] */ - current_user_organization_urls?: (string)[]; + current_user_organization_urls?: string[]; /** @example https://github.com/security-advisories */ security_advisories_url?: string; /** @@ -10516,7 +10516,7 @@ export interface components { current_user_public?: components["schemas"]["link-with-type"]; current_user_actor?: components["schemas"]["link-with-type"]; current_user_organization?: components["schemas"]["link-with-type"]; - current_user_organizations?: (components["schemas"]["link-with-type"])[]; + current_user_organizations?: components["schemas"]["link-with-type"][]; repository_discussions?: components["schemas"]["link-with-type"]; repository_discussions_category?: components["schemas"]["link-with-type"]; }; @@ -10561,8 +10561,8 @@ export interface components { comments_url: string; owner?: components["schemas"]["simple-user"]; truncated?: boolean; - forks?: (unknown)[]; - history?: (unknown)[]; + forks?: unknown[]; + history?: unknown[]; }; /** * Public User @@ -10654,7 +10654,7 @@ export interface components { */ "gist-simple": { /** @deprecated */ - forks?: ({ + forks?: { id?: string; /** Format: uri */ url?: string; @@ -10663,9 +10663,9 @@ export interface components { created_at?: string; /** Format: date-time */ updated_at?: string; - })[] | null; + }[] | null; /** @deprecated */ - history?: (components["schemas"]["gist-history"])[] | null; + history?: components["schemas"]["gist-history"][] | null; /** * Gist * @description Gist @@ -10706,8 +10706,8 @@ export interface components { comments_url: string; owner?: components["schemas"]["nullable-simple-user"]; truncated?: boolean; - forks?: (unknown)[]; - history?: (unknown)[]; + forks?: unknown[]; + history?: unknown[]; }) | null; url?: string; forks_url?: string; @@ -10879,19 +10879,19 @@ export interface components { * "private-use" * ] */ - permissions: (string)[]; + permissions: string[]; /** * @example [ * "include-copyright" * ] */ - conditions: (string)[]; + conditions: string[]; /** * @example [ * "no-liability" * ] */ - limitations: (string)[]; + limitations: string[]; /** * @example * @@ -10964,7 +10964,7 @@ export interface components { * "11 concurrent builds" * ] */ - bullets: (string)[]; + bullets: string[]; }; /** * Marketplace Purchase @@ -11013,66 +11013,66 @@ export interface components { * "ssh-ed25519 ABCDEFGHIJKLMNOPQRSTUVWXYZ" * ] */ - ssh_keys?: (string)[]; + ssh_keys?: string[]; /** * @example [ * "192.0.2.1" * ] */ - hooks?: (string)[]; + hooks?: string[]; /** * @example [ * "192.0.2.1" * ] */ - web?: (string)[]; + web?: string[]; /** * @example [ * "192.0.2.1" * ] */ - api?: (string)[]; + api?: string[]; /** * @example [ * "192.0.2.1" * ] */ - git?: (string)[]; + git?: string[]; /** * @example [ * "192.0.2.1" * ] */ - packages?: (string)[]; + packages?: string[]; /** * @example [ * "192.0.2.1" * ] */ - pages?: (string)[]; + pages?: string[]; /** * @example [ * "192.0.2.1" * ] */ - importer?: (string)[]; + importer?: string[]; /** * @example [ * "192.0.2.1" * ] */ - actions?: (string)[]; + actions?: string[]; /** * @example [ * "192.0.2.1" * ] */ - dependabot?: (string)[]; + dependabot?: string[]; domains?: { - website?: (string)[]; - codespaces?: (string)[]; - copilot?: (string)[]; - packages?: (string)[]; + website?: string[]; + codespaces?: string[]; + copilot?: string[]; + packages?: string[]; }; }; "security-and-analysis": ({ @@ -11251,7 +11251,7 @@ export interface components { default_branch?: string; open_issues_count?: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues?: boolean; has_projects?: boolean; has_wiki?: boolean; @@ -11620,7 +11620,7 @@ export interface components { */ "oidc-custom-sub": { /** @description Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. */ - include_claim_keys: (string)[]; + include_claim_keys: string[]; }; /** * Empty Object @@ -11656,7 +11656,7 @@ export interface components { * * **Note**: The `patterns_allowed` setting only applies to public repositories. */ - patterns_allowed?: (string)[]; + patterns_allowed?: string[]; }; /** * @description The default workflow permissions granted to the GITHUB_TOKEN when running workflows. @@ -11719,7 +11719,7 @@ export interface components { */ status: string; busy: boolean; - labels: (components["schemas"]["runner-label"])[]; + labels: components["schemas"]["runner-label"][]; }; /** * Runner Application @@ -11758,7 +11758,7 @@ export interface components { */ permissions?: Record; /** @description The repositories this token has access to */ - repositories?: (components["schemas"]["repository"])[]; + repositories?: components["schemas"]["repository"][]; /** @example config.yaml */ single_file?: string | null; /** @@ -11905,7 +11905,7 @@ export interface components { /** @description description of the rule used to detect the alert. */ full_description?: string; /** @description A set of tags applicable for the rule. */ - tags?: (string)[] | null; + tags?: string[] | null; /** @description Detailed documentation for the rule as GitHub Flavored Markdown. */ help?: string | null; /** @description A link to the documentation for the rule used to detect the alert. */ @@ -11958,7 +11958,7 @@ export interface components { * @description Classifications that have been applied to the file that triggered the alert. * For example identifying it as documentation, or a generated file. */ - classifications?: (components["schemas"]["code-scanning-alert-classification"])[]; + classifications?: components["schemas"]["code-scanning-alert-classification"][]; }; "code-scanning-organization-alert-items": { number: components["schemas"]["alert-number"]; @@ -12146,10 +12146,10 @@ export interface components { * @description API URL for the Pull Request associated with this codespace, if any. */ pulls_url: string | null; - recent_folders: (string)[]; + recent_folders: string[]; runtime_constraints?: { /** @description The privacy settings a user can select from when forwarding a port. */ - allowed_port_privacy_settings?: (string)[] | null; + allowed_port_privacy_settings?: string[] | null; }; /** @description Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it. */ pending_operation?: boolean | null; @@ -12425,7 +12425,7 @@ export interface components { default_branch?: string; open_issues_count?: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues?: boolean; has_projects?: boolean; has_wiki?: boolean; @@ -12574,7 +12574,7 @@ export interface components { * "pull_request" * ] */ - events: (string)[]; + events: string[]; /** @example true */ active: boolean; config: { @@ -12782,7 +12782,7 @@ export interface components { exclude_owner_projects: boolean; org_metadata_only: boolean; /** @description The repositories included in the migration. Only returned for export migrations. */ - repositories: (components["schemas"]["repository"])[]; + repositories: components["schemas"]["repository"][]; /** * Format: uri * @example https://api.github.com/orgs/octo-org/migrations/79 @@ -12802,7 +12802,7 @@ export interface components { /** Format: uri */ archive_url?: string; /** @description Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `"repositories"`. */ - exclude?: (string)[]; + exclude?: string[]; }; /** * Package Version @@ -12852,11 +12852,11 @@ export interface components { package_type: "npm" | "maven" | "rubygems" | "docker" | "nuget" | "container"; /** Container Metadata */ container?: { - tags: (string)[]; + tags: string[]; }; /** Docker Metadata */ docker?: { - tag?: (string)[]; + tag?: string[]; }; }; }; @@ -13029,9 +13029,9 @@ export interface components { "repository-ruleset-conditions": { ref_name?: { /** @description Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. */ - include?: (string)[]; + include?: string[]; /** @description Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. */ - exclude?: (string)[]; + exclude?: string[]; }; }; /** @@ -13041,9 +13041,9 @@ export interface components { "repository-ruleset-conditions-repository-name-target": { repository_name: { /** @description Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. */ - include?: (string)[]; + include?: string[]; /** @description Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. */ - exclude?: (string)[]; + exclude?: string[]; /** @description Whether renaming of target repositories is prevented. */ protected?: boolean; }; @@ -13055,7 +13055,7 @@ export interface components { "repository-ruleset-conditions-repository-id-target": { repository_id: { /** @description The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. */ - repository_ids?: (number)[]; + repository_ids?: number[]; }; }; /** @@ -13153,7 +13153,7 @@ export interface components { ruleset_id?: number; parameters?: { /** @description The environments that must be successfully deployed to before branches can be merged. */ - required_deployment_environments: (string)[]; + required_deployment_environments: string[]; }; }; /** @@ -13230,7 +13230,7 @@ export interface components { ruleset_id?: number; parameters?: { /** @description Status checks that are required. */ - required_status_checks: (components["schemas"]["repository-rule-params-status-check-configuration"])[]; + required_status_checks: components["schemas"]["repository-rule-params-status-check-configuration"][]; /** @description Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. */ strict_required_status_checks_policy: boolean; }; @@ -13430,7 +13430,7 @@ export interface components { source: string; enforcement: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; /** * @description Whether the user making this API request is able to bypass the ruleset. This field is only returned when * querying the repository-level endpoint. @@ -13448,7 +13448,7 @@ export interface components { }; }; conditions?: components["schemas"]["repository-ruleset-conditions"] | components["schemas"]["org-ruleset-conditions"]; - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; /** Format: date-time */ created_at?: string; /** Format: date-time */ @@ -14188,7 +14188,7 @@ export interface components { * @example true */ is_template?: boolean; - topics?: (string)[]; + topics?: string[]; /** * @description Whether issues are enabled. * @default true @@ -14333,7 +14333,7 @@ export interface components { default_branch?: string; open_issues_count?: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues?: boolean; has_projects?: boolean; has_wiki?: boolean; @@ -14688,7 +14688,7 @@ export interface components { * @example true */ is_template?: boolean; - topics?: (string)[]; + topics?: string[]; /** * @description Whether issues are enabled. * @default true @@ -15132,7 +15132,7 @@ export interface components { * "API" * ] */ - topics?: (string)[]; + topics?: string[]; /** @example true */ has_issues: boolean; /** @example true */ @@ -15307,7 +15307,7 @@ export interface components { */ total_count: number; /** @description Array of caches */ - actions_caches: ({ + actions_caches: { /** @example 2 */ id?: number; /** @example refs/heads/main */ @@ -15328,7 +15328,7 @@ export interface components { created_at?: string; /** @example 1024 */ size_in_bytes?: number; - })[]; + }[]; }; /** * Job @@ -15441,7 +15441,7 @@ export interface components { * "bar" * ] */ - labels: (string)[]; + labels: string[]; /** * @description The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.) * @example 1 @@ -15481,7 +15481,7 @@ export interface components { /** @description Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored. */ use_default: boolean; /** @description Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. */ - include_claim_keys?: (string)[]; + include_claim_keys?: string[]; }; /** * Actions Secret @@ -15674,7 +15674,7 @@ export interface components { * @example 1 */ run_attempt?: number; - referenced_workflows?: (components["schemas"]["referenced-workflow"])[] | null; + referenced_workflows?: components["schemas"]["referenced-workflow"][] | null; /** @example push */ event: string; /** @example completed */ @@ -15694,7 +15694,7 @@ export interface components { /** @example https://github.com/github/hello-world/suites/4 */ html_url: string; /** @description Pull requests that are open with a `head_sha` or `head_branch` that matches the workflow run. The returned pull requests do not necessarily indicate pull requests that triggered the run. */ - pull_requests: (components["schemas"]["pull-request-minimal"])[] | null; + pull_requests: components["schemas"]["pull-request-minimal"][] | null; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -15763,7 +15763,7 @@ export interface components { */ "environment-approvals": { /** @description The list of environments that were approved or rejected */ - environments: ({ + environments: { /** * @description The id of the environment. * @example 56780428 @@ -15792,7 +15792,7 @@ export interface components { * @example 2020-11-23T22:00:40Z */ updated_at?: string; - })[]; + }[]; /** * @description Whether deployment to the environment(s) was approved or rejected or pending (with comments) * @example approved @@ -15957,26 +15957,26 @@ export interface components { UBUNTU?: { total_ms: number; jobs: number; - job_runs?: ({ + job_runs?: { job_id: number; duration_ms: number; - })[]; + }[]; }; MACOS?: { total_ms: number; jobs: number; - job_runs?: ({ + job_runs?: { job_id: number; duration_ms: number; - })[]; + }[]; }; WINDOWS?: { total_ms: number; jobs: number; - job_runs?: ({ + job_runs?: { job_id: number; duration_ms: number; - })[]; + }[]; }; }; run_duration_ms?: number; @@ -16068,7 +16068,7 @@ export interface components { "protected-branch-required-status-check": { url?: string; enforcement_level?: string; - contexts: (string)[]; + contexts: string[]; checks: ({ context: string; app_id: number | null; @@ -16101,11 +16101,11 @@ export interface components { url?: string; dismissal_restrictions?: { /** @description The list of users with review dismissal access. */ - users?: (components["schemas"]["simple-user"])[]; + users?: components["schemas"]["simple-user"][]; /** @description The list of teams with review dismissal access. */ - teams?: (components["schemas"]["team"])[]; + teams?: components["schemas"]["team"][]; /** @description The list of apps with review dismissal access. */ - apps?: (components["schemas"]["integration"])[]; + apps?: components["schemas"]["integration"][]; /** @example "https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions" */ url?: string; /** @example "https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users" */ @@ -16116,11 +16116,11 @@ export interface components { /** @description Allow specific users, teams, or apps to bypass pull request requirements. */ bypass_pull_request_allowances?: { /** @description The list of users allowed to bypass pull request requirements. */ - users?: (components["schemas"]["simple-user"])[]; + users?: components["schemas"]["simple-user"][]; /** @description The list of teams allowed to bypass pull request requirements. */ - teams?: (components["schemas"]["team"])[]; + teams?: components["schemas"]["team"][]; /** @description The list of apps allowed to bypass pull request requirements. */ - apps?: (components["schemas"]["integration"])[]; + apps?: components["schemas"]["integration"][]; }; /** @example true */ dismiss_stale_reviews: boolean; @@ -16148,7 +16148,7 @@ export interface components { teams_url: string; /** Format: uri */ apps_url: string; - users: ({ + users: { login?: string; id?: number; node_id?: string; @@ -16167,7 +16167,7 @@ export interface components { received_events_url?: string; type?: string; site_admin?: boolean; - })[]; + }[]; teams: ({ id?: number; node_id?: string; @@ -16183,7 +16183,7 @@ export interface components { repositories_url?: string; parent?: string | null; })[]; - apps: ({ + apps: { id?: number; slug?: string; node_id?: string; @@ -16235,8 +16235,8 @@ export interface components { issues?: string; single_file?: string; }; - events?: (string)[]; - })[]; + events?: string[]; + }[]; }; /** * Branch Protection @@ -16412,7 +16412,7 @@ export interface components { }; author: components["schemas"]["nullable-simple-user"]; committer: components["schemas"]["nullable-simple-user"]; - parents: ({ + parents: { /** @example 7638417db6d59f3c431d3e1f261cc637155684cd */ sha: string; /** @@ -16425,13 +16425,13 @@ export interface components { * @example https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd */ html_url?: string; - })[]; + }[]; stats?: { additions?: number; deletions?: number; total?: number; }; - files?: (components["schemas"]["diff-entry"])[]; + files?: components["schemas"]["diff-entry"][]; }; /** * Branch With Protection @@ -16471,7 +16471,7 @@ export interface components { * "continuous-integration/travis-ci" * ] */ - contexts: (string)[]; + contexts: string[]; checks: ({ /** @example continuous-integration/travis-ci */ context: string; @@ -16509,14 +16509,14 @@ export interface components { users_url: string; /** Format: uri */ teams_url: string; - users: (components["schemas"]["simple-user"])[]; - teams: (components["schemas"]["team"])[]; - apps?: (components["schemas"]["integration"])[]; + users: components["schemas"]["simple-user"][]; + teams: components["schemas"]["team"][]; + apps?: components["schemas"]["integration"][]; }; bypass_pull_request_allowances?: { - users: (components["schemas"]["simple-user"])[]; - teams: (components["schemas"]["team"])[]; - apps?: (components["schemas"]["integration"])[]; + users: components["schemas"]["simple-user"][]; + teams: components["schemas"]["team"][]; + apps?: components["schemas"]["integration"][]; }; }; required_signatures?: { @@ -16687,7 +16687,7 @@ export interface components { } | null; app: components["schemas"]["nullable-integration"]; /** @description Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. */ - pull_requests: (components["schemas"]["pull-request-minimal"])[]; + pull_requests: components["schemas"]["pull-request-minimal"][]; deployment?: components["schemas"]["deployment-simple"]; }; /** @@ -16799,7 +16799,7 @@ export interface components { before: string | null; /** @example d6fde92930d4715a2b49857d24b940956b26d2d3 */ after: string | null; - pull_requests: (components["schemas"]["pull-request-minimal"])[] | null; + pull_requests: components["schemas"]["pull-request-minimal"][] | null; app: components["schemas"]["nullable-integration"]; repository: components["schemas"]["minimal-repository"]; /** Format: date-time */ @@ -16818,10 +16818,10 @@ export interface components { */ "check-suite-preference": { preferences: { - auto_trigger_checks?: ({ + auto_trigger_checks?: { app_id: number; setting: boolean; - })[]; + }[]; }; repository: components["schemas"]["minimal-repository"]; }; @@ -16831,7 +16831,7 @@ export interface components { /** @description The name of the rule used to detect the alert. */ name?: string; /** @description A set of tags applicable for the rule. */ - tags?: (string)[] | null; + tags?: string[] | null; /** * @description The severity of the alert. * @enum {string|null} @@ -17035,7 +17035,7 @@ export interface components { */ analyses_url?: string | null; /** @description Any errors that ocurred during processing of the delivery. */ - errors?: readonly (string)[] | null; + errors?: readonly string[] | null; }; /** * CODEOWNERS errors @@ -17463,7 +17463,7 @@ export interface components { user: components["schemas"]["nullable-simple-user"]; /** @example Please pull these awesome changes */ body: string | null; - labels: ({ + labels: { /** Format: int64 */ id: number; node_id: string; @@ -17472,7 +17472,7 @@ export interface components { description: string; color: string; default: boolean; - })[]; + }[]; milestone: components["schemas"]["nullable-milestone"]; /** @example too heated */ active_lock_reason?: string | null; @@ -17499,9 +17499,9 @@ export interface components { /** @example e5bd3914e2e596debea16f433f57875b5b90bcd6 */ merge_commit_sha: string | null; assignee: components["schemas"]["nullable-simple-user"]; - assignees?: (components["schemas"]["simple-user"])[] | null; - requested_reviewers?: (components["schemas"]["simple-user"])[] | null; - requested_teams?: (components["schemas"]["team"])[] | null; + assignees?: components["schemas"]["simple-user"][] | null; + requested_reviewers?: components["schemas"]["simple-user"][] | null; + requested_teams?: components["schemas"]["team"][] | null; head: { label: string; ref: string; @@ -17559,7 +17559,7 @@ export interface components { */ "combined-commit-status": { state: string; - statuses: (components["schemas"]["simple-commit-status"])[]; + statuses: components["schemas"]["simple-commit-status"][]; sha: string; total_count: number; repository: components["schemas"]["minimal-repository"]; @@ -17683,8 +17683,8 @@ export interface components { behind_by: number; /** @example 6 */ total_commits: number; - commits: (components["schemas"]["commit"])[]; - files?: (components["schemas"]["diff-entry"])[]; + commits: components["schemas"]["commit"][]; + files?: components["schemas"]["diff-entry"][]; }; /** * Content Tree @@ -17900,11 +17900,11 @@ export interface components { url?: string; sha?: string; }; - parents?: ({ + parents?: { url?: string; html_url?: string; sha?: string; - })[]; + }[]; verification?: { verified?: boolean; reason?: string; @@ -18021,7 +18021,7 @@ export interface components { license: string | null; /** @example https://github.com/github/actions */ source_repository_url: string | null; - vulnerabilities: ({ + vulnerabilities: { /** @example critical */ severity: string; /** @example GHSA-rf4j-j272-fj86 */ @@ -18030,7 +18030,7 @@ export interface components { advisory_summary: string; /** @example https://github.com/advisories/GHSA-rf4j-j272-fj86 */ advisory_url: string; - })[]; + }[]; /** * @description Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment. * @enum {string} @@ -18060,7 +18060,7 @@ export interface components { */ created: string; /** @description The tools that were used to generate the SPDX document. */ - creators: (string)[]; + creators: string[]; }; /** * @description The name of the SPDX document. @@ -18073,13 +18073,13 @@ export interface components { */ dataLicense: string; /** @description The name of the repository that the SPDX document describes. */ - documentDescribes: (string)[]; + documentDescribes: string[]; /** * @description The namespace for the SPDX document. * @example https://github.com/example/dependency_graph/sbom-123 */ documentNamespace: string; - packages: ({ + packages: { /** * @description A unique SPDX identifier for the package. * @example SPDXRef-Package @@ -18124,7 +18124,7 @@ export interface components { * @example NOASSERTION */ supplier?: string; - externalRefs?: ({ + externalRefs?: { /** * @description The category of reference to an external resource this reference refers to. * @example PACKAGE-MANAGER @@ -18140,8 +18140,8 @@ export interface components { * @example purl */ referenceType: string; - })[]; - })[]; + }[]; + }[]; }; }; /** @@ -18174,7 +18174,7 @@ export interface components { * @description Array of package-url (PURLs) of direct child dependencies. * @example @actions/http-client */ - dependencies?: (string)[]; + dependencies?: string[]; }; manifest: { /** @@ -18575,7 +18575,7 @@ export interface components { /** Format: uri */ url: string; }; - parents: ({ + parents: { /** * @description SHA for the commit * @example 7638417db6d59f3c431d3e1f261cc637155684cd @@ -18585,7 +18585,7 @@ export interface components { url: string; /** Format: uri */ html_url: string; - })[]; + }[]; verification: { verified: boolean; reason: string; @@ -18703,7 +18703,7 @@ export interface components { * } * ] */ - tree: ({ + tree: { /** @example test/file.rb */ path?: string; /** @example 040000 */ @@ -18716,7 +18716,7 @@ export interface components { size?: number; /** @example https://api.github.com/repos/owner-482f3203ecf01f67e9deb18e/BBB_Private_Repo/git/blobs/23f6827669e43831def8a7ad935069c8bd418261 */ url?: string; - })[]; + }[]; }; /** Hook Response */ "hook-response": { @@ -18752,7 +18752,7 @@ export interface components { * "pull_request" * ] */ - events: (string)[]; + events: string[]; config: { /** @example "foo@bar.com" */ email?: string; @@ -18825,11 +18825,11 @@ export interface components { has_large_files?: boolean; large_files_size?: number; large_files_count?: number; - project_choices?: ({ + project_choices?: { vcs?: string; tfvc_project?: string; human_name?: string; - })[]; + }[]; message?: string; authors_count?: number | null; /** Format: uri */ @@ -18936,7 +18936,7 @@ export interface components { default?: boolean; }]>)[]; assignee: components["schemas"]["nullable-simple-user"]; - assignees?: (components["schemas"]["simple-user"])[] | null; + assignees?: components["schemas"]["simple-user"][] | null; milestone: components["schemas"]["nullable-milestone"]; locked: boolean; active_lock_reason?: string | null; @@ -19524,7 +19524,7 @@ export interface components { /** Format: uri */ url: string; }; - parents: ({ + parents: { /** * @description SHA for the commit * @example 7638417db6d59f3c431d3e1f261cc637155684cd @@ -19534,7 +19534,7 @@ export interface components { url: string; /** Format: uri */ html_url: string; - })[]; + }[]; verification: { verified: boolean; reason: string; @@ -19756,7 +19756,7 @@ export interface components { "timeline-line-commented-event": { event?: string; node_id?: string; - comments?: (components["schemas"]["pull-request-review-comment"])[]; + comments?: components["schemas"]["pull-request-review-comment"][]; }; /** * Timeline Commit Commented Event @@ -19766,7 +19766,7 @@ export interface components { event?: string; node_id?: string; commit_id?: string; - comments?: (components["schemas"]["commit-comment"])[]; + comments?: components["schemas"]["commit-comment"][]; }; /** * Timeline Assigned Issue Event @@ -19973,7 +19973,7 @@ export interface components { * "www.example.com" * ] */ - domains: (string)[]; + domains: string[]; /** Format: date */ expires_at?: string; }; @@ -20276,9 +20276,9 @@ export interface components { /** @example e5bd3914e2e596debea16f433f57875b5b90bcd6 */ merge_commit_sha: string | null; assignee: components["schemas"]["nullable-simple-user"]; - assignees?: (components["schemas"]["simple-user"])[] | null; - requested_reviewers?: (components["schemas"]["simple-user"])[] | null; - requested_teams?: (components["schemas"]["team-simple"])[] | null; + assignees?: components["schemas"]["simple-user"][] | null; + requested_reviewers?: components["schemas"]["simple-user"][] | null; + requested_teams?: components["schemas"]["team-simple"][] | null; head: { label: string; ref: string; @@ -20420,7 +20420,7 @@ export interface components { stargazers_count: number; /** Format: uri */ svn_url: string; - topics?: (string)[]; + topics?: string[]; watchers: number; watchers_count: number; /** Format: date-time */ @@ -20596,7 +20596,7 @@ export interface components { stargazers_count: number; /** Format: uri */ svn_url: string; - topics?: (string)[]; + topics?: string[]; watchers: number; watchers_count: number; /** Format: date-time */ @@ -20693,8 +20693,8 @@ export interface components { * @description Pull Request Review Request */ "pull-request-review-request": { - users: (components["schemas"]["simple-user"])[]; - teams: (components["schemas"]["team"])[]; + users: components["schemas"]["simple-user"][]; + teams: components["schemas"]["team"][]; }; /** * Pull Request Review @@ -20916,7 +20916,7 @@ export interface components { /** Format: date-time */ published_at: string | null; author: components["schemas"]["simple-user"]; - assets: (components["schemas"]["release-asset"])[]; + assets: components["schemas"]["release-asset"][]; body_html?: string; body_text?: string; mentions_count?: number; @@ -21065,7 +21065,7 @@ export interface components { /** @description The package version(s) that resolve the vulnerability. */ patched_versions: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions: (string)[] | null; + vulnerable_functions: string[] | null; }; /** * @description The type of credit the user is receiving. @@ -21151,27 +21151,27 @@ export interface components { /** @description Whether a private vulnerability report was accepted by the repository's administrators. */ readonly accepted: boolean; } | null; - vulnerabilities: (components["schemas"]["repository-advisory-vulnerability"])[] | null; + vulnerabilities: components["schemas"]["repository-advisory-vulnerability"][] | null; cvss: ({ /** @description The CVSS vector. */ vector_string: string | null; /** @description The CVSS score. */ score: number | null; }) | null; - cwes: readonly ({ + cwes: readonly { /** @description The Common Weakness Enumeration (CWE) identifier. */ cwe_id: string; /** @description The name of the CWE. */ name: string; - })[] | null; + }[] | null; /** @description A list of only the CWE IDs. */ - cwe_ids: (string)[] | null; - credits: ({ + cwe_ids: string[] | null; + credits: { /** @description The username of the user credited. */ login?: string; type?: components["schemas"]["security-advisory-credit-types"]; - })[] | null; - credits_detailed: readonly (components["schemas"]["repository-advisory-credit"])[] | null; + }[] | null; + credits_detailed: readonly components["schemas"]["repository-advisory-credit"][] | null; }; "repository-advisory-create": { /** @description A short summary of the advisory. */ @@ -21193,16 +21193,16 @@ export interface components { /** @description The package version(s) that resolve the vulnerability. */ patched_versions?: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions?: (string)[] | null; + vulnerable_functions?: string[] | null; })[]; /** @description A list of Common Weakness Enumeration (CWE) IDs. */ - cwe_ids?: (string)[] | null; + cwe_ids?: string[] | null; /** @description A list of users receiving credit for their participation in the security advisory. */ - credits?: ({ + credits?: { /** @description The username of the user credited. */ login: string; type: components["schemas"]["security-advisory-credit-types"]; - })[] | null; + }[] | null; /** * @description The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. * @enum {string|null} @@ -21229,10 +21229,10 @@ export interface components { /** @description The package version(s) that resolve the vulnerability. */ patched_versions?: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions?: (string)[] | null; + vulnerable_functions?: string[] | null; })[]) | null; /** @description A list of Common Weakness Enumeration (CWE) IDs. */ - cwe_ids?: (string)[] | null; + cwe_ids?: string[] | null; /** * @description The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. * @enum {string|null} @@ -21261,16 +21261,16 @@ export interface components { /** @description The package version(s) that resolve the vulnerability. */ patched_versions?: string | null; /** @description The functions in the package that are affected. */ - vulnerable_functions?: (string)[] | null; + vulnerable_functions?: string[] | null; })[]; /** @description A list of Common Weakness Enumeration (CWE) IDs. */ - cwe_ids?: (string)[] | null; + cwe_ids?: string[] | null; /** @description A list of users receiving credit for their participation in the security advisory. */ - credits?: ({ + credits?: { /** @description The username of the user credited. */ login: string; type: components["schemas"]["security-advisory-credit-types"]; - })[] | null; + }[] | null; /** * @description The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. * @enum {string|null} @@ -21297,7 +21297,7 @@ export interface components { * Code Frequency Stat * @description Code Frequency Stat */ - "code-frequency-stat": (number)[]; + "code-frequency-stat": number[]; /** * Commit Activity * @description Commit Activity @@ -21314,7 +21314,7 @@ export interface components { * 0 * ] */ - days: (number)[]; + days: number[]; /** @example 89 */ total: number; /** @example 1336280400 */ @@ -21338,17 +21338,17 @@ export interface components { * } * ] */ - weeks: ({ + weeks: { w?: number; a?: number; d?: number; c?: number; - })[]; + }[]; }; /** Participation Stats */ "participation-stats": { - all: (number)[]; - owner: (number)[]; + all: number[]; + owner: number[]; }; /** * Repository Invitation @@ -21424,7 +21424,7 @@ export interface components { * @description A topic aggregates entities that are related to a subject. */ topic: { - names: (string)[]; + names: string[]; }; /** Traffic */ traffic: { @@ -21442,7 +21442,7 @@ export interface components { count: number; /** @example 128 */ uniques: number; - clones: (components["schemas"]["traffic"])[]; + clones: components["schemas"]["traffic"][]; }; /** * Content Traffic @@ -21479,7 +21479,7 @@ export interface components { count: number; /** @example 3782 */ uniques: number; - views: (components["schemas"]["traffic"])[]; + views: components["schemas"]["traffic"][]; }; /** Search Result Text Matches */ "search-result-text-matches": ({ @@ -21487,10 +21487,10 @@ export interface components { object_type?: string | null; property?: string; fragment?: string; - matches?: ({ + matches?: { text?: string; - indices?: (number)[]; - })[]; + indices?: number[]; + }[]; })[]; /** * Code Search Result Item @@ -21518,7 +21518,7 @@ export interface components { * "77..78" * ] */ - line_numbers?: (string)[]; + line_numbers?: string[]; text_matches?: components["schemas"]["search-result-text-matches"]; }; /** @@ -21554,11 +21554,11 @@ export interface components { }; author: components["schemas"]["nullable-simple-user"]; committer: components["schemas"]["nullable-git-user"]; - parents: ({ + parents: { url?: string; html_url?: string; sha?: string; - })[]; + }[]; repository: components["schemas"]["minimal-repository"]; score: number; node_id: string; @@ -21587,7 +21587,7 @@ export interface components { title: string; locked: boolean; active_lock_reason?: string | null; - assignees?: (components["schemas"]["simple-user"])[] | null; + assignees?: components["schemas"]["simple-user"][] | null; user: components["schemas"]["nullable-simple-user"]; labels: ({ /** Format: int64 */ @@ -21742,7 +21742,7 @@ export interface components { forks: number; open_issues: number; watchers: number; - topics?: (string)[]; + topics?: string[]; /** Format: uri */ mirror_url: string | null; has_issues: boolean; @@ -21798,22 +21798,22 @@ export interface components { /** Format: uri */ logo_url?: string | null; text_matches?: components["schemas"]["search-result-text-matches"]; - related?: ({ + related?: { topic_relation?: { id?: number; name?: string; topic_id?: number; relation_type?: string; }; - })[] | null; - aliases?: ({ + }[] | null; + aliases?: { topic_relation?: { id?: number; name?: string; topic_id?: number; relation_type?: string; }; - })[] | null; + }[] | null; }; /** * User Search Result Item @@ -22206,10 +22206,10 @@ export interface components { * @description API URL for the Pull Request associated with this codespace, if any. */ pulls_url: string | null; - recent_folders: (string)[]; + recent_folders: string[]; runtime_constraints?: { /** @description The privacy settings a user can select from when forwarding a port. */ - allowed_port_privacy_settings?: (string)[] | null; + allowed_port_privacy_settings?: string[] | null; }; /** @description Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it. */ pending_operation?: boolean | null; @@ -22268,10 +22268,10 @@ export interface components { * } * ] */ - emails: ({ + emails: { email?: string; verified?: boolean; - })[]; + }[]; /** * @example [ * { @@ -22295,11 +22295,11 @@ export interface components { primary_key_id?: number; key_id?: string; public_key?: string; - emails?: ({ + emails?: { email?: string; verified?: boolean; - })[]; - subkeys?: (unknown)[]; + }[]; + subkeys?: unknown[]; can_sign?: boolean; can_encrypt_comms?: boolean; can_encrypt_storage?: boolean; @@ -22416,10 +22416,10 @@ export interface components { * @description Hovercard */ hovercard: { - contexts: ({ + contexts: { message: string; octicon: string; - })[]; + }[]; }; /** * Key Simple @@ -22470,7 +22470,7 @@ export interface components { id?: number; /** @example MDEwOkNoZWNrU3VpdGU1 */ node_id?: string; - pull_requests?: (components["schemas"]["pull-request-minimal"])[]; + pull_requests?: components["schemas"]["pull-request-minimal"][]; repository?: components["schemas"]["minimal-repository"]; /** * @example completed @@ -22531,7 +22531,7 @@ export interface components { text: string | null; title: string | null; }; - pull_requests: (components["schemas"]["pull-request-minimal"])[]; + pull_requests: components["schemas"]["pull-request-minimal"][]; /** * Format: date-time * @example 2018-05-04T01:14:52Z @@ -22756,7 +22756,7 @@ export interface components { /** @description The number of repositories the token is requesting access to. This field is only populated when `repository_selection` is `subset`. */ repository_count: number | null; /** @description An array of repository objects the token is requesting access to. This field is only populated when `repository_selection` is `subset`. */ - repositories: ({ + repositories: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -22765,7 +22765,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[] | null; + }[] | null; /** @description Date and time when the request for access was created. */ created_at: string; /** @description Whether the associated fine-grained personal access token has expired. */ @@ -22862,7 +22862,7 @@ export interface components { allow_deletions_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ allow_force_pushes_enforcement_level: "off" | "non_admins" | "everyone"; - authorized_actor_names: (string)[]; + authorized_actor_names: string[]; authorized_actors_only: boolean; authorized_dismissal_actors_only: boolean; create_protected?: boolean; @@ -22887,7 +22887,7 @@ export interface components { required_conversation_resolution_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ required_deployments_enforcement_level: "off" | "non_admins" | "everyone"; - required_status_checks: (string)[]; + required_status_checks: string[]; /** @enum {string} */ required_status_checks_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ @@ -22916,7 +22916,7 @@ export interface components { allow_deletions_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ allow_force_pushes_enforcement_level: "off" | "non_admins" | "everyone"; - authorized_actor_names: (string)[]; + authorized_actor_names: string[]; authorized_actors_only: boolean; authorized_dismissal_actors_only: boolean; create_protected?: boolean; @@ -22941,7 +22941,7 @@ export interface components { required_conversation_resolution_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ required_deployments_enforcement_level: "off" | "non_admins" | "everyone"; - required_status_checks: (string)[]; + required_status_checks: string[]; /** @enum {string} */ required_status_checks_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ @@ -22962,7 +22962,7 @@ export interface components { from: boolean | null; }; authorized_actor_names?: { - from: (string)[]; + from: string[]; }; authorized_actors_only?: { from: boolean | null; @@ -22975,7 +22975,7 @@ export interface components { from: "off" | "non_admins" | "everyone"; }; required_status_checks?: { - from: (string)[]; + from: string[]; }; required_status_checks_enforcement_level?: { /** @enum {string} */ @@ -22996,7 +22996,7 @@ export interface components { allow_deletions_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ allow_force_pushes_enforcement_level: "off" | "non_admins" | "everyone"; - authorized_actor_names: (string)[]; + authorized_actor_names: string[]; authorized_actors_only: boolean; authorized_dismissal_actors_only: boolean; create_protected?: boolean; @@ -23021,7 +23021,7 @@ export interface components { required_conversation_resolution_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ required_deployments_enforcement_level: "off" | "non_admins" | "everyone"; - required_status_checks: (string)[]; + required_status_checks: string[]; /** @enum {string} */ required_status_checks_enforcement_level: "off" | "non_admins" | "everyone"; /** @enum {string} */ @@ -23301,7 +23301,7 @@ export interface components { latest_check_runs_count: number; node_id: string; /** @description An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty. */ - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -23328,7 +23328,7 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; + }[]; rerequestable?: boolean; runs_rerequestable?: boolean; /** @@ -23542,7 +23542,7 @@ export interface components { latest_check_runs_count: number; node_id: string; /** @description An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty. */ - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -23569,7 +23569,7 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; + }[]; rerequestable?: boolean; runs_rerequestable?: boolean; /** @@ -23783,7 +23783,7 @@ export interface components { latest_check_runs_count: number; node_id: string; /** @description An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty. */ - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -23810,7 +23810,7 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; + }[]; rerequestable?: boolean; runs_rerequestable?: boolean; /** @@ -23901,7 +23901,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -24029,7 +24029,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -24068,7 +24068,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: (string)[] | null; + tags?: string[] | null; }; /** * @description State of a code scanning alert. @@ -24125,7 +24125,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -24164,7 +24164,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: (string)[] | null; + tags?: string[] | null; }; /** * @description State of a code scanning alert. @@ -24263,7 +24263,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -24302,7 +24302,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: (string)[] | null; + tags?: string[] | null; }; /** * @description State of a code scanning alert. @@ -24356,7 +24356,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -24395,7 +24395,7 @@ export interface components { * @enum {string|null} */ severity: "none" | "note" | "warning" | "error" | null; - tags?: (string)[] | null; + tags?: string[] | null; }; /** * @description State of a code scanning alert. @@ -24449,7 +24449,7 @@ export interface components { analysis_key: string; /** @description Identifies the configuration under which the analysis was executed. */ category?: string; - classifications?: (string)[]; + classifications?: string[]; commit_sha?: string; /** @description Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. */ environment: string; @@ -25114,7 +25114,7 @@ export interface components { node_id: string; path: string; previous_attempt_url?: Record | null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -25141,12 +25141,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -25280,7 +25280,7 @@ export interface components { */ deployment_callback_url?: string; deployment?: components["schemas"]["deployment"]; - pull_requests?: (components["schemas"]["pull-request"])[]; + pull_requests?: components["schemas"]["pull-request"][]; repository?: components["schemas"]["repository"]; organization?: components["schemas"]["organization-simple"]; installation?: components["schemas"]["simple-installation"]; @@ -25863,7 +25863,7 @@ export interface components { node_id: string; path: string; previous_attempt_url?: Record | null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -25890,12 +25890,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -27044,7 +27044,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -27208,7 +27208,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -27217,7 +27217,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; /** User */ requester?: ({ @@ -27266,7 +27266,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -27275,7 +27275,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; requester?: Record | null; sender: components["schemas"]["simple-user"]; @@ -27288,7 +27288,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -27297,7 +27297,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; requester?: Record | null; sender: components["schemas"]["simple-user"]; @@ -27310,7 +27310,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects, which were added to the installation. */ - repositories_added: ({ + repositories_added: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -27319,9 +27319,9 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; /** @description An array of repository objects, which were removed from the installation. */ - repositories_removed: ({ + repositories_removed: { full_name?: string; /** @description Unique identifier of the repository */ id?: number; @@ -27330,7 +27330,7 @@ export interface components { node_id?: string; /** @description Whether the repository is private or public. */ private?: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; /** * @description Describe whether all repositories have been selected or there's a selection involved @@ -27384,7 +27384,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects, which were added to the installation. */ - repositories_added: ({ + repositories_added: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -27393,9 +27393,9 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; /** @description An array of repository objects, which were removed from the installation. */ - repositories_removed: ({ + repositories_removed: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -27404,7 +27404,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; /** * @description Describe whether all repositories have been selected or there's a selection involved @@ -27458,7 +27458,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -27467,7 +27467,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; requester?: Record | null; sender: components["schemas"]["simple-user"]; @@ -27535,7 +27535,7 @@ export interface components { installation: components["schemas"]["installation"]; organization?: components["schemas"]["organization-simple"]; /** @description An array of repository objects that the installation can access. */ - repositories?: ({ + repositories?: { full_name: string; /** @description Unique identifier of the repository */ id: number; @@ -27544,7 +27544,7 @@ export interface components { node_id: string; /** @description Whether the repository is private or public. */ private: boolean; - })[]; + }[]; repository?: components["schemas"]["repository"]; requester?: Record | null; sender: components["schemas"]["simple-user"]; @@ -33984,7 +33984,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -35951,7 +35951,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -38286,7 +38286,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38339,7 +38339,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38375,7 +38375,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38428,7 +38428,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean | null; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38464,7 +38464,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38517,7 +38517,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38553,7 +38553,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38583,7 +38583,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38619,7 +38619,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -38672,7 +38672,7 @@ export interface components { next_billing_date?: string | null; on_free_trial: boolean; plan: { - bullets: (string)[]; + bullets: string[]; description: string; has_free_trial: boolean; id: number; @@ -40179,18 +40179,18 @@ export interface components { }) | null; created_at?: string; description: string; - docker_metadata?: ({ - tags?: (string)[]; - })[]; + docker_metadata?: { + tags?: string[]; + }[]; draft?: boolean; /** Format: uri */ html_url: string; id: number; installation_command: string; manifest?: string; - metadata: ({ + metadata: { [key: string]: unknown; - })[]; + }[]; name: string; npm_metadata?: ({ name?: string; @@ -40214,16 +40214,16 @@ export interface components { node_version?: string; npm_version?: string; has_shrinkwrap?: boolean; - maintainers?: (Record)[]; - contributors?: (Record)[]; + maintainers?: Record[]; + contributors?: Record[]; engines?: Record; - keywords?: (string)[]; - files?: (string)[]; + keywords?: string[]; + files?: string[]; bin?: Record; man?: Record; directories?: Record | null; - os?: (string)[]; - cpu?: (string)[]; + os?: string[]; + cpu?: string[]; readme?: string; installation_command?: string; release_id?: number; @@ -40308,7 +40308,7 @@ export interface components { /** Format: uri */ url: string; }; - rubygems_metadata?: (components["schemas"]["webhook-rubygems-metadata"])[]; + rubygems_metadata?: components["schemas"]["webhook-rubygems-metadata"][]; source_url?: string; summary: string; tag_name?: string; @@ -40428,18 +40428,18 @@ export interface components { body_html: string; created_at: string; description: string; - docker_metadata?: ({ - tags?: (string)[]; - })[]; + docker_metadata?: { + tags?: string[]; + }[]; draft?: boolean; /** Format: uri */ html_url: string; id: number; installation_command: string; manifest?: string; - metadata: ({ + metadata: { [key: string]: unknown; - })[]; + }[]; name: string; package_files: ({ content_type: string; @@ -40508,7 +40508,7 @@ export interface components { /** Format: uri */ url: string; }; - rubygems_metadata?: (components["schemas"]["webhook-rubygems-metadata"])[]; + rubygems_metadata?: components["schemas"]["webhook-rubygems-metadata"][]; /** Format: uri */ source_url?: string; summary: string; @@ -40648,7 +40648,7 @@ export interface components { /** Format: uri */ deliveries_url?: string; /** @description Determines what events the hook is triggered for. Default: ['push']. */ - events: (string)[]; + events: string[]; /** @description Unique identifier of the webhook. */ id: number; last_response?: components["schemas"]["hook-response"]; @@ -42240,7 +42240,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -42580,7 +42580,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -43428,7 +43428,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -43768,7 +43768,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -44617,7 +44617,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -44957,7 +44957,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -45929,7 +45929,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -46269,7 +46269,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -47117,7 +47117,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -47457,7 +47457,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -48386,7 +48386,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -48726,7 +48726,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -49591,7 +49591,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -49931,7 +49931,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -50780,7 +50780,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -51120,7 +51120,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -51969,7 +51969,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -52309,7 +52309,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -53482,7 +53482,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -53815,7 +53815,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -54754,7 +54754,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -55087,7 +55087,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -56033,7 +56033,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -56366,7 +56366,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -57161,7 +57161,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -57494,7 +57494,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -58329,7 +58329,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -58616,7 +58616,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -59472,7 +59472,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -59812,7 +59812,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -60696,7 +60696,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -61036,7 +61036,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -61940,7 +61940,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -62280,7 +62280,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -63164,7 +63164,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -63504,7 +63504,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -64405,7 +64405,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -64738,7 +64738,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -65571,7 +65571,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -65865,7 +65865,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -66765,7 +66765,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -67059,7 +67059,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -67998,7 +67998,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -68331,7 +68331,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -69217,7 +69217,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -69557,7 +69557,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -70422,7 +70422,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -70755,7 +70755,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -71604,7 +71604,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -71944,7 +71944,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -72351,7 +72351,7 @@ export interface components { /** @description An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/reference/repos#commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries. */ commits: ({ /** @description An array of files added in the commit. */ - added?: (string)[]; + added?: string[]; /** * Committer * @description Metaproperties for Git author/committer information. @@ -72384,9 +72384,9 @@ export interface components { /** @description The commit message. */ message: string; /** @description An array of files modified by the commit. */ - modified?: (string)[]; + modified?: string[]; /** @description An array of files removed in the commit. */ - removed?: (string)[]; + removed?: string[]; /** * Format: date-time * @description The ISO 8601 timestamp of the commit. @@ -72411,7 +72411,7 @@ export interface components { /** Commit */ head_commit: ({ /** @description An array of files added in the commit. */ - added?: (string)[]; + added?: string[]; /** * Committer * @description Metaproperties for Git author/committer information. @@ -72444,9 +72444,9 @@ export interface components { /** @description The commit message. */ message: string; /** @description An array of files modified by the commit. */ - modified?: (string)[]; + modified?: string[]; /** @description An array of files removed in the commit. */ - removed?: (string)[]; + removed?: string[]; /** * Format: date-time * @description The ISO 8601 timestamp of the commit. @@ -72704,7 +72704,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -72788,17 +72788,17 @@ export interface components { }; created_at?: string; description: string; - docker_metadata?: ({ - tags?: (string)[]; - })[]; + docker_metadata?: { + tags?: string[]; + }[]; draft?: boolean; html_url: string; id: number; installation_command: string; manifest?: string; - metadata: ({ + metadata: { [key: string]: unknown; - })[]; + }[]; name: string; npm_metadata?: ({ name?: string; @@ -72822,16 +72822,16 @@ export interface components { node_version?: string; npm_version?: string; has_shrinkwrap?: boolean; - maintainers?: (string)[]; - contributors?: (string)[]; + maintainers?: string[]; + contributors?: string[]; engines?: Record; - keywords?: (string)[]; - files?: (string)[]; + keywords?: string[]; + files?: string[]; bin?: Record; man?: Record; directories?: string | Record; - os?: (string)[]; - cpu?: (string)[]; + os?: string[]; + cpu?: string[]; readme?: string; installation_command?: string; release_id?: number; @@ -72896,7 +72896,7 @@ export interface components { target_commitish?: string; url?: string; }; - rubygems_metadata?: (components["schemas"]["webhook-rubygems-metadata"])[]; + rubygems_metadata?: components["schemas"]["webhook-rubygems-metadata"][]; summary: string; tag_name?: string; target_commitish?: string; @@ -72976,16 +72976,16 @@ export interface components { created_at: string; description: string; docker_metadata?: ({ - tags?: (string)[]; + tags?: string[]; } | null)[]; draft?: boolean; html_url: string; id: number; installation_command: string; manifest?: string; - metadata: ({ + metadata: { [key: string]: unknown; - })[]; + }[]; name: string; package_files: ({ content_type?: string; @@ -73034,7 +73034,7 @@ export interface components { target_commitish: string; url: string; }; - rubygems_metadata?: (components["schemas"]["webhook-rubygems-metadata"])[]; + rubygems_metadata?: components["schemas"]["webhook-rubygems-metadata"][]; summary: string; tag_name?: string; target_commitish: string; @@ -74348,7 +74348,7 @@ export interface components { from: string | null; }; topics?: { - from?: (string)[] | null; + from?: string[] | null; }; }; enterprise?: components["schemas"]["enterprise"]; @@ -74980,21 +74980,21 @@ export interface components { score: number; vector_string: string | null; }; - cwes: ({ + cwes: { cwe_id: string; name: string; - })[]; + }[]; description: string; ghsa_id: string; - identifiers: ({ + identifiers: { type: string; value: string; - })[]; + }[]; published_at: string; - references: ({ + references: { /** Format: uri */ url: string; - })[]; + }[]; severity: string; summary: string; updated_at: string; @@ -75027,21 +75027,21 @@ export interface components { score: number; vector_string: string | null; }; - cwes: ({ + cwes: { cwe_id: string; name: string; - })[]; + }[]; description: string; ghsa_id: string; - identifiers: ({ + identifiers: { type: string; value: string; - })[]; + }[]; published_at: string; - references: ({ + references: { /** Format: uri */ url: string; - })[]; + }[]; severity: string; summary: string; updated_at: string; @@ -75074,21 +75074,21 @@ export interface components { score: number; vector_string: string | null; }; - cwes: ({ + cwes: { cwe_id: string; name: string; - })[]; + }[]; description: string; ghsa_id: string; - identifiers: ({ + identifiers: { type: string; value: string; - })[]; + }[]; published_at: string; - references: ({ + references: { /** Format: uri */ url: string; - })[]; + }[]; severity: string; summary: string; updated_at: string; @@ -76074,13 +76074,13 @@ export interface components { /** Format: uri */ html_url: string; node_id: string; - parents: ({ + parents: { /** Format: uri */ html_url: string; sha: string; /** Format: uri */ url: string; - })[]; + }[]; sha: string; /** Format: uri */ url: string; @@ -76411,7 +76411,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -76720,7 +76720,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -77029,7 +77029,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -77369,7 +77369,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -77678,7 +77678,7 @@ export interface components { tags_url: string; /** Format: uri */ teams_url: string; - topics: (string)[]; + topics: string[]; /** Format: uri-template */ trees_url: string; /** Format: date-time */ @@ -77802,7 +77802,7 @@ export interface components { html_url: string; id: number; /** @description Custom labels for the job. Specified by the [`"runs-on"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML. */ - labels: (string)[]; + labels: string[]; name: string; node_id: string; run_attempt: number; @@ -77892,7 +77892,7 @@ export interface components { html_url: string; id: number; /** @description Custom labels for the job. Specified by the [`"runs-on"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML. */ - labels: (string)[]; + labels: string[]; name: string; node_id: string; run_attempt: number; @@ -77938,7 +77938,7 @@ export interface components { head_sha?: string; html_url?: string; id?: number; - labels?: (string)[]; + labels?: string[]; name?: string; node_id?: string; run_attempt?: number; @@ -77988,7 +77988,7 @@ export interface components { /** Format: uri */ html_url: string; id: number; - labels: (string)[]; + labels: string[]; name: string; node_id: string; run_attempt: number; @@ -78042,7 +78042,7 @@ export interface components { /** Format: uri */ html_url: string; id: number; - labels: (string)[]; + labels: string[]; name: string; node_id: string; run_attempt: number; @@ -78327,7 +78327,7 @@ export interface components { path: string; /** Format: uri */ previous_attempt_url: string | null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -78354,12 +78354,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; /** Repository Lite */ repository: { /** Format: uri-template */ @@ -78660,11 +78660,11 @@ export interface components { path?: string; previous_attempt_url?: string | null; pull_requests?: (Record | null)[]; - referenced_workflows?: ({ + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -79014,7 +79014,7 @@ export interface components { path: string; /** Format: uri */ previous_attempt_url: string | null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -79041,12 +79041,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; /** Repository Lite */ repository: { /** Format: uri-template */ @@ -79347,11 +79347,11 @@ export interface components { path?: string; previous_attempt_url?: string | null; pull_requests?: (Record | null)[]; - referenced_workflows?: ({ + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; repository?: { archive_url?: string; assignees_url?: string; @@ -79702,7 +79702,7 @@ export interface components { path: string; /** Format: uri */ previous_attempt_url: string | null; - pull_requests: ({ + pull_requests: { base: { ref: string; /** Repo Ref */ @@ -79729,12 +79729,12 @@ export interface components { number: number; /** Format: uri */ url: string; - })[]; - referenced_workflows?: ({ + }[]; + referenced_workflows?: { path: string; ref?: string; sha: string; - })[] | null; + }[] | null; /** Repository Lite */ repository: { /** Format: uri-template */ @@ -80014,7 +80014,7 @@ export interface components { content: { "application/json": { total_count: number; - labels: (components["schemas"]["runner-label"])[]; + labels: components["schemas"]["runner-label"][]; }; }; }; @@ -80023,7 +80023,7 @@ export interface components { content: { "application/json": { total_count: number; - labels: (components["schemas"]["runner-label"])[]; + labels: components["schemas"]["runner-label"][]; }; }; }; @@ -80223,7 +80223,7 @@ export interface components { /** @description The property by which to sort the results. */ "personal-access-token-sort"?: "created_at"; /** @description A list of owner usernames to use to filter the results. */ - "personal-access-token-owner"?: (string)[]; + "personal-access-token-owner"?: string[]; /** @description The name of the repository to use to filter the results. */ "personal-access-token-repository"?: string; /** @description The permission to use to filter the results. */ @@ -80520,7 +80520,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["hook-delivery-item"])[]; + "application/json": components["schemas"]["hook-delivery-item"][]; }; }; 400: components["responses"]["bad_request"]; @@ -80583,7 +80583,7 @@ export interface operations { /** @description List of integration installation requests */ 200: { content: { - "application/json": (components["schemas"]["integration-installation-request"])[]; + "application/json": components["schemas"]["integration-installation-request"][]; }; }; 304: components["responses"]["not_modified"]; @@ -80612,7 +80612,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["installation"])[]; + "application/json": components["schemas"]["installation"][]; }; }; }; @@ -80673,14 +80673,14 @@ export interface operations { content: { "application/json": { /** @description List of repository names that the token should have access to */ - repositories?: (string)[]; + repositories?: string[]; /** * @description List of repository IDs that the token should have access to * @example [ * 1 * ] */ - repository_ids?: (number)[]; + repository_ids?: number[]; permissions?: components["schemas"]["app-permissions"]; }; }; @@ -80869,14 +80869,14 @@ export interface operations { */ target_id?: number; /** @description The list of repository names to scope the user access token to. `repositories` may not be specified if `repository_ids` is specified. */ - repositories?: (string)[]; + repositories?: string[]; /** * @description The list of repository IDs to scope the user access token to. `repository_ids` may not be specified if `repositories` is specified. * @example [ * 1 * ] */ - repository_ids?: (number)[]; + repository_ids?: number[]; permissions?: components["schemas"]["app-permissions"]; }; }; @@ -80926,7 +80926,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-of-conduct"])[]; + "application/json": components["schemas"]["code-of-conduct"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81001,7 +81001,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["dependabot-alert-with-repository"])[]; + "application/json": components["schemas"]["dependabot-alert-with-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81038,7 +81038,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-secret-scanning-alert"])[]; + "application/json": components["schemas"]["organization-secret-scanning-alert"][]; }; }; 404: components["responses"]["not_found"]; @@ -81060,7 +81060,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81111,7 +81111,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["base-gist"])[]; + "application/json": components["schemas"]["base-gist"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81189,7 +81189,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["base-gist"])[]; + "application/json": components["schemas"]["base-gist"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81216,7 +81216,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["base-gist"])[]; + "application/json": components["schemas"]["base-gist"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81328,7 +81328,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["gist-comment"])[]; + "application/json": components["schemas"]["gist-comment"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81454,7 +81454,7 @@ export interface operations { Link?: string; }; content: { - "application/json": (components["schemas"]["gist-commit"])[]; + "application/json": components["schemas"]["gist-commit"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81480,7 +81480,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["gist-simple"])[]; + "application/json": components["schemas"]["gist-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81594,7 +81594,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 304: components["responses"]["not_modified"]; @@ -81643,7 +81643,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["repository"])[]; + repositories: components["schemas"]["repository"][]; /** @example selected */ repository_selection?: string; }; @@ -81707,7 +81707,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue"])[]; + "application/json": components["schemas"]["issue"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81728,7 +81728,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["license-simple"])[]; + "application/json": components["schemas"]["license-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -81860,7 +81860,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["marketplace-listing-plan"])[]; + "application/json": components["schemas"]["marketplace-listing-plan"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -81893,7 +81893,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["marketplace-purchase"])[]; + "application/json": components["schemas"]["marketplace-purchase"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -81945,7 +81945,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["marketplace-listing-plan"])[]; + "application/json": components["schemas"]["marketplace-listing-plan"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -81977,7 +81977,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["marketplace-purchase"])[]; + "application/json": components["schemas"]["marketplace-purchase"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -82020,7 +82020,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -82052,7 +82052,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["thread"])[]; + "application/json": components["schemas"]["thread"][]; }; }; 304: components["responses"]["not_modified"]; @@ -82254,7 +82254,7 @@ export interface operations { Link?: string; }; content: { - "application/json": (components["schemas"]["organization-simple"])[]; + "application/json": components["schemas"]["organization-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -82507,7 +82507,7 @@ export interface operations { content: { "application/json": { total_count: number; - repository_cache_usages: (components["schemas"]["actions-cache-usage-by-repository"])[]; + repository_cache_usages: components["schemas"]["actions-cache-usage-by-repository"][]; }; }; }; @@ -82630,7 +82630,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["repository"])[]; + repositories: components["schemas"]["repository"][]; }; }; }; @@ -82652,7 +82652,7 @@ export interface operations { content: { "application/json": { /** @description List of repository IDs to enable for GitHub Actions. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -82812,7 +82812,7 @@ export interface operations { content: { "application/json": { total_count: number; - runners: (components["schemas"]["runner"])[]; + runners: components["schemas"]["runner"][]; }; }; }; @@ -82834,7 +82834,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["runner-application"])[]; + "application/json": components["schemas"]["runner-application"][]; }; }; }; @@ -82859,7 +82859,7 @@ export interface operations { /** @description The ID of the runner group to register the runner to. */ runner_group_id: number; /** @description The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. */ - labels: (string)[]; + labels: string[]; /** * @description The working directory to be used for job execution, relative to the runner install directory. * @default _work @@ -83009,7 +83009,7 @@ export interface operations { content: { "application/json": { /** @description The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. */ - labels: (string)[]; + labels: string[]; }; }; }; @@ -83036,7 +83036,7 @@ export interface operations { content: { "application/json": { /** @description The names of the custom labels to add to the runner. */ - labels: (string)[]; + labels: string[]; }; }; }; @@ -83112,7 +83112,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["organization-actions-secret"])[]; + secrets: components["schemas"]["organization-actions-secret"][]; }; }; }; @@ -83256,7 +83256,7 @@ export interface operations { */ visibility: "all" | "private" | "selected"; /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids?: (number)[]; + selected_repository_ids?: number[]; }; }; }; @@ -83308,7 +83308,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -83329,7 +83329,7 @@ export interface operations { content: { "application/json": { /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -83399,7 +83399,7 @@ export interface operations { content: { "application/json": { total_count: number; - variables: (components["schemas"]["organization-actions-variable"])[]; + variables: components["schemas"]["organization-actions-variable"][]; }; }; }; @@ -83430,7 +83430,7 @@ export interface operations { */ visibility: "all" | "private" | "selected"; /** @description An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. */ - selected_repository_ids?: (number)[]; + selected_repository_ids?: number[]; }; }; }; @@ -83507,7 +83507,7 @@ export interface operations { */ visibility?: "all" | "private" | "selected"; /** @description An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. */ - selected_repository_ids?: (number)[]; + selected_repository_ids?: number[]; }; }; }; @@ -83537,7 +83537,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -83560,7 +83560,7 @@ export interface operations { content: { "application/json": { /** @description The IDs of the repositories that can access the organization variable. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -83627,7 +83627,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -83725,7 +83725,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["code-scanning-organization-alert-items"])[]; + "application/json": components["schemas"]["code-scanning-organization-alert-items"][]; }; }; 404: components["responses"]["not_found"]; @@ -83754,7 +83754,7 @@ export interface operations { content: { "application/json": { total_count: number; - codespaces: (components["schemas"]["codespace"])[]; + codespaces: components["schemas"]["codespace"][]; }; }; }; @@ -83786,7 +83786,7 @@ export interface operations { */ visibility: "disabled" | "selected_members" | "all_members" | "all_members_and_outside_collaborators"; /** @description The usernames of the organization members who should have access to codespaces in the organization. Required when `visibility` is `selected_members`. The provided list of usernames will replace any existing value. */ - selected_usernames?: (string)[]; + selected_usernames?: string[]; }; }; }; @@ -83821,7 +83821,7 @@ export interface operations { content: { "application/json": { /** @description The usernames of the organization members whose codespaces be billed to the organization. */ - selected_usernames: (string)[]; + selected_usernames: string[]; }; }; }; @@ -83856,7 +83856,7 @@ export interface operations { content: { "application/json": { /** @description The usernames of the organization members whose codespaces should not be billed to the organization. */ - selected_usernames: (string)[]; + selected_usernames: string[]; }; }; }; @@ -83895,7 +83895,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["codespaces-org-secret"])[]; + secrets: components["schemas"]["codespaces-org-secret"][]; }; }; }; @@ -84042,7 +84042,7 @@ export interface operations { */ visibility: "all" | "private" | "selected"; /** @description An array of repository IDs that can access the organization secret. You can only provide a list of repository IDs when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids?: (number)[]; + selected_repository_ids?: number[]; }; }; }; @@ -84097,7 +84097,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -84119,7 +84119,7 @@ export interface operations { content: { "application/json": { /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -84207,7 +84207,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["dependabot-alert-with-repository"])[]; + "application/json": components["schemas"]["dependabot-alert-with-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -84240,7 +84240,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["organization-dependabot-secret"])[]; + secrets: components["schemas"]["organization-dependabot-secret"][]; }; }; }; @@ -84384,7 +84384,7 @@ export interface operations { */ visibility: "all" | "private" | "selected"; /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids?: (string)[]; + selected_repository_ids?: string[]; }; }; }; @@ -84436,7 +84436,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -84457,7 +84457,7 @@ export interface operations { content: { "application/json": { /** @description An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -84519,7 +84519,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -84541,7 +84541,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -84567,7 +84567,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-invitation"])[]; + "application/json": components["schemas"]["organization-invitation"][]; }; }; 404: components["responses"]["not_found"]; @@ -84591,7 +84591,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["org-hook"])[]; + "application/json": components["schemas"]["org-hook"][]; }; }; 404: components["responses"]["not_found"]; @@ -84629,7 +84629,7 @@ export interface operations { * "push" * ] */ - events?: (string)[]; + events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -84715,7 +84715,7 @@ export interface operations { * "push" * ] */ - events?: (string)[]; + events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -84811,7 +84811,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["hook-delivery-item"])[]; + "application/json": components["schemas"]["hook-delivery-item"][]; }; }; 400: components["responses"]["bad_request"]; @@ -84920,7 +84920,7 @@ export interface operations { content: { "application/json": { total_count: number; - installations: (components["schemas"]["installation"])[]; + installations: components["schemas"]["installation"][]; }; }; }; @@ -85010,7 +85010,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-invitation"])[]; + "application/json": components["schemas"]["organization-invitation"][]; }; }; 404: components["responses"]["not_found"]; @@ -85045,7 +85045,7 @@ export interface operations { */ role?: "admin" | "direct_member" | "billing_manager"; /** @description Specify IDs for the teams you want to invite new members to. */ - team_ids?: (number)[]; + team_ids?: number[]; }; }; }; @@ -85102,7 +85102,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 404: components["responses"]["not_found"]; @@ -85143,7 +85143,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue"])[]; + "application/json": components["schemas"]["issue"][]; }; }; 404: components["responses"]["not_found"]; @@ -85174,7 +85174,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -85240,7 +85240,7 @@ export interface operations { content: { "application/json": { total_count: number; - codespaces: (components["schemas"]["codespace"])[]; + codespaces: components["schemas"]["codespace"][]; }; }; }; @@ -85400,7 +85400,7 @@ export interface operations { per_page?: components["parameters"]["per-page"]; page?: components["parameters"]["page"]; /** @description Exclude attributes from the API response to improve performance */ - exclude?: ("repositories")[]; + exclude?: "repositories"[]; }; path: { org: components["parameters"]["org"]; @@ -85413,7 +85413,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["migration"])[]; + "application/json": components["schemas"]["migration"][]; }; }; }; @@ -85432,7 +85432,7 @@ export interface operations { content: { "application/json": { /** @description A list of arrays indicating which repositories should be migrated. */ - repositories: (string)[]; + repositories: string[]; /** * @description Indicates whether repositories should be locked (to prevent manipulation) while migrating data. * @default false @@ -85474,7 +85474,7 @@ export interface operations { */ org_metadata_only?: boolean; /** @description Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `"repositories"`. */ - exclude?: ("repositories")[]; + exclude?: "repositories"[]; }; }; }; @@ -85504,7 +85504,7 @@ export interface operations { parameters: { query?: { /** @description Exclude attributes from the API response to improve performance */ - exclude?: ("repositories")[]; + exclude?: "repositories"[]; }; path: { org: components["parameters"]["org"]; @@ -85600,7 +85600,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 404: components["responses"]["not_found"]; @@ -85629,7 +85629,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -85720,7 +85720,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 400: components["responses"]["package_es_list_error"]; @@ -85831,7 +85831,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package-version"])[]; + "application/json": components["schemas"]["package-version"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -85948,7 +85948,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-programmatic-access-grant-request"])[]; + "application/json": components["schemas"]["organization-programmatic-access-grant-request"][]; }; }; 403: components["responses"]["forbidden"]; @@ -85974,7 +85974,7 @@ export interface operations { content: { "application/json": { /** @description Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values. */ - pat_request_ids?: (number)[]; + pat_request_ids?: number[]; /** * @description Action to apply to the requests. * @enum {string} @@ -86055,7 +86055,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 403: components["responses"]["forbidden"]; @@ -86094,7 +86094,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-programmatic-access-grant"])[]; + "application/json": components["schemas"]["organization-programmatic-access-grant"][]; }; }; 403: components["responses"]["forbidden"]; @@ -86125,7 +86125,7 @@ export interface operations { */ action: "revoke"; /** @description The IDs of the fine-grained personal access tokens. */ - pat_ids: (number)[]; + pat_ids: number[]; }; }; }; @@ -86196,7 +86196,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 403: components["responses"]["forbidden"]; @@ -86227,7 +86227,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project"])[]; + "application/json": components["schemas"]["project"][]; }; }; 422: components["responses"]["validation_failed_simple"]; @@ -86288,7 +86288,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -86375,7 +86375,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; }; @@ -86554,7 +86554,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository-ruleset"])[]; + "application/json": components["schemas"]["repository-ruleset"][]; }; }; 404: components["responses"]["not_found"]; @@ -86584,10 +86584,10 @@ export interface operations { target?: "branch" | "tag"; enforcement: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; conditions?: components["schemas"]["org-ruleset-conditions"]; /** @description An array of rules within the ruleset. */ - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; }; }; }; @@ -86650,10 +86650,10 @@ export interface operations { target?: "branch" | "tag"; enforcement?: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; conditions?: components["schemas"]["org-ruleset-conditions"]; /** @description An array of rules within the ruleset. */ - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; }; }; }; @@ -86719,7 +86719,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-secret-scanning-alert"])[]; + "application/json": components["schemas"]["organization-secret-scanning-alert"][]; }; }; 404: components["responses"]["not_found"]; @@ -86744,7 +86744,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team-simple"])[]; + "application/json": components["schemas"]["team-simple"][]; }; }; }; @@ -86881,7 +86881,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 403: components["responses"]["forbidden"]; @@ -86907,9 +86907,9 @@ export interface operations { /** @description The description of the team. */ description?: string; /** @description List GitHub IDs for organization members who will become team maintainers. */ - maintainers?: (string)[]; + maintainers?: string[]; /** @description The full name (e.g., "organization-name/repository-name") of repositories to add the team to. */ - repo_names?: (string)[]; + repo_names?: string[]; /** * @description The level of privacy this team should have. The options are: * **For a non-nested team:** @@ -87088,7 +87088,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-discussion"])[]; + "application/json": components["schemas"]["team-discussion"][]; }; }; }; @@ -87233,7 +87233,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-discussion-comment"])[]; + "application/json": components["schemas"]["team-discussion-comment"][]; }; }; }; @@ -87375,7 +87375,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; }; @@ -87469,7 +87469,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; }; @@ -87558,7 +87558,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-invitation"])[]; + "application/json": components["schemas"]["organization-invitation"][]; }; }; }; @@ -87589,7 +87589,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -87722,7 +87722,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-project"])[]; + "application/json": components["schemas"]["team-project"][]; }; }; }; @@ -87834,7 +87834,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; }; @@ -87948,7 +87948,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; }; @@ -88023,7 +88023,7 @@ export interface operations { "application/json": { message?: string; documentation_url?: string; - errors?: (string)[]; + errors?: string[]; }; }; }; @@ -88105,12 +88105,12 @@ export interface operations { "application/json": { message?: string; documentation_url?: string; - errors?: ({ + errors?: { code?: string; message?: string; resource?: string; field?: string; - })[]; + }[]; }; }; }; @@ -88122,10 +88122,10 @@ export interface operations { code?: string; message?: string; documentation_url?: string; - errors?: ({ + errors?: { code?: string; message?: string; - })[]; + }[]; }; }; }; @@ -88225,7 +88225,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project-card"])[]; + "application/json": components["schemas"]["project-card"][]; }; }; 304: components["responses"]["not_modified"]; @@ -88285,10 +88285,10 @@ export interface operations { code?: string; message?: string; documentation_url?: string; - errors?: ({ + errors?: { code?: string; message?: string; - })[]; + }[]; }; }; }; @@ -88368,7 +88368,7 @@ export interface operations { "application/json": { message?: string; documentation_url?: string; - errors?: (string)[]; + errors?: string[]; }; }; }; @@ -88429,7 +88429,7 @@ export interface operations { "application/json": { message?: string; documentation_url?: string; - errors?: (string)[]; + errors?: string[]; }; }; }; @@ -88462,7 +88462,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -88573,7 +88573,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project-column"])[]; + "application/json": components["schemas"]["project-column"][]; }; }; 304: components["responses"]["not_modified"]; @@ -88900,7 +88900,7 @@ export interface operations { content: { "application/json": { total_count: number; - artifacts: (components["schemas"]["artifact"])[]; + artifacts: components["schemas"]["artifact"][]; }; }; }; @@ -89187,7 +89187,7 @@ export interface operations { /** @description Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored. */ use_default: boolean; /** @description Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. */ - include_claim_keys?: (string)[]; + include_claim_keys?: string[]; }; }; }; @@ -89227,7 +89227,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["actions-secret"])[]; + secrets: components["schemas"]["actions-secret"][]; }; }; }; @@ -89257,7 +89257,7 @@ export interface operations { content: { "application/json": { total_count: number; - variables: (components["schemas"]["actions-variable"])[]; + variables: components["schemas"]["actions-variable"][]; }; }; }; @@ -89482,7 +89482,7 @@ export interface operations { content: { "application/json": { total_count: number; - runners: (components["schemas"]["runner"])[]; + runners: components["schemas"]["runner"][]; }; }; }; @@ -89505,7 +89505,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["runner-application"])[]; + "application/json": components["schemas"]["runner-application"][]; }; }; }; @@ -89531,7 +89531,7 @@ export interface operations { /** @description The ID of the runner group to register the runner to. */ runner_group_id: number; /** @description The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. */ - labels: (string)[]; + labels: string[]; /** * @description The working directory to be used for job execution, relative to the runner install directory. * @default _work @@ -89688,7 +89688,7 @@ export interface operations { content: { "application/json": { /** @description The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. */ - labels: (string)[]; + labels: string[]; }; }; }; @@ -89717,7 +89717,7 @@ export interface operations { content: { "application/json": { /** @description The names of the custom labels to add to the runner. */ - labels: (string)[]; + labels: string[]; }; }; }; @@ -89808,7 +89808,7 @@ export interface operations { content: { "application/json": { total_count: number; - workflow_runs: (components["schemas"]["workflow-run"])[]; + workflow_runs: components["schemas"]["workflow-run"][]; }; }; }; @@ -89873,7 +89873,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["environment-approvals"])[]; + "application/json": components["schemas"]["environment-approvals"][]; }; }; }; @@ -89928,7 +89928,7 @@ export interface operations { content: { "application/json": { total_count: number; - artifacts: (components["schemas"]["artifact"])[]; + artifacts: components["schemas"]["artifact"][]; }; }; }; @@ -89988,7 +89988,7 @@ export interface operations { content: { "application/json": { total_count: number; - jobs: (components["schemas"]["job"])[]; + jobs: components["schemas"]["job"][]; }; }; }; @@ -90092,7 +90092,7 @@ export interface operations { content: { "application/json": { total_count: number; - jobs: (components["schemas"]["job"])[]; + jobs: components["schemas"]["job"][]; }; }; }; @@ -90155,7 +90155,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["pending-deployment"])[]; + "application/json": components["schemas"]["pending-deployment"][]; }; }; }; @@ -90184,7 +90184,7 @@ export interface operations { * 161171795 * ] */ - environment_ids: (number)[]; + environment_ids: number[]; /** * @description Whether to approve or reject deployment to the specified environments. * @example approved @@ -90203,7 +90203,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["deployment"])[]; + "application/json": components["schemas"]["deployment"][]; }; }; }; @@ -90319,7 +90319,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["actions-secret"])[]; + secrets: components["schemas"]["actions-secret"][]; }; }; }; @@ -90515,7 +90515,7 @@ export interface operations { content: { "application/json": { total_count: number; - variables: (components["schemas"]["actions-variable"])[]; + variables: components["schemas"]["actions-variable"][]; }; }; }; @@ -90646,7 +90646,7 @@ export interface operations { content: { "application/json": { total_count: number; - workflows: (components["schemas"]["workflow"])[]; + workflows: components["schemas"]["workflow"][]; }; }; }; @@ -90779,7 +90779,7 @@ export interface operations { content: { "application/json": { total_count: number; - workflow_runs: (components["schemas"]["workflow-run"])[]; + workflow_runs: components["schemas"]["workflow-run"][]; }; }; }; @@ -90830,7 +90830,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 404: components["responses"]["not_found"]; @@ -90883,7 +90883,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["autolink"])[]; + "application/json": components["schemas"]["autolink"][]; }; }; }; @@ -91025,7 +91025,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["short-branch"])[]; + "application/json": components["schemas"]["short-branch"][]; }; }; 404: components["responses"]["not_found"]; @@ -91102,14 +91102,14 @@ export interface operations { * @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. */ - contexts: (string)[]; + contexts: string[]; /** @description The list of status checks to require in order to merge into this branch. */ - checks?: ({ + checks?: { /** @description The name of the required check */ context: string; /** @description The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. */ app_id?: number; - })[]; + }[]; } | null; /** @description Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. */ enforce_admins: boolean | null; @@ -91118,11 +91118,11 @@ export interface operations { /** @description Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. */ dismissal_restrictions?: { /** @description The list of user `login`s with dismissal access */ - users?: (string)[]; + users?: string[]; /** @description The list of team `slug`s with dismissal access */ - teams?: (string)[]; + teams?: string[]; /** @description The list of app `slug`s with dismissal access */ - apps?: (string)[]; + apps?: string[]; }; /** @description Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. */ dismiss_stale_reviews?: boolean; @@ -91138,21 +91138,21 @@ export interface operations { /** @description Allow specific users, teams, or apps to bypass pull request requirements. */ bypass_pull_request_allowances?: { /** @description The list of user `login`s allowed to bypass pull request requirements. */ - users?: (string)[]; + users?: string[]; /** @description The list of team `slug`s allowed to bypass pull request requirements. */ - teams?: (string)[]; + teams?: string[]; /** @description The list of app `slug`s allowed to bypass pull request requirements. */ - apps?: (string)[]; + apps?: string[]; }; } | null; /** @description Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. */ restrictions: { /** @description The list of user `login`s with push access */ - users: (string)[]; + users: string[]; /** @description The list of team `slug`s with push access */ - teams: (string)[]; + teams: string[]; /** @description The list of app `slug`s with push access */ - apps?: (string)[]; + apps?: string[]; } | null; /** @description Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)" in the GitHub Help documentation. */ required_linear_history?: boolean; @@ -91332,11 +91332,11 @@ export interface operations { /** @description Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. */ dismissal_restrictions?: { /** @description The list of user `login`s with dismissal access */ - users?: (string)[]; + users?: string[]; /** @description The list of team `slug`s with dismissal access */ - teams?: (string)[]; + teams?: string[]; /** @description The list of app `slug`s with dismissal access */ - apps?: (string)[]; + apps?: string[]; }; /** @description Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. */ dismiss_stale_reviews?: boolean; @@ -91352,11 +91352,11 @@ export interface operations { /** @description Allow specific users, teams, or apps to bypass pull request requirements. */ bypass_pull_request_allowances?: { /** @description The list of user `login`s allowed to bypass pull request requirements. */ - users?: (string)[]; + users?: string[]; /** @description The list of team `slug`s allowed to bypass pull request requirements. */ - teams?: (string)[]; + teams?: string[]; /** @description The list of app `slug`s allowed to bypass pull request requirements. */ - apps?: (string)[]; + apps?: string[]; }; }; }; @@ -91503,14 +91503,14 @@ export interface operations { * @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. */ - contexts?: (string)[]; + contexts?: string[]; /** @description The list of status checks to require in order to merge into this branch. */ - checks?: ({ + checks?: { /** @description The name of the required check */ context: string; /** @description The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. */ app_id?: number; - })[]; + }[]; }; }; }; @@ -91541,7 +91541,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 404: components["responses"]["not_found"]; @@ -91563,15 +91563,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The name of the status checks */ - contexts: (string)[]; - }, (string)[]]>; + contexts: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 404: components["responses"]["not_found"]; @@ -91594,15 +91594,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The name of the status checks */ - contexts: (string)[]; - }, (string)[]]>; + contexts: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 403: components["responses"]["forbidden"]; @@ -91626,15 +91626,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The name of the status checks */ - contexts: (string)[]; - }, (string)[]]>; + contexts: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 404: components["responses"]["not_found"]; @@ -91704,7 +91704,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["integration"])[]; + "application/json": components["schemas"]["integration"][]; }; }; 404: components["responses"]["not_found"]; @@ -91728,15 +91728,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @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)[]]>; + apps: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["integration"])[]; + "application/json": components["schemas"]["integration"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -91760,15 +91760,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @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)[]]>; + apps: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["integration"])[]; + "application/json": components["schemas"]["integration"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -91792,15 +91792,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @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)[]]>; + apps: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["integration"])[]; + "application/json": components["schemas"]["integration"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -91824,7 +91824,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 404: components["responses"]["not_found"]; @@ -91848,15 +91848,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The slug values for teams */ - teams: (string)[]; - }, (string)[]]>; + teams: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -91880,15 +91880,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The slug values for teams */ - teams: (string)[]; - }, (string)[]]>; + teams: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -91912,15 +91912,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The slug values for teams */ - teams: (string)[]; - }, (string)[]]>; + teams: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -91944,7 +91944,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 404: components["responses"]["not_found"]; @@ -91972,15 +91972,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The username for users */ - users: (string)[]; - }, (string)[]]>; + users: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -92008,15 +92008,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The username for users */ - users: (string)[]; - }, (string)[]]>; + users: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -92044,15 +92044,15 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The username for users */ - users: (string)[]; - }, (string)[]]>; + users: string[]; + }, string[]]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -92241,24 +92241,24 @@ export interface operations { raw_details?: string; })[]; /** @description Adds images to the output displayed in the GitHub pull request UI. */ - images?: ({ + images?: { /** @description The alternative text for the image. */ alt: string; /** @description The full URL of the image. */ image_url: string; /** @description A short image description. */ caption?: string; - })[]; + }[]; }; /** @description Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://docs.github.com/rest/reference/checks#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/reference/checks#check-runs-and-requested-actions)." */ - actions?: ({ + actions?: { /** @description The text to be displayed on a button in the web UI. The maximum size is 20 characters. */ label: string; /** @description A short explanation of what this action would do. The maximum size is 40 characters. */ description: string; /** @description A reference for the action on the integrator's system. The maximum size is 20 characters. */ identifier: string; - })[]; + }[]; }) & ({ /** @enum {unknown} */ status?: "completed"; @@ -92302,7 +92302,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["check-annotation"])[]; + "application/json": components["schemas"]["check-annotation"][]; }; }; }; @@ -92396,7 +92396,7 @@ export interface operations { content: { "application/json": { /** @description Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. */ - auto_trigger_checks?: ({ + auto_trigger_checks?: { /** @description The `id` of the GitHub App. */ app_id: number; /** @@ -92404,7 +92404,7 @@ export interface operations { * @default true */ setting: boolean; - })[]; + }[]; }; }; }; @@ -92471,7 +92471,7 @@ export interface operations { content: { "application/json": { total_count: number; - check_runs: (components["schemas"]["check-run"])[]; + check_runs: components["schemas"]["check-run"][]; }; }; }; @@ -92538,7 +92538,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-scanning-alert-items"])[]; + "application/json": components["schemas"]["code-scanning-alert-items"][]; }; }; 304: components["responses"]["not_modified"]; @@ -92629,7 +92629,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-scanning-alert-instance"])[]; + "application/json": components["schemas"]["code-scanning-alert-instance"][]; }; }; 403: components["responses"]["code_scanning_forbidden_read"]; @@ -92681,7 +92681,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-scanning-analysis"])[]; + "application/json": components["schemas"]["code-scanning-analysis"][]; }; }; 403: components["responses"]["code_scanning_forbidden_read"]; @@ -92848,7 +92848,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-scanning-codeql-database"])[]; + "application/json": components["schemas"]["code-scanning-codeql-database"][]; }; }; 403: components["responses"]["code_scanning_forbidden_read"]; @@ -93119,7 +93119,7 @@ export interface operations { content: { "application/json": { total_count: number; - codespaces: (components["schemas"]["codespace"])[]; + codespaces: components["schemas"]["codespace"][]; }; }; }; @@ -93221,11 +93221,11 @@ export interface operations { content: { "application/json": { total_count: number; - devcontainers: ({ + devcontainers: { path: string; name?: string; display_name?: string; - })[]; + }[]; }; }; }; @@ -93263,7 +93263,7 @@ export interface operations { content: { "application/json": { total_count: number; - machines: (components["schemas"]["codespace-machine"])[]; + machines: components["schemas"]["codespace-machine"][]; }; }; }; @@ -93337,7 +93337,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["repo-codespaces-secret"])[]; + secrets: components["schemas"]["repo-codespaces-secret"][]; }; }; }; @@ -93542,7 +93542,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["collaborator"])[]; + "application/json": components["schemas"]["collaborator"][]; }; }; 404: components["responses"]["not_found"]; @@ -93725,7 +93725,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["commit-comment"])[]; + "application/json": components["schemas"]["commit-comment"][]; }; }; }; @@ -93816,7 +93816,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -93941,7 +93941,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["commit"])[]; + "application/json": components["schemas"]["commit"][]; }; }; 400: components["responses"]["bad_request"]; @@ -93968,7 +93968,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["branch-short"])[]; + "application/json": components["schemas"]["branch-short"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -93997,7 +93997,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["commit-comment"])[]; + "application/json": components["schemas"]["commit-comment"][]; }; }; }; @@ -94070,7 +94070,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-simple"])[]; + "application/json": components["schemas"]["pull-request-simple"][]; }; }; }; @@ -94171,7 +94171,7 @@ export interface operations { content: { "application/json": { total_count: number; - check_runs: (components["schemas"]["check-run"])[]; + check_runs: components["schemas"]["check-run"][]; }; }; }; @@ -94210,7 +94210,7 @@ export interface operations { content: { "application/json": { total_count: number; - check_suites: (components["schemas"]["check-suite"])[]; + check_suites: components["schemas"]["check-suite"][]; }; }; }; @@ -94274,7 +94274,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["status"])[]; + "application/json": components["schemas"]["status"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -94602,7 +94602,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["contributor"])[]; + "application/json": components["schemas"]["contributor"][]; }; }; /** @description Response if repository is empty */ @@ -94652,7 +94652,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["dependabot-alert"])[]; + "application/json": components["schemas"]["dependabot-alert"][]; }; }; 304: components["responses"]["not_modified"]; @@ -94761,7 +94761,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["dependabot-secret"])[]; + secrets: components["schemas"]["dependabot-secret"][]; }; }; }; @@ -95052,7 +95052,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["deployment"])[]; + "application/json": components["schemas"]["deployment"][]; }; }; }; @@ -95128,7 +95128,7 @@ export interface operations { */ auto_merge?: boolean; /** @description The [status](https://docs.github.com/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts. */ - required_contexts?: (string)[]; + required_contexts?: string[]; payload?: OneOf<[{ [key: string]: unknown; }, string]>; @@ -95240,7 +95240,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["deployment-status"])[]; + "application/json": components["schemas"]["deployment-status"][]; }; }; 404: components["responses"]["not_found"]; @@ -95400,7 +95400,7 @@ export interface operations { * @example 5 */ total_count?: number; - environments?: (components["schemas"]["environment"])[]; + environments?: components["schemas"]["environment"][]; }; }; }; @@ -95454,14 +95454,14 @@ export interface operations { "application/json": ({ wait_timer?: components["schemas"]["wait-timer"]; /** @description The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. */ - reviewers?: ({ + reviewers?: { type?: components["schemas"]["deployment-reviewer-type"]; /** * @description The id of the user or team who can review the deployment * @example 4532992 */ id?: number; - })[] | null; + }[] | null; deployment_branch_policy?: components["schemas"]["deployment-branch-policy-settings"]; }) | null; }; @@ -95526,7 +95526,7 @@ export interface operations { * @example 2 */ total_count: number; - branch_policies: (components["schemas"]["deployment-branch-policy"])[]; + branch_policies: components["schemas"]["deployment-branch-policy"][]; }; }; }; @@ -95661,7 +95661,7 @@ export interface operations { * @example 10 */ total_count?: number; - custom_deployment_protection_rules?: (components["schemas"]["deployment-protection-rule"])[]; + custom_deployment_protection_rules?: components["schemas"]["deployment-protection-rule"][]; }; }; }; @@ -95730,7 +95730,7 @@ export interface operations { * @example 35 */ total_count?: number; - available_custom_deployment_protection_rule_integrations?: (components["schemas"]["custom-deployment-rule-app"])[]; + available_custom_deployment_protection_rule_integrations?: components["schemas"]["custom-deployment-rule-app"][]; }; }; }; @@ -95799,7 +95799,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -95825,7 +95825,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 400: components["responses"]["bad_request"]; @@ -95983,7 +95983,7 @@ export interface operations { /** @description The SHA of the tree object this commit points to */ tree: string; /** @description The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. */ - parents?: (string)[]; + parents?: string[]; /** @description Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. */ author?: { /** @description The name of the author (or committer) of the commit */ @@ -96106,7 +96106,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["git-ref"])[]; + "application/json": components["schemas"]["git-ref"][]; }; }; }; @@ -96476,7 +96476,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["hook"])[]; + "application/json": components["schemas"]["hook"][]; }; }; 404: components["responses"]["not_found"]; @@ -96516,7 +96516,7 @@ export interface operations { * "push" * ] */ - events?: (string)[]; + events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -96610,11 +96610,11 @@ export interface operations { * "push" * ] */ - events?: (string)[]; + events?: string[]; /** @description Determines a list of events to be added to the list of events that the Hook triggers for. */ - add_events?: (string)[]; + add_events?: string[]; /** @description Determines a list of events to be removed from the list of events that the Hook triggers for. */ - remove_events?: (string)[]; + remove_events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -96711,7 +96711,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["hook-delivery-item"])[]; + "application/json": components["schemas"]["hook-delivery-item"][]; }; }; 400: components["responses"]["bad_request"]; @@ -97001,7 +97001,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["porter-author"])[]; + "application/json": components["schemas"]["porter-author"][]; }; }; 404: components["responses"]["not_found"]; @@ -97066,7 +97066,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["porter-large-file"])[]; + "application/json": components["schemas"]["porter-large-file"][]; }; }; 503: components["responses"]["porter_maintenance"]; @@ -97224,7 +97224,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["repository-invitation"])[]; + "application/json": components["schemas"]["repository-invitation"][]; }; }; }; @@ -97314,7 +97314,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue"])[]; + "application/json": components["schemas"]["issue"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -97353,7 +97353,7 @@ export interface operations { color?: string | null; }]>)[]; /** @description Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ */ - assignees?: (string)[]; + assignees?: string[]; }; }; }; @@ -97404,7 +97404,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue-comment"])[]; + "application/json": components["schemas"]["issue-comment"][]; }; }; 404: components["responses"]["not_found"]; @@ -97505,7 +97505,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -97592,7 +97592,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue-event"])[]; + "application/json": components["schemas"]["issue-event"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -97698,7 +97698,7 @@ export interface operations { color?: string | null; }]>)[]; /** @description Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped. */ - assignees?: (string)[]; + assignees?: string[]; }; }; }; @@ -97733,7 +97733,7 @@ export interface operations { content: { "application/json": { /** @description Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._ */ - assignees?: (string)[]; + assignees?: string[]; }; }; }; @@ -97762,7 +97762,7 @@ export interface operations { content: { "application/json": { /** @description Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._ */ - assignees?: (string)[]; + assignees?: string[]; }; }; }; @@ -97829,7 +97829,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue-comment"])[]; + "application/json": components["schemas"]["issue-comment"][]; }; }; 404: components["responses"]["not_found"]; @@ -97903,7 +97903,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue-event-for-issue"])[]; + "application/json": components["schemas"]["issue-event-for-issue"][]; }; }; 410: components["responses"]["gone"]; @@ -97932,7 +97932,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -97956,21 +97956,21 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see "[Add labels to an issue](https://docs.github.com/rest/reference/issues#add-labels-to-an-issue)." */ - labels?: (string)[]; - }, (string)[], { - labels?: ({ + labels?: string[]; + }, string[], { + labels?: { name: string; - })[]; - }, ({ + }[]; + }, { name: string; - })[], string]>; + }[], string]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -97995,21 +97995,21 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see "[Set labels for an issue](https://docs.github.com/rest/reference/issues#set-labels-for-an-issue)." */ - labels?: (string)[]; - }, (string)[], { - labels?: ({ + labels?: string[]; + }, string[], { + labels?: { name: string; - })[]; - }, ({ + }[]; + }, { name: string; - })[], string]>; + }[], string]>; }; }; responses: { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -98055,7 +98055,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 301: components["responses"]["moved_permanently"]; @@ -98145,7 +98145,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -98234,7 +98234,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["timeline-issue-events"])[]; + "application/json": components["schemas"]["timeline-issue-events"][]; }; }; 404: components["responses"]["not_found"]; @@ -98260,7 +98260,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["deploy-key"])[]; + "application/json": components["schemas"]["deploy-key"][]; }; }; }; @@ -98364,7 +98364,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; 404: components["responses"]["not_found"]; @@ -98658,7 +98658,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["milestone"])[]; + "application/json": components["schemas"]["milestone"][]; }; }; 404: components["responses"]["not_found"]; @@ -98813,7 +98813,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["label"])[]; + "application/json": components["schemas"]["label"][]; }; }; }; @@ -98844,7 +98844,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["thread"])[]; + "application/json": components["schemas"]["thread"][]; }; }; }; @@ -99044,7 +99044,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["page-build"])[]; + "application/json": components["schemas"]["page-build"][]; }; }; }; @@ -99220,7 +99220,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project"])[]; + "application/json": components["schemas"]["project"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -99297,7 +99297,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-simple"])[]; + "application/json": components["schemas"]["pull-request-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -99390,7 +99390,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-review-comment"])[]; + "application/json": components["schemas"]["pull-request-review-comment"][]; }; }; }; @@ -99489,7 +99489,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -99728,7 +99728,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-review-comment"])[]; + "application/json": components["schemas"]["pull-request-review-comment"][]; }; }; }; @@ -99868,7 +99868,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["commit"])[]; + "application/json": components["schemas"]["commit"][]; }; }; }; @@ -99896,7 +99896,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["diff-entry"])[]; + "application/json": components["schemas"]["diff-entry"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -100024,9 +100024,9 @@ export interface operations { content: { "application/json": { /** @description An array of user `login`s that will be requested. */ - reviewers?: (string)[]; + reviewers?: string[]; /** @description An array of team `slug`s that will be requested. */ - team_reviewers?: (string)[]; + team_reviewers?: string[]; }; }; }; @@ -100058,9 +100058,9 @@ export interface operations { content: { "application/json": { /** @description An array of user `login`s that will be removed. */ - reviewers: (string)[]; + reviewers: string[]; /** @description An array of team `slug`s that will be removed. */ - team_reviewers?: (string)[]; + team_reviewers?: string[]; }; }; }; @@ -100097,7 +100097,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["pull-request-review"])[]; + "application/json": components["schemas"]["pull-request-review"][]; }; }; }; @@ -100133,7 +100133,7 @@ export interface operations { */ event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; /** @description Use the following table to specify the location, destination, and contents of the draft review comment. */ - comments?: ({ + comments?: { /** @description The relative path to the file that necessitates a review comment. */ path: string; /** @description 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. For help finding the position value, read the note below. */ @@ -100148,7 +100148,7 @@ export interface operations { start_line?: number; /** @example LEFT */ start_side?: string; - })[]; + }[]; }; }; }; @@ -100265,7 +100265,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["review-comment"])[]; + "application/json": components["schemas"]["review-comment"][]; }; }; 404: components["responses"]["not_found"]; @@ -100462,7 +100462,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["release"])[]; + "application/json": components["schemas"]["release"][]; }; }; 404: components["responses"]["not_found"]; @@ -100801,7 +100801,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["release-asset"])[]; + "application/json": components["schemas"]["release-asset"][]; }; }; }; @@ -100881,7 +100881,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; 404: components["responses"]["not_found"]; @@ -100968,7 +100968,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository-rule"])[]; + "application/json": components["schemas"]["repository-rule"][]; }; }; }; @@ -100994,7 +100994,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository-ruleset"])[]; + "application/json": components["schemas"]["repository-ruleset"][]; }; }; 404: components["responses"]["not_found"]; @@ -101025,10 +101025,10 @@ export interface operations { target?: "branch" | "tag"; enforcement: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; conditions?: components["schemas"]["repository-ruleset-conditions"]; /** @description An array of rules within the ruleset. */ - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; }; }; }; @@ -101097,10 +101097,10 @@ export interface operations { target?: "branch" | "tag"; enforcement?: components["schemas"]["repository-rule-enforcement"]; /** @description The actors that can bypass the rules in this ruleset */ - bypass_actors?: (components["schemas"]["repository-ruleset-bypass-actor"])[]; + bypass_actors?: components["schemas"]["repository-ruleset-bypass-actor"][]; conditions?: components["schemas"]["repository-ruleset-conditions"]; /** @description An array of rules within the ruleset. */ - rules?: (components["schemas"]["repository-rule"])[]; + rules?: components["schemas"]["repository-rule"][]; }; }; }; @@ -101165,7 +101165,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["secret-scanning-alert"])[]; + "application/json": components["schemas"]["secret-scanning-alert"][]; }; }; /** @description Repository is public or secret scanning is disabled for the repository */ @@ -101270,7 +101270,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["secret-scanning-location"])[]; + "application/json": components["schemas"]["secret-scanning-location"][]; }; }; /** @description Repository is public, or secret scanning is disabled for the repository, or the resource is not found */ @@ -101308,7 +101308,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository-advisory"])[]; + "application/json": components["schemas"]["repository-advisory"][]; }; }; 400: components["responses"]["bad_request"]; @@ -101466,7 +101466,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[] | (components["schemas"]["stargazer"])[]; + "application/json": components["schemas"]["simple-user"][] | components["schemas"]["stargazer"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -101487,7 +101487,7 @@ export interface operations { /** @description Returns a weekly aggregate of the number of additions and deletions pushed to a repository. */ 200: { content: { - "application/json": (components["schemas"]["code-frequency-stat"])[]; + "application/json": components["schemas"]["code-frequency-stat"][]; }; }; 202: components["responses"]["accepted"]; @@ -101509,7 +101509,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["commit-activity"])[]; + "application/json": components["schemas"]["commit-activity"][]; }; }; 202: components["responses"]["accepted"]; @@ -101537,7 +101537,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["contributor-activity"])[]; + "application/json": components["schemas"]["contributor-activity"][]; }; }; 202: components["responses"]["accepted"]; @@ -101590,7 +101590,7 @@ export interface operations { /** @description For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. */ 200: { content: { - "application/json": (components["schemas"]["code-frequency-stat"])[]; + "application/json": components["schemas"]["code-frequency-stat"][]; }; }; 204: components["responses"]["no_content"]; @@ -101669,7 +101669,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -101762,7 +101762,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["tag"])[]; + "application/json": components["schemas"]["tag"][]; }; }; }; @@ -101784,7 +101784,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["tag-protection"])[]; + "application/json": components["schemas"]["tag-protection"][]; }; }; 403: components["responses"]["forbidden"]; @@ -101892,7 +101892,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 404: components["responses"]["not_found"]; @@ -101932,7 +101932,7 @@ export interface operations { content: { "application/json": { /** @description An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. */ - names: (string)[]; + names: string[]; }; }; }; @@ -101986,7 +101986,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["content-traffic"])[]; + "application/json": components["schemas"]["content-traffic"][]; }; }; 403: components["responses"]["forbidden"]; @@ -102007,7 +102007,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["referrer-traffic"])[]; + "application/json": components["schemas"]["referrer-traffic"][]; }; }; 403: components["responses"]["forbidden"]; @@ -102056,7 +102056,7 @@ export interface operations { /** @description The new name to be given to the repository. */ new_name?: string; /** @description ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. */ - team_ids?: (number)[]; + team_ids?: number[]; }; }; }; @@ -102217,7 +102217,7 @@ export interface operations { Link?: string; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -102248,7 +102248,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["actions-secret"])[]; + secrets: components["schemas"]["actions-secret"][]; }; }; }; @@ -102444,7 +102444,7 @@ export interface operations { content: { "application/json": { total_count: number; - variables: (components["schemas"]["actions-variable"])[]; + variables: components["schemas"]["actions-variable"][]; }; }; }; @@ -102600,7 +102600,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["code-search-result-item"])[]; + items: components["schemas"]["code-search-result-item"][]; }; }; }; @@ -102640,7 +102640,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["commit-search-result-item"])[]; + items: components["schemas"]["commit-search-result-item"][]; }; }; }; @@ -102681,7 +102681,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["issue-search-result-item"])[]; + items: components["schemas"]["issue-search-result-item"][]; }; }; }; @@ -102724,7 +102724,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["label-search-result-item"])[]; + items: components["schemas"]["label-search-result-item"][]; }; }; }; @@ -102765,7 +102765,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["repo-search-result-item"])[]; + items: components["schemas"]["repo-search-result-item"][]; }; }; }; @@ -102802,7 +102802,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["topic-search-result-item"])[]; + items: components["schemas"]["topic-search-result-item"][]; }; }; }; @@ -102842,7 +102842,7 @@ export interface operations { "application/json": { total_count: number; incomplete_results: boolean; - items: (components["schemas"]["user-search-result-item"])[]; + items: components["schemas"]["user-search-result-item"][]; }; }; }; @@ -102987,7 +102987,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-discussion"])[]; + "application/json": components["schemas"]["team-discussion"][]; }; }; }; @@ -103132,7 +103132,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-discussion-comment"])[]; + "application/json": components["schemas"]["team-discussion-comment"][]; }; }; }; @@ -103274,7 +103274,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; }; @@ -103341,7 +103341,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["reaction"])[]; + "application/json": components["schemas"]["reaction"][]; }; }; }; @@ -103404,7 +103404,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-invitation"])[]; + "application/json": components["schemas"]["organization-invitation"][]; }; }; }; @@ -103435,7 +103435,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 404: components["responses"]["not_found"]; @@ -103651,7 +103651,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-project"])[]; + "application/json": components["schemas"]["team-project"][]; }; }; 404: components["responses"]["not_found"]; @@ -103766,7 +103766,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 404: components["responses"]["not_found"]; @@ -103879,7 +103879,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team"])[]; + "application/json": components["schemas"]["team"][]; }; }; 403: components["responses"]["forbidden"]; @@ -103980,7 +103980,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104074,7 +104074,7 @@ export interface operations { content: { "application/json": { total_count: number; - codespaces: (components["schemas"]["codespace"])[]; + codespaces: components["schemas"]["codespace"][]; }; }; }; @@ -104196,7 +104196,7 @@ export interface operations { content: { "application/json": { total_count: number; - secrets: (components["schemas"]["codespaces-secret"])[]; + secrets: components["schemas"]["codespaces-secret"][]; }; }; }; @@ -104394,7 +104394,7 @@ export interface operations { content: { "application/json": { total_count: number; - repositories: (components["schemas"]["minimal-repository"])[]; + repositories: components["schemas"]["minimal-repository"][]; }; }; }; @@ -104422,7 +104422,7 @@ export interface operations { content: { "application/json": { /** @description An array of repository ids for which a codespace can access the secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-a-user-secret), [Add a selected repository to a user secret](https://docs.github.com/rest/reference/codespaces#add-a-selected-repository-to-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/rest/reference/codespaces#remove-a-selected-repository-from-a-user-secret) endpoints. */ - selected_repository_ids: (number)[]; + selected_repository_ids: number[]; }; }; }; @@ -104554,7 +104554,7 @@ export interface operations { /** @description Display name for this codespace */ display_name?: string; /** @description Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in. */ - recent_folders?: (string)[]; + recent_folders?: string[]; }; }; }; @@ -104645,7 +104645,7 @@ export interface operations { content: { "application/json": { total_count: number; - machines: (components["schemas"]["codespace-machine"])[]; + machines: components["schemas"]["codespace-machine"][]; }; }; }; @@ -104773,7 +104773,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; }; @@ -104798,7 +104798,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["email"])[]; + "application/json": components["schemas"]["email"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104826,7 +104826,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["email"])[]; + "application/json": components["schemas"]["email"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104847,15 +104847,15 @@ export interface operations { * @description Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. * @example [] */ - emails: (string)[]; - }, (string)[], string]>; + emails: string[]; + }, string[], string]>; }; }; responses: { /** @description Response */ 201: { content: { - "application/json": (components["schemas"]["email"])[]; + "application/json": components["schemas"]["email"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104874,8 +104874,8 @@ export interface operations { content: { "application/json": OneOf<[{ /** @description Email addresses associated with the GitHub user account. */ - emails: (string)[]; - }, (string)[], string]>; + emails: string[]; + }, string[], string]>; }; }; responses: { @@ -104906,7 +104906,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -104932,7 +104932,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -105019,7 +105019,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["gpg-key"])[]; + "application/json": components["schemas"]["gpg-key"][]; }; }; 304: components["responses"]["not_modified"]; @@ -105126,7 +105126,7 @@ export interface operations { content: { "application/json": { total_count: number; - installations: (components["schemas"]["installation"])[]; + installations: components["schemas"]["installation"][]; }; }; }; @@ -105165,7 +105165,7 @@ export interface operations { "application/json": { total_count: number; repository_selection?: string; - repositories: (components["schemas"]["repository"])[]; + repositories: components["schemas"]["repository"][]; }; }; }; @@ -105296,7 +105296,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["issue"])[]; + "application/json": components["schemas"]["issue"][]; }; }; 304: components["responses"]["not_modified"]; @@ -105321,7 +105321,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["key"])[]; + "application/json": components["schemas"]["key"][]; }; }; 304: components["responses"]["not_modified"]; @@ -105422,7 +105422,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["user-marketplace-purchase"])[]; + "application/json": components["schemas"]["user-marketplace-purchase"][]; }; }; 304: components["responses"]["not_modified"]; @@ -105448,7 +105448,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["user-marketplace-purchase"])[]; + "application/json": components["schemas"]["user-marketplace-purchase"][]; }; }; 304: components["responses"]["not_modified"]; @@ -105475,7 +105475,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["org-membership"])[]; + "application/json": components["schemas"]["org-membership"][]; }; }; 304: components["responses"]["not_modified"]; @@ -105556,7 +105556,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["migration"])[]; + "application/json": components["schemas"]["migration"][]; }; }; 304: components["responses"]["not_modified"]; @@ -105614,8 +105614,8 @@ export interface operations { * "repositories" * ] */ - exclude?: ("repositories")[]; - repositories: (string)[]; + exclude?: "repositories"[]; + repositories: string[]; }; }; }; @@ -105646,7 +105646,7 @@ export interface operations { "migrations/get-status-for-authenticated-user": { parameters: { query?: { - exclude?: (string)[]; + exclude?: string[]; }; path: { migration_id: components["parameters"]["migration-id"]; @@ -105763,7 +105763,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 404: components["responses"]["not_found"]; @@ -105791,7 +105791,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-simple"])[]; + "application/json": components["schemas"]["organization-simple"][]; }; }; 304: components["responses"]["not_modified"]; @@ -105819,7 +105819,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 400: components["responses"]["package_es_list_error"]; @@ -105921,7 +105921,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package-version"])[]; + "application/json": components["schemas"]["package-version"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -106053,7 +106053,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["email"])[]; + "application/json": components["schemas"]["email"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106096,7 +106096,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository"])[]; + "application/json": components["schemas"]["repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106291,7 +106291,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["repository-invitation"])[]; + "application/json": components["schemas"]["repository-invitation"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106350,7 +106350,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["social-account"])[]; + "application/json": components["schemas"]["social-account"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106371,7 +106371,7 @@ export interface operations { * @description Full URLs for the social media profiles to add. * @example [] */ - account_urls: (string)[]; + account_urls: string[]; }; }; }; @@ -106379,7 +106379,7 @@ export interface operations { /** @description Response */ 201: { content: { - "application/json": (components["schemas"]["social-account"])[]; + "application/json": components["schemas"]["social-account"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106401,7 +106401,7 @@ export interface operations { * @description Full URLs for the social media profiles to delete. * @example [] */ - account_urls: (string)[]; + account_urls: string[]; }; }; }; @@ -106433,7 +106433,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["ssh-signing-key"])[]; + "application/json": components["schemas"]["ssh-signing-key"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106538,8 +106538,8 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["repository"])[]; - "application/vnd.github.v3.star+json": (components["schemas"]["starred-repository"])[]; + "application/json": components["schemas"]["repository"][]; + "application/vnd.github.v3.star+json": components["schemas"]["starred-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106630,7 +106630,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106656,7 +106656,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["team-full"])[]; + "application/json": components["schemas"]["team-full"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106685,7 +106685,7 @@ export interface operations { Link?: string; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; 304: components["responses"]["not_modified"]; @@ -106732,7 +106732,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -106757,7 +106757,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -106781,7 +106781,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -106801,7 +106801,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -106827,7 +106827,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -106853,7 +106853,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["simple-user"])[]; + "application/json": components["schemas"]["simple-user"][]; }; }; }; @@ -106895,7 +106895,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["base-gist"])[]; + "application/json": components["schemas"]["base-gist"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -106922,7 +106922,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["gpg-key"])[]; + "application/json": components["schemas"]["gpg-key"][]; }; }; }; @@ -107003,7 +107003,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["key-simple"])[]; + "application/json": components["schemas"]["key-simple"][]; }; }; }; @@ -107031,7 +107031,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-simple"])[]; + "application/json": components["schemas"]["organization-simple"][]; }; }; }; @@ -107059,7 +107059,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package"])[]; + "application/json": components["schemas"]["package"][]; }; }; 400: components["responses"]["package_es_list_error"]; @@ -107164,7 +107164,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["package-version"])[]; + "application/json": components["schemas"]["package-version"][]; }; }; 401: components["responses"]["requires_authentication"]; @@ -107273,7 +107273,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["project"])[]; + "application/json": components["schemas"]["project"][]; }; }; 422: components["responses"]["validation_failed"]; @@ -107297,7 +107297,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -107317,7 +107317,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["event"])[]; + "application/json": components["schemas"]["event"][]; }; }; }; @@ -107349,7 +107349,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; }; @@ -107444,7 +107444,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["social-account"])[]; + "application/json": components["schemas"]["social-account"][]; }; }; }; @@ -107470,7 +107470,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["ssh-signing-key"])[]; + "application/json": components["schemas"]["ssh-signing-key"][]; }; }; }; @@ -107500,7 +107500,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["starred-repository"])[] | (components["schemas"]["repository"])[]; + "application/json": components["schemas"]["starred-repository"][] | components["schemas"]["repository"][]; }; }; }; @@ -107526,7 +107526,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; }; @@ -107540,7 +107540,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (string)[]; + "application/json": string[]; }; }; 404: components["responses"]["not_found"]; diff --git a/packages/openapi-typescript/examples/octokit-ghes-3.6-diff-to-api.ts b/packages/openapi-typescript/examples/octokit-ghes-3.6-diff-to-api.ts index 648c1b742..b02d58d9f 100644 --- a/packages/openapi-typescript/examples/octokit-ghes-3.6-diff-to-api.ts +++ b/packages/openapi-typescript/examples/octokit-ghes-3.6-diff-to-api.ts @@ -1174,7 +1174,7 @@ export interface components { id?: number; name?: string; active?: boolean; - events?: (string)[]; + events?: string[]; config?: { url?: string; content_type?: string; @@ -1191,7 +1191,7 @@ export interface components { id?: number; name?: string; active?: boolean; - events?: (string)[]; + events?: string[]; config?: { url?: string; content_type?: string; @@ -1451,7 +1451,7 @@ export interface components { /** Format: uri */ url: string; /** @description A list of scopes that this authorization is in. */ - scopes: (string)[] | null; + scopes: string[] | null; token: string; token_last_eight: string | null; hashed_token: string | null; @@ -1581,7 +1581,7 @@ export interface components { /** @example Organization */ target_type: string; permissions: components["schemas"]["app-permissions"]; - events: (string)[]; + events: string[]; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -1596,7 +1596,7 @@ export interface components { * ".github/issue_TEMPLATE.md" * ] */ - single_file_paths?: (string)[]; + single_file_paths?: string[]; /** @example github-actions */ app_slug: string; suspended_by: components["schemas"]["nullable-simple-user"]; @@ -1777,7 +1777,7 @@ export interface components { permissions?: components["schemas"]["app-permissions"]; /** @enum {string} */ repository_selection?: "all" | "selected"; - repositories?: (components["schemas"]["repository"])[]; + repositories?: components["schemas"]["repository"][]; /** @example README.md */ single_file?: string; /** @example true */ @@ -1788,7 +1788,7 @@ export interface components { * ".github/issue_TEMPLATE.md" * ] */ - single_file_paths?: (string)[]; + single_file_paths?: string[]; }; /** * Application Grant @@ -1823,7 +1823,7 @@ export interface components { * "public_repo" * ] */ - scopes: (string)[]; + scopes: string[]; user?: components["schemas"]["nullable-simple-user"]; }; /** @@ -1938,7 +1938,7 @@ export interface components { /** @description Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization. */ github_owned_allowed: boolean; /** @description Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`." */ - patterns_allowed: (string)[]; + patterns_allowed: string[]; }; "audit-log-event": { /** @description The time the audit log event occurred, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). */ @@ -1961,8 +1961,8 @@ export interface components { /** @description The username of the account being blocked. */ blocked_user?: string; business?: string; - config?: (Record)[]; - config_was?: (Record)[]; + config?: Record[]; + config_was?: Record[]; content_type?: string; /** @description The time the audit log event was recorded, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). */ created_at?: number; @@ -1970,8 +1970,8 @@ export interface components { /** @description A unique identifier for an audit event. */ _document_id?: string; emoji?: string; - events?: (Record)[]; - events_were?: (Record)[]; + events?: Record[]; + events_were?: Record[]; explanation?: string; fingerprint?: string; hook_id?: number; @@ -2051,14 +2051,14 @@ export interface components { * "2a01:111:f403:f90c::/62" * ] */ - packages?: (string)[]; + packages?: string[]; /** * @example [ * "192.168.7.15/32", * "192.168.7.16/32" * ] */ - dependabot?: (string)[]; + dependabot?: string[]; /** @example 3.6.0 */ installed_version?: string; }; @@ -2215,7 +2215,7 @@ export interface components { message?: string; code: string; index?: number; - value?: (string | null) | (number | null) | ((string)[] | null); + value?: (string | null) | (number | null) | (string[] | null); })[]; }; /** @@ -2225,7 +2225,7 @@ export interface components { "validation-error-simple": { message: string; documentation_url: string; - errors?: (string)[]; + errors?: string[]; }; /** * ExternalGroup @@ -2260,7 +2260,7 @@ export interface components { * } * ] */ - teams: ({ + teams: { /** * @description The id for a team * @example 1 @@ -2271,7 +2271,7 @@ export interface components { * @example team-test */ team_name: string; - })[]; + }[]; /** * @description An array of external members linked to this group * @example [ @@ -2289,7 +2289,7 @@ export interface components { * } * ] */ - members: ({ + members: { /** * @description The internal user ID of the identity * @example 1 @@ -2310,7 +2310,7 @@ export interface components { * @example mona_lisa@github.com */ member_email: string; - })[]; + }[]; }; /** * ExternalGroups @@ -2332,7 +2332,7 @@ export interface components { * } * ] */ - groups?: ({ + groups?: { /** * @description The internal ID of the group * @example 1 @@ -2348,7 +2348,7 @@ export interface components { * @example 2019-06-03 22:27:15:000 -700 */ updated_at: string; - })[]; + }[]; }; "org-pre-receive-hook": { id?: number; @@ -2506,7 +2506,7 @@ export interface components { * @example 1 */ run_attempt?: number; - referenced_workflows?: (components["schemas"]["referenced-workflow"])[] | null; + referenced_workflows?: components["schemas"]["referenced-workflow"][] | null; /** @example push */ event: string; /** @example completed */ @@ -2525,7 +2525,7 @@ export interface components { url: string; /** @example https://github.com/github/hello-world/suites/4 */ html_url: string; - pull_requests: (components["schemas"]["pull-request-minimal"])[] | null; + pull_requests: components["schemas"]["pull-request-minimal"][] | null; /** Format: date-time */ created_at: string; /** Format: date-time */ @@ -2743,7 +2743,7 @@ export interface components { license: string | null; /** @example https://github.com/github/actions */ source_repository_url: string | null; - vulnerabilities: ({ + vulnerabilities: { /** @example critical */ severity: string; /** @example GHSA-rf4j-j272-fj86 */ @@ -2752,7 +2752,7 @@ export interface components { advisory_summary: string; /** @example https://github.com/advisories/GHSA-rf4j-j272-fj86 */ advisory_url: string; - })[]; + }[]; })[]; /** * Full Repository @@ -2940,7 +2940,7 @@ export interface components { * "API" * ] */ - topics?: (string)[]; + topics?: string[]; /** @example true */ has_issues: boolean; /** @example true */ @@ -3122,7 +3122,7 @@ export interface components { /** Format: date-time */ published_at: string | null; author: components["schemas"]["simple-user"]; - assets: (components["schemas"]["release-asset"])[]; + assets: components["schemas"]["release-asset"][]; body_html?: string; body_text?: string; mentions_count?: number; @@ -3329,7 +3329,7 @@ export interface components { default_branch?: string; open_issues_count?: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues?: boolean; has_projects?: boolean; has_wiki?: boolean; @@ -3386,20 +3386,20 @@ export interface components { web_commit_signoff_required?: boolean; }; "scim-group-list-enterprise": { - schemas: (string)[]; + schemas: string[]; totalResults: number; itemsPerPage: number; startIndex: number; Resources: ({ - schemas: (string)[]; + schemas: string[]; id: string; externalId?: string | null; displayName?: string; - members?: ({ + members?: { value?: string; $ref?: string; display?: string; - })[]; + }[]; meta?: { resourceType?: string; created?: string; @@ -3409,15 +3409,15 @@ export interface components { })[]; }; "scim-enterprise-group": { - schemas: (string)[]; + schemas: string[]; id: string; externalId?: string | null; displayName?: string; - members?: ({ + members?: { value?: string; $ref?: string; display?: string; - })[]; + }[]; meta?: { resourceType?: string; created?: string; @@ -3426,12 +3426,12 @@ export interface components { }; }; "scim-user-list-enterprise": { - schemas: (string)[]; + schemas: string[]; totalResults: number; itemsPerPage: number; startIndex: number; - Resources: ({ - schemas: (string)[]; + Resources: { + schemas: string[]; id: string; externalId?: string; userName?: string; @@ -3439,14 +3439,14 @@ export interface components { givenName?: string; familyName?: string; }; - emails?: ({ + emails?: { value?: string; primary?: boolean; type?: string; - })[]; - groups?: ({ + }[]; + groups?: { value?: string; - })[]; + }[]; active?: boolean; meta?: { resourceType?: string; @@ -3454,10 +3454,10 @@ export interface components { lastModified?: string; location?: string; }; - })[]; + }[]; }; "scim-enterprise-user": { - schemas: (string)[]; + schemas: string[]; id: string; externalId?: string; userName?: string; @@ -3465,14 +3465,14 @@ export interface components { givenName?: string; familyName?: string; }; - emails?: ({ + emails?: { value?: string; type?: string; primary?: boolean; - })[]; - groups?: ({ + }[]; + groups?: { value?: string; - })[]; + }[]; active?: boolean; meta?: { resourceType?: string; @@ -3483,18 +3483,18 @@ export interface components { }; "configuration-status": { status?: string; - progress?: ({ + progress?: { status: string; key: string; - })[]; + }[]; }; "maintenance-status": { status?: string; scheduled_time?: string; - connection_services?: ({ + connection_services?: { name: string; number: number; - })[]; + }[]; }; "enterprise-settings": { enterprise?: { @@ -3539,13 +3539,13 @@ export interface components { ldap?: { host?: string | null; port?: number; - base?: (unknown)[]; + base?: unknown[]; uid?: string | null; bind_dn?: string | null; password?: string | null; method?: string; search_strategy?: string; - user_groups?: (unknown)[]; + user_groups?: unknown[]; admin_group?: string | null; virtual_attribute_enabled?: boolean; recursive_group_search?: boolean; @@ -3632,7 +3632,7 @@ export interface components { }; load_balancer?: string | null; }; - run_list?: (string)[]; + run_list?: string[]; }; "ssh-key": { key?: string; @@ -3725,7 +3725,7 @@ export interface components { * ".github/issue_TEMPLATE.md" * ] */ - single_file_paths?: (string)[]; + single_file_paths?: string[]; /** * Format: uri * @example https://api.github.com/users/octocat/repos @@ -3995,7 +3995,7 @@ export interface components { * @example true */ is_template?: boolean; - topics?: (string)[]; + topics?: string[]; /** * @description Whether issues are enabled. * @default true @@ -4134,7 +4134,7 @@ export interface components { default_branch?: string; open_issues_count?: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues?: boolean; has_projects?: boolean; has_wiki?: boolean; @@ -5138,7 +5138,7 @@ export interface components { * @example true */ is_template?: boolean; - topics?: (string)[]; + topics?: string[]; /** * @description Whether issues are enabled. * @default true @@ -5277,7 +5277,7 @@ export interface components { default_branch?: string; open_issues_count?: number; is_template?: boolean; - topics?: (string)[]; + topics?: string[]; has_issues?: boolean; has_projects?: boolean; has_wiki?: boolean; @@ -5473,7 +5473,7 @@ export interface components { detail?: string | null; status?: number; scimType?: string | null; - schemas?: (string)[]; + schemas?: string[]; }; /** * Release Asset @@ -5824,7 +5824,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["global-hook"])[]; + "application/json": components["schemas"]["global-hook"][]; }; }; }; @@ -5848,7 +5848,7 @@ export interface operations { insecure_ssl?: string; }; /** @description The [events](https://docs.github.com/enterprise-server@3.6/webhooks/event-payloads) that trigger this webhook. A global webhook can be triggered by `user` and `organization` events. Default: `user` and `organization`. */ - events?: (string)[]; + events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -5919,7 +5919,7 @@ export interface operations { insecure_ssl?: string; }; /** @description The [events](https://docs.github.com/enterprise-server@3.6/webhooks/event-payloads) that trigger this webhook. A global webhook can be triggered by `user` and `organization` events. Default: `user` and `organization`. */ - events?: (string)[]; + events?: string[]; /** * @description Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. * @default true @@ -5971,7 +5971,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["public-key-full"])[]; + "application/json": components["schemas"]["public-key-full"][]; }; }; }; @@ -6145,7 +6145,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["pre-receive-environment"])[]; + "application/json": components["schemas"]["pre-receive-environment"][]; }; }; }; @@ -6211,11 +6211,11 @@ export interface operations { content: { "application/json": { message?: string; - errors?: ({ + errors?: { resource?: string; code?: string; message?: string; - })[]; + }[]; }; }; }; @@ -6253,11 +6253,11 @@ export interface operations { content: { "application/json": { message?: string; - errors?: ({ + errors?: { resource?: string; code?: string; message?: string; - })[]; + }[]; }; }; }; @@ -6292,11 +6292,11 @@ export interface operations { content: { "application/json": { message?: string; - errors?: ({ + errors?: { resource?: string; code?: string; message?: string; - })[]; + }[]; }; }; }; @@ -6336,7 +6336,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["pre-receive-hook"])[]; + "application/json": components["schemas"]["pre-receive-hook"][]; }; }; }; @@ -6458,7 +6458,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["authorization"])[]; + "application/json": components["schemas"]["authorization"][]; }; }; }; @@ -6565,7 +6565,7 @@ export interface operations { content: { "application/json": { /** @description A list of [scopes](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). */ - scopes?: (string)[]; + scopes?: string[]; }; }; }; @@ -6618,7 +6618,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["installation"])[]; + "application/json": components["schemas"]["installation"][]; }; }; }; @@ -6661,14 +6661,14 @@ export interface operations { content: { "application/json": { /** @description List of repository names that the token should have access to */ - repositories?: (string)[]; + repositories?: string[]; /** * @description List of repository IDs that the token should have access to * @example [ * 1 * ] */ - repository_ids?: (number)[]; + repository_ids?: number[]; permissions?: components["schemas"]["app-permissions"]; }; }; @@ -6709,7 +6709,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["application-grant"])[]; + "application/json": components["schemas"]["application-grant"][]; }; }; 304: components["responses"]["not_modified"]; @@ -6848,14 +6848,14 @@ export interface operations { */ target_id?: number; /** @description The list of repository names to scope the user-to-server access token to. `repositories` may not be specified if `repository_ids` is specified. */ - repositories?: (string)[]; + repositories?: string[]; /** * @description The list of repository IDs to scope the user-to-server access token to. `repository_ids` may not be specified if `repositories` is specified. * @example [ * 1 * ] */ - repository_ids?: (number)[]; + repository_ids?: number[]; permissions?: components["schemas"]["app-permissions"]; }; }; @@ -6894,7 +6894,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["authorization"])[]; + "application/json": components["schemas"]["authorization"][]; }; }; 304: components["responses"]["not_modified"]; @@ -6929,7 +6929,7 @@ export interface operations { * "user" * ] */ - scopes?: (string)[] | null; + scopes?: string[] | null; /** * @description A note to remind you what the OAuth token is for. * @example Update all gems @@ -6995,7 +6995,7 @@ export interface operations { * "user" * ] */ - scopes?: (string)[] | null; + scopes?: string[] | null; /** * @description A note to remind you what the OAuth token is for. * @example Update all gems @@ -7065,7 +7065,7 @@ export interface operations { * "user" * ] */ - scopes?: (string)[] | null; + scopes?: string[] | null; /** * @description A note to remind you what the OAuth token is for. * @example Update all gems @@ -7167,11 +7167,11 @@ export interface operations { * "user" * ] */ - scopes?: (string)[] | null; + scopes?: string[] | null; /** @description A list of scopes to add to this authorization. */ - add_scopes?: (string)[]; + add_scopes?: string[]; /** @description A list of scopes to remove from this authorization. */ - remove_scopes?: (string)[]; + remove_scopes?: string[]; /** * @description A note to remind you what the OAuth token is for. * @example Update all gems @@ -7481,7 +7481,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["audit-log-event"])[]; + "application/json": components["schemas"]["audit-log-event"][]; }; }; }; @@ -7514,7 +7514,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-secret-scanning-alert"])[]; + "application/json": components["schemas"]["organization-secret-scanning-alert"][]; }; }; 404: components["responses"]["not_found"]; @@ -7560,7 +7560,7 @@ export interface operations { * @example 3 */ total_count?: number; - custom_roles?: (components["schemas"]["organization-custom-repository-role"])[]; + custom_roles?: components["schemas"]["organization-custom-repository-role"][]; }; }; }; @@ -7756,7 +7756,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["audit-log-event"])[]; + "application/json": components["schemas"]["audit-log-event"][]; }; }; }; @@ -7859,7 +7859,7 @@ export interface operations { content: { "application/json": { total_count: number; - installations: (components["schemas"]["installation"])[]; + installations: components["schemas"]["installation"][]; }; }; }; @@ -7886,7 +7886,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["org-pre-receive-hook"])[]; + "application/json": components["schemas"]["org-pre-receive-hook"][]; }; }; }; @@ -7988,7 +7988,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["organization-secret-scanning-alert"])[]; + "application/json": components["schemas"]["organization-secret-scanning-alert"][]; }; }; 404: components["responses"]["not_found"]; @@ -8015,9 +8015,9 @@ export interface operations { /** @description The description of the team. */ description?: string; /** @description List GitHub IDs for organization members who will become team maintainers. */ - maintainers?: (string)[]; + maintainers?: string[]; /** @description The full name (e.g., "organization-name/repository-name") of repositories to add the team to. */ - repo_names?: (string)[]; + repo_names?: string[]; /** * @description The level of privacy this team should have. The options are: * **For a non-nested team:** @@ -8277,7 +8277,7 @@ export interface operations { content: { "application/json": { total_count: number; - workflow_runs: (components["schemas"]["workflow-run"])[]; + workflow_runs: components["schemas"]["workflow-run"][]; }; }; }; @@ -8369,7 +8369,7 @@ export interface operations { content: { "application/json": { total_count: number; - workflow_runs: (components["schemas"]["workflow-run"])[]; + workflow_runs: components["schemas"]["workflow-run"][]; }; }; }; @@ -8395,7 +8395,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["autolink"])[]; + "application/json": components["schemas"]["autolink"][]; }; }; }; @@ -8505,7 +8505,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["code-scanning-analysis"])[]; + "application/json": components["schemas"]["code-scanning-analysis"][]; }; }; 403: components["responses"]["code_scanning_forbidden_read"]; @@ -8546,7 +8546,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["collaborator"])[]; + "application/json": components["schemas"]["collaborator"][]; }; }; 404: components["responses"]["not_found"]; @@ -8681,7 +8681,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["deploy-key"])[]; + "application/json": components["schemas"]["deploy-key"][]; }; }; }; @@ -8767,7 +8767,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["repository-pre-receive-hook"])[]; + "application/json": components["schemas"]["repository-pre-receive-hook"][]; }; }; }; @@ -8869,7 +8869,7 @@ export interface operations { Link: components["headers"]["link"]; }; content: { - "application/json": (components["schemas"]["release"])[]; + "application/json": components["schemas"]["release"][]; }; }; 404: components["responses"]["not_found"]; @@ -9103,7 +9103,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["secret-scanning-alert"])[]; + "application/json": components["schemas"]["secret-scanning-alert"][]; }; }; /** @description Repository is public or secret scanning is disabled for the repository */ @@ -9202,7 +9202,7 @@ export interface operations { Link?: string; }; content: { - "application/json": (components["schemas"]["minimal-repository"])[]; + "application/json": components["schemas"]["minimal-repository"][]; }; }; 304: components["responses"]["not_modified"]; @@ -9252,13 +9252,13 @@ export interface operations { content: { "application/json": { /** @description The SCIM schema URIs. */ - schemas: (string)[]; + schemas: string[]; /** @description The name of the SCIM group. This must match the GitHub organization that the group maps to. */ displayName: string; - members?: ({ + members?: { /** @description The SCIM user ID for a user. */ value: string; - })[]; + }[]; }; }; }; @@ -9312,13 +9312,13 @@ export interface operations { content: { "application/json": { /** @description The SCIM schema URIs. */ - schemas: (string)[]; + schemas: string[]; /** @description The name of the SCIM group. This must match the GitHub organization that the group maps to. */ displayName: string; - members?: ({ + members?: { /** @description The SCIM user ID for a user. */ value: string; - })[]; + }[]; }; }; }; @@ -9364,7 +9364,7 @@ export interface operations { content: { "application/json": { /** @description The SCIM schema URIs. */ - schemas: (string)[]; + schemas: string[]; /** @description Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ Operations: ({ /** @enum {string} */ @@ -9445,7 +9445,7 @@ export interface operations { content: { "application/json": { /** @description The SCIM schema URIs. */ - schemas: (string)[]; + schemas: string[]; /** @description The username for the user. */ userName: string; name: { @@ -9455,18 +9455,18 @@ export interface operations { familyName: string; }; /** @description List of user emails. */ - emails: ({ + emails: { /** @description The email address. */ value: string; /** @description The type of email address. */ type: string; /** @description Whether this email address is the primary address. */ primary: boolean; - })[]; + }[]; /** @description List of SCIM group IDs the user is a member of. */ - groups?: ({ + groups?: { value?: string; - })[]; + }[]; }; }; }; @@ -9520,7 +9520,7 @@ export interface operations { content: { "application/json": { /** @description The SCIM schema URIs. */ - schemas: (string)[]; + schemas: string[]; /** @description The username for the user. */ userName: string; name: { @@ -9530,18 +9530,18 @@ export interface operations { familyName: string; }; /** @description List of user emails. */ - emails: ({ + emails: { /** @description The email address. */ value: string; /** @description The type of email address. */ type: string; /** @description Whether this email address is the primary address. */ primary: boolean; - })[]; + }[]; /** @description List of SCIM group IDs the user is a member of. */ - groups?: ({ + groups?: { value?: string; - })[]; + }[]; }; }; }; @@ -9602,9 +9602,9 @@ export interface operations { content: { "application/json": { /** @description The SCIM schema URIs. */ - schemas: (string)[]; + schemas: string[]; /** @description Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ - Operations: (Record)[]; + Operations: Record[]; }; }; }; @@ -9739,7 +9739,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["ssh-key"])[]; + "application/json": components["schemas"]["ssh-key"][]; }; }; }; @@ -9761,7 +9761,7 @@ export interface operations { /** @description Response */ 201: { content: { - "application/json": (components["schemas"]["ssh-key"])[]; + "application/json": components["schemas"]["ssh-key"][]; }; }; }; @@ -9783,7 +9783,7 @@ export interface operations { /** @description Response */ 200: { content: { - "application/json": (components["schemas"]["ssh-key"])[]; + "application/json": components["schemas"]["ssh-key"][]; }; }; }; @@ -9865,7 +9865,7 @@ export interface operations { content: { "application/json": { total_count: number; - installations: (components["schemas"]["installation"])[]; + installations: components["schemas"]["installation"][]; }; }; }; diff --git a/packages/openapi-typescript/examples/stripe-api.ts b/packages/openapi-typescript/examples/stripe-api.ts index 84599a24f..478b13bbd 100644 --- a/packages/openapi-typescript/examples/stripe-api.ts +++ b/packages/openapi-typescript/examples/stripe-api.ts @@ -2302,36 +2302,36 @@ export interface components { /** AccountCapabilityFutureRequirements */ account_capability_future_requirements: { /** @description Fields that are due and can be satisfied by providing the corresponding alternative fields instead. */ - alternatives?: (components["schemas"]["account_requirements_alternative"])[] | null; + alternatives?: components["schemas"]["account_requirements_alternative"][] | null; /** * Format: unix-time * @description Date on which `future_requirements` merges with the main `requirements` hash and `future_requirements` becomes empty. After the transition, `currently_due` requirements may immediately become `past_due`, but the account may also be given a grace period depending on the capability's enablement state prior to transitioning. */ current_deadline?: number | null; /** @description Fields that need to be collected to keep the capability enabled. If not collected by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash. */ - currently_due: (string)[]; + currently_due: string[]; /** @description This is typed as a string for consistency with `requirements.disabled_reason`, but it safe to assume `future_requirements.disabled_reason` is empty because fields in `future_requirements` will never disable the account. */ disabled_reason?: string | null; /** @description Fields that are `currently_due` and need to be collected again because validation or verification failed. */ - errors: (components["schemas"]["account_requirements_error"])[]; + errors: components["schemas"]["account_requirements_error"][]; /** @description Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well. */ - eventually_due: (string)[]; + eventually_due: string[]; /** @description Fields that weren't collected by `requirements.current_deadline`. These fields need to be collected to enable the capability on the account. New fields will never appear here; `future_requirements.past_due` will always be a subset of `requirements.past_due`. */ - past_due: (string)[]; + past_due: string[]; /** @description Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. */ - pending_verification: (string)[]; + pending_verification: string[]; }; /** AccountCapabilityRequirements */ account_capability_requirements: { /** @description Fields that are due and can be satisfied by providing the corresponding alternative fields instead. */ - alternatives?: (components["schemas"]["account_requirements_alternative"])[] | null; + alternatives?: components["schemas"]["account_requirements_alternative"][] | null; /** * Format: unix-time * @description Date by which the fields in `currently_due` must be collected to keep the capability enabled for the account. These fields may disable the capability sooner if the next threshold is reached before they are collected. */ current_deadline?: number | null; /** @description Fields that need to be collected to keep the capability enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the capability is disabled. */ - currently_due: (string)[]; + currently_due: string[]; /** * @description If the capability is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`. * @@ -2343,13 +2343,13 @@ export interface components { */ disabled_reason?: string | null; /** @description Fields that are `currently_due` and need to be collected again because validation or verification failed. */ - errors: (components["schemas"]["account_requirements_error"])[]; + errors: components["schemas"]["account_requirements_error"][]; /** @description Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set. */ - eventually_due: (string)[]; + eventually_due: string[]; /** @description Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the capability on the account. */ - past_due: (string)[]; + past_due: string[]; /** @description Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. */ - pending_verification: (string)[]; + pending_verification: string[]; }; /** AccountCardIssuingSettings */ account_card_issuing_settings: { @@ -2382,24 +2382,24 @@ export interface components { /** AccountFutureRequirements */ account_future_requirements: { /** @description Fields that are due and can be satisfied by providing the corresponding alternative fields instead. */ - alternatives?: (components["schemas"]["account_requirements_alternative"])[] | null; + alternatives?: components["schemas"]["account_requirements_alternative"][] | null; /** * Format: unix-time * @description Date on which `future_requirements` merges with the main `requirements` hash and `future_requirements` becomes empty. After the transition, `currently_due` requirements may immediately become `past_due`, but the account may also be given a grace period depending on its enablement state prior to transitioning. */ current_deadline?: number | null; /** @description Fields that need to be collected to keep the account enabled. If not collected by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash. */ - currently_due?: (string)[] | null; + currently_due?: string[] | null; /** @description This is typed as a string for consistency with `requirements.disabled_reason`, but it safe to assume `future_requirements.disabled_reason` is empty because fields in `future_requirements` will never disable the account. */ disabled_reason?: string | null; /** @description Fields that are `currently_due` and need to be collected again because validation or verification failed. */ - errors?: (components["schemas"]["account_requirements_error"])[] | null; + errors?: components["schemas"]["account_requirements_error"][] | null; /** @description Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well. */ - eventually_due?: (string)[] | null; + eventually_due?: string[] | null; /** @description Fields that weren't collected by `requirements.current_deadline`. These fields need to be collected to enable the capability on the account. New fields will never appear here; `future_requirements.past_due` will always be a subset of `requirements.past_due`. */ - past_due?: (string)[] | null; + past_due?: string[] | null; /** @description Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. */ - pending_verification?: (string)[] | null; + pending_verification?: string[] | null; }; /** * AccountLink @@ -2451,31 +2451,31 @@ export interface components { /** AccountRequirements */ account_requirements: { /** @description Fields that are due and can be satisfied by providing the corresponding alternative fields instead. */ - alternatives?: (components["schemas"]["account_requirements_alternative"])[] | null; + alternatives?: components["schemas"]["account_requirements_alternative"][] | null; /** * Format: unix-time * @description Date by which the fields in `currently_due` must be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected. */ current_deadline?: number | null; /** @description Fields that need to be collected to keep the account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled. */ - currently_due?: (string)[] | null; + currently_due?: string[] | null; /** @description If the account is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`. */ disabled_reason?: string | null; /** @description Fields that are `currently_due` and need to be collected again because validation or verification failed. */ - errors?: (components["schemas"]["account_requirements_error"])[] | null; + errors?: components["schemas"]["account_requirements_error"][] | null; /** @description Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set. */ - eventually_due?: (string)[] | null; + eventually_due?: string[] | null; /** @description Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the account. */ - past_due?: (string)[] | null; + past_due?: string[] | null; /** @description Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. */ - pending_verification?: (string)[] | null; + pending_verification?: string[] | null; }; /** AccountRequirementsAlternative */ account_requirements_alternative: { /** @description Fields that can be provided to satisfy all fields in `original_fields_due`. */ - alternative_fields_due: (string)[]; + alternative_fields_due: string[]; /** @description Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`. */ - original_fields_due: (string)[]; + original_fields_due: string[]; }; /** AccountRequirementsError */ account_requirements_error: { @@ -2657,7 +2657,7 @@ export interface components { */ refunds: { /** @description Details about each object. */ - data: (components["schemas"]["fee_refund"])[]; + data: components["schemas"]["fee_refund"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -2735,11 +2735,11 @@ export interface components { */ balance: { /** @description Funds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the [Transfers API](https://stripe.com/docs/api#transfers) or [Payouts API](https://stripe.com/docs/api#payouts). The available balance for each currency and payment type can be found in the `source_types` property. */ - available: (components["schemas"]["balance_amount"])[]; + available: components["schemas"]["balance_amount"][]; /** @description Funds held due to negative balances on connected Custom accounts. The connect reserve balance for each currency and payment type can be found in the `source_types` property. */ - connect_reserved?: (components["schemas"]["balance_amount"])[]; + connect_reserved?: components["schemas"]["balance_amount"][]; /** @description Funds that can be paid out using Instant Payouts. */ - instant_available?: (components["schemas"]["balance_amount"])[]; + instant_available?: components["schemas"]["balance_amount"][]; issuing?: components["schemas"]["balance_detail"]; /** @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; @@ -2749,7 +2749,7 @@ export interface components { */ object: "balance"; /** @description Funds that are not yet available in the balance, due to the 7-day rolling pay cycle. The pending balance for each currency, and for each payment type, can be found in the `source_types` property. */ - pending: (components["schemas"]["balance_amount"])[]; + pending: components["schemas"]["balance_amount"][]; }; /** BalanceAmount */ balance_amount: { @@ -2771,7 +2771,7 @@ export interface components { /** BalanceDetail */ balance_detail: { /** @description Funds that are available for use. */ - available: (components["schemas"]["balance_amount"])[]; + available: components["schemas"]["balance_amount"][]; }; /** * BalanceTransaction @@ -2802,7 +2802,7 @@ export interface components { /** @description Fees (in %s) paid for this transaction. */ fee: number; /** @description Detailed breakdown of fees (in %s) paid for this transaction. */ - fee_details: (components["schemas"]["fee"])[]; + fee_details: components["schemas"]["fee"][]; /** @description Unique identifier for the object. */ id: string; /** @description Net amount of the transaction, in %s. */ @@ -2962,7 +2962,7 @@ export interface components { /** BankConnectionsResourceLinkAccountSessionFilters */ bank_connections_resource_link_account_session_filters: { /** @description List of countries from which to filter accounts. */ - countries?: (string)[] | null; + countries?: string[] | null; }; /** BankConnectionsResourceOwnershipRefresh */ bank_connections_resource_ownership_refresh: { @@ -3326,7 +3326,7 @@ export interface components { */ refunds?: { /** @description Details about each object. */ - data: (components["schemas"]["refund"])[]; + data: components["schemas"]["refund"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -3444,7 +3444,7 @@ export interface components { /** @description Currency conversion details for automatic currency conversion sessions */ currency_conversion?: components["schemas"]["payment_pages_checkout_session_currency_conversion"] | null; /** @description Collect additional information from your customer using custom fields. Up to 2 fields are supported. */ - custom_fields: (components["schemas"]["payment_pages_checkout_session_custom_fields"])[]; + custom_fields: components["schemas"]["payment_pages_checkout_session_custom_fields"][]; custom_text: components["schemas"]["payment_pages_checkout_session_custom_text"]; /** * @description The ID of the customer for this Session. @@ -3486,7 +3486,7 @@ export interface components { */ line_items?: { /** @description Details about each object. */ - data: (components["schemas"]["item"])[]; + data: components["schemas"]["item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -3533,7 +3533,7 @@ export interface components { * @description A list of the types of payment methods (e.g. card) this Checkout * Session is allowed to accept. */ - payment_method_types: (string)[]; + payment_method_types: string[]; /** * @description The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`. * You can use this value to decide when to fulfill your customer's order. @@ -3552,7 +3552,7 @@ export interface components { /** @description Shipping information for this Checkout Session. */ shipping_details?: components["schemas"]["shipping"] | null; /** @description The shipping rate options applied to this Session. */ - shipping_options: (components["schemas"]["payment_pages_checkout_session_shipping_option"])[]; + shipping_options: components["schemas"]["payment_pages_checkout_session_shipping_option"][]; /** * @description The status of the Checkout Session, one of `open`, `complete`, or `expired`. * @enum {string|null} @@ -4028,22 +4028,22 @@ export interface components { object: "country_spec"; /** @description Currencies that can be accepted in the specific country (for transfers). */ supported_bank_account_currencies: { - [key: string]: (string)[] | undefined; + [key: string]: string[] | undefined; }; /** @description Currencies that can be accepted in the specified country (for payments). */ - supported_payment_currencies: (string)[]; + supported_payment_currencies: string[]; /** @description Payment methods available in the specified country. You may need to enable some payment methods (e.g., [ACH](https://stripe.com/docs/ach)) on your account before they appear in this list. The `stripe` payment method refers to [charging through your platform](https://stripe.com/docs/connect/destination-charges). */ - supported_payment_methods: (string)[]; + supported_payment_methods: string[]; /** @description Countries that can accept transfers from the specified country. */ - supported_transfer_countries: (string)[]; + supported_transfer_countries: string[]; verification_fields: components["schemas"]["country_spec_verification_fields"]; }; /** CountrySpecVerificationFieldDetails */ country_spec_verification_field_details: { /** @description Additional fields which are only required for some users. */ - additional: (string)[]; + additional: string[]; /** @description Fields which every account must eventually provide. */ - minimum: (string)[]; + minimum: string[]; }; /** CountrySpecVerificationFields */ country_spec_verification_fields: { @@ -4110,7 +4110,7 @@ export interface components { /** CouponAppliesTo */ coupon_applies_to: { /** @description A list of product IDs this coupon applies to */ - products: (string)[]; + products: string[]; }; /** CouponCurrencyOption */ coupon_currency_option: { @@ -4142,7 +4142,7 @@ export interface components { /** @description The integer amount in %s representing the total amount of discount that was credited. */ discount_amount: number; /** @description The aggregate amounts calculated per discount for all line items. */ - discount_amounts: (components["schemas"]["discounts_resource_discount_amount"])[]; + discount_amounts: components["schemas"]["discounts_resource_discount_amount"][]; /** * Format: unix-time * @description The date when this credit note is in effect. Same as `created` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF. @@ -4158,7 +4158,7 @@ export interface components { */ lines: { /** @description Details about each object. */ - data: (components["schemas"]["credit_note_line_item"])[]; + data: components["schemas"]["credit_note_line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -4207,7 +4207,7 @@ export interface components { /** @description The integer amount in %s representing the amount of the credit note, excluding all tax and invoice level discounts. */ subtotal_excluding_tax?: number | null; /** @description The aggregate amounts calculated per tax rate for all line items. */ - tax_amounts: (components["schemas"]["credit_note_tax_amount"])[]; + tax_amounts: components["schemas"]["credit_note_tax_amount"][]; /** @description The integer amount in %s representing the total amount of the credit note, including tax and all discount. */ total: number; /** @description The integer amount in %s representing the total amount of the credit note, excluding tax, but including discounts. */ @@ -4234,7 +4234,7 @@ export interface components { /** @description The integer amount in %s representing the discount being credited for this line item. */ discount_amount: number; /** @description The amount of discount calculated per discount for this line item */ - discount_amounts: (components["schemas"]["discounts_resource_discount_amount"])[]; + discount_amounts: components["schemas"]["discounts_resource_discount_amount"][]; /** @description Unique identifier for the object. */ id: string; /** @description ID of the invoice line item being credited */ @@ -4249,9 +4249,9 @@ export interface components { /** @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 */ - tax_amounts: (components["schemas"]["credit_note_tax_amount"])[]; + tax_amounts: components["schemas"]["credit_note_tax_amount"][]; /** @description The tax rates which apply to the line item. */ - tax_rates: (components["schemas"]["tax_rate"])[]; + tax_rates: components["schemas"]["tax_rate"][]; /** * @description The type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. When the type is `invoice_line_item` there is an additional `invoice_line_item` property on the resource the value of which is the id of the credited line item on the invoice. * @enum {string} @@ -4296,7 +4296,7 @@ export interface components { */ tax_behavior?: "exclusive" | "inclusive" | "unspecified" | null; /** @description Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. */ - tiers?: (components["schemas"]["price_tier"])[]; + tiers?: components["schemas"]["price_tier"][]; /** @description The unit amount in %s to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`. */ unit_amount?: number | null; /** @@ -4379,7 +4379,7 @@ export interface components { /** @description The customer's phone number. */ phone?: string | null; /** @description The customer's preferred locales (languages), ordered by preference. */ - preferred_locales?: (string)[] | null; + preferred_locales?: string[] | null; /** @description Mailing and shipping address for the customer. Appears on invoices emailed to this customer. */ shipping?: components["schemas"]["shipping"] | null; /** @@ -4405,7 +4405,7 @@ export interface components { */ subscriptions?: { /** @description Details about each object. */ - data: (components["schemas"]["subscription"])[]; + data: components["schemas"]["subscription"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -4428,7 +4428,7 @@ export interface components { */ tax_ids?: { /** @description Details about each object. */ - data: (components["schemas"]["tax_id"])[]; + data: components["schemas"]["tax_id"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -5082,7 +5082,7 @@ export interface components { /** @description Disputed amount. Usually the amount of the charge, but can differ (usually because of currency fluctuation or because only part of the order is disputed). */ amount: number; /** @description List of zero, one, or two balance transactions that show funds withdrawn and reinstated to your Stripe account as a result of this dispute. */ - balance_transactions: (components["schemas"]["balance_transaction"])[]; + balance_transactions: components["schemas"]["balance_transaction"][]; /** @description ID of the charge that was disputed. */ charge: string | components["schemas"]["charge"]; /** @@ -5319,13 +5319,13 @@ export interface components { /** ExternalAccountRequirements */ external_account_requirements: { /** @description Fields that need to be collected to keep the external account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled. */ - currently_due?: (string)[] | null; + currently_due?: string[] | null; /** @description Fields that are `currently_due` and need to be collected again because validation or verification failed. */ - errors?: (components["schemas"]["account_requirements_error"])[] | null; + errors?: components["schemas"]["account_requirements_error"][] | null; /** @description Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the external account. */ - past_due?: (string)[] | null; + past_due?: string[] | null; /** @description Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. */ - pending_verification?: (string)[] | null; + pending_verification?: string[] | null; }; /** Fee */ fee: { @@ -5405,7 +5405,7 @@ export interface components { */ links?: { /** @description Details about each object. */ - data: (components["schemas"]["file_link"])[]; + data: components["schemas"]["file_link"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -5591,7 +5591,7 @@ export interface components { */ owners: { /** @description Details about each object. */ - data: (components["schemas"]["financial_connections.account_owner"])[]; + data: components["schemas"]["financial_connections.account_owner"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -5616,7 +5616,7 @@ export interface components { */ accounts: { /** @description Details about each object. */ - data: (components["schemas"]["financial_connections.account"])[]; + data: components["schemas"]["financial_connections.account"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -5647,7 +5647,7 @@ export interface components { /** FinancialReportingFinanceReportRunRunParameters */ financial_reporting_finance_report_run_run_parameters: { /** @description The set of output columns requested for inclusion in the report run. */ - columns?: (string)[]; + columns?: string[]; /** @description Connected account ID by which to filter the report run. */ connected_account?: string; /** @description Currency of objects to be included in the report run. */ @@ -5699,7 +5699,7 @@ export interface components { /** @description The country of the bank account to fund */ country: string; /** @description A list of financial addresses that can be used to fund a particular balance */ - financial_addresses: (components["schemas"]["funding_instructions_bank_transfer_financial_address"])[]; + financial_addresses: components["schemas"]["funding_instructions_bank_transfer_financial_address"][]; /** * @description The bank_transfer type * @enum {string} @@ -5855,7 +5855,7 @@ export interface components { /** @description Expiration date of the document. */ expiration_date?: components["schemas"]["gelato_data_document_report_expiration_date"] | null; /** @description Array of [File](https://stripe.com/docs/api/files) ids containing images for this document. */ - files?: (string)[] | null; + files?: string[] | null; /** @description First name as it appears in the document. */ first_name?: string | null; /** @description Issued date of the document. */ @@ -6233,7 +6233,7 @@ export interface components { /** @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 Custom fields displayed on the invoice. */ - custom_fields?: (components["schemas"]["invoice_setting_custom_field"])[] | null; + custom_fields?: components["schemas"]["invoice_setting_custom_field"][] | null; /** @description The ID of the customer who will be billed. */ customer?: (string | components["schemas"]["customer"] | components["schemas"]["deleted_customer"]) | null; /** @description The customer's address. Until the invoice is finalized, this field will equal `customer.address`. Once the invoice is finalized, this field will no longer be updated. */ @@ -6252,13 +6252,13 @@ export interface components { */ customer_tax_exempt?: "exempt" | "none" | "reverse" | null; /** @description The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as `customer.tax_ids`. Once the invoice is finalized, this field will no longer be updated. */ - customer_tax_ids?: (components["schemas"]["invoices_resource_invoice_tax_id"])[] | null; + customer_tax_ids?: components["schemas"]["invoices_resource_invoice_tax_id"][] | null; /** @description ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. */ default_payment_method?: (string | components["schemas"]["payment_method"]) | null; /** @description ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. */ default_source?: (string | components["schemas"]["bank_account"] | components["schemas"]["card"] | components["schemas"]["source"]) | null; /** @description The tax rates applied to this invoice, if any. */ - default_tax_rates: (components["schemas"]["tax_rate"])[]; + default_tax_rates: components["schemas"]["tax_rate"][]; /** @description An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. */ description?: string | null; /** @description Describes the current discount applied to this invoice, if there is one. Not populated if there are multiple discounts. */ @@ -6297,7 +6297,7 @@ export interface components { */ lines: { /** @description Details about each object. */ - data: (components["schemas"]["line_item"])[]; + data: components["schemas"]["line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -6385,11 +6385,11 @@ export interface components { /** @description Total after discounts and taxes. */ total: number; /** @description The aggregate amounts calculated per discount across all line items. */ - total_discount_amounts?: (components["schemas"]["discounts_resource_discount_amount"])[] | null; + total_discount_amounts?: components["schemas"]["discounts_resource_discount_amount"][] | null; /** @description The integer amount in %s representing the total amount of the invoice including all discounts but excluding all tax. */ total_excluding_tax?: number | null; /** @description The aggregate amounts calculated per tax rate for all line items. */ - total_tax_amounts: (components["schemas"]["invoice_tax_amount"])[]; + 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. */ transfer_data?: components["schemas"]["invoice_transfer_data"] | null; /** @@ -6406,7 +6406,7 @@ export interface components { /** InvoiceItemThresholdReason */ invoice_item_threshold_reason: { /** @description The IDs of the line items that triggered the threshold invoice. */ - line_item_ids: (string)[]; + line_item_ids: string[]; /** @description The quantity threshold boundary that applied to the given line item. */ usage_gte: number; }; @@ -6518,7 +6518,7 @@ export interface components { /** InvoiceSettingCustomerSetting */ invoice_setting_customer_setting: { /** @description Default custom fields to be displayed on invoices for this customer. */ - custom_fields?: (components["schemas"]["invoice_setting_custom_field"])[] | null; + custom_fields?: components["schemas"]["invoice_setting_custom_field"][] | null; /** @description ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices. */ default_payment_method?: (string | components["schemas"]["payment_method"]) | null; /** @description Default footer to be displayed on invoices for this customer. */ @@ -6567,7 +6567,7 @@ export interface components { /** @description The total invoice amount threshold boundary if it triggered the threshold invoice. */ amount_gte?: number | null; /** @description Indicates which line items triggered a threshold invoice. */ - item_reasons: (components["schemas"]["invoice_item_threshold_reason"])[]; + item_reasons: components["schemas"]["invoice_item_threshold_reason"][]; }; /** InvoiceTransferData */ invoice_transfer_data: { @@ -6635,7 +6635,7 @@ export interface components { /** @description The subscription item that this invoice item has been created for, if any. */ subscription_item?: string; /** @description The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. */ - tax_rates?: (components["schemas"]["tax_rate"])[] | null; + tax_rates?: components["schemas"]["tax_rate"][] | null; /** @description ID of the test clock this invoice item belongs to. */ test_clock?: (string | components["schemas"]["test_helpers.test_clock"]) | null; /** @description Unit amount (in the `currency` specified) of the invoice item. */ @@ -6692,7 +6692,7 @@ export interface components { /** @description Invoice containing the credited invoice line items */ invoice: string; /** @description Credited invoice line items */ - invoice_line_items: (string)[]; + invoice_line_items: string[]; }; /** InvoicesResourceLineItemsProrationDetails */ invoices_resource_line_items_proration_details: { @@ -6710,7 +6710,7 @@ export interface components { /** @description The ID of the ShippingRate for this invoice. */ shipping_rate?: (string | components["schemas"]["shipping_rate"]) | null; /** @description The taxes applied to the shipping rate. */ - taxes?: (components["schemas"]["line_items_tax_amount"])[]; + taxes?: components["schemas"]["line_items_tax_amount"][]; }; /** InvoicesStatusTransitions */ invoices_status_transitions: { @@ -6756,7 +6756,7 @@ export interface components { */ authorization_method: "chip" | "contactless" | "keyed_in" | "online" | "swipe"; /** @description List of balance transactions associated with this authorization. */ - balance_transactions: (components["schemas"]["balance_transaction"])[]; + balance_transactions: components["schemas"]["balance_transaction"][]; card: components["schemas"]["issuing.card"]; /** @description The cardholder to whom this authorization belongs. */ cardholder?: (string | components["schemas"]["issuing.cardholder"]) | null; @@ -6790,14 +6790,14 @@ export interface components { /** @description The pending authorization request. This field will only be non-null during an `issuing_authorization.request` webhook. */ pending_request?: components["schemas"]["issuing_authorization_pending_request"] | null; /** @description History of every time a `pending_request` authorization was approved/declined, either by you directly or by Stripe (e.g. based on your spending_controls). If the merchant changes the authorization by performing an incremental authorization, you can look at this field to see the previous requests for the authorization. This field can be helpful in determining why a given authorization was approved/declined. */ - request_history: (components["schemas"]["issuing_authorization_request"])[]; + request_history: components["schemas"]["issuing_authorization_request"][]; /** * @description The current status of the authorization in its lifecycle. * @enum {string} */ status: "closed" | "pending" | "reversed"; /** @description List of [transactions](https://stripe.com/docs/api/issuing/transactions) associated with this authorization. */ - transactions: (components["schemas"]["issuing.transaction"])[]; + transactions: components["schemas"]["issuing.transaction"][]; /** @description [Treasury](https://stripe.com/docs/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://stripe.com/docs/api/treasury/financial_accounts). */ treasury?: components["schemas"]["issuing_authorization_treasury"] | null; verification_data: components["schemas"]["issuing_authorization_verification_data"]; @@ -6939,7 +6939,7 @@ export interface components { /** @description Disputed amount in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Usually the amount of the `transaction`, but can differ (usually because of currency fluctuation). */ amount: number; /** @description List of balance transactions associated with the dispute. */ - balance_transactions?: (components["schemas"]["balance_transaction"])[] | null; + balance_transactions?: components["schemas"]["balance_transaction"][] | null; /** * Format: unix-time * @description Time at which the object was created. Measured in seconds since the Unix epoch. @@ -7159,9 +7159,9 @@ export interface components { /** IssuingAuthorizationTreasury */ issuing_authorization_treasury: { /** @description The array of [ReceivedCredits](https://stripe.com/docs/api/treasury/received_credits) associated with this authorization */ - received_credits: (string)[]; + received_credits: string[]; /** @description The array of [ReceivedDebits](https://stripe.com/docs/api/treasury/received_debits) associated with this authorization */ - received_debits: (string)[]; + received_debits: string[]; /** @description The Treasury [Transaction](https://stripe.com/docs/api/treasury/transactions) associated with this authorization */ transaction?: string | null; }; @@ -7205,7 +7205,7 @@ export interface components { /** @description Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. */ blocked_categories?: (("ac_refrigeration_repair" | "accounting_bookkeeping_services" | "advertising_services" | "agricultural_cooperative" | "airlines_air_carriers" | "airports_flying_fields" | "ambulance_services" | "amusement_parks_carnivals" | "antique_reproductions" | "antique_shops" | "aquariums" | "architectural_surveying_services" | "art_dealers_and_galleries" | "artists_supply_and_craft_shops" | "auto_and_home_supply_stores" | "auto_body_repair_shops" | "auto_paint_shops" | "auto_service_shops" | "automated_cash_disburse" | "automated_fuel_dispensers" | "automobile_associations" | "automotive_parts_and_accessories_stores" | "automotive_tire_stores" | "bail_and_bond_payments" | "bakeries" | "bands_orchestras" | "barber_and_beauty_shops" | "betting_casino_gambling" | "bicycle_shops" | "billiard_pool_establishments" | "boat_dealers" | "boat_rentals_and_leases" | "book_stores" | "books_periodicals_and_newspapers" | "bowling_alleys" | "bus_lines" | "business_secretarial_schools" | "buying_shopping_services" | "cable_satellite_and_other_pay_television_and_radio" | "camera_and_photographic_supply_stores" | "candy_nut_and_confectionery_stores" | "car_and_truck_dealers_new_used" | "car_and_truck_dealers_used_only" | "car_rental_agencies" | "car_washes" | "carpentry_services" | "carpet_upholstery_cleaning" | "caterers" | "charitable_and_social_service_organizations_fundraising" | "chemicals_and_allied_products" | "child_care_services" | "childrens_and_infants_wear_stores" | "chiropodists_podiatrists" | "chiropractors" | "cigar_stores_and_stands" | "civic_social_fraternal_associations" | "cleaning_and_maintenance" | "clothing_rental" | "colleges_universities" | "commercial_equipment" | "commercial_footwear" | "commercial_photography_art_and_graphics" | "commuter_transport_and_ferries" | "computer_network_services" | "computer_programming" | "computer_repair" | "computer_software_stores" | "computers_peripherals_and_software" | "concrete_work_services" | "construction_materials" | "consulting_public_relations" | "correspondence_schools" | "cosmetic_stores" | "counseling_services" | "country_clubs" | "courier_services" | "court_costs" | "credit_reporting_agencies" | "cruise_lines" | "dairy_products_stores" | "dance_hall_studios_schools" | "dating_escort_services" | "dentists_orthodontists" | "department_stores" | "detective_agencies" | "digital_goods_applications" | "digital_goods_games" | "digital_goods_large_volume" | "digital_goods_media" | "direct_marketing_catalog_merchant" | "direct_marketing_combination_catalog_and_retail_merchant" | "direct_marketing_inbound_telemarketing" | "direct_marketing_insurance_services" | "direct_marketing_other" | "direct_marketing_outbound_telemarketing" | "direct_marketing_subscription" | "direct_marketing_travel" | "discount_stores" | "doctors" | "door_to_door_sales" | "drapery_window_covering_and_upholstery_stores" | "drinking_places" | "drug_stores_and_pharmacies" | "drugs_drug_proprietaries_and_druggist_sundries" | "dry_cleaners" | "durable_goods" | "duty_free_stores" | "eating_places_restaurants" | "educational_services" | "electric_razor_stores" | "electric_vehicle_charging" | "electrical_parts_and_equipment" | "electrical_services" | "electronics_repair_shops" | "electronics_stores" | "elementary_secondary_schools" | "emergency_services_gcas_visa_use_only" | "employment_temp_agencies" | "equipment_rental" | "exterminating_services" | "family_clothing_stores" | "fast_food_restaurants" | "financial_institutions" | "fines_government_administrative_entities" | "fireplace_fireplace_screens_and_accessories_stores" | "floor_covering_stores" | "florists" | "florists_supplies_nursery_stock_and_flowers" | "freezer_and_locker_meat_provisioners" | "fuel_dealers_non_automotive" | "funeral_services_crematories" | "furniture_home_furnishings_and_equipment_stores_except_appliances" | "furniture_repair_refinishing" | "furriers_and_fur_shops" | "general_services" | "gift_card_novelty_and_souvenir_shops" | "glass_paint_and_wallpaper_stores" | "glassware_crystal_stores" | "golf_courses_public" | "government_licensed_horse_dog_racing_us_region_only" | "government_licensed_online_casions_online_gambling_us_region_only" | "government_owned_lotteries_non_us_region" | "government_owned_lotteries_us_region_only" | "government_services" | "grocery_stores_supermarkets" | "hardware_equipment_and_supplies" | "hardware_stores" | "health_and_beauty_spas" | "hearing_aids_sales_and_supplies" | "heating_plumbing_a_c" | "hobby_toy_and_game_shops" | "home_supply_warehouse_stores" | "hospitals" | "hotels_motels_and_resorts" | "household_appliance_stores" | "industrial_supplies" | "information_retrieval_services" | "insurance_default" | "insurance_underwriting_premiums" | "intra_company_purchases" | "jewelry_stores_watches_clocks_and_silverware_stores" | "landscaping_services" | "laundries" | "laundry_cleaning_services" | "legal_services_attorneys" | "luggage_and_leather_goods_stores" | "lumber_building_materials_stores" | "manual_cash_disburse" | "marinas_service_and_supplies" | "marketplaces" | "masonry_stonework_and_plaster" | "massage_parlors" | "medical_and_dental_labs" | "medical_dental_ophthalmic_and_hospital_equipment_and_supplies" | "medical_services" | "membership_organizations" | "mens_and_boys_clothing_and_accessories_stores" | "mens_womens_clothing_stores" | "metal_service_centers" | "miscellaneous" | "miscellaneous_apparel_and_accessory_shops" | "miscellaneous_auto_dealers" | "miscellaneous_business_services" | "miscellaneous_food_stores" | "miscellaneous_general_merchandise" | "miscellaneous_general_services" | "miscellaneous_home_furnishing_specialty_stores" | "miscellaneous_publishing_and_printing" | "miscellaneous_recreation_services" | "miscellaneous_repair_shops" | "miscellaneous_specialty_retail" | "mobile_home_dealers" | "motion_picture_theaters" | "motor_freight_carriers_and_trucking" | "motor_homes_dealers" | "motor_vehicle_supplies_and_new_parts" | "motorcycle_shops_and_dealers" | "motorcycle_shops_dealers" | "music_stores_musical_instruments_pianos_and_sheet_music" | "news_dealers_and_newsstands" | "non_fi_money_orders" | "non_fi_stored_value_card_purchase_load" | "nondurable_goods" | "nurseries_lawn_and_garden_supply_stores" | "nursing_personal_care" | "office_and_commercial_furniture" | "opticians_eyeglasses" | "optometrists_ophthalmologist" | "orthopedic_goods_prosthetic_devices" | "osteopaths" | "package_stores_beer_wine_and_liquor" | "paints_varnishes_and_supplies" | "parking_lots_garages" | "passenger_railways" | "pawn_shops" | "pet_shops_pet_food_and_supplies" | "petroleum_and_petroleum_products" | "photo_developing" | "photographic_photocopy_microfilm_equipment_and_supplies" | "photographic_studios" | "picture_video_production" | "piece_goods_notions_and_other_dry_goods" | "plumbing_heating_equipment_and_supplies" | "political_organizations" | "postal_services_government_only" | "precious_stones_and_metals_watches_and_jewelry" | "professional_services" | "public_warehousing_and_storage" | "quick_copy_repro_and_blueprint" | "railroads" | "real_estate_agents_and_managers_rentals" | "record_stores" | "recreational_vehicle_rentals" | "religious_goods_stores" | "religious_organizations" | "roofing_siding_sheet_metal" | "secretarial_support_services" | "security_brokers_dealers" | "service_stations" | "sewing_needlework_fabric_and_piece_goods_stores" | "shoe_repair_hat_cleaning" | "shoe_stores" | "small_appliance_repair" | "snowmobile_dealers" | "special_trade_services" | "specialty_cleaning" | "sporting_goods_stores" | "sporting_recreation_camps" | "sports_and_riding_apparel_stores" | "sports_clubs_fields" | "stamp_and_coin_stores" | "stationary_office_supplies_printing_and_writing_paper" | "stationery_stores_office_and_school_supply_stores" | "swimming_pools_sales" | "t_ui_travel_germany" | "tailors_alterations" | "tax_payments_government_agencies" | "tax_preparation_services" | "taxicabs_limousines" | "telecommunication_equipment_and_telephone_sales" | "telecommunication_services" | "telegraph_services" | "tent_and_awning_shops" | "testing_laboratories" | "theatrical_ticket_agencies" | "timeshares" | "tire_retreading_and_repair" | "tolls_bridge_fees" | "tourist_attractions_and_exhibits" | "towing_services" | "trailer_parks_campgrounds" | "transportation_services" | "travel_agencies_tour_operators" | "truck_stop_iteration" | "truck_utility_trailer_rentals" | "typesetting_plate_making_and_related_services" | "typewriter_stores" | "u_s_federal_government_agencies_or_departments" | "uniforms_commercial_clothing" | "used_merchandise_and_secondhand_stores" | "utilities" | "variety_stores" | "veterinary_services" | "video_amusement_game_supplies" | "video_game_arcades" | "video_tape_rental_stores" | "vocational_trade_schools" | "watch_jewelry_repair" | "welding_repair" | "wholesale_clubs" | "wig_and_toupee_stores" | "wires_money_orders" | "womens_accessory_and_specialty_shops" | "womens_ready_to_wear_stores" | "wrecking_and_salvage_yards")[]) | null; /** @description Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain). */ - spending_limits?: (components["schemas"]["issuing_card_spending_limit"])[] | null; + spending_limits?: components["schemas"]["issuing_card_spending_limit"][] | null; /** @description Currency of the amounts within `spending_limits`. Always the same as the currency of the card. */ spending_limits_currency?: string | null; }; @@ -7295,7 +7295,7 @@ export interface components { /** @description Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. */ blocked_categories?: (("ac_refrigeration_repair" | "accounting_bookkeeping_services" | "advertising_services" | "agricultural_cooperative" | "airlines_air_carriers" | "airports_flying_fields" | "ambulance_services" | "amusement_parks_carnivals" | "antique_reproductions" | "antique_shops" | "aquariums" | "architectural_surveying_services" | "art_dealers_and_galleries" | "artists_supply_and_craft_shops" | "auto_and_home_supply_stores" | "auto_body_repair_shops" | "auto_paint_shops" | "auto_service_shops" | "automated_cash_disburse" | "automated_fuel_dispensers" | "automobile_associations" | "automotive_parts_and_accessories_stores" | "automotive_tire_stores" | "bail_and_bond_payments" | "bakeries" | "bands_orchestras" | "barber_and_beauty_shops" | "betting_casino_gambling" | "bicycle_shops" | "billiard_pool_establishments" | "boat_dealers" | "boat_rentals_and_leases" | "book_stores" | "books_periodicals_and_newspapers" | "bowling_alleys" | "bus_lines" | "business_secretarial_schools" | "buying_shopping_services" | "cable_satellite_and_other_pay_television_and_radio" | "camera_and_photographic_supply_stores" | "candy_nut_and_confectionery_stores" | "car_and_truck_dealers_new_used" | "car_and_truck_dealers_used_only" | "car_rental_agencies" | "car_washes" | "carpentry_services" | "carpet_upholstery_cleaning" | "caterers" | "charitable_and_social_service_organizations_fundraising" | "chemicals_and_allied_products" | "child_care_services" | "childrens_and_infants_wear_stores" | "chiropodists_podiatrists" | "chiropractors" | "cigar_stores_and_stands" | "civic_social_fraternal_associations" | "cleaning_and_maintenance" | "clothing_rental" | "colleges_universities" | "commercial_equipment" | "commercial_footwear" | "commercial_photography_art_and_graphics" | "commuter_transport_and_ferries" | "computer_network_services" | "computer_programming" | "computer_repair" | "computer_software_stores" | "computers_peripherals_and_software" | "concrete_work_services" | "construction_materials" | "consulting_public_relations" | "correspondence_schools" | "cosmetic_stores" | "counseling_services" | "country_clubs" | "courier_services" | "court_costs" | "credit_reporting_agencies" | "cruise_lines" | "dairy_products_stores" | "dance_hall_studios_schools" | "dating_escort_services" | "dentists_orthodontists" | "department_stores" | "detective_agencies" | "digital_goods_applications" | "digital_goods_games" | "digital_goods_large_volume" | "digital_goods_media" | "direct_marketing_catalog_merchant" | "direct_marketing_combination_catalog_and_retail_merchant" | "direct_marketing_inbound_telemarketing" | "direct_marketing_insurance_services" | "direct_marketing_other" | "direct_marketing_outbound_telemarketing" | "direct_marketing_subscription" | "direct_marketing_travel" | "discount_stores" | "doctors" | "door_to_door_sales" | "drapery_window_covering_and_upholstery_stores" | "drinking_places" | "drug_stores_and_pharmacies" | "drugs_drug_proprietaries_and_druggist_sundries" | "dry_cleaners" | "durable_goods" | "duty_free_stores" | "eating_places_restaurants" | "educational_services" | "electric_razor_stores" | "electric_vehicle_charging" | "electrical_parts_and_equipment" | "electrical_services" | "electronics_repair_shops" | "electronics_stores" | "elementary_secondary_schools" | "emergency_services_gcas_visa_use_only" | "employment_temp_agencies" | "equipment_rental" | "exterminating_services" | "family_clothing_stores" | "fast_food_restaurants" | "financial_institutions" | "fines_government_administrative_entities" | "fireplace_fireplace_screens_and_accessories_stores" | "floor_covering_stores" | "florists" | "florists_supplies_nursery_stock_and_flowers" | "freezer_and_locker_meat_provisioners" | "fuel_dealers_non_automotive" | "funeral_services_crematories" | "furniture_home_furnishings_and_equipment_stores_except_appliances" | "furniture_repair_refinishing" | "furriers_and_fur_shops" | "general_services" | "gift_card_novelty_and_souvenir_shops" | "glass_paint_and_wallpaper_stores" | "glassware_crystal_stores" | "golf_courses_public" | "government_licensed_horse_dog_racing_us_region_only" | "government_licensed_online_casions_online_gambling_us_region_only" | "government_owned_lotteries_non_us_region" | "government_owned_lotteries_us_region_only" | "government_services" | "grocery_stores_supermarkets" | "hardware_equipment_and_supplies" | "hardware_stores" | "health_and_beauty_spas" | "hearing_aids_sales_and_supplies" | "heating_plumbing_a_c" | "hobby_toy_and_game_shops" | "home_supply_warehouse_stores" | "hospitals" | "hotels_motels_and_resorts" | "household_appliance_stores" | "industrial_supplies" | "information_retrieval_services" | "insurance_default" | "insurance_underwriting_premiums" | "intra_company_purchases" | "jewelry_stores_watches_clocks_and_silverware_stores" | "landscaping_services" | "laundries" | "laundry_cleaning_services" | "legal_services_attorneys" | "luggage_and_leather_goods_stores" | "lumber_building_materials_stores" | "manual_cash_disburse" | "marinas_service_and_supplies" | "marketplaces" | "masonry_stonework_and_plaster" | "massage_parlors" | "medical_and_dental_labs" | "medical_dental_ophthalmic_and_hospital_equipment_and_supplies" | "medical_services" | "membership_organizations" | "mens_and_boys_clothing_and_accessories_stores" | "mens_womens_clothing_stores" | "metal_service_centers" | "miscellaneous" | "miscellaneous_apparel_and_accessory_shops" | "miscellaneous_auto_dealers" | "miscellaneous_business_services" | "miscellaneous_food_stores" | "miscellaneous_general_merchandise" | "miscellaneous_general_services" | "miscellaneous_home_furnishing_specialty_stores" | "miscellaneous_publishing_and_printing" | "miscellaneous_recreation_services" | "miscellaneous_repair_shops" | "miscellaneous_specialty_retail" | "mobile_home_dealers" | "motion_picture_theaters" | "motor_freight_carriers_and_trucking" | "motor_homes_dealers" | "motor_vehicle_supplies_and_new_parts" | "motorcycle_shops_and_dealers" | "motorcycle_shops_dealers" | "music_stores_musical_instruments_pianos_and_sheet_music" | "news_dealers_and_newsstands" | "non_fi_money_orders" | "non_fi_stored_value_card_purchase_load" | "nondurable_goods" | "nurseries_lawn_and_garden_supply_stores" | "nursing_personal_care" | "office_and_commercial_furniture" | "opticians_eyeglasses" | "optometrists_ophthalmologist" | "orthopedic_goods_prosthetic_devices" | "osteopaths" | "package_stores_beer_wine_and_liquor" | "paints_varnishes_and_supplies" | "parking_lots_garages" | "passenger_railways" | "pawn_shops" | "pet_shops_pet_food_and_supplies" | "petroleum_and_petroleum_products" | "photo_developing" | "photographic_photocopy_microfilm_equipment_and_supplies" | "photographic_studios" | "picture_video_production" | "piece_goods_notions_and_other_dry_goods" | "plumbing_heating_equipment_and_supplies" | "political_organizations" | "postal_services_government_only" | "precious_stones_and_metals_watches_and_jewelry" | "professional_services" | "public_warehousing_and_storage" | "quick_copy_repro_and_blueprint" | "railroads" | "real_estate_agents_and_managers_rentals" | "record_stores" | "recreational_vehicle_rentals" | "religious_goods_stores" | "religious_organizations" | "roofing_siding_sheet_metal" | "secretarial_support_services" | "security_brokers_dealers" | "service_stations" | "sewing_needlework_fabric_and_piece_goods_stores" | "shoe_repair_hat_cleaning" | "shoe_stores" | "small_appliance_repair" | "snowmobile_dealers" | "special_trade_services" | "specialty_cleaning" | "sporting_goods_stores" | "sporting_recreation_camps" | "sports_and_riding_apparel_stores" | "sports_clubs_fields" | "stamp_and_coin_stores" | "stationary_office_supplies_printing_and_writing_paper" | "stationery_stores_office_and_school_supply_stores" | "swimming_pools_sales" | "t_ui_travel_germany" | "tailors_alterations" | "tax_payments_government_agencies" | "tax_preparation_services" | "taxicabs_limousines" | "telecommunication_equipment_and_telephone_sales" | "telecommunication_services" | "telegraph_services" | "tent_and_awning_shops" | "testing_laboratories" | "theatrical_ticket_agencies" | "timeshares" | "tire_retreading_and_repair" | "tolls_bridge_fees" | "tourist_attractions_and_exhibits" | "towing_services" | "trailer_parks_campgrounds" | "transportation_services" | "travel_agencies_tour_operators" | "truck_stop_iteration" | "truck_utility_trailer_rentals" | "typesetting_plate_making_and_related_services" | "typewriter_stores" | "u_s_federal_government_agencies_or_departments" | "uniforms_commercial_clothing" | "used_merchandise_and_secondhand_stores" | "utilities" | "variety_stores" | "veterinary_services" | "video_amusement_game_supplies" | "video_game_arcades" | "video_tape_rental_stores" | "vocational_trade_schools" | "watch_jewelry_repair" | "welding_repair" | "wholesale_clubs" | "wig_and_toupee_stores" | "wires_money_orders" | "womens_accessory_and_specialty_shops" | "womens_ready_to_wear_stores" | "wrecking_and_salvage_yards")[]) | null; /** @description Limit spending with amount-based rules that apply across this cardholder's cards. */ - spending_limits?: (components["schemas"]["issuing_cardholder_spending_limit"])[] | null; + spending_limits?: components["schemas"]["issuing_cardholder_spending_limit"][] | null; /** @description Currency of the amounts within `spending_limits`. */ spending_limits_currency?: string | null; }; @@ -7549,7 +7549,7 @@ export interface components { /** @description Whether the ticket is refundable. */ refundable?: boolean | null; /** @description The legs of the trip. */ - segments?: (components["schemas"]["issuing_transaction_flight_data_leg"])[] | null; + segments?: components["schemas"]["issuing_transaction_flight_data_leg"][] | null; /** @description The travel agency that issued the ticket. */ travel_agency?: string | null; }; @@ -7601,7 +7601,7 @@ export interface components { /** @description Information about lodging that was purchased with this transaction. */ lodging?: components["schemas"]["issuing_transaction_lodging_data"] | null; /** @description The line items in the purchase. */ - receipt?: (components["schemas"]["issuing_transaction_receipt_data"])[] | null; + receipt?: components["schemas"]["issuing_transaction_receipt_data"][] | null; /** @description A merchant-specific order number. */ reference?: string | null; }; @@ -7641,7 +7641,7 @@ export interface components { /** @description An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name. */ description: string; /** @description The discounts applied to the line item. */ - discounts?: (components["schemas"]["line_items_discount_amount"])[]; + discounts?: components["schemas"]["line_items_discount_amount"][]; /** @description Unique identifier for the object. */ id: string; /** @@ -7654,7 +7654,7 @@ export interface components { /** @description The quantity of products being purchased. */ quantity?: number | null; /** @description The taxes applied to the line item. */ - taxes?: (components["schemas"]["line_items_tax_amount"])[]; + taxes?: components["schemas"]["line_items_tax_amount"][]; }; /** LegalEntityCompany */ legal_entity_company: { @@ -7784,7 +7784,7 @@ export interface components { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string | null; /** @description The amount of discount calculated per discount for this line item. */ - discount_amounts?: (components["schemas"]["discounts_resource_discount_amount"])[] | null; + discount_amounts?: components["schemas"]["discounts_resource_discount_amount"][] | null; /** @description If true, discounts will apply to this line item. Always false for prorations. */ discountable: boolean; /** @description The discounts applied to the invoice line item. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. */ @@ -7818,9 +7818,9 @@ export interface components { /** @description The subscription item that generated this line item. Left empty if the line item is not an explicit result of a subscription. */ subscription_item?: string | components["schemas"]["subscription_item"]; /** @description The amount of tax calculated per tax rate for this line item */ - tax_amounts?: (components["schemas"]["invoice_tax_amount"])[]; + tax_amounts?: components["schemas"]["invoice_tax_amount"][]; /** @description The tax rates which apply to the line item. */ - tax_rates?: (components["schemas"]["tax_rate"])[]; + tax_rates?: components["schemas"]["tax_rate"][]; /** * @description A string identifying the type of the source of this line item, either an `invoiceitem` or a `subscription`. * @enum {string} @@ -8018,7 +8018,7 @@ export interface components { /** networks */ networks: { /** @description All available networks for the card. */ - available: (string)[]; + available: string[]; /** @description The preferred network for the card. */ preferred?: string | null; }; @@ -8281,7 +8281,7 @@ export interface components { /** @description Payment-method-specific configuration for this PaymentIntent. */ payment_method_options?: components["schemas"]["payment_intent_payment_method_options"] | null; /** @description The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. */ - payment_method_types: (string)[]; + payment_method_types: string[]; /** @description If present, this property tells you about the processing state of the payment. */ processing?: components["schemas"]["payment_intent_processing"] | null; /** @description Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). */ @@ -8401,7 +8401,7 @@ export interface components { /** @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 | null; /** @description A list of financial addresses that can be used to fund the customer balance */ - financial_addresses?: (components["schemas"]["funding_instructions_bank_transfer_financial_address"])[]; + financial_addresses?: components["schemas"]["funding_instructions_bank_transfer_financial_address"][]; /** @description A link to a hosted page that guides your customer through completing the transfer. */ hosted_instructions_url?: string | null; /** @description A string identifying this payment. Instruct your customer to include this code in the reference or memo field of their bank transfer. */ @@ -8841,7 +8841,7 @@ export interface components { /** @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 Collect additional information from your customer using custom fields. Up to 2 fields are supported. */ - custom_fields: (components["schemas"]["payment_links_resource_custom_fields"])[]; + custom_fields: components["schemas"]["payment_links_resource_custom_fields"][]; custom_text: components["schemas"]["payment_links_resource_custom_text"]; /** * @description Configuration for Customer creation during checkout. @@ -8858,7 +8858,7 @@ export interface components { */ line_items?: { /** @description Details about each object. */ - data: (components["schemas"]["item"])[]; + data: components["schemas"]["item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -8895,7 +8895,7 @@ export interface components { /** @description Configuration for collecting the customer's shipping address. */ shipping_address_collection?: components["schemas"]["payment_links_resource_shipping_address_collection"] | null; /** @description The shipping rate options applied to the session. */ - shipping_options: (components["schemas"]["payment_links_resource_shipping_option"])[]; + shipping_options: components["schemas"]["payment_links_resource_shipping_option"][]; /** * @description Indicates the type of transaction being performed which customizes relevant text on the page, such as the submit button. * @enum {string} @@ -8969,7 +8969,7 @@ export interface components { /** PaymentLinksResourceCustomFieldsDropdown */ payment_links_resource_custom_fields_dropdown: { /** @description The options available for the customer to select. Up to 200 options allowed. */ - options: (components["schemas"]["payment_links_resource_custom_fields_dropdown_option"])[]; + options: components["schemas"]["payment_links_resource_custom_fields_dropdown_option"][]; }; /** PaymentLinksResourceCustomFieldsDropdownOption */ payment_links_resource_custom_fields_dropdown_option: { @@ -9026,7 +9026,7 @@ export interface components { /** @description The account tax IDs associated with the invoice. */ account_tax_ids?: ((string | components["schemas"]["tax_id"] | components["schemas"]["deleted_tax_id"])[]) | null; /** @description A list of up to 4 custom fields to be displayed on the invoice. */ - custom_fields?: (components["schemas"]["invoice_setting_custom_field"])[] | null; + custom_fields?: components["schemas"]["invoice_setting_custom_field"][] | null; /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string | null; /** @description Footer to be displayed on the invoice. */ @@ -9283,7 +9283,7 @@ export interface components { /** payment_method_card_present_networks */ payment_method_card_present_networks: { /** @description All available networks for the card. */ - available: (string)[]; + available: string[]; /** @description The preferred network for the card. */ preferred?: string | null; }; @@ -9798,7 +9798,7 @@ export interface components { /** @description Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`. */ network?: string | null; /** @description EMV tag 5F2D. Preferred languages specified by the integrated circuit chip. */ - preferred_locales?: (string)[] | null; + preferred_locales?: string[] | null; /** * @description How card details were read in this transaction. * @enum {string|null} @@ -10062,7 +10062,7 @@ export interface components { /** @description Contains information about card networks that can be used to process the payment. */ networks?: components["schemas"]["payment_method_card_present_networks"] | null; /** @description EMV tag 5F2D. Preferred languages specified by the integrated circuit chip. */ - preferred_locales?: (string)[] | null; + preferred_locales?: string[] | null; /** * @description How card details were read in this transaction. * @enum {string|null} @@ -10182,7 +10182,7 @@ export interface components { /** payment_method_options_card_installments */ payment_method_options_card_installments: { /** @description Installment plans that may be selected for this PaymentIntent. */ - available_plans?: (components["schemas"]["payment_method_details_card_installments_plan"])[] | null; + available_plans?: components["schemas"]["payment_method_details_card_installments_plan"][] | null; /** @description Whether Installments are enabled for this PaymentIntent. */ enabled: boolean; /** @description Installment plan selected for this PaymentIntent. */ @@ -10219,7 +10219,7 @@ export interface components { */ start_date: number; /** @description Specifies the type of mandates supported. Possible values are `india`. */ - supported_types?: ("india")[] | null; + supported_types?: "india"[] | null; }; /** payment_method_options_card_present */ payment_method_options_card_present: { @@ -10705,7 +10705,7 @@ export interface components { /** PaymentPagesCheckoutSessionCustomFieldsDropdown */ payment_pages_checkout_session_custom_fields_dropdown: { /** @description The options available for the customer to select. Up to 200 options allowed. */ - options: (components["schemas"]["payment_pages_checkout_session_custom_fields_option"])[]; + options: components["schemas"]["payment_pages_checkout_session_custom_fields_option"][]; /** @description The option selected by the customer. This will be the `value` for the option. */ value?: string | null; }; @@ -10775,7 +10775,7 @@ export interface components { */ tax_exempt?: "exempt" | "none" | "reverse" | null; /** @description The customer’s tax IDs after a completed Checkout Session. */ - tax_ids?: (components["schemas"]["payment_pages_checkout_session_tax_id"])[] | null; + tax_ids?: components["schemas"]["payment_pages_checkout_session_tax_id"][] | null; }; /** PaymentPagesCheckoutSessionInvoiceCreation */ payment_pages_checkout_session_invoice_creation: { @@ -10788,7 +10788,7 @@ export interface components { /** @description The account tax IDs associated with the invoice. */ account_tax_ids?: ((string | components["schemas"]["tax_id"] | components["schemas"]["deleted_tax_id"])[]) | null; /** @description Custom fields displayed on the invoice. */ - custom_fields?: (components["schemas"]["invoice_setting_custom_field"])[] | null; + custom_fields?: components["schemas"]["invoice_setting_custom_field"][] | null; /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string | null; /** @description Footer displayed on the invoice. */ @@ -10824,7 +10824,7 @@ export interface components { /** @description The ID of the ShippingRate for this order. */ shipping_rate?: (string | components["schemas"]["shipping_rate"]) | null; /** @description The taxes applied to the shipping rate. */ - taxes?: (components["schemas"]["line_items_tax_amount"])[]; + taxes?: components["schemas"]["line_items_tax_amount"][]; }; /** PaymentPagesCheckoutSessionShippingOption */ payment_pages_checkout_session_shipping_option: { @@ -10861,9 +10861,9 @@ export interface components { /** PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown */ payment_pages_checkout_session_total_details_resource_breakdown: { /** @description The aggregated discounts. */ - discounts: (components["schemas"]["line_items_discount_amount"])[]; + discounts: components["schemas"]["line_items_discount_amount"][]; /** @description The aggregated tax amounts by rate. */ - taxes: (components["schemas"]["line_items_tax_amount"])[]; + taxes: components["schemas"]["line_items_tax_amount"][]; }; /** Polymorphic */ payment_source: components["schemas"]["account"] | components["schemas"]["bank_account"] | components["schemas"]["card"] | components["schemas"]["source"]; @@ -10996,7 +10996,7 @@ export interface components { /** @description The Kanji variation of the person's first name (Japan only). */ first_name_kanji?: string | null; /** @description A list of alternate names or aliases that the person is known by. */ - full_name_aliases?: (string)[]; + full_name_aliases?: string[]; future_requirements?: components["schemas"]["person_future_requirements"] | null; /** @description The person's gender (International regulations require either "male" or "female"). */ gender?: string | null; @@ -11042,17 +11042,17 @@ export interface components { /** PersonFutureRequirements */ person_future_requirements: { /** @description Fields that are due and can be satisfied by providing the corresponding alternative fields instead. */ - alternatives?: (components["schemas"]["account_requirements_alternative"])[] | null; + alternatives?: components["schemas"]["account_requirements_alternative"][] | null; /** @description Fields that need to be collected to keep the person's account enabled. If not collected by the account's `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash, and may immediately become `past_due`, but the account may also be given a grace period depending on the account's enablement state prior to transition. */ - currently_due: (string)[]; + currently_due: string[]; /** @description Fields that are `currently_due` and need to be collected again because validation or verification failed. */ - errors: (components["schemas"]["account_requirements_error"])[]; + errors: components["schemas"]["account_requirements_error"][]; /** @description Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `future_requirements[current_deadline]` becomes set. */ - eventually_due: (string)[]; + eventually_due: string[]; /** @description Fields that weren't collected by the account's `requirements.current_deadline`. These fields need to be collected to enable the person's account. New fields will never appear here; `future_requirements.past_due` will always be a subset of `requirements.past_due`. */ - past_due: (string)[]; + past_due: string[]; /** @description Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. */ - pending_verification: (string)[]; + pending_verification: string[]; }; /** PersonRelationship */ person_relationship: { @@ -11072,17 +11072,17 @@ export interface components { /** PersonRequirements */ person_requirements: { /** @description Fields that are due and can be satisfied by providing the corresponding alternative fields instead. */ - alternatives?: (components["schemas"]["account_requirements_alternative"])[] | null; + alternatives?: components["schemas"]["account_requirements_alternative"][] | null; /** @description Fields that need to be collected to keep the person's account enabled. If not collected by the account's `current_deadline`, these fields appear in `past_due` as well, and the account is disabled. */ - currently_due: (string)[]; + currently_due: string[]; /** @description Fields that are `currently_due` and need to be collected again because validation or verification failed. */ - errors: (components["schemas"]["account_requirements_error"])[]; + errors: components["schemas"]["account_requirements_error"][]; /** @description Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `current_deadline` becomes set. */ - eventually_due: (string)[]; + eventually_due: string[]; /** @description Fields that weren't collected by the account's `current_deadline`. These fields need to be collected to enable the person's account. */ - past_due: (string)[]; + past_due: string[]; /** @description Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. */ - pending_verification: (string)[]; + pending_verification: string[]; }; /** * Plan @@ -11147,7 +11147,7 @@ export interface components { /** @description The product whose pricing this plan determines. */ product?: (string | components["schemas"]["product"] | components["schemas"]["deleted_product"]) | null; /** @description Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. */ - tiers?: (components["schemas"]["plan_tier"])[]; + tiers?: components["schemas"]["plan_tier"][]; /** * @description Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows. * @enum {string|null} @@ -11273,9 +11273,9 @@ export interface components { /** PortalFlowsFlowSubscriptionUpdateConfirm */ portal_flows_flow_subscription_update_confirm: { /** @description The coupon or promotion code to apply to this subscription update. Currently, only up to one may be specified. */ - discounts?: (components["schemas"]["portal_flows_subscription_update_confirm_discount"])[] | null; + discounts?: components["schemas"]["portal_flows_subscription_update_confirm_discount"][] | null; /** @description The [subscription item](https://stripe.com/docs/api/subscription_items) to be updated through this flow. Currently, only up to one may be specified and subscriptions with multiple items are not updatable. */ - items: (components["schemas"]["portal_flows_subscription_update_confirm_item"])[]; + items: components["schemas"]["portal_flows_subscription_update_confirm_item"][]; /** @description The ID of the subscription to be updated. */ subscription: string; }; @@ -11351,7 +11351,7 @@ export interface components { /** @description Whether the feature is enabled. */ enabled: boolean; /** @description The list of products that support subscription updates. */ - products?: (components["schemas"]["portal_subscription_update_product"])[] | null; + products?: components["schemas"]["portal_subscription_update_product"][] | null; /** * @description Determines how to handle prorations resulting from subscription updates. Valid values are `none`, `create_prorations`, and `always_invoice`. * @enum {string} @@ -11361,7 +11361,7 @@ export interface components { /** PortalSubscriptionUpdateProduct */ portal_subscription_update_product: { /** @description The list of price IDs which, when subscribed to, a subscription can be updated. */ - prices: (string)[]; + prices: string[]; /** @description The product ID. */ product: string; }; @@ -11422,7 +11422,7 @@ export interface components { */ tax_behavior?: "exclusive" | "inclusive" | "unspecified" | null; /** @description Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. */ - tiers?: (components["schemas"]["price_tier"])[]; + tiers?: components["schemas"]["price_tier"][]; /** * @description Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows. * @enum {string|null} @@ -11488,7 +11488,7 @@ export interface components { /** @description Unique identifier for the object. */ id: string; /** @description A list of up to 8 URLs of images for this product, meant to be displayable to the customer. */ - images: (string)[]; + images: 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. */ @@ -11641,7 +11641,7 @@ export interface components { */ line_items?: { /** @description Details about each object. */ - data: (components["schemas"]["item"])[]; + data: components["schemas"]["item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -11765,9 +11765,9 @@ export interface components { /** QuotesResourceTotalDetailsResourceBreakdown */ quotes_resource_total_details_resource_breakdown: { /** @description The aggregated discounts. */ - discounts: (components["schemas"]["line_items_discount_amount"])[]; + discounts: components["schemas"]["line_items_discount_amount"][]; /** @description The aggregated tax amounts by rate. */ - taxes: (components["schemas"]["line_items_tax_amount"])[]; + taxes: components["schemas"]["line_items_tax_amount"][]; }; /** QuotesResourceTransferData */ quotes_resource_transfer_data: { @@ -11790,7 +11790,7 @@ export interface components { */ line_items?: { /** @description Details about each object. */ - data: (components["schemas"]["item"])[]; + data: components["schemas"]["item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -11863,7 +11863,7 @@ export interface components { */ list_items: { /** @description Details about each object. */ - data: (components["schemas"]["radar.value_list_item"])[]; + data: components["schemas"]["radar.value_list_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -12127,7 +12127,7 @@ export interface components { */ data_available_start: number; /** @description List of column names that are included by default when this Report Type gets run. (If the Report Type doesn't support the `columns` parameter, this will be null.) */ - default_columns?: (string)[] | null; + default_columns?: string[] | null; /** @description The [ID of the Report Type](https://stripe.com/docs/reporting/statements/api#available-report-types), such as `balance.summary.1`. */ 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. */ @@ -12593,7 +12593,7 @@ export interface components { /** @description Payment-method-specific configuration for this SetupIntent. */ payment_method_options?: components["schemas"]["setup_intent_payment_method_options"] | null; /** @description The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. */ - payment_method_types: (string)[]; + payment_method_types: string[]; /** @description ID of the single_use Mandate generated by the SetupIntent. */ single_use_mandate?: (string | components["schemas"]["mandate"]) | null; /** @@ -12716,7 +12716,7 @@ export interface components { */ start_date: number; /** @description Specifies the type of mandates supported. Possible values are `india`. */ - supported_types?: ("india")[] | null; + supported_types?: "india"[] | null; }; /** setup_intent_payment_method_options_link */ setup_intent_payment_method_options_link: { @@ -13031,7 +13031,7 @@ export interface components { /** @description The email address of the customer placing the order. */ email?: string; /** @description List of items constituting the order. */ - items?: (components["schemas"]["source_order_item"])[] | null; + items?: components["schemas"]["source_order_item"][] | null; shipping?: components["schemas"]["shipping"]; }; /** SourceOrderItem */ @@ -13446,7 +13446,7 @@ export interface components { /** @description ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). */ default_source?: (string | components["schemas"]["bank_account"] | components["schemas"]["card"] | components["schemas"]["source"]) | null; /** @description The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. */ - default_tax_rates?: (components["schemas"]["tax_rate"])[] | null; + default_tax_rates?: components["schemas"]["tax_rate"][] | null; /** @description The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces. */ description?: string | null; /** @description Describes the current discount applied to this subscription, if there is one. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. */ @@ -13464,7 +13464,7 @@ export interface components { */ items: { /** @description Details about each object. */ - data: (components["schemas"]["subscription_item"])[]; + data: components["schemas"]["subscription_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -13581,7 +13581,7 @@ export interface components { /** @description The `subscription` this `subscription_item` belongs to. */ subscription: string; /** @description The tax rates which apply to this `subscription_item`. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`. */ - tax_rates?: (components["schemas"]["tax_rate"])[] | null; + tax_rates?: components["schemas"]["tax_rate"][] | null; }; /** SubscriptionItemBillingThresholds */ subscription_item_billing_thresholds: { @@ -13660,7 +13660,7 @@ export interface components { */ object: "subscription_schedule"; /** @description Configuration for the subscription schedule's phases. */ - phases: (components["schemas"]["subscription_schedule_phase_configuration"])[]; + phases: components["schemas"]["subscription_schedule_phase_configuration"][]; /** * Format: unix-time * @description Time at which the subscription schedule was released. Measured in seconds since the Unix epoch. @@ -13688,7 +13688,7 @@ export interface components { /** @description The quantity of the invoice item. */ quantity?: number | null; /** @description The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. */ - tax_rates?: (components["schemas"]["tax_rate"])[] | null; + tax_rates?: components["schemas"]["tax_rate"][] | null; }; /** * SubscriptionScheduleConfigurationItem @@ -13706,7 +13706,7 @@ export interface components { /** @description Quantity of the plan to which the customer should be subscribed. */ quantity?: number; /** @description The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. */ - tax_rates?: (components["schemas"]["tax_rate"])[] | null; + tax_rates?: components["schemas"]["tax_rate"][] | null; }; /** SubscriptionScheduleCurrentPhase */ subscription_schedule_current_phase: { @@ -13727,7 +13727,7 @@ export interface components { */ subscription_schedule_phase_configuration: { /** @description A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. */ - add_invoice_items: (components["schemas"]["subscription_schedule_add_invoice_item"])[]; + add_invoice_items: components["schemas"]["subscription_schedule_add_invoice_item"][]; /** @description A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account during this phase of the schedule. */ application_fee_percent?: number | null; automatic_tax?: components["schemas"]["schedules_phase_automatic_tax"]; @@ -13750,7 +13750,7 @@ export interface components { /** @description ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. */ default_payment_method?: (string | components["schemas"]["payment_method"]) | null; /** @description The default tax rates to apply to the subscription during this phase of the subscription schedule. */ - default_tax_rates?: (components["schemas"]["tax_rate"])[] | null; + default_tax_rates?: components["schemas"]["tax_rate"][] | null; /** @description Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. */ description?: string | null; /** @@ -13761,7 +13761,7 @@ export interface components { /** @description The invoice settings applicable during this phase. */ invoice_settings?: components["schemas"]["invoice_setting_phase_setting"] | null; /** @description Subscription items to configure the subscription to during this phase of the subscription schedule. */ - items: (components["schemas"]["subscription_schedule_configuration_item"])[]; + items: components["schemas"]["subscription_schedule_configuration_item"][]; /** @description Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered. Updating the underlying subscription's `metadata` directly will not affect the current phase's `metadata`. */ metadata?: ({ [key: string]: string | undefined; @@ -13887,7 +13887,7 @@ export interface components { */ expires_at: number; /** @description List of subscription items, each with an attached plan, that will be set if the update is applied. */ - subscription_items?: (components["schemas"]["subscription_item"])[] | null; + subscription_items?: components["schemas"]["subscription_item"][] | null; /** * Format: unix-time * @description Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied. @@ -13941,7 +13941,7 @@ export interface components { */ line_items?: { /** @description Details about each object. */ - data: (components["schemas"]["tax.calculation_line_item"])[]; + data: components["schemas"]["tax.calculation_line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -13966,7 +13966,7 @@ export interface components { /** @description The amount of tax already included in the line item prices. */ tax_amount_inclusive: number; /** @description Breakdown of individual tax amounts that add up to the total. */ - tax_breakdown: (components["schemas"]["tax_product_resource_tax_breakdown"])[]; + tax_breakdown: components["schemas"]["tax_product_resource_tax_breakdown"][]; /** * Format: unix-time * @description Timestamp of date at which the tax rules and rates in effect applies for the calculation. @@ -14000,7 +14000,7 @@ export interface components { */ tax_behavior: "exclusive" | "inclusive"; /** @description Detailed account of taxes relevant to this line item. */ - tax_breakdown?: (components["schemas"]["tax_product_resource_line_item_tax_breakdown"])[] | null; + tax_breakdown?: components["schemas"]["tax_product_resource_line_item_tax_breakdown"][] | null; /** @description The [tax code](https://stripe.com/docs/tax/tax-categories) ID used for this resource. */ tax_code: string; }; @@ -14029,7 +14029,7 @@ export interface components { */ line_items?: { /** @description Details about each object. */ - data: (components["schemas"]["tax.transaction_line_item"])[]; + data: components["schemas"]["tax.transaction_line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -14205,7 +14205,7 @@ export interface components { /** @description The customer's IP address (IPv4 or IPv6). */ ip_address?: string | null; /** @description The customer's tax IDs (for example, EU VAT numbers). */ - tax_ids: (components["schemas"]["tax_product_resource_customer_details_resource_tax_id"])[]; + tax_ids: components["schemas"]["tax_product_resource_customer_details_resource_tax_id"][]; /** * @description The taxability override used for taxation. * @enum {string} @@ -14312,7 +14312,7 @@ export interface components { */ tax_behavior: "exclusive" | "inclusive"; /** @description Detailed account of taxes relevant to shipping cost. */ - tax_breakdown?: (components["schemas"]["tax_product_resource_line_item_tax_breakdown"])[]; + tax_breakdown?: components["schemas"]["tax_product_resource_line_item_tax_breakdown"][]; /** @description The [tax code](https://stripe.com/docs/tax/tax-categories) ID used for shipping. */ tax_code: string; }; @@ -14509,9 +14509,9 @@ export interface components { /** TerminalConfigurationConfigurationResourceCurrencySpecificConfig */ terminal_configuration_configuration_resource_currency_specific_config: { /** @description Fixed amounts displayed when collecting a tip */ - fixed_amounts?: (number)[] | null; + fixed_amounts?: number[] | null; /** @description Percentages displayed when collecting a tip */ - percentages?: (number)[] | null; + percentages?: number[] | null; /** @description Below this amount, fixed amounts will be displayed; above it, percentages will be displayed */ smart_tip_threshold?: number; }; @@ -14545,7 +14545,7 @@ export interface components { /** @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 List of line items in the cart. */ - line_items: (components["schemas"]["terminal_reader_reader_resource_line_item"])[]; + line_items: components["schemas"]["terminal_reader_reader_resource_line_item"][]; /** @description Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). */ tax?: number | null; /** @description Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). */ @@ -14884,7 +14884,7 @@ export interface components { */ reversals: { /** @description Details about each object. */ - data: (components["schemas"]["transfer_reversal"])[]; + data: components["schemas"]["transfer_reversal"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -15106,7 +15106,7 @@ export interface components { created: number; features?: components["schemas"]["treasury.financial_account_features"]; /** @description The set of credentials that resolve to a FinancialAccount. */ - financial_addresses: (components["schemas"]["treasury_financial_accounts_resource_financial_address"])[]; + financial_addresses: components["schemas"]["treasury_financial_accounts_resource_financial_address"][]; /** @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. */ @@ -15133,7 +15133,7 @@ export interface components { status: "closed" | "open"; status_details: components["schemas"]["treasury_financial_accounts_resource_status_details"]; /** @description The currencies the FinancialAccount can hold a balance in. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. */ - supported_currencies: (string)[]; + supported_currencies: string[]; }; /** * TreasuryFinancialAccountsResourceFinancialAccountFeatures @@ -15455,7 +15455,7 @@ export interface components { */ entries?: { /** @description Details about each object. */ - data: (components["schemas"]["treasury.transaction_entry"])[]; + data: components["schemas"]["treasury.transaction_entry"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -15568,7 +15568,7 @@ export interface components { */ status: "active" | "pending" | "restricted"; /** @description Additional details; includes at least one entry when the status is not `active`. */ - status_details: (components["schemas"]["treasury_financial_accounts_resource_toggles_setting_status_details"])[]; + status_details: components["schemas"]["treasury_financial_accounts_resource_toggles_setting_status_details"][]; }; /** * TreasuryFinancialAccountsResourceAchToggleSettings @@ -15583,7 +15583,7 @@ export interface components { */ status: "active" | "pending" | "restricted"; /** @description Additional details; includes at least one entry when the status is not `active`. */ - status_details: (components["schemas"]["treasury_financial_accounts_resource_toggles_setting_status_details"])[]; + status_details: components["schemas"]["treasury_financial_accounts_resource_toggles_setting_status_details"][]; }; /** * TreasuryFinancialAccountsResourceBalance @@ -15686,7 +15686,7 @@ export interface components { */ status: "active" | "pending" | "restricted"; /** @description Additional details; includes at least one entry when the status is not `active`. */ - status_details: (components["schemas"]["treasury_financial_accounts_resource_toggles_setting_status_details"])[]; + status_details: components["schemas"]["treasury_financial_accounts_resource_toggles_setting_status_details"][]; }; /** * TreasuryFinancialAccountsResourceTogglesSettingStatusDetails @@ -16057,7 +16057,7 @@ export interface components { /** @description An optional description of what the webhook is used for. */ description?: string | null; /** @description The list of events to enable for this endpoint. `['*']` indicates that all events are enabled, except those that require explicit selection. */ - enabled_events: (string)[]; + enabled_events: string[]; /** @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. */ @@ -16095,7 +16095,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; requestBody?: { @@ -16131,7 +16131,7 @@ export interface operations { */ collect?: "currently_due" | "eventually_due"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The URL the user will be redirected to if the account link is expired, has been previously-visited, or is otherwise invalid. The URL you specify should attempt to generate a new account link with the same parameters used to create the original account link, then redirect the user to the new account link's URL so they can continue with Connect Onboarding. If a new account link cannot be generated or the redirect fails you should display a useful error to the user. */ refresh_url?: string; /** @description The URL that the user will be redirected to upon leaving or completing the linked flow. */ @@ -16172,7 +16172,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -16189,7 +16189,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["account"])[]; + data: components["schemas"]["account"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -16238,7 +16238,7 @@ export interface operations { documents?: { /** documents_param */ bank_account_ownership_verification?: { - files?: (string)[]; + files?: string[]; }; }; /** @enum {string} */ @@ -16498,37 +16498,37 @@ export interface operations { documents?: { /** documents_param */ bank_account_ownership_verification?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_license?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_memorandum_of_association?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_ministerial_decree?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_registration_verification?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_tax_id_verification?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ proof_of_registration?: { - files?: (string)[]; + files?: string[]; }; }; /** @description The email address of the account holder. This is only to make the account easier to identify to you. Stripe only emails Custom accounts with your consent. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A card or bank account to attach to the account for receiving [payouts](https://stripe.com/docs/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](https://stripe.com/docs/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/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](https://stripe.com/docs/api#account_create_bank_account) or [card creation](https://stripe.com/docs/api#account_create_card) APIs. */ external_account?: string; /** @@ -16574,7 +16574,7 @@ export interface operations { first_name?: string; first_name_kana?: string; first_name_kanji?: string; - full_name_aliases?: (string)[] | ""; + full_name_aliases?: string[] | ""; gender?: string; id_number?: string; id_number_secondary?: string; @@ -16719,7 +16719,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { account: string; @@ -17019,37 +17019,37 @@ export interface operations { documents?: { /** documents_param */ bank_account_ownership_verification?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_license?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_memorandum_of_association?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_ministerial_decree?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_registration_verification?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ company_tax_id_verification?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ proof_of_registration?: { - files?: (string)[]; + files?: string[]; }; }; /** @description The email address of the account holder. This is only to make the account easier to identify to you. Stripe only emails Custom accounts with your consent. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A card or bank account to attach to the account for receiving [payouts](https://stripe.com/docs/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](https://stripe.com/docs/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/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](https://stripe.com/docs/api#account_create_bank_account) or [card creation](https://stripe.com/docs/api#account_create_card) APIs. */ external_account?: string; /** @@ -17095,7 +17095,7 @@ export interface operations { first_name?: string; first_name_kana?: string; first_name_kanji?: string; - full_name_aliases?: (string)[] | ""; + full_name_aliases?: string[] | ""; gender?: string; id_number?: string; id_number_secondary?: string; @@ -17287,7 +17287,7 @@ export interface operations { documents?: { /** documents_param */ bank_account_ownership_verification?: { - files?: (string)[]; + files?: string[]; }; }; /** @enum {string} */ @@ -17297,7 +17297,7 @@ export interface operations { /** @description When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ default_for_currency?: boolean; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Please refer to full [documentation](https://stripe.com/docs/api) instead. */ external_account?: 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`. */ @@ -17327,7 +17327,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { account: string; @@ -17402,7 +17402,7 @@ export interface operations { documents?: { /** documents_param */ bank_account_ownership_verification?: { - files?: (string)[]; + files?: string[]; }; }; /** @description Two digit number representing the card’s expiration month. */ @@ -17410,7 +17410,7 @@ export interface operations { /** @description Four digit number representing the card’s expiration year. */ exp_year?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -17468,7 +17468,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { account: string; @@ -17484,7 +17484,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["capability"])[]; + data: components["schemas"]["capability"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -17510,7 +17510,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { account: string; @@ -17549,7 +17549,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. */ requested?: boolean; }; @@ -17577,7 +17577,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -17643,7 +17643,7 @@ export interface operations { documents?: { /** documents_param */ bank_account_ownership_verification?: { - files?: (string)[]; + files?: string[]; }; }; /** @enum {string} */ @@ -17653,7 +17653,7 @@ export interface operations { /** @description When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ default_for_currency?: boolean; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Please refer to full [documentation](https://stripe.com/docs/api) instead. */ external_account?: 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`. */ @@ -17683,7 +17683,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { account: string; @@ -17758,7 +17758,7 @@ export interface operations { documents?: { /** documents_param */ bank_account_ownership_verification?: { - files?: (string)[]; + files?: string[]; }; }; /** @description Two digit number representing the card’s expiration month. */ @@ -17766,7 +17766,7 @@ export interface operations { /** @description Four digit number representing the card’s expiration year. */ exp_year?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -17834,7 +17834,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -17860,7 +17860,7 @@ export interface operations { /** @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)[]; + 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 Filters on the list of people returned based on the person's relationship to the account's company. */ @@ -17887,7 +17887,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["person"])[]; + data: components["schemas"]["person"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -17969,21 +17969,21 @@ export interface operations { documents?: { /** documents_param */ company_authorization?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ passport?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ visa?: { - files?: (string)[]; + files?: string[]; }; }; /** @description The person's email address. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The person's first name. */ first_name?: string; /** @description The Kana variation of the person's first name (Japan only). */ @@ -17991,7 +17991,7 @@ export interface operations { /** @description The Kanji variation of the person's first name (Japan only). */ first_name_kanji?: string; /** @description A list of alternate names or aliases that the person is known by. */ - full_name_aliases?: (string)[] | ""; + full_name_aliases?: string[] | ""; /** @description The person's gender (International regulations require either "male" or "female"). */ gender?: string; /** @description The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). */ @@ -18083,7 +18083,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { account: string; @@ -18172,21 +18172,21 @@ export interface operations { documents?: { /** documents_param */ company_authorization?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ passport?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ visa?: { - files?: (string)[]; + files?: string[]; }; }; /** @description The person's email address. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The person's first name. */ first_name?: string; /** @description The Kana variation of the person's first name (Japan only). */ @@ -18194,7 +18194,7 @@ export interface operations { /** @description The Kanji variation of the person's first name (Japan only). */ first_name_kanji?: string; /** @description A list of alternate names or aliases that the person is known by. */ - full_name_aliases?: (string)[] | ""; + full_name_aliases?: string[] | ""; /** @description The person's gender (International regulations require either "male" or "female"). */ gender?: string; /** @description The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). */ @@ -18316,7 +18316,7 @@ export interface operations { /** @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)[]; + 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 Filters on the list of people returned based on the person's relationship to the account's company. */ @@ -18343,7 +18343,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["person"])[]; + data: components["schemas"]["person"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -18425,21 +18425,21 @@ export interface operations { documents?: { /** documents_param */ company_authorization?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ passport?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ visa?: { - files?: (string)[]; + files?: string[]; }; }; /** @description The person's email address. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The person's first name. */ first_name?: string; /** @description The Kana variation of the person's first name (Japan only). */ @@ -18447,7 +18447,7 @@ export interface operations { /** @description The Kanji variation of the person's first name (Japan only). */ first_name_kanji?: string; /** @description A list of alternate names or aliases that the person is known by. */ - full_name_aliases?: (string)[] | ""; + full_name_aliases?: string[] | ""; /** @description The person's gender (International regulations require either "male" or "female"). */ gender?: string; /** @description The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). */ @@ -18539,7 +18539,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { account: string; @@ -18628,21 +18628,21 @@ export interface operations { documents?: { /** documents_param */ company_authorization?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ passport?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ visa?: { - files?: (string)[]; + files?: string[]; }; }; /** @description The person's email address. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The person's first name. */ first_name?: string; /** @description The Kana variation of the person's first name (Japan only). */ @@ -18650,7 +18650,7 @@ export interface operations { /** @description The Kanji variation of the person's first name (Japan only). */ first_name_kanji?: string; /** @description A list of alternate names or aliases that the person is known by. */ - full_name_aliases?: (string)[] | ""; + full_name_aliases?: string[] | ""; /** @description The person's gender (International regulations require either "male" or "female"). */ gender?: string; /** @description The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). */ @@ -18780,7 +18780,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`. */ reason: string; }; @@ -18809,7 +18809,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -18826,7 +18826,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["apple_pay_domain"])[]; + data: components["schemas"]["apple_pay_domain"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -18854,7 +18854,7 @@ export interface operations { "application/x-www-form-urlencoded": { domain_name: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -18878,7 +18878,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { domain: string; @@ -18946,7 +18946,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -18963,7 +18963,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["application_fee"])[]; + data: components["schemas"]["application_fee"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -18989,7 +18989,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { fee: string; @@ -19032,7 +19032,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -19060,7 +19060,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -19098,7 +19098,7 @@ export interface operations { amount?: number; directive?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -19124,7 +19124,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -19145,7 +19145,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["fee_refund"])[]; + data: components["schemas"]["fee_refund"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -19189,7 +19189,7 @@ export interface operations { /** @description A positive integer, in _cents (or local equivalent)_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee. */ amount?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -19219,7 +19219,7 @@ export interface operations { /** @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)[]; + 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 Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. */ @@ -19242,7 +19242,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["apps.secret"])[]; + data: components["schemas"]["apps.secret"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -19269,7 +19269,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: unix-time * @description The Unix timestamp for the expiry time of the secret, after which the secret deletes. @@ -19312,7 +19312,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A name for the secret that's unique within the scope. */ name: string; /** @@ -19347,7 +19347,7 @@ export interface operations { parameters: { query: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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. */ @@ -19386,7 +19386,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; requestBody?: { @@ -19428,7 +19428,7 @@ export interface operations { /** @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)[]; + 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. */ @@ -19451,7 +19451,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["balance_transaction"])[]; + 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; /** @@ -19481,7 +19481,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -19526,7 +19526,7 @@ export interface operations { /** @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)[]; + 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. */ @@ -19549,7 +19549,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["balance_transaction"])[]; + 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; /** @@ -19579,7 +19579,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -19614,7 +19614,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Only return the default or non-default configurations (e.g., pass `true` to only list the default configuration). */ is_default?: boolean; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -19633,7 +19633,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["billing_portal.configuration"])[]; + data: components["schemas"]["billing_portal.configuration"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -19671,7 +19671,7 @@ export interface operations { /** @description The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session. */ default_return_url?: string | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * features_creation_param * @description Information about the features available in the portal. @@ -19711,10 +19711,10 @@ export interface operations { subscription_update?: { default_allowed_updates: (("price" | "promotion_code" | "quantity")[]) | ""; enabled: boolean; - products: ({ - prices: (string)[]; + products: { + prices: string[]; product: string; - })[] | ""; + }[] | ""; /** @enum {string} */ proration_behavior?: "always_invoice" | "create_prorations" | "none"; }; @@ -19753,7 +19753,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { configuration: string; @@ -19803,7 +19803,7 @@ export interface operations { /** @description The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session. */ default_return_url?: string | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * features_updating_param * @description Information about the features available in the portal. @@ -19843,10 +19843,10 @@ export interface operations { subscription_update?: { default_allowed_updates?: (("price" | "promotion_code" | "quantity")[]) | ""; enabled?: boolean; - products?: ({ - prices: (string)[]; + products?: { + prices: string[]; product: string; - })[] | ""; + }[] | ""; /** @enum {string} */ proration_behavior?: "always_invoice" | "create_prorations" | "none"; }; @@ -19890,7 +19890,7 @@ export interface operations { /** @description The ID of an existing customer. */ customer: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * flow_data_param * @description Information about a specific flow for the customer to go through. See the [docs](https://stripe.com/docs/customer-management/portal-deep-links) to learn more about using customer portal deep links and flows. @@ -19919,15 +19919,15 @@ export interface operations { }; /** flow_data_subscription_update_confirm_param */ subscription_update_confirm?: { - discounts?: ({ + discounts?: { coupon?: string; promotion_code?: string; - })[]; - items: ({ + }[]; + items: { id: string; price?: string; quantity?: number; - })[]; + }[]; subscription: string; }; /** @enum {string} */ @@ -19975,7 +19975,7 @@ export interface operations { /** @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)[]; + 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 Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID. */ @@ -19996,7 +19996,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["charge"])[]; + data: components["schemas"]["charge"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -20063,7 +20063,7 @@ export interface operations { amount?: number; } | string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -20142,7 +20142,7 @@ export interface operations { parameters: { query: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. */ @@ -20161,7 +20161,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["charge"])[]; + data: components["schemas"]["charge"][]; has_more: boolean; next_page?: string | null; /** @@ -20188,7 +20188,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { charge: string; @@ -20229,7 +20229,7 @@ export interface operations { /** @description An arbitrary string which you can attach to a charge object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * fraud_details * @description A set of key-value pairs you can attach to a charge giving information about its riskiness. If you believe a charge is fraudulent, include a `user_report` key with a value of `fraudulent`. If you believe a charge is safe, include a `user_report` key with a value of `safe`. Stripe will use the information you send to improve our fraud detection algorithms. @@ -20306,7 +20306,7 @@ export interface operations { /** @description An application fee amount to add on to this charge, which must be less than or equal to the original amount. */ application_fee_amount?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode. */ receipt_email?: string; /** @description For card charges, use `statement_descriptor_suffix` instead. Otherwise, you can use this value as the complete description of a charge on your customers’ statements. Must contain at least one letter, maximum 22 characters. */ @@ -20345,7 +20345,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { charge: string; @@ -20414,7 +20414,7 @@ export interface operations { uncategorized_text?: string; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -20449,7 +20449,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -20492,7 +20492,7 @@ export interface operations { "application/x-www-form-urlencoded": { amount?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description For payment methods without native refund support (e.g., Konbini, PromptPay), use this email from the customer to receive refund instructions. */ instructions_email?: 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`. */ @@ -20529,7 +20529,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -20550,7 +20550,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["refund"])[]; + data: components["schemas"]["refund"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -20588,7 +20588,7 @@ export interface operations { /** @description Customer whose customer balance to refund from. */ customer?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description For payment methods without native refund support (e.g., Konbini, PromptPay), use this email from the customer to receive refund instructions. */ instructions_email?: 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`. */ @@ -20628,7 +20628,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { charge: string; @@ -20667,7 +20667,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; metadata?: ({ [key: string]: string | undefined; }) | ""; @@ -20702,7 +20702,7 @@ export interface operations { /** @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)[]; + 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 Only return the Checkout Session for the PaymentIntent specified. */ @@ -20725,7 +20725,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["checkout.session"])[]; + data: components["schemas"]["checkout.session"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -20800,10 +20800,10 @@ export interface operations { custom_fields?: ({ /** custom_field_dropdown_param */ dropdown?: { - options: ({ + options: { label: string; value: string; - })[]; + }[]; }; key: string; /** custom_field_label_param */ @@ -20886,12 +20886,12 @@ export interface operations { shipping?: "auto" | "never"; }; /** @description The coupon or promotion code to apply to this Session. Currently, only up to one may be specified. */ - discounts?: ({ + discounts?: { coupon?: string; promotion_code?: string; - })[]; + }[]; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: unix-time * @description The Epoch time in seconds at which the Checkout Session will expire. It can be anywhere from 30 minutes to 24 hours after Checkout Session creation. By default, this value is 24 hours from creation. @@ -20905,11 +20905,11 @@ export interface operations { enabled: boolean; /** invoice_data_params */ invoice_data?: { - account_tax_ids?: (string)[] | ""; - custom_fields?: ({ + account_tax_ids?: string[] | ""; + custom_fields?: { name: string; value: string; - })[] | ""; + }[] | ""; description?: string; footer?: string; metadata?: { @@ -20935,7 +20935,7 @@ export interface operations { maximum?: number; minimum?: number; }; - dynamic_tax_rates?: (string)[]; + dynamic_tax_rates?: string[]; price?: string; /** price_data_with_product_data */ price_data?: { @@ -20944,7 +20944,7 @@ export interface operations { /** product_data */ product_data?: { description?: string; - images?: (string)[]; + images?: string[]; metadata?: { [key: string]: string | undefined; }; @@ -20964,7 +20964,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[]; + tax_rates?: string[]; })[]; /** * @description The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used. @@ -21328,7 +21328,7 @@ export interface operations { application_fee_percent?: number; /** Format: unix-time */ billing_cycle_anchor?: number; - default_tax_rates?: (string)[]; + default_tax_rates?: string[]; description?: string; metadata?: { [key: string]: string | undefined; @@ -21390,7 +21390,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { session: string; @@ -21431,7 +21431,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -21457,7 +21457,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -21478,7 +21478,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["item"])[]; + data: components["schemas"]["item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -21506,7 +21506,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -21523,7 +21523,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["country_spec"])[]; + data: components["schemas"]["country_spec"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -21549,7 +21549,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { country: string; @@ -21589,7 +21589,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -21606,7 +21606,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["coupon"])[]; + data: components["schemas"]["coupon"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -21643,7 +21643,7 @@ export interface operations { * @description A hash containing directions for what this Coupon will apply discounts to. */ applies_to?: { - products?: (string)[]; + products?: string[]; }; /** @description Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed). */ currency?: string; @@ -21661,7 +21661,7 @@ export interface operations { /** @description Required only if `duration` is `repeating`, in which case it must be a positive integer that specifies the number of months the discount will be in effect. */ duration_in_months?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Unique string of your choice that will be used to identify this coupon when applying it to a customer. If you don't want to specify a particular code, you can leave the ID blank and we'll generate a random code for you. */ id?: string; /** @description A positive integer specifying the number of times the coupon can be redeemed before it's no longer valid. For example, you might have a 50% off coupon that the first 20 readers of your blog can use. */ @@ -21702,7 +21702,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { coupon: string; @@ -21745,7 +21745,7 @@ export interface operations { } | undefined; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -21806,7 +21806,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Only return credit notes for the invoice specified by this invoice ID. */ invoice?: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -21825,7 +21825,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["credit_note"])[]; + data: components["schemas"]["credit_note"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -21876,7 +21876,7 @@ export interface operations { */ effective_at?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description ID of the invoice. */ invoice: string; /** @description Line items that make up the credit note. */ @@ -21885,7 +21885,7 @@ export interface operations { description?: string; invoice_line_item?: string; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; /** @enum {string} */ type: "custom_line_item" | "invoice_line_item"; unit_amount?: number; @@ -21945,7 +21945,7 @@ export interface operations { /** @description The date when this credit note is in effect. Same as `created` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF. */ effective_at?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description ID of the invoice. */ invoice: string; /** @description Line items that make up the credit note. */ @@ -21954,7 +21954,7 @@ export interface operations { description?: string; invoice_line_item?: string; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; /** @enum {string} */ type: "custom_line_item" | "invoice_line_item"; unit_amount?: number; @@ -22014,7 +22014,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description ID of the invoice. */ invoice: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -22025,7 +22025,7 @@ export interface operations { description?: string; invoice_line_item?: string; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; /** @enum {string} */ type: "custom_line_item" | "invoice_line_item"; unit_amount?: number; @@ -22065,7 +22065,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["credit_note_line_item"])[]; + data: components["schemas"]["credit_note_line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -22093,7 +22093,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -22114,7 +22114,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["credit_note_line_item"])[]; + data: components["schemas"]["credit_note_line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -22140,7 +22140,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -22177,7 +22177,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Credit note memo. */ memo?: 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`. */ @@ -22213,7 +22213,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -22247,7 +22247,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -22266,7 +22266,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["customer"])[]; + data: components["schemas"]["customer"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -22320,7 +22320,7 @@ export interface operations { /** @description Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. */ invoice_prefix?: string; /** @@ -22328,10 +22328,10 @@ export interface operations { * @description Default invoice settings for this customer. */ invoice_settings?: { - custom_fields?: ({ + custom_fields?: { name: string; value: string; - })[] | ""; + }[] | ""; default_payment_method?: string; footer?: string; rendering_options?: ({ @@ -22351,7 +22351,7 @@ export interface operations { /** @description The customer's phone number. */ phone?: string; /** @description Customer's preferred languages, ordered by preference. */ - preferred_locales?: (string)[]; + preferred_locales?: string[]; /** @description The API ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount. */ promotion_code?: string; /** @description The customer's shipping information. Appears on invoices emailed to this customer. */ @@ -22417,7 +22417,7 @@ export interface operations { parameters: { query: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. */ @@ -22436,7 +22436,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["customer"])[]; + data: components["schemas"]["customer"][]; has_more: boolean; next_page?: string | null; /** @@ -22463,7 +22463,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -22576,7 +22576,7 @@ export interface operations { /** @description Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. */ invoice_prefix?: string; /** @@ -22584,10 +22584,10 @@ export interface operations { * @description Default invoice settings for this customer. */ invoice_settings?: { - custom_fields?: ({ + custom_fields?: { name: string; value: string; - })[] | ""; + }[] | ""; default_payment_method?: string; footer?: string; rendering_options?: ({ @@ -22606,7 +22606,7 @@ export interface operations { /** @description The customer's phone number. */ phone?: string; /** @description Customer's preferred languages, ordered by preference. */ - preferred_locales?: (string)[]; + preferred_locales?: string[]; /** @description The API ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount. */ promotion_code?: string; /** @description The customer's shipping information. Appears on invoices emailed to this customer. */ @@ -22688,7 +22688,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -22709,7 +22709,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["customer_balance_transaction"])[]; + data: components["schemas"]["customer_balance_transaction"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -22747,7 +22747,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -22775,7 +22775,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -22816,7 +22816,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -22849,7 +22849,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -22870,7 +22870,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["bank_account"])[]; + data: components["schemas"]["bank_account"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -22941,7 +22941,7 @@ export interface operations { object?: "card"; }) | string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -22974,7 +22974,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -23036,7 +23036,7 @@ export interface operations { /** @description Four digit number representing the card’s expiration year. */ exp_year?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -23088,7 +23088,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -23119,9 +23119,9 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. */ - amounts?: (number)[]; + amounts?: number[]; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -23152,7 +23152,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -23172,7 +23172,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["card"])[]; + data: components["schemas"]["card"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -23243,7 +23243,7 @@ export interface operations { object?: "card"; }) | string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -23276,7 +23276,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -23338,7 +23338,7 @@ export interface operations { /** @description Four digit number representing the card’s expiration year. */ exp_year?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -23390,7 +23390,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -23414,7 +23414,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -23451,7 +23451,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * balance_settings_param * @description A hash of settings for this cash balance. @@ -23485,7 +23485,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -23506,7 +23506,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["customer_cash_balance_transaction"])[]; + data: components["schemas"]["customer_cash_balance_transaction"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -23532,7 +23532,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -23563,7 +23563,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -23646,7 +23646,7 @@ export interface operations { /** @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 Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * @description The `funding_type` to get the instructions for. * @enum {string} @@ -23677,7 +23677,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -23699,7 +23699,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["payment_method"])[]; + data: components["schemas"]["payment_method"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -23725,7 +23725,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -23759,7 +23759,7 @@ export interface operations { /** @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)[]; + 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 sources according to a particular object type. */ @@ -23853,7 +23853,7 @@ export interface operations { object?: "card"; }) | string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -23883,7 +23883,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -23945,7 +23945,7 @@ export interface operations { /** @description Four digit number representing the card’s expiration year. */ exp_year?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -23997,7 +23997,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -24028,9 +24028,9 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. */ - amounts?: (number)[]; + amounts?: number[]; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -24056,7 +24056,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -24077,7 +24077,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["subscription"])[]; + data: components["schemas"]["subscription"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -24122,7 +24122,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; /** @description A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions). */ application_fee_percent?: number; @@ -24171,9 +24171,9 @@ export interface operations { /** @description ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). */ default_source?: string; /** @description The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. */ - default_tax_rates?: (string)[] | ""; + default_tax_rates?: string[] | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A list of up to 20 subscription items, each with an attached price. */ items?: ({ billing_thresholds?: { @@ -24200,7 +24200,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: 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?: ({ @@ -24342,7 +24342,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -24394,7 +24394,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; /** @description A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions). */ application_fee_percent?: number; @@ -24442,9 +24442,9 @@ export interface operations { /** @description ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). */ default_source?: string; /** @description The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. Pass an empty string to remove previously-defined tax rates. */ - default_tax_rates?: (string)[] | ""; + default_tax_rates?: string[] | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A list of up to 20 subscription items, each with an attached price. */ items?: ({ billing_thresholds?: { @@ -24474,7 +24474,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: 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?: ({ @@ -24632,7 +24632,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Can be set to `true` if `at_period_end` is not set to `true`. Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. */ invoice_now?: boolean; /** @description Can be set to `true` if `at_period_end` is not set to `true`. Will generate a proration invoice item that credits remaining unused time until the subscription period end. */ @@ -24659,7 +24659,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -24721,7 +24721,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -24742,7 +24742,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["tax_id"])[]; + data: components["schemas"]["tax_id"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -24774,7 +24774,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * @description Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `pe_ruc`, `ph_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` * @enum {string} @@ -24805,7 +24805,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { customer: string; @@ -24875,7 +24875,7 @@ export interface operations { /** @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)[]; + 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 Only return disputes associated to the PaymentIntent specified by this PaymentIntent ID. */ @@ -24894,7 +24894,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["dispute"])[]; + data: components["schemas"]["dispute"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -24920,7 +24920,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { dispute: string; @@ -24994,7 +24994,7 @@ export interface operations { uncategorized_text?: string; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -25034,7 +25034,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -25061,7 +25061,7 @@ export interface operations { /** @description The ID of the Customer you'd like to modify using the resulting ephemeral key. */ customer?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The ID of the Issuing Card you'd like to access using the resulting ephemeral key. */ issuing_card?: string; /** @description The ID of the Identity VerificationSession you'd like to access using the resulting ephemeral key */ @@ -25095,7 +25095,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -25129,7 +25129,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -25137,7 +25137,7 @@ export interface operations { /** @description A string containing a specific event name, or group of events using * as a wildcard. The list will be filtered to include only events with a matching event property. */ type?: string; /** @description An array of up to 20 strings containing specific event names. The list will be filtered to include only events with a matching event property. You may pass either `type` or `types`, but not both. */ - types?: (string)[]; + types?: string[]; }; }; requestBody?: { @@ -25150,7 +25150,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["event"])[]; + data: components["schemas"]["event"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -25176,7 +25176,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -25209,7 +25209,7 @@ export interface operations { /** @description A cursor for use in pagination. `ending_before` is the currency that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with the exchange rate for currency X 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)[]; + expand?: string[]; /** @description A limit on the number of objects to be returned. Limit can range between 1 and total number of supported payout currencies, and the default is the max. */ limit?: number; /** @description A cursor for use in pagination. `starting_after` is the currency that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with the exchange rate for currency X, your subsequent call can include `starting_after=X` in order to fetch the next page of the list. */ @@ -25226,7 +25226,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["exchange_rate"])[]; + data: components["schemas"]["exchange_rate"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -25252,7 +25252,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { rate_id: string; @@ -25291,7 +25291,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Filter links by their expiration status. By default, all links are returned. */ expired?: boolean; /** @description Only return links for the given file. */ @@ -25313,7 +25313,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["file_link"])[]; + data: components["schemas"]["file_link"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -25340,7 +25340,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: unix-time * @description A future timestamp after which the link will no longer be usable. @@ -25375,7 +25375,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { link: string; @@ -25412,7 +25412,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately. */ expires_at?: "now" | number | ""; /** @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`. */ @@ -25450,7 +25450,7 @@ export interface operations { /** @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)[]; + 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 The file purpose to filter queries by. If none is provided, files will not be filtered by purpose. */ @@ -25469,7 +25469,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["file"])[]; + data: components["schemas"]["file"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -25500,7 +25500,7 @@ export interface operations { content: { "multipart/form-data": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: binary * @description A file to upload. The file should follow the specifications of RFC 2388 (which defines file transfers for the `multipart/form-data` protocol). @@ -25546,7 +25546,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { file: string; @@ -25584,7 +25584,7 @@ export interface operations { /** @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)[]; + 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 If present, only return accounts that were collected as part of the given session. */ @@ -25604,7 +25604,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["financial_connections.account"])[]; + data: components["schemas"]["financial_connections.account"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -25630,7 +25630,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { account: string; @@ -25667,7 +25667,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -25693,7 +25693,7 @@ export interface operations { /** @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)[]; + 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 The ID of the ownership object to fetch owners from. */ @@ -25716,7 +25716,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["financial_connections.account_owner"])[]; + data: components["schemas"]["financial_connections.account_owner"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -25748,7 +25748,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The list of account features that you would like to refresh. */ features: ("balance" | "ownership")[]; }; @@ -25785,13 +25785,13 @@ export interface operations { type: "account" | "customer"; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * filters_params * @description Filters to restrict the kinds of accounts to collect. */ filters?: { - countries: (string)[]; + countries: string[]; }; /** * @description List of data features that you would like to request access to. @@ -25824,7 +25824,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { session: string; @@ -25863,7 +25863,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -25884,7 +25884,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["identity.verification_report"])[]; + data: components["schemas"]["identity.verification_report"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -25910,7 +25910,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { report: string; @@ -25949,7 +25949,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -25968,7 +25968,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["identity.verification_session"])[]; + data: components["schemas"]["identity.verification_session"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -26003,7 +26003,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -26055,7 +26055,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { session: string; @@ -26097,7 +26097,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -26152,7 +26152,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -26202,7 +26202,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -26236,7 +26236,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Only return invoice items belonging to this invoice. If none is provided, all invoice items will be returned. If specifying an invoice, no customer identifier is needed. */ invoice?: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -26257,7 +26257,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["invoiceitem"])[]; + data: components["schemas"]["invoiceitem"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -26294,12 +26294,12 @@ export interface operations { /** @description Controls whether discounts apply to this invoice item. Defaults to false for prorations or negative invoice items, and true for all other invoice items. */ discountable?: boolean; /** @description The coupons to redeem into discounts for the invoice item or invoice line item. */ - discounts?: ({ + discounts?: { coupon?: string; discount?: string; - })[] | ""; + }[] | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The ID of an existing invoice to add this invoice item to. When left blank, the invoice item will be added to the next upcoming scheduled invoice. This is useful when adding invoice items in response to an invoice.created webhook. You can only add invoice items to draft invoices and there is a maximum of 250 items per invoice. */ invoice?: 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`. */ @@ -26343,7 +26343,7 @@ export interface operations { /** @description A [tax code](https://stripe.com/docs/tax/tax-categories) ID. */ tax_code?: string | ""; /** @description The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. */ - tax_rates?: (string)[]; + tax_rates?: string[]; /** @description The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This `unit_amount` will be multiplied by the quantity to get the full amount. Passing in a negative `unit_amount` will reduce the `amount_due` on the invoice. */ unit_amount?: number; /** @@ -26374,7 +26374,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { invoiceitem: string; @@ -26417,12 +26417,12 @@ export interface operations { /** @description Controls whether discounts apply to this invoice item. Defaults to false for prorations or negative invoice items, and true for all other invoice items. Cannot be set to true for prorations. */ discountable?: boolean; /** @description The coupons & existing discounts which apply to the invoice item or invoice line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts. */ - discounts?: ({ + discounts?: { coupon?: string; discount?: string; - })[] | ""; + }[] | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -26462,7 +26462,7 @@ export interface operations { /** @description A [tax code](https://stripe.com/docs/tax/tax-categories) ID. */ tax_code?: string | ""; /** @description The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. Pass an empty string to remove previously-defined tax rates. */ - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; /** @description The integer unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount. */ unit_amount?: number; /** @@ -26538,7 +26538,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -26559,7 +26559,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["invoice"])[]; + data: components["schemas"]["invoice"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -26586,7 +26586,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description The account tax IDs associated with the invoice. Only editable when the invoice is a draft. */ - account_tax_ids?: (string)[] | ""; + account_tax_ids?: string[] | ""; /** @description A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees). */ application_fee_amount?: number; /** @description Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action. */ @@ -26606,10 +26606,10 @@ export interface operations { /** @description The currency to create this invoice in. Defaults to that of `customer` if not specified. */ currency?: string; /** @description A list of up to 4 custom fields to be displayed on the invoice. */ - custom_fields?: ({ + custom_fields?: { name: string; value: string; - })[] | ""; + }[] | ""; /** @description The ID of the customer who will be billed. */ customer?: string; /** @description The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`. */ @@ -26619,14 +26619,14 @@ export interface operations { /** @description ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. */ default_source?: string; /** @description The tax rates that will apply to any line item that does not have `tax_rates` set. */ - default_tax_rates?: (string)[]; + default_tax_rates?: string[]; /** @description An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. */ description?: string; /** @description The coupons to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice's customer. Pass an empty string to avoid inheriting any discounts. */ - discounts?: ({ + discounts?: { coupon?: string; discount?: string; - })[] | ""; + }[] | ""; /** * Format: unix-time * @description The date on which payment for this invoice is due. Valid only for invoices where `collection_method=send_invoice`. @@ -26638,7 +26638,7 @@ export interface operations { */ effective_at?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Footer to be displayed on the invoice. */ footer?: string; /** @@ -26828,7 +26828,7 @@ export interface operations { parameters: { query: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. */ @@ -26847,7 +26847,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["invoice"])[]; + data: components["schemas"]["invoice"][]; has_more: boolean; next_page?: string | null; /** @@ -26925,22 +26925,22 @@ export interface operations { })[]; }; /** @description The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This only works for coupons directly applied to the invoice. To apply a coupon to a subscription, you must use the `coupon` parameter instead. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead. */ - discounts?: ({ + discounts?: { coupon?: string; discount?: string; - })[] | ""; + }[] | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description List of invoice items to add or update in the upcoming invoice preview. */ invoice_items?: ({ amount?: number; currency?: string; description?: string; discountable?: boolean; - discounts?: ({ + discounts?: { coupon?: string; discount?: string; - })[] | ""; + }[] | ""; invoiceitem?: string; metadata?: ({ [key: string]: string | undefined; @@ -26967,7 +26967,7 @@ export interface operations { /** @enum {string} */ tax_behavior?: "exclusive" | "inclusive" | "unspecified"; tax_code?: string | ""; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; unit_amount?: number; /** Format: decimal */ unit_amount_decimal?: string; @@ -26985,7 +26985,7 @@ export interface operations { /** @description This simulates the subscription being canceled or expired immediately. */ subscription_cancel_now?: boolean; /** @description If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set. */ - subscription_default_tax_rates?: (string)[] | ""; + subscription_default_tax_rates?: string[] | ""; /** @description A list of up to 20 subscription items, each with an attached price. */ subscription_items?: ({ billing_thresholds?: { @@ -27015,7 +27015,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; /** @description Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`. */ subscription_proration_behavior?: "always_invoice" | "create_prorations" | "none"; @@ -27101,24 +27101,24 @@ export interface operations { })[]; }; /** @description The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This only works for coupons directly applied to the invoice. To apply a coupon to a subscription, you must use the `coupon` parameter instead. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead. */ - discounts?: ({ + discounts?: { coupon?: string; discount?: 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)[]; + expand?: string[]; /** @description List of invoice items to add or update in the upcoming invoice preview. */ invoice_items?: ({ amount?: number; currency?: string; description?: string; discountable?: boolean; - discounts?: ({ + discounts?: { coupon?: string; discount?: string; - })[] | ""; + }[] | ""; invoiceitem?: string; metadata?: ({ [key: string]: string | undefined; @@ -27145,7 +27145,7 @@ export interface operations { /** @enum {string} */ tax_behavior?: "exclusive" | "inclusive" | "unspecified"; tax_code?: string | ""; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; unit_amount?: number; /** Format: decimal */ unit_amount_decimal?: string; @@ -27167,7 +27167,7 @@ export interface operations { /** @description This simulates the subscription being canceled or expired immediately. */ subscription_cancel_now?: boolean; /** @description If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set. */ - subscription_default_tax_rates?: (string)[] | ""; + subscription_default_tax_rates?: string[] | ""; /** @description A list of up to 20 subscription items, each with an attached price. */ subscription_items?: ({ billing_thresholds?: { @@ -27197,7 +27197,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; /** @description Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`. */ subscription_proration_behavior?: "always_invoice" | "create_prorations" | "none"; @@ -27224,7 +27224,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["line_item"])[]; + data: components["schemas"]["line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -27250,7 +27250,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { invoice: string; @@ -27294,7 +27294,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description The account tax IDs associated with the invoice. Only editable when the invoice is a draft. */ - account_tax_ids?: (string)[] | ""; + account_tax_ids?: string[] | ""; /** @description A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees). */ application_fee_amount?: number; /** @description Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. */ @@ -27312,10 +27312,10 @@ export interface operations { */ collection_method?: "charge_automatically" | "send_invoice"; /** @description A list of up to 4 custom fields to be displayed on the invoice. If a value for `custom_fields` is specified, the list specified will replace the existing custom field list on this invoice. Pass an empty string to remove previously-defined fields. */ - custom_fields?: ({ + custom_fields?: { name: string; value: string; - })[] | ""; + }[] | ""; /** @description The number of days from which the invoice is created until it is due. Only valid for invoices where `collection_method=send_invoice`. This field can only be updated on `draft` invoices. */ days_until_due?: number; /** @description ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. */ @@ -27323,14 +27323,14 @@ export interface operations { /** @description ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. */ default_source?: string; /** @description The tax rates that will apply to any line item that does not have `tax_rates` set. Pass an empty string to remove previously-defined tax rates. */ - default_tax_rates?: (string)[] | ""; + default_tax_rates?: string[] | ""; /** @description An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. */ description?: string; /** @description The discounts that will apply to the invoice. Pass an empty string to remove previously-defined discounts. */ - discounts?: ({ + discounts?: { coupon?: string; discount?: string; - })[] | ""; + }[] | ""; /** * Format: unix-time * @description The date on which payment for this invoice is due. Only valid for invoices where `collection_method=send_invoice`. This field can only be updated on `draft` invoices. @@ -27339,7 +27339,7 @@ export interface operations { /** @description The date when this invoice is in effect. Same as `finalized_at` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the invoice PDF and receipt. */ effective_at?: number | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Footer to be displayed on the invoice. */ footer?: 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`. */ @@ -27534,7 +27534,7 @@ export interface operations { /** @description Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action. */ auto_advance?: boolean; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -27560,7 +27560,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -27581,7 +27581,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["line_item"])[]; + data: components["schemas"]["line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -27613,7 +27613,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -27643,7 +27643,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * @description In cases where the source used to pay the invoice has insufficient funds, passing `forgive=true` controls whether a charge should be attempted for the full amount available on the source, up to the amount to fully pay the invoice. This effectively forgives the difference between the amount available on the source and the amount due. * @@ -27693,7 +27693,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -27723,7 +27723,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -27760,7 +27760,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -27779,7 +27779,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["issuing.authorization"])[]; + data: components["schemas"]["issuing.authorization"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -27805,7 +27805,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { authorization: string; @@ -27842,7 +27842,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -27881,7 +27881,7 @@ export interface operations { /** @description If the authorization's `pending_request.is_amount_controllable` property is `true`, you may provide this value to control how much to hold for the authorization. Must be positive (use [`decline`](https://stripe.com/docs/api/issuing/authorizations/decline) to decline an authorization request). */ amount?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -27918,7 +27918,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -27957,7 +27957,7 @@ export interface operations { /** @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)[]; + 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 Only return cardholders that have the given phone number. */ @@ -27980,7 +27980,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["issuing.cardholder"])[]; + data: components["schemas"]["issuing.cardholder"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -28031,7 +28031,7 @@ export interface operations { /** @description The cardholder's email address. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * individual_param * @description Additional information about an `individual` cardholder. @@ -28125,7 +28125,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { cardholder: string; @@ -28186,7 +28186,7 @@ export interface operations { /** @description The cardholder's email address. */ email?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * individual_param * @description Additional information about an `individual` cardholder. @@ -28288,7 +28288,7 @@ export interface operations { /** @description Only return cards that have the given expiration year. */ exp_year?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Only return cards that have the given last four digits. */ last4?: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -28311,7 +28311,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["issuing.card"])[]; + data: components["schemas"]["issuing.card"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -28342,7 +28342,7 @@ export interface operations { /** @description The currency for the card. */ currency: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; financial_account?: 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?: { @@ -28428,7 +28428,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { card: string; @@ -28470,7 +28470,7 @@ export interface operations { */ cancellation_reason?: "lost" | "stolen"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -28533,7 +28533,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -28554,7 +28554,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["issuing.dispute"])[]; + data: components["schemas"]["issuing.dispute"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -28648,7 +28648,7 @@ export interface operations { }) | ""; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -28685,7 +28685,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { dispute: string; @@ -28789,7 +28789,7 @@ export interface operations { }) | ""; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -28823,7 +28823,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -28860,7 +28860,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -28877,7 +28877,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["issuing.settlement"])[]; + data: components["schemas"]["issuing.settlement"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -28903,7 +28903,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { settlement: string; @@ -28940,7 +28940,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -28981,7 +28981,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -29000,7 +29000,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["issuing.transaction"])[]; + data: components["schemas"]["issuing.transaction"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -29026,7 +29026,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { transaction: string; @@ -29063,7 +29063,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -29102,13 +29102,13 @@ export interface operations { type: "account" | "customer"; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * filters_params * @description Filters to restrict the kinds of accounts to collect. */ filters?: { - countries: (string)[]; + countries: string[]; }; /** * @description List of data features that you would like to request access to. @@ -29141,7 +29141,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { session: string; @@ -29179,7 +29179,7 @@ export interface operations { /** @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)[]; + 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 If present, only return accounts that were collected as part of the given session. */ @@ -29199,7 +29199,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["financial_connections.account"])[]; + data: components["schemas"]["financial_connections.account"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -29225,7 +29225,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { account: string; @@ -29262,7 +29262,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -29288,7 +29288,7 @@ export interface operations { /** @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)[]; + 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 The ID of the ownership object to fetch owners from. */ @@ -29311,7 +29311,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["financial_connections.account_owner"])[]; + data: components["schemas"]["financial_connections.account_owner"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -29343,7 +29343,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The list of account features that you would like to refresh. */ features: ("balance" | "ownership")[]; }; @@ -29369,7 +29369,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { mandate: string; @@ -29411,7 +29411,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -29428,7 +29428,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["payment_intent"])[]; + data: components["schemas"]["payment_intent"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -29500,7 +29500,7 @@ export interface operations { /** @description Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm). */ error_on_requires_action?: boolean; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description ID of the mandate to be used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm). */ mandate?: string; /** @@ -29773,7 +29773,7 @@ export interface operations { reference: string; /** Format: unix-time */ start_date: number; - supported_types?: ("india")[]; + supported_types?: "india"[]; }; /** @enum {string} */ network?: "amex" | "cartes_bancaires" | "diners" | "discover" | "eftpos_au" | "interac" | "jcb" | "mastercard" | "unionpay" | "unknown" | "visa"; @@ -29929,7 +29929,7 @@ export interface operations { } | ""; }; /** @description The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. If this is not provided, defaults to ["card"]. Use automatic_payment_methods to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). */ - payment_method_types?: (string)[]; + payment_method_types?: string[]; /** * radar_options * @description Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. @@ -30014,7 +30014,7 @@ export interface operations { parameters: { query: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. */ @@ -30033,7 +30033,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["payment_intent"])[]; + data: components["schemas"]["payment_intent"][]; has_more: boolean; next_page?: string | null; /** @@ -30068,7 +30068,7 @@ export interface operations { /** @description The client secret of the PaymentIntent. Required if a publishable key is used to retrieve the source. */ client_secret?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { intent: string; @@ -30134,7 +30134,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -30377,7 +30377,7 @@ export interface operations { reference: string; /** Format: unix-time */ start_date: number; - supported_types?: ("india")[]; + supported_types?: "india"[]; }; /** @enum {string} */ network?: "amex" | "cartes_bancaires" | "diners" | "discover" | "eftpos_au" | "interac" | "jcb" | "mastercard" | "unionpay" | "unknown" | "visa"; @@ -30533,7 +30533,7 @@ export interface operations { } | ""; }; /** @description The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. Use automatic_payment_methods to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). */ - payment_method_types?: (string)[]; + payment_method_types?: string[]; /** @description Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). */ receipt_email?: string | ""; /** @@ -30617,7 +30617,7 @@ export interface operations { /** @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 Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -30658,7 +30658,7 @@ export interface operations { */ cancellation_reason?: "abandoned" | "duplicate" | "fraudulent" | "requested_by_customer"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -30698,7 +30698,7 @@ export interface operations { /** @description The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). */ application_fee_amount?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -30777,7 +30777,7 @@ export interface operations { /** @description Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). */ error_on_requires_action?: boolean; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description ID of the mandate to be used for this payment. */ mandate?: string; /** @description This hash contains details about the Mandate to create */ @@ -31048,7 +31048,7 @@ export interface operations { reference: string; /** Format: unix-time */ start_date: number; - supported_types?: ("india")[]; + supported_types?: "india"[]; }; /** @enum {string} */ network?: "amex" | "cartes_bancaires" | "diners" | "discover" | "eftpos_au" | "interac" | "jcb" | "mastercard" | "unionpay" | "unknown" | "visa"; @@ -31204,7 +31204,7 @@ export interface operations { } | ""; }; /** @description The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. Use automatic_payment_methods to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). */ - payment_method_types?: (string)[]; + payment_method_types?: string[]; /** * radar_options * @description Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. @@ -31309,7 +31309,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -31353,13 +31353,13 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. */ - amounts?: (number)[]; + amounts?: number[]; /** @description The client secret of the PaymentIntent. */ client_secret?: string; /** @description A six-character code starting with SM present in the microdeposit sent to the bank account. */ descriptor_code?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -31387,7 +31387,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -31404,7 +31404,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["payment_link"])[]; + data: components["schemas"]["payment_link"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -31480,10 +31480,10 @@ export interface operations { custom_fields?: ({ /** custom_field_dropdown_param */ dropdown?: { - options: ({ + options: { label: string; value: string; - })[]; + }[]; }; key: string; /** custom_field_label_param */ @@ -31524,7 +31524,7 @@ export interface operations { */ customer_creation?: "always" | "if_required"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * invoice_creation_create_params * @description Generate a post-purchase Invoice for one-time payments. @@ -31533,11 +31533,11 @@ export interface operations { enabled: boolean; /** invoice_settings_params */ invoice_data?: { - account_tax_ids?: (string)[] | ""; - custom_fields?: ({ + account_tax_ids?: string[] | ""; + custom_fields?: { name: string; value: string; - })[] | ""; + }[] | ""; description?: string; footer?: string; metadata?: ({ @@ -31550,7 +31550,7 @@ export interface operations { }; }; /** @description The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported. */ - line_items: ({ + line_items: { /** adjustable_quantity_params */ adjustable_quantity?: { enabled: boolean; @@ -31559,7 +31559,7 @@ export interface operations { }; price: string; quantity: number; - })[]; + }[]; /** @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 associated with this Payment Link will automatically be copied to [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link. */ metadata?: { [key: string]: string | undefined; @@ -31604,9 +31604,9 @@ export interface operations { allowed_countries: ("AC" | "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CV" | "CW" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MK" | "ML" | "MM" | "MN" | "MO" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SZ" | "TA" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VN" | "VU" | "WF" | "WS" | "XK" | "YE" | "YT" | "ZA" | "ZM" | "ZW" | "ZZ")[]; }; /** @description The shipping rate options to apply to [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link. */ - shipping_options?: ({ + shipping_options?: { shipping_rate?: string; - })[]; + }[]; /** * @description Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button. Changing this value will also affect the hostname in the [url](https://stripe.com/docs/api/payment_links/payment_links/object#url) property (example: `donate.stripe.com`). * @enum {string} @@ -31658,7 +31658,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { payment_link: string; @@ -31730,10 +31730,10 @@ export interface operations { custom_fields?: (({ /** custom_field_dropdown_param */ dropdown?: { - options: ({ + options: { label: string; value: string; - })[]; + }[]; }; key: string; /** custom_field_label_param */ @@ -31774,7 +31774,7 @@ export interface operations { */ customer_creation?: "always" | "if_required"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * invoice_creation_update_params * @description Generate a post-purchase Invoice for one-time payments. @@ -31783,11 +31783,11 @@ export interface operations { enabled: boolean; /** invoice_settings_params */ invoice_data?: { - account_tax_ids?: (string)[] | ""; - custom_fields?: ({ + account_tax_ids?: string[] | ""; + custom_fields?: { name: string; value: string; - })[] | ""; + }[] | ""; description?: string; footer?: string; metadata?: ({ @@ -31800,7 +31800,7 @@ export interface operations { }; }; /** @description The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported. */ - line_items?: ({ + line_items?: { /** adjustable_quantity_params */ adjustable_quantity?: { enabled: boolean; @@ -31809,7 +31809,7 @@ export interface operations { }; id: string; quantity?: number; - })[]; + }[]; /** @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 associated with this Payment Link will automatically be copied to [checkout sessions](https://stripe.com/docs/api/checkout/sessions) created by this payment link. */ metadata?: { [key: string]: string | undefined; @@ -31854,7 +31854,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -31875,7 +31875,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["item"])[]; + data: components["schemas"]["item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -31905,7 +31905,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -31924,7 +31924,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["payment_method"])[]; + data: components["schemas"]["payment_method"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -32058,7 +32058,7 @@ export interface operations { bank?: "arzte_und_apotheker_bank" | "austrian_anadi_bank_ag" | "bank_austria" | "bankhaus_carl_spangler" | "bankhaus_schelhammer_und_schattera_ag" | "bawag_psk_ag" | "bks_bank_ag" | "brull_kallmus_bank_ag" | "btv_vier_lander_bank" | "capital_bank_grawe_gruppe_ag" | "deutsche_bank_ag" | "dolomitenbank" | "easybank_ag" | "erste_bank_und_sparkassen" | "hypo_alpeadriabank_international_ag" | "hypo_bank_burgenland_aktiengesellschaft" | "hypo_noe_lb_fur_niederosterreich_u_wien" | "hypo_oberosterreich_salzburg_steiermark" | "hypo_tirol_bank_ag" | "hypo_vorarlberg_bank_ag" | "marchfelder_bank" | "oberbank_ag" | "raiffeisen_bankengruppe_osterreich" | "schoellerbank_ag" | "sparda_bank_wien" | "volksbank_gruppe" | "volkskreditbank_ag" | "vr_bank_braunau"; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * param * @description If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. @@ -32224,7 +32224,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { payment_method: string; @@ -32286,7 +32286,7 @@ export interface operations { exp_year?: number; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * param * @description If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. @@ -32349,7 +32349,7 @@ export interface operations { /** @description The ID of the customer to which to attach the PaymentMethod. */ customer: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -32379,7 +32379,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -32419,7 +32419,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -32438,7 +32438,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["payout"])[]; + data: components["schemas"]["payout"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -32479,7 +32479,7 @@ export interface operations { /** @description The ID of a bank account or a card to send the payout to. If no destination is supplied, the default external account for the specified currency will be used. */ destination?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -32519,7 +32519,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { payout: string; @@ -32556,7 +32556,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -32590,7 +32590,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -32624,7 +32624,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -32663,7 +32663,7 @@ export interface operations { /** @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)[]; + 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 Only return plans for the given product. */ @@ -32683,7 +32683,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["plan"])[]; + data: components["schemas"]["plan"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -32731,7 +32731,7 @@ export interface operations { /** @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 Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description An identifier randomly generated by Stripe. Used to identify this plan when subscribing a customer. You can optionally override this ID, but the ID must be unique across all plans in your Stripe account. You can, however, use the same plan ID in both live and test modes. */ id?: string; /** @@ -32812,7 +32812,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { plan: string; @@ -32851,7 +32851,7 @@ export interface operations { /** @description Whether the plan is currently available for new subscriptions. */ active?: boolean; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -32925,11 +32925,11 @@ export interface operations { /** @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)[]; + 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 Only return the price with these lookup_keys, if any exist. */ - lookup_keys?: (string)[]; + lookup_keys?: string[]; /** @description Only return prices for the given product. */ product?: string; /** @description Only return prices with these recurring fields. */ @@ -32956,7 +32956,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["price"])[]; + data: components["schemas"]["price"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -33028,7 +33028,7 @@ export interface operations { preset?: number; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters. */ lookup_key?: 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`. */ @@ -33133,7 +33133,7 @@ export interface operations { parameters: { query: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. */ @@ -33152,7 +33152,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["price"])[]; + data: components["schemas"]["price"][]; has_more: boolean; next_page?: string | null; /** @@ -33179,7 +33179,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { price: string; @@ -33244,7 +33244,7 @@ export interface operations { }) | undefined; }) | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters. */ lookup_key?: 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`. */ @@ -33294,9 +33294,9 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Only return products with the given IDs. Cannot be used with [starting_after](https://stripe.com/docs/api#list_products-starting_after) or [ending_before](https://stripe.com/docs/api#list_products-ending_before). */ - ids?: (string)[]; + ids?: 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 Only return products that can be shipped (i.e., physical, not digital products). */ @@ -33318,7 +33318,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["product"])[]; + data: components["schemas"]["product"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -33392,11 +33392,11 @@ export interface operations { /** @description The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description An identifier will be randomly generated by Stripe. You can optionally override this ID, but the ID must be unique across all products in your Stripe account. */ id?: string; /** @description A list of up to 8 URLs of images for this product, meant to be displayable to the customer. */ - images?: (string)[]; + images?: 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 | undefined; @@ -33456,7 +33456,7 @@ export interface operations { parameters: { query: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. */ @@ -33475,7 +33475,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["product"])[]; + data: components["schemas"]["product"][]; has_more: boolean; next_page?: string | null; /** @@ -33502,7 +33502,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -33545,9 +33545,9 @@ export interface operations { /** @description The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A list of up to 8 URLs of images for this product, meant to be displayable to the customer. */ - images?: (string)[] | ""; + images?: 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 | undefined; @@ -33643,7 +33643,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -33660,7 +33660,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["promotion_code"])[]; + data: components["schemas"]["promotion_code"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -33695,7 +33695,7 @@ export interface operations { /** @description The customer that this promotion code can be used by. If not set, the promotion code can be used by all customers. */ customer?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: unix-time * @description The timestamp at which this promotion code will expire. If the coupon has specified a `redeems_by`, then this value cannot be after the coupon's `redeems_by`. @@ -33744,7 +33744,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { promotion_code: string; @@ -33783,7 +33783,7 @@ export interface operations { /** @description Whether the promotion code is currently active. A promotion code can only be reactivated when the coupon is still valid and the promotion code is otherwise redeemable. */ active?: boolean; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -33826,7 +33826,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -33847,7 +33847,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["quote"])[]; + data: components["schemas"]["quote"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -33892,16 +33892,16 @@ export interface operations { /** @description The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed. */ customer?: string; /** @description The tax rates that will apply to any line item that does not have `tax_rates` set. */ - default_tax_rates?: (string)[] | ""; + default_tax_rates?: string[] | ""; /** @description A description that will be displayed on the quote PDF. If no value is passed, the default description configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used. */ description?: string; /** @description The discounts applied to the quote. You can only set up to one discount. */ - discounts?: ({ + discounts?: { coupon?: string; discount?: string; - })[] | ""; + }[] | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: unix-time * @description A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. If no value is passed, the default expiration date configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used. @@ -33946,7 +33946,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: 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?: { @@ -33994,7 +33994,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { quote: string; @@ -34049,16 +34049,16 @@ export interface operations { /** @description The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed. */ customer?: string; /** @description The tax rates that will apply to any line item that does not have `tax_rates` set. */ - default_tax_rates?: (string)[] | ""; + default_tax_rates?: string[] | ""; /** @description A description that will be displayed on the quote PDF. */ description?: string; /** @description The discounts applied to the quote. You can only set up to one discount. */ - discounts?: ({ + discounts?: { coupon?: string; discount?: string; - })[] | ""; + }[] | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: unix-time * @description A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. @@ -34096,7 +34096,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: 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?: { @@ -34148,7 +34148,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -34178,7 +34178,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -34204,7 +34204,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -34225,7 +34225,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["item"])[]; + data: components["schemas"]["item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -34257,7 +34257,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: unix-time * @description A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. @@ -34288,7 +34288,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -34309,7 +34309,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["item"])[]; + data: components["schemas"]["item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -34335,7 +34335,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { quote: string; @@ -34370,7 +34370,7 @@ export interface operations { /** @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)[]; + 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 Only return early fraud warnings for charges that were created by the PaymentIntent specified by this PaymentIntent ID. */ @@ -34389,7 +34389,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["radar.early_fraud_warning"])[]; + data: components["schemas"]["radar.early_fraud_warning"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -34419,7 +34419,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { early_fraud_warning: string; @@ -34458,7 +34458,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -34479,7 +34479,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["radar.value_list_item"])[]; + data: components["schemas"]["radar.value_list_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -34506,7 +34506,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The value of the item (whose type must match the type of the parent value list). */ value: string; /** @description The identifier of the value list which the created item will be added to. */ @@ -34534,7 +34534,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { item: string; @@ -34604,7 +34604,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -34621,7 +34621,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["radar.value_list"])[]; + data: components["schemas"]["radar.value_list"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -34650,7 +34650,7 @@ export interface operations { /** @description The name of the value list for use in rules. */ alias: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * @description Type of the items in the value list. One of `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, or `customer_id`. Use `string` if the item type is unknown or mixed. * @enum {string} @@ -34685,7 +34685,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { value_list: string; @@ -34724,7 +34724,7 @@ export interface operations { /** @description The name of the value list for use in rules. */ alias?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -34791,7 +34791,7 @@ export interface operations { /** @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)[]; + 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 Only return refunds for the PaymentIntent specified by this ID. */ @@ -34810,7 +34810,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["refund"])[]; + data: components["schemas"]["refund"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -34844,7 +34844,7 @@ export interface operations { /** @description Customer whose customer balance to refund from. */ customer?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description For payment methods without native refund support (e.g., Konbini, PromptPay), use this email from the customer to receive refund instructions. */ instructions_email?: 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`. */ @@ -34884,7 +34884,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { refund: string; @@ -34925,7 +34925,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -34963,7 +34963,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -34995,7 +34995,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -35012,7 +35012,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["reporting.report_run"])[]; + data: components["schemas"]["reporting.report_run"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -35039,13 +35039,13 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * run_parameter_specs * @description Parameters specifying how the report should be run. Different Report Types have different required and optional parameters, listed in the [API Access to Reports](https://stripe.com/docs/reporting/statements/api) documentation. */ parameters?: { - columns?: (string)[]; + columns?: string[]; connected_account?: string; currency?: string; /** Format: unix-time */ @@ -35083,7 +35083,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { report_run: string; @@ -35114,7 +35114,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; requestBody?: { @@ -35127,7 +35127,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["reporting.report_type"])[]; + data: components["schemas"]["reporting.report_type"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -35153,7 +35153,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { report_type: string; @@ -35192,7 +35192,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -35209,7 +35209,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["review"])[]; + data: components["schemas"]["review"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -35235,7 +35235,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { review: string; @@ -35272,7 +35272,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -35309,7 +35309,7 @@ export interface operations { /** @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)[]; + 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; /** @@ -35331,7 +35331,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["setup_attempt"])[]; + data: components["schemas"]["setup_attempt"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -35374,7 +35374,7 @@ export interface operations { /** @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)[]; + 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 Only return SetupIntents associated with the specified payment method. */ @@ -35393,7 +35393,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["setup_intent"])[]; + data: components["schemas"]["setup_intent"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -35448,7 +35448,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * @description Indicates the directions of money movement for which this payment method is intended to be used. * @@ -35675,7 +35675,7 @@ export interface operations { reference: string; /** Format: unix-time */ start_date: number; - supported_types?: ("india")[]; + supported_types?: "india"[]; }; /** @enum {string} */ network?: "amex" | "cartes_bancaires" | "diners" | "discover" | "eftpos_au" | "interac" | "jcb" | "mastercard" | "unionpay" | "unknown" | "visa"; @@ -35711,7 +35711,7 @@ export interface operations { }; }; /** @description The list of payment method types (e.g. card) that this SetupIntent is allowed to use. If this is not provided, defaults to ["card"]. */ - payment_method_types?: (string)[]; + payment_method_types?: string[]; /** @description The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm). */ return_url?: string; /** @@ -35758,7 +35758,7 @@ export interface operations { /** @description The client secret of the SetupIntent. Required if a publishable key is used to retrieve the SetupIntent. */ client_secret?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { intent: string; @@ -35809,7 +35809,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * @description Indicates the directions of money movement for which this payment method is intended to be used. * @@ -36014,7 +36014,7 @@ export interface operations { reference: string; /** Format: unix-time */ start_date: number; - supported_types?: ("india")[]; + supported_types?: "india"[]; }; /** @enum {string} */ network?: "amex" | "cartes_bancaires" | "diners" | "discover" | "eftpos_au" | "interac" | "jcb" | "mastercard" | "unionpay" | "unknown" | "visa"; @@ -36050,7 +36050,7 @@ export interface operations { }; }; /** @description The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. If this is not provided, defaults to ["card"]. */ - payment_method_types?: (string)[]; + payment_method_types?: string[]; }; }; }; @@ -36089,7 +36089,7 @@ export interface operations { */ cancellation_reason?: "abandoned" | "duplicate" | "requested_by_customer"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -36136,7 +36136,7 @@ export interface operations { /** @description The client secret of the SetupIntent. */ client_secret?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description This hash contains details about the Mandate to create */ mandate_data?: ({ /** customer_acceptance_param */ @@ -36359,7 +36359,7 @@ export interface operations { reference: string; /** Format: unix-time */ start_date: number; - supported_types?: ("india")[]; + supported_types?: "india"[]; }; /** @enum {string} */ network?: "amex" | "cartes_bancaires" | "diners" | "discover" | "eftpos_au" | "interac" | "jcb" | "mastercard" | "unionpay" | "unknown" | "visa"; @@ -36429,13 +36429,13 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. */ - amounts?: (number)[]; + amounts?: number[]; /** @description The client secret of the SetupIntent. */ client_secret?: string; /** @description A six-character code starting with SM present in the microdeposit sent to the bank account. */ descriptor_code?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -36472,7 +36472,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -36489,7 +36489,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["shipping_rate"])[]; + data: components["schemas"]["shipping_rate"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -36536,7 +36536,7 @@ export interface operations { /** @description The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions. */ display_name: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * fixed_amount * @description Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`. @@ -36591,7 +36591,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { shipping_rate_token: string; @@ -36630,7 +36630,7 @@ export interface operations { /** @description Whether the shipping rate can be used for new purchases. Defaults to `true`. */ active?: boolean; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * fixed_amount_update * @description Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`. @@ -36678,7 +36678,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -36695,7 +36695,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["scheduled_query_run"])[]; + data: components["schemas"]["scheduled_query_run"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -36721,7 +36721,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { scheduled_query_run: string; @@ -36759,7 +36759,7 @@ export interface operations { /** @description The `Customer` to whom the original source is attached to. Must be set when the original source is not a `Source` (e.g., `Card`). */ customer?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * @description The authentication `flow` of the source to create. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`. It is generally inferred unless a type supports multiple flows. * @enum {string} @@ -36901,7 +36901,7 @@ export interface operations { /** @description The client secret of the source. Required if a publishable key is used to retrieve the source. */ client_secret?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { source: string; @@ -36944,7 +36944,7 @@ export interface operations { /** @description Amount associated with the source. */ amount?: number; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * mandate_params * @description Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status. @@ -37055,7 +37055,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { mandate_notification: string; @@ -37089,7 +37089,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -37109,7 +37109,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["source_transaction"])[]; + data: components["schemas"]["source_transaction"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -37135,7 +37135,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { source: string; @@ -37173,9 +37173,9 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The values needed to verify the source. */ - values: (string)[]; + values: string[]; }; }; }; @@ -37201,7 +37201,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -37220,7 +37220,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["subscription_item"])[]; + data: components["schemas"]["subscription_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -37251,7 +37251,7 @@ export interface operations { usage_gte: number; } | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -37303,7 +37303,7 @@ export interface operations { /** @description The identifier of the subscription to modify. */ subscription: string; /** @description A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. */ - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; }; }; }; @@ -37327,7 +37327,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { item: string; @@ -37368,7 +37368,7 @@ export interface operations { usage_gte: number; } | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -37420,7 +37420,7 @@ export interface operations { /** @description The quantity you'd like to apply to the subscription item you're creating. */ quantity?: number; /** @description A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. */ - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; }; }; }; @@ -37490,7 +37490,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -37510,7 +37510,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["usage_record_summary"])[]; + data: components["schemas"]["usage_record_summary"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -37555,7 +37555,7 @@ export interface operations { */ action?: "increment" | "set"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The usage quantity for the specified timestamp. */ quantity: number; /** @description The timestamp for the usage event. This timestamp must be within the current billing period of the subscription of the provided `subscription_item`, and must not be in the future. When passing `"now"`, Stripe records usage for the current time. Default is `"now"` if a value is not provided. */ @@ -37608,7 +37608,7 @@ export interface operations { /** @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)[]; + 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 Only return subscription schedules that were released during the given date interval. */ @@ -37634,7 +37634,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["subscription_schedule"])[]; + data: components["schemas"]["subscription_schedule"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -37698,7 +37698,7 @@ export interface operations { */ end_behavior?: "cancel" | "none" | "release" | "renew"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls. */ from_subscription?: 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`. */ @@ -37720,7 +37720,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; application_fee_percent?: number; /** automatic_tax_config */ @@ -37738,7 +37738,7 @@ export interface operations { coupon?: string; currency?: string; default_payment_method?: string; - default_tax_rates?: (string)[] | ""; + default_tax_rates?: string[] | ""; description?: string; /** Format: unix-time */ end_date?: number; @@ -37771,7 +37771,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; iterations?: number; metadata?: { @@ -37814,7 +37814,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { schedule: string; @@ -37886,7 +37886,7 @@ export interface operations { */ end_behavior?: "cancel" | "none" | "release" | "renew"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -37906,7 +37906,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; application_fee_percent?: number; /** automatic_tax_config */ @@ -37923,7 +37923,7 @@ export interface operations { collection_method?: "charge_automatically" | "send_invoice"; coupon?: string; default_payment_method?: string; - default_tax_rates?: (string)[] | ""; + default_tax_rates?: string[] | ""; description?: string; end_date?: number | "now"; /** invoice_settings */ @@ -37955,7 +37955,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; iterations?: number; metadata?: { @@ -38007,7 +38007,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Defaults to `true`. */ invoice_now?: boolean; /** @description If the subscription schedule is `active`, indicates if the cancellation should be prorated. Defaults to `true`. */ @@ -38041,7 +38041,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Keep any cancellation on the subscription that the schedule has set */ preserve_cancel_date?: boolean; }; @@ -38095,7 +38095,7 @@ export interface operations { /** @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)[]; + 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 for subscriptions that contain this recurring price ID. */ @@ -38118,7 +38118,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["subscription"])[]; + data: components["schemas"]["subscription"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -38166,7 +38166,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; /** @description A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions). */ application_fee_percent?: number; @@ -38217,11 +38217,11 @@ export interface operations { /** @description ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). */ default_source?: string; /** @description The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. */ - default_tax_rates?: (string)[] | ""; + default_tax_rates?: string[] | ""; /** @description The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A list of up to 20 subscription items, each with an attached price. */ items?: ({ billing_thresholds?: { @@ -38248,7 +38248,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: 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?: ({ @@ -38397,7 +38397,7 @@ export interface operations { parameters: { query: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. */ @@ -38416,7 +38416,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["subscription"])[]; + data: components["schemas"]["subscription"][]; has_more: boolean; next_page?: string | null; /** @@ -38443,7 +38443,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { subscription_exposed_id: string; @@ -38493,7 +38493,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: string[] | ""; })[]; /** @description A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions). */ application_fee_percent?: number; @@ -38541,11 +38541,11 @@ export interface operations { /** @description ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). */ default_source?: string; /** @description The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. Pass an empty string to remove previously-defined tax rates. */ - default_tax_rates?: (string)[] | ""; + default_tax_rates?: string[] | ""; /** @description The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A list of up to 20 subscription items, each with an attached price. */ items?: ({ billing_thresholds?: { @@ -38575,7 +38575,7 @@ export interface operations { unit_amount_decimal?: string; }; quantity?: number; - tax_rates?: (string)[] | ""; + tax_rates?: 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?: ({ @@ -38743,7 +38743,7 @@ export interface operations { feedback?: "" | "customer_service" | "low_quality" | "missing_features" | "other" | "switched_service" | "too_complex" | "too_expensive" | "unused"; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. */ invoice_now?: boolean; /** @description Will generate a proration invoice item that credits remaining unused time until the subscription period end. */ @@ -38809,7 +38809,7 @@ export interface operations { */ billing_cycle_anchor?: "now" | "unchanged"; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * @description Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`. * @enum {string} @@ -38873,7 +38873,7 @@ export interface operations { taxability_override?: "customer_exempt" | "none" | "reverse_charge"; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A list of items the customer is purchasing. */ line_items: ({ amount: number; @@ -38922,7 +38922,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -38943,7 +38943,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["tax.calculation_line_item"])[]; + data: components["schemas"]["tax.calculation_line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -38972,7 +38972,7 @@ export interface operations { /** @description Tax Calculation ID to be used as input when creating the transaction. */ calculation: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -39003,7 +39003,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The line item amounts to reverse. */ line_items?: ({ amount: number; @@ -39059,7 +39059,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { transaction: string; @@ -39092,7 +39092,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -39113,7 +39113,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["tax.transaction_line_item"])[]; + data: components["schemas"]["tax.transaction_line_item"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -39141,7 +39141,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -39158,7 +39158,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["tax_code"])[]; + data: components["schemas"]["tax_code"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -39184,7 +39184,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -39226,7 +39226,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Optional flag to filter by tax rates that are inclusive (or those that are not inclusive). */ inclusive?: boolean; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -39245,7 +39245,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["tax_rate"])[]; + data: components["schemas"]["tax_rate"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -39280,7 +39280,7 @@ export interface operations { /** @description The display name of the tax rate, which will be shown to users. */ display_name: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description This specifies if the tax rate is inclusive or exclusive. */ inclusive: boolean; /** @description The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice. */ @@ -39321,7 +39321,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { tax_rate: string; @@ -39366,7 +39366,7 @@ export interface operations { /** @description The display name of the tax rate, which will be shown to users. */ display_name?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice. */ jurisdiction?: 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`. */ @@ -39405,7 +39405,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description if present, only return the account default or non-default configurations. */ is_account_default?: boolean; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -39424,7 +39424,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["terminal.configuration"])[]; + data: components["schemas"]["terminal.configuration"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -39458,91 +39458,91 @@ export interface operations { splashscreen?: string | ""; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Tipping configurations for readers supporting on-reader tips */ tipping?: { /** currency_specific_config */ aud?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ cad?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ chf?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ czk?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ dkk?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ eur?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ gbp?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ hkd?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ myr?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ nok?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ nzd?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ sek?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ sgd?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ usd?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; } | ""; @@ -39576,7 +39576,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { configuration: string; @@ -39617,91 +39617,91 @@ export interface operations { splashscreen?: string | ""; }) | ""; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Tipping configurations for readers supporting on-reader tips */ tipping?: { /** currency_specific_config */ aud?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ cad?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ chf?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ czk?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ dkk?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ eur?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ gbp?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ hkd?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ myr?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ nok?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ nzd?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ sek?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ sgd?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; /** currency_specific_config */ usd?: { - fixed_amounts?: (number)[]; - percentages?: (number)[]; + fixed_amounts?: number[]; + percentages?: number[]; smart_tip_threshold?: number; }; } | ""; @@ -39760,7 +39760,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](https://stripe.com/docs/terminal/fleet/locations#connection-tokens). */ location?: string; }; @@ -39788,7 +39788,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -39805,7 +39805,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["terminal.location"])[]; + data: components["schemas"]["terminal.location"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -39851,7 +39851,7 @@ export interface operations { /** @description A name for the location. */ display_name: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -39879,7 +39879,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { location: string; @@ -39932,7 +39932,7 @@ export interface operations { /** @description A name for the location. */ display_name?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -39991,7 +39991,7 @@ export interface operations { /** @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)[]; + 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 A location ID to filter the response list to only readers at the specific location */ @@ -40013,7 +40013,7 @@ export interface operations { content: { "application/json": { /** @description A list of readers */ - data: (components["schemas"]["terminal.reader"])[]; + data: components["schemas"]["terminal.reader"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -40040,7 +40040,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description Custom label given to the reader for easier identification. If no label is specified, the registration code will be used. */ label?: string; /** @description The location to assign the reader to. */ @@ -40074,7 +40074,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { reader: string; @@ -40111,7 +40111,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The new label of the reader. */ label?: 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`. */ @@ -40174,7 +40174,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40204,7 +40204,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description PaymentIntent ID */ payment_intent: string; /** @@ -40249,7 +40249,7 @@ export interface operations { /** @description Customer Consent Collected */ customer_consent_collected: boolean; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description SetupIntent ID */ setup_intent: string; }; @@ -40285,7 +40285,7 @@ export interface operations { /** @description ID of the Charge to refund. */ charge?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -40330,16 +40330,16 @@ export interface operations { */ cart?: { currency: string; - line_items: ({ + line_items: { amount: number; description: string; quantity: number; - })[]; + }[]; tax?: number; total: number; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * @description Type * @enum {string} @@ -40378,7 +40378,7 @@ export interface operations { /** @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 Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A description of the test funding. This simulates free-text references supplied by customers when making bank transfers to their cash balance. You can use this to test how Stripe's [reconciliation algorithm](https://stripe.com/docs/payments/customer-balance/reconciliation) applies to different user inputs. */ reference?: string; }; @@ -40410,7 +40410,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40440,7 +40440,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40470,7 +40470,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40500,7 +40500,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40530,7 +40530,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40569,7 +40569,7 @@ export interface operations { number?: string; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * interac_present * @description Simulated data for the interac_present payment method. @@ -40607,7 +40607,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -40624,7 +40624,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["test_helpers.test_clock"])[]; + data: components["schemas"]["test_helpers.test_clock"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -40651,7 +40651,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: unix-time * @description The initial frozen time for this test clock. @@ -40682,7 +40682,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { test_clock: string; @@ -40746,7 +40746,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * Format: unix-time * @description The time to advance the test clock. Must be after the test clock's current frozen time. Cannot be more than two intervals in the future from the shortest subscription in this test clock. If there are no subscriptions in this test clock, it cannot be more than two years in the future. @@ -40781,7 +40781,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * failure_details_params * @description Details about a failed InboundTransfer. @@ -40819,7 +40819,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40849,7 +40849,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40879,7 +40879,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40909,7 +40909,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -40939,7 +40939,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * returned_details_params * @description Optional hash to set the the return code. @@ -40977,7 +40977,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -41007,7 +41007,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -41037,7 +41037,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * returned_details_params * @description Details about a returned OutboundTransfer. @@ -41076,7 +41076,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The FinancialAccount to send funds to. */ financial_account: string; /** @@ -41128,7 +41128,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The FinancialAccount to pull funds from. */ financial_account: string; /** @@ -41286,7 +41286,7 @@ export interface operations { first_name?: string; first_name_kana?: string; first_name_kanji?: string; - full_name_aliases?: (string)[] | ""; + full_name_aliases?: string[] | ""; gender?: string; id_number?: string; id_number_secondary?: string; @@ -41365,7 +41365,7 @@ export interface operations { cvc: string; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * person_token_specs * @description Information for the person this token will represent. @@ -41409,22 +41409,22 @@ export interface operations { documents?: { /** documents_param */ company_authorization?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ passport?: { - files?: (string)[]; + files?: string[]; }; /** documents_param */ visa?: { - files?: (string)[]; + files?: string[]; }; }; email?: string; first_name?: string; first_name_kana?: string; first_name_kanji?: string; - full_name_aliases?: (string)[] | ""; + full_name_aliases?: string[] | ""; gender?: string; id_number?: string; id_number_secondary?: string; @@ -41501,7 +41501,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { token: string; @@ -41548,7 +41548,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -41567,7 +41567,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["topup"])[]; + data: components["schemas"]["topup"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -41600,7 +41600,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -41634,7 +41634,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { topup: string; @@ -41673,7 +41673,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -41707,7 +41707,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -41741,7 +41741,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -41761,7 +41761,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["transfer"])[]; + data: components["schemas"]["transfer"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -41796,7 +41796,7 @@ export interface operations { /** @description The ID of a connected Stripe account. See the Connect documentation for details. */ destination: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -41835,7 +41835,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -41856,7 +41856,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["transfer_reversal"])[]; + data: components["schemas"]["transfer_reversal"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -41898,7 +41898,7 @@ export interface operations { /** @description An arbitrary string which you can attach to a reversal object. It is displayed alongside the reversal in the Dashboard. This will be unset if you POST an empty value. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -41928,7 +41928,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { transfer: string; @@ -41971,7 +41971,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -41999,7 +41999,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -42042,7 +42042,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -42072,7 +42072,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Returns objects associated with this FinancialAccount. */ financial_account: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -42096,7 +42096,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["treasury.credit_reversal"])[]; + data: components["schemas"]["treasury.credit_reversal"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -42123,7 +42123,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -42153,7 +42153,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { credit_reversal: string; @@ -42186,7 +42186,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Returns objects associated with this FinancialAccount. */ financial_account: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -42212,7 +42212,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["treasury.debit_reversal"])[]; + data: components["schemas"]["treasury.debit_reversal"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -42239,7 +42239,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + 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 | undefined; @@ -42269,7 +42269,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { debit_reversal: string; @@ -42308,7 +42308,7 @@ export interface operations { /** @description An object ID cursor for use in pagination. */ ending_before?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description A limit ranging from 1 to 100 (defaults to 10). */ limit?: number; /** @description An object ID cursor for use in pagination. */ @@ -42325,7 +42325,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["treasury.financial_account"])[]; + data: components["schemas"]["treasury.financial_account"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -42352,7 +42352,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * feature_access * @description Encodes whether a FinancialAccount has access to a particular feature. Stripe or the platform can control features via the requested field. @@ -42422,7 +42422,7 @@ export interface operations { outbound_flows?: "restricted" | "unrestricted"; }; /** @description The currencies the FinancialAccount can hold a balance in. */ - supported_currencies: (string)[]; + supported_currencies: string[]; }; }; }; @@ -42446,7 +42446,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { financial_account: string; @@ -42483,7 +42483,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * feature_access * @description Encodes whether a FinancialAccount has access to a particular feature, with a status enum and associated `status_details`. Stripe or the platform may control features via the requested field. @@ -42575,7 +42575,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { financial_account: string; @@ -42626,7 +42626,7 @@ export interface operations { requested: boolean; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** * financial_addresses * @description Contains Features that add FinancialAddresses to the FinancialAccount. @@ -42707,7 +42707,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Returns objects associated with this FinancialAccount. */ financial_account: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -42729,7 +42729,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["treasury.inbound_transfer"])[]; + data: components["schemas"]["treasury.inbound_transfer"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -42762,7 +42762,7 @@ export interface operations { /** @description An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The FinancialAccount to send funds to. */ financial_account: 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`. */ @@ -42796,7 +42796,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -42833,7 +42833,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -42861,7 +42861,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Returns objects associated with this FinancialAccount. */ financial_account: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -42883,7 +42883,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["treasury.outbound_payment"])[]; + data: components["schemas"]["treasury.outbound_payment"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -42974,7 +42974,7 @@ export interface operations { present: boolean; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The FinancialAccount to pull funds from. */ financial_account: 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`. */ @@ -43006,7 +43006,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -43043,7 +43043,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -43069,7 +43069,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Returns objects associated with this FinancialAccount. */ financial_account: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -43091,7 +43091,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["treasury.outbound_transfer"])[]; + data: components["schemas"]["treasury.outbound_transfer"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -43136,7 +43136,7 @@ export interface operations { }) | ""; }; /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; /** @description The FinancialAccount to pull funds from. */ financial_account: 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`. */ @@ -43168,7 +43168,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { outbound_transfer: string; @@ -43205,7 +43205,7 @@ export interface operations { content: { "application/x-www-form-urlencoded": { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; }; }; @@ -43231,7 +43231,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description The FinancialAccount that received the funds. */ financial_account: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -43258,7 +43258,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["treasury.received_credit"])[]; + data: components["schemas"]["treasury.received_credit"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -43284,7 +43284,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -43317,7 +43317,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description The FinancialAccount that funds were pulled from. */ financial_account: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -43339,7 +43339,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["treasury.received_debit"])[]; + data: components["schemas"]["treasury.received_debit"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -43365,7 +43365,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -43410,7 +43410,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Returns objects associated with this FinancialAccount. */ financial_account: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -43434,7 +43434,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["treasury.transaction_entry"])[]; + data: components["schemas"]["treasury.transaction_entry"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -43460,7 +43460,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -43499,7 +43499,7 @@ export interface operations { /** @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)[]; + expand?: string[]; /** @description Returns objects associated with this FinancialAccount. */ financial_account: string; /** @description A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ @@ -43532,7 +43532,7 @@ export interface operations { content: { "application/json": { /** @description Details about each object. */ - data: (components["schemas"]["treasury.transaction"])[]; + data: components["schemas"]["treasury.transaction"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -43558,7 +43558,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { id: string; @@ -43591,7 +43591,7 @@ export interface operations { /** @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)[]; + 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 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. */ @@ -43608,7 +43608,7 @@ export interface operations { 200: { content: { "application/json": { - data: (components["schemas"]["webhook_endpoint"])[]; + data: components["schemas"]["webhook_endpoint"][]; /** @description True if this list has another page of items after this one that can be fetched. */ has_more: boolean; /** @@ -43646,7 +43646,7 @@ export interface operations { /** @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_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" | "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" | "file.created" | "financial_connections.account.created" | "financial_connections.account.deactivated" | "financial_connections.account.disconnected" | "financial_connections.account.reactivated" | "financial_connections.account.refreshed_balance" | "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.paid" | "invoice.payment_action_required" | "invoice.payment_failed" | "invoice.payment_succeeded" | "invoice.sent" | "invoice.upcoming" | "invoice.updated" | "invoice.voided" | "invoiceitem.created" | "invoiceitem.deleted" | "invoiceitem.updated" | "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.submitted" | "issuing_dispute.updated" | "issuing_transaction.created" | "issuing_transaction.updated" | "mandate.updated" | "order.created" | "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" | "recipient.created" | "recipient.deleted" | "recipient.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" | "sku.created" | "sku.deleted" | "sku.updated" | "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_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_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.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)[]; + 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 | undefined; @@ -43676,7 +43676,7 @@ export interface operations { parameters: { query?: { /** @description Specifies which fields in the response should be expanded. */ - expand?: (string)[]; + expand?: string[]; }; path: { webhook_endpoint: string; @@ -43719,7 +43719,7 @@ export interface operations { /** @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_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" | "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" | "file.created" | "financial_connections.account.created" | "financial_connections.account.deactivated" | "financial_connections.account.disconnected" | "financial_connections.account.reactivated" | "financial_connections.account.refreshed_balance" | "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.paid" | "invoice.payment_action_required" | "invoice.payment_failed" | "invoice.payment_succeeded" | "invoice.sent" | "invoice.upcoming" | "invoice.updated" | "invoice.voided" | "invoiceitem.created" | "invoiceitem.deleted" | "invoiceitem.updated" | "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.submitted" | "issuing_dispute.updated" | "issuing_transaction.created" | "issuing_transaction.updated" | "mandate.updated" | "order.created" | "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" | "recipient.created" | "recipient.deleted" | "recipient.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" | "sku.created" | "sku.deleted" | "sku.updated" | "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_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_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.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)[]; + 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 | undefined; From 4b6c7eb3e1055d0d7c6fc1f762ce17247c743feb Mon Sep 17 00:00:00 2001 From: Tanguy Krotoff Date: Fri, 21 Jul 2023 18:20:29 +0200 Subject: [PATCH 3/3] Add changeset --- .changeset/stale-beers-sleep.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/stale-beers-sleep.md diff --git a/.changeset/stale-beers-sleep.md b/.changeset/stale-beers-sleep.md new file mode 100644 index 000000000..4fbdd7943 --- /dev/null +++ b/.changeset/stale-beers-sleep.md @@ -0,0 +1,5 @@ +--- +"openapi-typescript": patch +--- + +Remove unnecessary array parenthesis