diff --git a/package-lock.json b/package-lock.json index c58b91773..7d5b7db26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^12.9.1" + "@octokit/openapi-types": "^12.10.0" }, "devDependencies": { "@pika/pack": "^0.3.7", @@ -1894,9 +1894,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "12.9.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.9.1.tgz", - "integrity": "sha512-nmLbJmjKDF4Ryy+P6xP6h0UwodTFNUzCm6IzBeZd1ITJ37fDra32TdtS/0vAzSCOac/KliJIjQI8Fiz2I414WA==" + "version": "12.10.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.10.0.tgz", + "integrity": "sha512-xsgA7LKuQ/2QReMZQXNlBP68ferPlqw66Jmx5/J399Cn5EgIDaHXou6Rgn1GkpDNjkPji67fTlC2rz6ABaVFKw==" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "3.0.0", @@ -12117,9 +12117,9 @@ } }, "@octokit/openapi-types": { - "version": "12.9.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.9.1.tgz", - "integrity": "sha512-nmLbJmjKDF4Ryy+P6xP6h0UwodTFNUzCm6IzBeZd1ITJ37fDra32TdtS/0vAzSCOac/KliJIjQI8Fiz2I414WA==" + "version": "12.10.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.10.0.tgz", + "integrity": "sha512-xsgA7LKuQ/2QReMZQXNlBP68ferPlqw66Jmx5/J399Cn5EgIDaHXou6Rgn1GkpDNjkPji67fTlC2rz6ABaVFKw==" }, "@octokit/plugin-paginate-rest": { "version": "3.0.0", diff --git a/package.json b/package.json index e1380c575..1332185f9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "description": "Shared TypeScript definitions for Octokit projects", "dependencies": { - "@octokit/openapi-types": "^12.9.1" + "@octokit/openapi-types": "^12.10.0" }, "scripts": { "build": "pika-pack build", @@ -96,7 +96,7 @@ ] }, "octokit": { - "openapi-version": "6.6.3" + "openapi-version": "6.7.0" }, "renovate": { "extends": [ diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index ea5f7c320..6a6c47459 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -4388,6 +4388,19 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/codespaces/new", + "documentationUrl": "https://docs.github.com/rest/reference/codespaces#preview-attributes-for-a-new-codespace", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "client_ip" } + ], + "previews": [], + "renamed": null + }, { "method": "DELETE", "url": "/user/codespaces/secrets/{secret_name}/repositories/{repository_id}", diff --git a/src/generated/Endpoints.ts b/src/generated/Endpoints.ts index efa5fb473..dc0db1c0b 100644 --- a/src/generated/Endpoints.ts +++ b/src/generated/Endpoints.ts @@ -2532,6 +2532,13 @@ export interface Endpoints { "/repos/{owner}/{repo}/codespaces/machines", "get" >; + /** + * @see https://docs.github.com/rest/reference/codespaces#preview-attributes-for-a-new-codespace + */ + "GET /repos/{owner}/{repo}/codespaces/new": Operation< + "/repos/{owner}/{repo}/codespaces/new", + "get" + >; /** * @see https://docs.github.com/rest/reference/codespaces#list-repository-secrets */