From a39391e98d5301eb1dd20f692dfece0b545ce9f0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 5 Mar 2026 20:11:43 +0000 Subject: [PATCH 01/69] feat(api): api update --- .stats.yml | 4 ++-- src/resources/builds/builds.ts | 4 ++++ src/resources/projects/branches.ts | 4 ++++ src/resources/shared.ts | 2 ++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 77087d57..b2ffc897 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-1d73a351f5570e4ce6fa4116eeb560acf7d31c32e54aeb86048e80e8ce9a8bce.yml -openapi_spec_hash: 4e947471253594803217011d177b25ff +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-3ce8fd0a863c4628a23f31a6e9f759769091f728b700205e176c300ecb407da3.yml +openapi_spec_hash: 7c4683ffaf22fd287e45835d8b4ff860 config_hash: 4b44da9496c775d2294758cd233f4ecd diff --git a/src/resources/builds/builds.ts b/src/resources/builds/builds.ts index 2e78951a..a59c2450 100644 --- a/src/resources/builds/builds.ts +++ b/src/resources/builds/builds.ts @@ -233,6 +233,8 @@ export namespace BuildTarget { export namespace MergeConflictPr { export interface Repo { + host: string; + name: string; owner: string; @@ -248,6 +250,8 @@ export namespace BuildTarget { export namespace MergeConflictPr { export interface Repo { + host: string; + name: string; owner: string; diff --git a/src/resources/projects/branches.ts b/src/resources/projects/branches.ts index b8bb89e3..0c25e387 100644 --- a/src/resources/projects/branches.ts +++ b/src/resources/projects/branches.ts @@ -144,6 +144,8 @@ export namespace ProjectBranch { export interface Repo { branch: string; + host: string; + name: string; owner: string; @@ -206,6 +208,8 @@ export namespace BranchListResponse { export interface Repo { branch: string; + host: string; + name: string; owner: string; diff --git a/src/resources/shared.ts b/src/resources/shared.ts index e478d771..d18a2687 100644 --- a/src/resources/shared.ts +++ b/src/resources/shared.ts @@ -14,6 +14,8 @@ export namespace Commit { export interface Repo { branch: string; + host: string; + name: string; owner: string; From 582f2ee584d2f66726f244c59b5b28557fa28229 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 5 Mar 2026 20:12:06 +0000 Subject: [PATCH 02/69] feat(api): add host to v0 build endpoints --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 09b4c96b..d4452b81 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,6 @@ import Stainless from '@stainless-api/sdk'; const client = new Stainless({ apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted - environment: 'staging', // defaults to 'production' }); const build = await client.builds.create({ project: 'stainless', revision: 'main' }); @@ -51,7 +50,6 @@ import Stainless from '@stainless-api/sdk'; const client = new Stainless({ apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted - environment: 'staging', // defaults to 'production' }); const params: Stainless.BuildCreateParams = { project: 'stainless', revision: 'main' }; From 74880071e6313d8184d3f8f0898079e45d4af9c8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 6 Mar 2026 13:24:51 +0000 Subject: [PATCH 03/69] chore(internal): codegen related update --- packages/mcp-server/package.json | 6 +- packages/mcp-server/src/code-tool.ts | 30 +- packages/mcp-server/src/docs-search-tool.ts | 37 ++- packages/mcp-server/src/http.ts | 74 +++-- packages/mcp-server/src/index.ts | 26 +- packages/mcp-server/src/instructions.ts | 3 +- packages/mcp-server/src/logger.ts | 28 ++ packages/mcp-server/src/options.ts | 11 + packages/mcp-server/src/stdio.ts | 3 +- pnpm-lock.yaml | 348 ++++++++++---------- scripts/mock | 13 +- src/client.ts | 6 +- 12 files changed, 371 insertions(+), 214 deletions(-) create mode 100644 packages/mcp-server/src/logger.ts diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index 9dde661c..a8ce7c54 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -38,8 +38,9 @@ "express": "^5.1.0", "fuse.js": "^7.1.0", "jq-web": "https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz", - "morgan": "^1.10.0", - "morgan-body": "^2.6.9", + "pino": "^10.3.1", + "pino-http": "^11.0.0", + "pino-pretty": "^13.1.3", "qs": "^6.14.1", "typescript": "5.8.3", "yargs": "^17.7.2", @@ -56,7 +57,6 @@ "@types/cors": "^2.8.19", "@types/express": "^5.0.3", "@types/jest": "^29.4.0", - "@types/morgan": "^1.9.10", "@types/qs": "^6.14.0", "@types/yargs": "^17.0.8", "@typescript-eslint/eslint-plugin": "8.31.1", diff --git a/packages/mcp-server/src/code-tool.ts b/packages/mcp-server/src/code-tool.ts index 2849b3aa..1d103472 100644 --- a/packages/mcp-server/src/code-tool.ts +++ b/packages/mcp-server/src/code-tool.ts @@ -17,6 +17,7 @@ import { import { Tool } from '@modelcontextprotocol/sdk/types.js'; import { readEnv } from './util'; import { WorkerInput, WorkerOutput } from './code-tool-types'; +import { getLogger } from './logger'; import { SdkMethod } from './methods'; import { McpCodeExecutionMode } from './options'; import { ClientOptions } from '@stainless-api/sdk'; @@ -83,6 +84,8 @@ export function codeTool({ }, }; + const logger = getLogger(); + const handler = async ({ reqContext, args, @@ -107,11 +110,27 @@ export function codeTool({ } } + let result: ToolCallResult; + const startTime = Date.now(); + if (codeExecutionMode === 'local') { - return await localDenoHandler({ reqContext, args }); + logger.debug('Executing code in local Deno environment'); + result = await localDenoHandler({ reqContext, args }); } else { - return await remoteStainlessHandler({ reqContext, args }); + logger.debug('Executing code in remote Stainless environment'); + result = await remoteStainlessHandler({ reqContext, args }); } + + logger.info( + { + codeExecutionMode, + durationMs: Date.now() - startTime, + isError: result.isError, + contentRows: result.content?.length ?? 0, + }, + 'Got code tool execution result', + ); + return result; }; return { metadata, tool, handler }; @@ -136,7 +155,7 @@ const remoteStainlessHandler = async ({ headers: { ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), 'Content-Type': 'application/json', - client_envs: JSON.stringify({ + 'x-stainless-mcp-client-envs': JSON.stringify({ STAINLESS_API_KEY: readEnv('STAINLESS_API_KEY') ?? client.apiKey ?? undefined, STAINLESS_BASE_URL: readEnv('STAINLESS_BASE_URL') ?? readEnv('STAINLESS_ENVIRONMENT') ? @@ -156,6 +175,11 @@ const remoteStainlessHandler = async ({ }); if (!res.ok) { + if (res.status === 404 && !reqContext.stainlessApiKey) { + throw new Error( + 'Could not access code tool for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.', + ); + } throw new Error( `${res.status}: ${ res.statusText diff --git a/packages/mcp-server/src/docs-search-tool.ts b/packages/mcp-server/src/docs-search-tool.ts index ac98afaa..aa46065b 100644 --- a/packages/mcp-server/src/docs-search-tool.ts +++ b/packages/mcp-server/src/docs-search-tool.ts @@ -1,7 +1,8 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { Metadata, McpRequestContext, asTextContentResult } from './types'; import { Tool } from '@modelcontextprotocol/sdk/types.js'; +import { Metadata, McpRequestContext, asTextContentResult } from './types'; +import { getLogger } from './logger'; export const metadata: Metadata = { resource: 'all', @@ -50,19 +51,49 @@ export const handler = async ({ }) => { const body = args as any; const query = new URLSearchParams(body).toString(); + + const startTime = Date.now(); const result = await fetch(`${docsSearchURL}?${query}`, { headers: { ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), }, }); + const logger = getLogger(); + if (!result.ok) { + const errorText = await result.text(); + logger.warn( + { + durationMs: Date.now() - startTime, + query: body.query, + status: result.status, + statusText: result.statusText, + errorText, + }, + 'Got error response from docs search tool', + ); + + if (result.status === 404 && !reqContext.stainlessApiKey) { + throw new Error( + 'Could not find docs for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.', + ); + } + throw new Error( - `${result.status}: ${result.statusText} when using doc search tool. Details: ${await result.text()}`, + `${result.status}: ${result.statusText} when using doc search tool. Details: ${errorText}`, ); } - return asTextContentResult(await result.json()); + const resultBody = await result.json(); + logger.info( + { + durationMs: Date.now() - startTime, + query: body.query, + }, + 'Got docs search result', + ); + return asTextContentResult(resultBody); }; export default { metadata, tool, handler }; diff --git a/packages/mcp-server/src/http.ts b/packages/mcp-server/src/http.ts index 7d2f84dd..b61dbae6 100644 --- a/packages/mcp-server/src/http.ts +++ b/packages/mcp-server/src/http.ts @@ -4,9 +4,10 @@ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp'; import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js'; import { ClientOptions } from '@stainless-api/sdk'; import express from 'express'; -import morgan from 'morgan'; -import morganBody from 'morgan-body'; +import pino from 'pino'; +import pinoHttp from 'pino-http'; import { getStainlessApiKey, parseClientAuthHeaders } from './auth'; +import { getLogger } from './logger'; import { McpOptions } from './options'; import { initMcpServer, newMcpServer } from './server'; @@ -70,29 +71,60 @@ const del = async (req: express.Request, res: express.Response) => { }); }; +const redactHeaders = (headers: Record) => { + const hiddenHeaders = /auth|cookie|key|token/i; + const filtered = { ...headers }; + Object.keys(filtered).forEach((key) => { + if (hiddenHeaders.test(key)) { + filtered[key] = '[REDACTED]'; + } + }); + return filtered; +}; + export const streamableHTTPApp = ({ clientOptions = {}, mcpOptions, - debug, }: { clientOptions?: ClientOptions; mcpOptions: McpOptions; - debug: boolean; }): express.Express => { const app = express(); app.set('query parser', 'extended'); app.use(express.json()); - - if (debug) { - morganBody(app, { - logAllReqHeader: true, - logAllResHeader: true, - logRequestBody: true, - logResponseBody: true, - }); - } else { - app.use(morgan('combined')); - } + app.use( + pinoHttp({ + logger: getLogger(), + customLogLevel: (req, res) => { + if (res.statusCode >= 500) { + return 'error'; + } else if (res.statusCode >= 400) { + return 'warn'; + } + return 'info'; + }, + customSuccessMessage: function (req, res) { + return `Request ${req.method} to ${req.url} completed with status ${res.statusCode}`; + }, + customErrorMessage: function (req, res, err) { + return `Request ${req.method} to ${req.url} errored with status ${res.statusCode}`; + }, + serializers: { + req: pino.stdSerializers.wrapRequestSerializer((req) => { + return { + ...req, + headers: redactHeaders(req.raw.headers), + }; + }), + res: pino.stdSerializers.wrapResponseSerializer((res) => { + return { + ...res, + headers: redactHeaders(res.headers), + }; + }), + }, + }), + ); app.get('/health', async (req: express.Request, res: express.Response) => { res.status(200).send('OK'); @@ -106,22 +138,22 @@ export const streamableHTTPApp = ({ export const launchStreamableHTTPServer = async ({ mcpOptions, - debug, port, }: { mcpOptions: McpOptions; - debug: boolean; port: number | string | undefined; }) => { - const app = streamableHTTPApp({ mcpOptions, debug }); + const app = streamableHTTPApp({ mcpOptions }); const server = app.listen(port); const address = server.address(); + const logger = getLogger(); + if (typeof address === 'string') { - console.error(`MCP Server running on streamable HTTP at ${address}`); + logger.info(`MCP Server running on streamable HTTP at ${address}`); } else if (address !== null) { - console.error(`MCP Server running on streamable HTTP on port ${address.port}`); + logger.info(`MCP Server running on streamable HTTP on port ${address.port}`); } else { - console.error(`MCP Server running on streamable HTTP on port ${port}`); + logger.info(`MCP Server running on streamable HTTP on port ${port}`); } }; diff --git a/packages/mcp-server/src/index.ts b/packages/mcp-server/src/index.ts index 654d25cf..5bca4a60 100644 --- a/packages/mcp-server/src/index.ts +++ b/packages/mcp-server/src/index.ts @@ -5,15 +5,20 @@ import { McpOptions, parseCLIOptions } from './options'; import { launchStdioServer } from './stdio'; import { launchStreamableHTTPServer } from './http'; import type { McpTool } from './types'; +import { configureLogger, getLogger } from './logger'; async function main() { const options = parseOptionsOrError(); + configureLogger({ + level: options.debug ? 'debug' : 'info', + pretty: options.logFormat === 'pretty', + }); const selectedTools = await selectToolsOrError(options); - console.error( - `MCP Server starting with ${selectedTools.length} tools:`, - selectedTools.map((e) => e.tool.name), + getLogger().info( + { tools: selectedTools.map((e) => e.tool.name) }, + `MCP Server starting with ${selectedTools.length} tools`, ); switch (options.transport) { @@ -23,7 +28,6 @@ async function main() { case 'http': await launchStreamableHTTPServer({ mcpOptions: options, - debug: options.debug, port: options.socket ?? options.port, }); break; @@ -32,7 +36,8 @@ async function main() { if (require.main === module) { main().catch((error) => { - console.error('Fatal error in main():', error); + // Logger might not be initialized yet + console.error('Fatal error in main()', error); process.exit(1); }); } @@ -41,7 +46,8 @@ function parseOptionsOrError() { try { return parseCLIOptions(); } catch (error) { - console.error('Error parsing options:', error); + // Logger is initialized after options, so use console.error here + console.error('Error parsing options', error); process.exit(1); } } @@ -50,16 +56,12 @@ async function selectToolsOrError(options: McpOptions): Promise { try { const includedTools = selectTools(options); if (includedTools.length === 0) { - console.error('No tools match the provided filters.'); + getLogger().error('No tools match the provided filters'); process.exit(1); } return includedTools; } catch (error) { - if (error instanceof Error) { - console.error('Error filtering tools:', error.message); - } else { - console.error('Error filtering tools:', error); - } + getLogger().error({ error }, 'Error filtering tools'); process.exit(1); } } diff --git a/packages/mcp-server/src/instructions.ts b/packages/mcp-server/src/instructions.ts index 0d267d93..71f31d88 100644 --- a/packages/mcp-server/src/instructions.ts +++ b/packages/mcp-server/src/instructions.ts @@ -1,6 +1,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { readEnv } from './util'; +import { getLogger } from './logger'; const INSTRUCTIONS_CACHE_TTL_MS = 15 * 60 * 1000; // 15 minutes @@ -50,7 +51,7 @@ async function fetchLatestInstructions(stainlessApiKey: string | undefined): Pro let instructions: string | undefined; if (!response.ok) { - console.warn( + getLogger().warn( 'Warning: failed to retrieve MCP server instructions. Proceeding with default instructions...', ); diff --git a/packages/mcp-server/src/logger.ts b/packages/mcp-server/src/logger.ts new file mode 100644 index 00000000..29dab11c --- /dev/null +++ b/packages/mcp-server/src/logger.ts @@ -0,0 +1,28 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import { pino, type Level, type Logger } from 'pino'; +import pretty from 'pino-pretty'; + +let _logger: Logger | undefined; + +export function configureLogger({ level, pretty: usePretty }: { level: Level; pretty: boolean }): void { + _logger = pino( + { + level, + timestamp: pino.stdTimeFunctions.isoTime, + formatters: { + level(label) { + return { level: label }; + }, + }, + }, + usePretty ? pretty({ colorize: true, levelFirst: true, destination: 2 }) : process.stderr, + ); +} + +export function getLogger(): Logger { + if (!_logger) { + throw new Error('Logger has not been configured. Call configureLogger() before using the logger.'); + } + return _logger; +} diff --git a/packages/mcp-server/src/options.ts b/packages/mcp-server/src/options.ts index 069b8811..b9e8e8a6 100644 --- a/packages/mcp-server/src/options.ts +++ b/packages/mcp-server/src/options.ts @@ -8,6 +8,7 @@ import { readEnv } from './util'; export type CLIOptions = McpOptions & { debug: boolean; + logFormat: 'json' | 'pretty'; transport: 'stdio' | 'http'; port: number | undefined; socket: string | undefined; @@ -52,6 +53,11 @@ export function parseCLIOptions(): CLIOptions { "Where to run code execution in code tool; 'stainless-sandbox' will execute code in Stainless-hosted sandboxes whereas 'local' will execute code locally on the MCP server machine.", }) .option('debug', { type: 'boolean', description: 'Enable debug logging' }) + .option('log-format', { + type: 'string', + choices: ['json', 'pretty'], + description: 'Format for log output; defaults to json unless tty is detected', + }) .option('no-tools', { type: 'string', array: true, @@ -97,6 +103,10 @@ export function parseCLIOptions(): CLIOptions { const includeDocsTools = shouldIncludeToolType('docs'); const transport = argv.transport as 'stdio' | 'http'; + const logFormat = + argv.logFormat ? (argv.logFormat as 'json' | 'pretty') + : process.stderr.isTTY ? 'pretty' + : 'json'; return { ...(includeCodeTool !== undefined && { includeCodeTool }), @@ -108,6 +118,7 @@ export function parseCLIOptions(): CLIOptions { codeBlockedMethods: argv.codeBlockedMethods, codeExecutionMode: argv.codeExecutionMode as McpCodeExecutionMode, transport, + logFormat, port: argv.port, socket: argv.socket, }; diff --git a/packages/mcp-server/src/stdio.ts b/packages/mcp-server/src/stdio.ts index ceccaed3..e8bcbb19 100644 --- a/packages/mcp-server/src/stdio.ts +++ b/packages/mcp-server/src/stdio.ts @@ -1,6 +1,7 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; import { McpOptions } from './options'; import { initMcpServer, newMcpServer } from './server'; +import { getLogger } from './logger'; export const launchStdioServer = async (mcpOptions: McpOptions) => { const server = await newMcpServer(mcpOptions.stainlessApiKey); @@ -9,5 +10,5 @@ export const launchStdioServer = async (mcpOptions: McpOptions) => { const transport = new StdioServerTransport(); await server.connect(transport); - console.error('MCP Server running on stdio'); + getLogger().info('MCP Server running on stdio'); }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3ea284ac..3c95dd10 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -101,12 +101,15 @@ importers: jq-web: specifier: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz version: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz - morgan: - specifier: ^1.10.0 - version: 1.10.1 - morgan-body: - specifier: ^2.6.9 - version: 2.6.9 + pino: + specifier: ^10.3.1 + version: 10.3.1 + pino-http: + specifier: ^11.0.0 + version: 11.0.0 + pino-pretty: + specifier: ^13.1.3 + version: 13.1.3 qs: specifier: ^6.14.1 version: 6.14.1 @@ -141,9 +144,6 @@ importers: '@types/jest': specifier: ^29.4.0 version: 29.5.11 - '@types/morgan': - specifier: ^1.9.10 - version: 1.9.10 '@types/qs': specifier: ^6.14.0 version: 6.14.0 @@ -650,6 +650,9 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} + '@pinojs/redact@0.4.0': + resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==} + '@pkgr/core@0.2.4': resolution: {integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} @@ -826,9 +829,6 @@ packages: '@types/mime@1.3.5': resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} - '@types/morgan@1.9.10': - resolution: {integrity: sha512-sS4A1zheMvsADRVfT0lYbJ4S9lmsey8Zo2F7cnbYjWHP67Q0AwMYuuzLlkIM2N8gAbb9cubhIVFwcIN2XyYCkA==} - '@types/mute-stream@0.0.4': resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} @@ -997,6 +997,10 @@ packages: argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + atomic-sleep@1.0.0: + resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} + engines: {node: '>=8.0.0'} + babel-jest@29.7.0: resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -1029,10 +1033,6 @@ packages: resolution: {integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==} hasBin: true - basic-auth@2.0.1: - resolution: {integrity: sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==} - engines: {node: '>= 0.8'} - body-parser@2.2.2: resolution: {integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==} engines: {node: '>=18'} @@ -1152,6 +1152,9 @@ packages: color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + colorette@2.0.20: + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + commander@10.0.1: resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} engines: {node: '>=14'} @@ -1205,17 +1208,8 @@ packages: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} - d@1.0.2: - resolution: {integrity: sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==} - engines: {node: '>=0.12'} - - debug@2.6.9: - resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true + dateformat@4.6.3: + resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==} debug@4.4.1: resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} @@ -1294,6 +1288,9 @@ packages: resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} engines: {node: '>= 0.8'} + end-of-stream@1.4.5: + resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} + environment@1.1.0: resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} engines: {node: '>=18'} @@ -1313,17 +1310,6 @@ packages: resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} engines: {node: '>= 0.4'} - es5-ext@0.10.64: - resolution: {integrity: sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==} - engines: {node: '>=0.10'} - - es6-iterator@2.0.3: - resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==} - - es6-symbol@3.1.4: - resolution: {integrity: sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==} - engines: {node: '>=0.12'} - escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} @@ -1416,10 +1402,6 @@ packages: jiti: optional: true - esniff@2.0.1: - resolution: {integrity: sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==} - engines: {node: '>=0.10'} - espree@10.4.0: resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1453,9 +1435,6 @@ packages: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} - event-emitter@0.3.5: - resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} - eventsource-parser@3.0.6: resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==} engines: {node: '>=18.0.0'} @@ -1486,13 +1465,13 @@ packages: resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==} engines: {node: '>= 18'} - ext@1.7.0: - resolution: {integrity: sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==} - external-editor@3.1.0: resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} engines: {node: '>=4'} + fast-copy@4.0.2: + resolution: {integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==} + fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -1509,6 +1488,9 @@ packages: fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + fast-safe-stringify@2.1.1: + resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} + fast-uri@3.1.0: resolution: {integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==} @@ -1675,6 +1657,9 @@ packages: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} + help-me@5.0.0: + resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==} + highlight.js@10.7.3: resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} @@ -1945,6 +1930,10 @@ packages: jose@6.1.3: resolution: {integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==} + joycon@3.1.1: + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} + jq-web@https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz: resolution: {integrity: sha512-6nmDSHGJm8Cclf2oSuO9xQ7vt5x5bDiuTKX2rkyW1K7Uo2SHeI4ZvpgMITKy+8p3bbEnKovTPGoHhApa6v/PbA==, tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz} version: 0.8.8 @@ -2111,26 +2100,10 @@ packages: engines: {node: '>=10'} hasBin: true - moment-timezone@0.5.48: - resolution: {integrity: sha512-f22b8LV1gbTO2ms2j2z13MuPogNoh5UzxL3nzNAYKGraILnbGc9NEE6dyiiiLv46DGRb8A4kg8UKWLjPthxBHw==} - - moment@2.30.1: - resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} - - morgan-body@2.6.9: - resolution: {integrity: sha512-O0dlv/V67gSszFo4rraZ7nMhD+iuWOg2w7hOLcAC6S+nF26Q8XvikGFjoJ7+dVuh49BBsIvQqRUGbs9e8keFKw==} - - morgan@1.10.1: - resolution: {integrity: sha512-223dMRJtI/l25dJKWpgij2cMtywuG/WiUKXdvwfbhGKBhy1puASqXwFzmWZ7+K73vUPoR7SS2Qz2cI/g9MKw0A==} - engines: {node: '>= 0.8.0'} - mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} - ms@2.0.0: - resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} - ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} @@ -2151,9 +2124,6 @@ packages: neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} - next-tick@1.1.0: - resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} - node-emoji@2.1.3: resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} engines: {node: '>=18'} @@ -2197,18 +2167,14 @@ packages: resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} engines: {node: '>= 0.4'} - on-finished@2.3.0: - resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} - engines: {node: '>= 0.8'} + on-exit-leak-free@2.1.2: + resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} + engines: {node: '>=14.0.0'} on-finished@2.4.1: resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} engines: {node: '>= 0.8'} - on-headers@1.1.0: - resolution: {integrity: sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==} - engines: {node: '>= 0.8'} - once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} @@ -2301,6 +2267,23 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + pino-abstract-transport@3.0.0: + resolution: {integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==} + + pino-http@11.0.0: + resolution: {integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==} + + pino-pretty@13.1.3: + resolution: {integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==} + hasBin: true + + pino-std-serializers@7.1.0: + resolution: {integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==} + + pino@10.3.1: + resolution: {integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==} + hasBin: true + pirates@4.0.6: resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} engines: {node: '>= 6'} @@ -2334,6 +2317,9 @@ packages: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + process-warning@5.0.0: + resolution: {integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==} + prompts@2.4.2: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} @@ -2347,6 +2333,9 @@ packages: engines: {node: '>=16'} hasBin: true + pump@3.0.4: + resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} + punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} @@ -2361,6 +2350,9 @@ packages: queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + quick-format-unescaped@4.0.4: + resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} + range-parser@1.2.1: resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} engines: {node: '>= 0.6'} @@ -2376,6 +2368,10 @@ packages: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} + real-require@0.2.0: + resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} + engines: {node: '>= 12.13.0'} + require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -2424,15 +2420,19 @@ packages: resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} engines: {node: '>=6'} - safe-buffer@5.1.2: - resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} - safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + safe-stable-stringify@2.5.0: + resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==} + engines: {node: '>=10'} + safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + secure-json-parse@4.1.0: + resolution: {integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==} + semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true @@ -2500,6 +2500,9 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} + sonic-boom@4.2.1: + resolution: {integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==} + source-map-support@0.5.13: resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} @@ -2507,6 +2510,10 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} + split2@4.2.0: + resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} + engines: {node: '>= 10.x'} + sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} @@ -2556,6 +2563,10 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} + strip-json-comments@5.0.3: + resolution: {integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==} + engines: {node: '>=14.16'} + superstruct@1.0.4: resolution: {integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==} engines: {node: '>=14.0.0'} @@ -2594,6 +2605,10 @@ packages: thenify@3.3.1: resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + thread-stream@4.0.0: + resolution: {integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==} + engines: {node: '>=20'} + tmp@0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} @@ -2698,9 +2713,6 @@ packages: resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==} engines: {node: '>= 0.6'} - type@2.7.3: - resolution: {integrity: sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==} - typescript-eslint@8.31.1: resolution: {integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3563,6 +3575,8 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 + '@pinojs/redact@0.4.0': {} + '@pkgr/core@0.2.4': {} '@sinclair/typebox@0.27.8': {} @@ -3729,10 +3743,6 @@ snapshots: '@types/mime@1.3.5': {} - '@types/morgan@1.9.10': - dependencies: - '@types/node': 20.19.11 - '@types/mute-stream@0.0.4': dependencies: '@types/node': 20.19.11 @@ -3973,6 +3983,8 @@ snapshots: argparse@2.0.1: {} + atomic-sleep@1.0.0: {} + babel-jest@29.7.0(@babel/core@7.28.6): dependencies: '@babel/core': 7.28.6 @@ -4032,10 +4044,6 @@ snapshots: baseline-browser-mapping@2.9.14: {} - basic-auth@2.0.1: - dependencies: - safe-buffer: 5.1.2 - body-parser@2.2.2: dependencies: bytes: 3.1.2 @@ -4159,6 +4167,8 @@ snapshots: color-name@1.1.4: {} + colorette@2.0.20: {} + commander@10.0.1: {} commander@13.1.0: {} @@ -4227,14 +4237,7 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - d@1.0.2: - dependencies: - es5-ext: 0.10.64 - type: 2.7.3 - - debug@2.6.9: - dependencies: - ms: 2.0.0 + dateformat@4.6.3: {} debug@4.4.1: dependencies: @@ -4280,6 +4283,10 @@ snapshots: encodeurl@2.0.0: {} + end-of-stream@1.4.5: + dependencies: + once: 1.4.0 + environment@1.1.0: {} error-ex@1.3.2: @@ -4294,24 +4301,6 @@ snapshots: dependencies: es-errors: 1.3.0 - es5-ext@0.10.64: - dependencies: - es6-iterator: 2.0.3 - es6-symbol: 3.1.4 - esniff: 2.0.1 - next-tick: 1.1.0 - - es6-iterator@2.0.3: - dependencies: - d: 1.0.2 - es5-ext: 0.10.64 - es6-symbol: 3.1.4 - - es6-symbol@3.1.4: - dependencies: - d: 1.0.2 - ext: 1.7.0 - escalade@3.1.1: {} escalade@3.2.0: {} @@ -4449,13 +4438,6 @@ snapshots: transitivePeerDependencies: - supports-color - esniff@2.0.1: - dependencies: - d: 1.0.2 - es5-ext: 0.10.64 - event-emitter: 0.3.5 - type: 2.7.3 - espree@10.4.0: dependencies: acorn: 8.15.0 @@ -4484,11 +4466,6 @@ snapshots: etag@1.8.1: {} - event-emitter@0.3.5: - dependencies: - d: 1.0.2 - es5-ext: 0.10.64 - eventsource-parser@3.0.6: {} eventsource@3.0.7: @@ -4555,16 +4532,14 @@ snapshots: transitivePeerDependencies: - supports-color - ext@1.7.0: - dependencies: - type: 2.7.3 - external-editor@3.1.0: dependencies: chardet: 0.7.0 iconv-lite: 0.4.24 tmp: 0.0.33 + fast-copy@4.0.2: {} + fast-deep-equal@3.1.3: {} fast-diff@1.3.0: {} @@ -4581,6 +4556,8 @@ snapshots: fast-levenshtein@2.0.6: {} + fast-safe-stringify@2.1.1: {} + fast-uri@3.1.0: {} fastq@1.17.1: @@ -4759,6 +4736,8 @@ snapshots: dependencies: function-bind: 1.1.2 + help-me@5.0.0: {} + highlight.js@10.7.3: {} hono@4.11.4: {} @@ -5291,6 +5270,8 @@ snapshots: jose@6.1.3: {} + joycon@3.1.1: {} + jq-web@https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz: {} js-tokens@4.0.0: {} @@ -5427,33 +5408,8 @@ snapshots: mkdirp@2.1.6: {} - moment-timezone@0.5.48: - dependencies: - moment: 2.30.1 - - moment@2.30.1: {} - - morgan-body@2.6.9: - dependencies: - es6-symbol: 3.1.4 - moment-timezone: 0.5.48 - on-finished: 2.4.1 - on-headers: 1.1.0 - - morgan@1.10.1: - dependencies: - basic-auth: 2.0.1 - debug: 2.6.9 - depd: 2.0.0 - on-finished: 2.3.0 - on-headers: 1.1.0 - transitivePeerDependencies: - - supports-color - mri@1.2.0: {} - ms@2.0.0: {} - ms@2.1.3: {} mute-stream@1.0.0: {} @@ -5470,8 +5426,6 @@ snapshots: neo-async@2.6.2: {} - next-tick@1.1.0: {} - node-emoji@2.1.3: dependencies: '@sindresorhus/is': 4.6.0 @@ -5508,16 +5462,12 @@ snapshots: object-inspect@1.13.4: {} - on-finished@2.3.0: - dependencies: - ee-first: 1.1.1 + on-exit-leak-free@2.1.2: {} on-finished@2.4.1: dependencies: ee-first: 1.1.1 - on-headers@1.1.0: {} - once@1.4.0: dependencies: wrappy: 1.0.2 @@ -5600,6 +5550,49 @@ snapshots: picomatch@2.3.1: {} + pino-abstract-transport@3.0.0: + dependencies: + split2: 4.2.0 + + pino-http@11.0.0: + dependencies: + get-caller-file: 2.0.5 + pino: 10.3.1 + pino-std-serializers: 7.1.0 + process-warning: 5.0.0 + + pino-pretty@13.1.3: + dependencies: + colorette: 2.0.20 + dateformat: 4.6.3 + fast-copy: 4.0.2 + fast-safe-stringify: 2.1.1 + help-me: 5.0.0 + joycon: 3.1.1 + minimist: 1.2.6 + on-exit-leak-free: 2.1.2 + pino-abstract-transport: 3.0.0 + pump: 3.0.4 + secure-json-parse: 4.1.0 + sonic-boom: 4.2.1 + strip-json-comments: 5.0.3 + + pino-std-serializers@7.1.0: {} + + pino@10.3.1: + dependencies: + '@pinojs/redact': 0.4.0 + atomic-sleep: 1.0.0 + on-exit-leak-free: 2.1.2 + pino-abstract-transport: 3.0.0 + pino-std-serializers: 7.1.0 + process-warning: 5.0.0 + quick-format-unescaped: 4.0.4 + real-require: 0.2.0 + safe-stable-stringify: 2.5.0 + sonic-boom: 4.2.1 + thread-stream: 4.0.0 + pirates@4.0.6: {} pkce-challenge@5.0.0: {} @@ -5624,6 +5617,8 @@ snapshots: ansi-styles: 5.2.0 react-is: 18.2.0 + process-warning@5.0.0: {} + prompts@2.4.2: dependencies: kleur: 3.0.3 @@ -5640,6 +5635,11 @@ snapshots: picocolors: 1.1.1 sade: 1.8.1 + pump@3.0.4: + dependencies: + end-of-stream: 1.4.5 + once: 1.4.0 + punycode@2.3.1: {} pure-rand@6.0.4: {} @@ -5650,6 +5650,8 @@ snapshots: queue-microtask@1.2.3: {} + quick-format-unescaped@4.0.4: {} + range-parser@1.2.1: {} raw-body@3.0.1: @@ -5667,6 +5669,8 @@ snapshots: string_decoder: 1.3.0 util-deprecate: 1.0.2 + real-require@0.2.0: {} + require-directory@2.1.1: {} require-from-string@2.0.2: {} @@ -5711,12 +5715,14 @@ snapshots: dependencies: mri: 1.2.0 - safe-buffer@5.1.2: {} - safe-buffer@5.2.1: {} + safe-stable-stringify@2.5.0: {} + safer-buffer@2.1.2: {} + secure-json-parse@4.1.0: {} + semver@6.3.1: {} semver@7.7.1: {} @@ -5796,6 +5802,10 @@ snapshots: slash@3.0.0: {} + sonic-boom@4.2.1: + dependencies: + atomic-sleep: 1.0.0 + source-map-support@0.5.13: dependencies: buffer-from: 1.1.2 @@ -5803,6 +5813,8 @@ snapshots: source-map@0.6.1: {} + split2@4.2.0: {} + sprintf-js@1.0.3: {} stack-utils@2.0.6: @@ -5844,6 +5856,8 @@ snapshots: strip-json-comments@3.1.1: {} + strip-json-comments@5.0.3: {} + superstruct@1.0.4: {} supports-color@7.2.0: @@ -5881,6 +5895,10 @@ snapshots: dependencies: any-promise: 1.3.0 + thread-stream@4.0.0: + dependencies: + real-require: 0.2.0 + tmp@0.0.33: dependencies: os-tmpdir: 1.0.2 @@ -6024,8 +6042,6 @@ snapshots: media-typer: 1.1.0 mime-types: 3.0.1 - type@2.7.3: {} - typescript-eslint@8.31.1(eslint@9.39.1)(typescript@5.8.3): dependencies: '@typescript-eslint/eslint-plugin': 8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1)(typescript@5.8.3) diff --git a/scripts/mock b/scripts/mock index 0b28f6ea..bcf3b392 100755 --- a/scripts/mock +++ b/scripts/mock @@ -21,11 +21,22 @@ echo "==> Starting mock server with URL ${URL}" # Run prism mock on the given spec if [ "$1" == "--daemon" ]; then + # Pre-install the package so the download doesn't eat into the startup timeout + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism --version + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log & - # Wait for server to come online + # Wait for server to come online (max 30s) echo -n "Waiting for server" + attempts=0 while ! grep -q "✖ fatal\|Prism is listening" ".prism.log" ; do + attempts=$((attempts + 1)) + if [ "$attempts" -ge 300 ]; then + echo + echo "Timed out waiting for Prism server to start" + cat .prism.log + exit 1 + fi echo -n "." sleep 0.1 done diff --git a/src/client.ts b/src/client.ts index c232c46d..587dfefc 100644 --- a/src/client.ts +++ b/src/client.ts @@ -642,9 +642,9 @@ export class Stainless { } } - // If the API asks us to wait a certain amount of time (and it's a reasonable amount), - // just do what it says, but otherwise calculate a default - if (!(timeoutMillis && 0 <= timeoutMillis && timeoutMillis < 60 * 1000)) { + // If the API asks us to wait a certain amount of time, just do what it + // says, but otherwise calculate a default + if (timeoutMillis === undefined) { const maxRetries = options.maxRetries ?? this.maxRetries; timeoutMillis = this.calculateDefaultRetryTimeoutMillis(retriesRemaining, maxRetries); } From 254552f98aaf9b74168e0fa160d0b08cc2fe7596 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 7 Mar 2026 19:09:04 +0000 Subject: [PATCH 04/69] chore(mcp-server): improve instructions --- .github/workflows/ci.yml | 12 +++++++++--- packages/mcp-server/src/docs-search-tool.ts | 3 ++- packages/mcp-server/src/instructions.ts | 19 +++---------------- pnpm-lock.yaml | 16 ++++++++-------- src/client.ts | 5 +++-- 5 files changed, 25 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb10a5e1..1470053f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,14 +65,18 @@ jobs: run: ./scripts/build - name: Get GitHub OIDC Token - if: github.repository == 'stainless-sdks/stainless-v0-typescript' + if: |- + github.repository == 'stainless-sdks/stainless-v0-typescript' && + !startsWith(github.ref, 'refs/heads/stl/') id: github-oidc uses: actions/github-script@v8 with: script: core.setOutput('github_token', await core.getIDToken()); - name: Upload tarball - if: github.repository == 'stainless-sdks/stainless-v0-typescript' + if: |- + github.repository == 'stainless-sdks/stainless-v0-typescript' && + !startsWith(github.ref, 'refs/heads/stl/') env: URL: https://pkg.stainless.com/s AUTH: ${{ steps.github-oidc.outputs.github_token }} @@ -80,7 +84,9 @@ jobs: run: ./scripts/utils/upload-artifact.sh - name: Upload MCP Server tarball - if: github.repository == 'stainless-sdks/stainless-v0-typescript' + if: |- + github.repository == 'stainless-sdks/stainless-v0-typescript' && + !startsWith(github.ref, 'refs/heads/stl/') env: URL: https://pkg.stainless.com/s?subpackage=mcp-server AUTH: ${{ steps.github-oidc.outputs.github_token }} diff --git a/packages/mcp-server/src/docs-search-tool.ts b/packages/mcp-server/src/docs-search-tool.ts index aa46065b..216c00b1 100644 --- a/packages/mcp-server/src/docs-search-tool.ts +++ b/packages/mcp-server/src/docs-search-tool.ts @@ -13,7 +13,8 @@ export const metadata: Metadata = { export const tool: Tool = { name: 'search_docs', - description: 'Search for documentation for how to use the client to interact with the API.', + description: + 'Search SDK documentation to find methods, parameters, and usage examples for interacting with the API. Use this before writing code when you need to discover the right approach.', inputSchema: { type: 'object', properties: { diff --git a/packages/mcp-server/src/instructions.ts b/packages/mcp-server/src/instructions.ts index 71f31d88..b6387dd3 100644 --- a/packages/mcp-server/src/instructions.ts +++ b/packages/mcp-server/src/instructions.ts @@ -55,26 +55,13 @@ async function fetchLatestInstructions(stainlessApiKey: string | undefined): Pro 'Warning: failed to retrieve MCP server instructions. Proceeding with default instructions...', ); - instructions = ` - This is the stainless-v0 MCP server. You will use Code Mode to help the user perform - actions. You can use search_docs tool to learn about how to take action with this server. Then, - you will write TypeScript code using the execute tool take action. It is CRITICAL that you be - thoughtful and deliberate when executing code. Always try to entirely solve the problem in code - block: it can be as long as you need to get the job done! - `; + instructions = + '\n This is the stainless-v0 MCP server.\n\n Available tools:\n - search_docs: Search SDK documentation to find the right methods and parameters.\n - execute: Run TypeScript code against a pre-authenticated SDK client. Define an async run(client) function.\n\n Workflow:\n - If unsure about the API, call search_docs first.\n - Write complete solutions in a single execute call when possible. For large datasets, use API filters to narrow results or paginate within a single execute block.\n - If execute returns an error, read the error and fix your code rather than retrying the same approach.\n - Variables do not persist between execute calls. Return or log all data you need.\n - Individual HTTP requests to the API have a 30-second timeout. If a request times out, try a smaller query or add filters.\n - Code execution has a total timeout of approximately 5 minutes. If your code times out, simplify it or break it into smaller steps.\n '; } instructions ??= ((await response.json()) as { instructions: string }).instructions; - instructions = ` - If needed, you can get the current time by executing Date.now(). - ${instructions} + instructions += `\nYou are a nice, friendly bot who really likes to help customers! `; - - instructions += ` - ====== Additional Instructions ======== - You are a nice, friendly bot who really likes to help customers! - - `; return instructions; } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3c95dd10..6642c325 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1455,8 +1455,8 @@ packages: resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - express-rate-limit@8.2.1: - resolution: {integrity: sha512-PCZEIEIxqwhzw4KF0n7QF4QqruVTcF73O5kFKUnGOyjbCCgizBBiFaYpd/fnBLUMPw/BWw9OsiN7GgrNYr7j6g==} + express-rate-limit@8.3.0: + resolution: {integrity: sha512-KJzBawY6fB9FiZGdE/0aftepZ91YlaGIrV8vgblRM3J8X+dHx/aiowJWwkx6LIGyuqGiANsjSwwrbb8mifOJ4Q==} engines: {node: '>= 16'} peerDependencies: express: '>= 4.11' @@ -1726,8 +1726,8 @@ packages: inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - ip-address@10.0.1: - resolution: {integrity: sha512-NWv9YLW4PoW2B7xtzaS3NCot75m6nK7Icdv0o3lfMceJVRfSoQwqD4wEH5rLwoKJwUiZ/rfpiVBhnaF0FK4HoA==} + ip-address@10.1.0: + resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==} engines: {node: '>= 12'} ipaddr.js@1.9.1: @@ -3552,7 +3552,7 @@ snapshots: eventsource: 3.0.7 eventsource-parser: 3.0.6 express: 5.2.1 - express-rate-limit: 8.2.1(express@5.2.1) + express-rate-limit: 8.3.0(express@5.2.1) hono: 4.11.4 jose: 6.1.3 json-schema-typed: 8.0.2 @@ -4494,10 +4494,10 @@ snapshots: jest-message-util: 29.7.0 jest-util: 29.7.0 - express-rate-limit@8.2.1(express@5.2.1): + express-rate-limit@8.3.0(express@5.2.1): dependencies: express: 5.2.1 - ip-address: 10.0.1 + ip-address: 10.1.0 express@5.2.1: dependencies: @@ -4795,7 +4795,7 @@ snapshots: inherits@2.0.4: {} - ip-address@10.0.1: {} + ip-address@10.1.0: {} ipaddr.js@1.9.1: {} diff --git a/src/client.ts b/src/client.ts index 587dfefc..f873fe53 100644 --- a/src/client.ts +++ b/src/client.ts @@ -308,8 +308,9 @@ export class Stainless { : new URL(baseURL + (baseURL.endsWith('/') && path.startsWith('/') ? path.slice(1) : path)); const defaultQuery = this.defaultQuery(); - if (!isEmptyObj(defaultQuery)) { - query = { ...defaultQuery, ...query }; + const pathQuery = Object.fromEntries(url.searchParams); + if (!isEmptyObj(defaultQuery) || !isEmptyObj(pathQuery)) { + query = { ...pathQuery, ...defaultQuery, ...query }; } if (typeof query === 'object' && query && !Array.isArray(query)) { From f542774a0fe3b39095be9d760ba0e5737cbaa511 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 10 Mar 2026 05:05:17 +0000 Subject: [PATCH 05/69] chore(internal): update dependencies to address dependabot vulnerabilities --- package.json | 11 + packages/mcp-server/package.json | 15 +- pnpm-lock.yaml | 402 ++++--------------------------- 3 files changed, 67 insertions(+), 361 deletions(-) diff --git a/package.json b/package.json index f69ae652..897df356 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,17 @@ "typescript": "5.8.3", "typescript-eslint": "8.31.1" }, + "overrides": { + "minimatch": "^9.0.5" + }, + "pnpm": { + "overrides": { + "minimatch": "^9.0.5" + } + }, + "resolutions": { + "minimatch": "^9.0.5" + }, "exports": { ".": { "import": "./dist/index.mjs", diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index a8ce7c54..566a1b9b 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -25,13 +25,16 @@ "prepublishOnly": "echo 'to publish, run pnpm build && (cd dist; pnpm publish)' && exit 1", "format": "prettier --write --cache --cache-strategy metadata . !dist", "tsn": "ts-node -r tsconfig-paths/register", - "lint": "eslint --ext ts,js .", - "fix": "eslint --fix --ext ts,js ." + "lint": "eslint .", + "fix": "eslint --fix ." }, "dependencies": { "@stainless-api/sdk": "workspace:*", + "ajv": "^8.18.0", "@cloudflare/cabidela": "^0.2.4", - "@modelcontextprotocol/sdk": "^1.26.0", + "@hono/node-server": "^1.19.10", + "@modelcontextprotocol/sdk": "^1.27.1", + "hono": "^4.12.4", "@valtown/deno-http-worker": "^0.0.21", "cookie-parser": "^1.4.6", "cors": "^2.8.5", @@ -61,9 +64,9 @@ "@types/yargs": "^17.0.8", "@typescript-eslint/eslint-plugin": "8.31.1", "@typescript-eslint/parser": "8.31.1", - "eslint": "^8.49.0", - "eslint-plugin-prettier": "^5.0.1", - "eslint-plugin-unused-imports": "^3.0.0", + "eslint": "^9.39.1", + "eslint-plugin-prettier": "^5.4.1", + "eslint-plugin-unused-imports": "^4.1.4", "jest": "^29.4.0", "prettier": "^3.0.0", "ts-jest": "^29.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6642c325..2d05c8e1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,9 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +overrides: + minimatch: ^9.0.5 + importers: .: @@ -77,8 +80,11 @@ importers: '@cloudflare/cabidela': specifier: ^0.2.4 version: 0.2.4 + '@hono/node-server': + specifier: ^1.19.10 + version: 1.19.11(hono@4.12.5) '@modelcontextprotocol/sdk': - specifier: ^1.26.0 + specifier: ^1.27.1 version: 1.27.1(zod@3.25.76) '@stainless-api/sdk': specifier: workspace:* @@ -86,6 +92,9 @@ importers: '@valtown/deno-http-worker': specifier: ^0.0.21 version: 0.0.21 + ajv: + specifier: ^8.18.0 + version: 8.18.0 cookie-parser: specifier: ^1.4.6 version: 1.4.7 @@ -98,6 +107,9 @@ importers: fuse.js: specifier: ^7.1.0 version: 7.1.0 + hono: + specifier: ^4.12.4 + version: 4.12.5 jq-web: specifier: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz version: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz @@ -152,19 +164,19 @@ importers: version: 17.0.32 '@typescript-eslint/eslint-plugin': specifier: 8.31.1 - version: 8.31.1(@typescript-eslint/parser@8.31.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1)(typescript@5.8.3) + version: 8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1)(typescript@5.8.3) '@typescript-eslint/parser': specifier: 8.31.1 - version: 8.31.1(eslint@8.57.1)(typescript@5.8.3) + version: 8.31.1(eslint@9.39.1)(typescript@5.8.3) eslint: - specifier: ^8.49.0 - version: 8.57.1 + specifier: ^9.39.1 + version: 9.39.1 eslint-plugin-prettier: - specifier: ^5.0.1 - version: 5.4.1(eslint@8.57.1)(prettier@3.1.1) + specifier: ^5.4.1 + version: 5.4.1(eslint@9.39.1)(prettier@3.1.1) eslint-plugin-unused-imports: - specifier: ^3.0.0 - version: 3.2.0(@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1) + specifier: ^4.1.4 + version: 4.1.4(@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1) jest: specifier: ^29.4.0 version: 29.7.0(@types/node@22.19.1)(ts-node@10.7.0(@swc/core@1.4.16)(@types/node@22.19.1)(typescript@5.8.3)) @@ -385,12 +397,6 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} - '@eslint-community/eslint-utils@4.4.0': - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/eslint-utils@4.9.0': resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -417,18 +423,10 @@ packages: resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/eslintrc@2.1.4': - resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@eslint/eslintrc@3.3.3': resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@8.57.1': - resolution: {integrity: sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@eslint/js@9.39.1': resolution: {integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -441,8 +439,8 @@ packages: resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@hono/node-server@1.19.9': - resolution: {integrity: sha512-vHL6w3ecZsky+8P5MD+eFfaGTyCeOHUIFYMGpQGbrBTSmNNoxv0if69rEZ5giu36weC5saFuznL411gRX7bJDw==} + '@hono/node-server@1.19.11': + resolution: {integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==} engines: {node: '>=18.14.1'} peerDependencies: hono: ^4 @@ -455,19 +453,10 @@ packages: resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==} engines: {node: '>=18.18.0'} - '@humanwhocodes/config-array@0.13.0': - resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} - engines: {node: '>=10.10.0'} - deprecated: Use @eslint/config-array instead - '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - '@humanwhocodes/object-schema@2.0.3': - resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} - deprecated: Use @eslint/object-schema instead - '@humanwhocodes/retry@0.4.3': resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} engines: {node: '>=18.18'} @@ -909,9 +898,6 @@ packages: resolution: {integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@ungap/structured-clone@1.3.0': - resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} - '@valtown/deno-http-worker@0.0.21': resolution: {integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==} engines: {node: 20 || 22 || 24} @@ -954,8 +940,8 @@ packages: ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} - ajv@8.17.1: - resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} + ajv@8.18.0: + resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==} ansi-escapes@4.3.2: resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} @@ -1037,9 +1023,6 @@ packages: resolution: {integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==} engines: {node: '>=18'} - brace-expansion@1.1.12: - resolution: {integrity: sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==} - brace-expansion@2.0.2: resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} @@ -1163,9 +1146,6 @@ packages: resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} engines: {node: '>=18'} - concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - content-disposition@1.0.0: resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==} engines: {node: '>= 0.6'} @@ -1260,10 +1240,6 @@ packages: resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} engines: {node: '>=0.3.1'} - doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dunder-proto@1.0.1: resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} engines: {node: '>= 0.4'} @@ -1343,16 +1319,6 @@ packages: eslint-config-prettier: optional: true - eslint-plugin-unused-imports@3.2.0: - resolution: {integrity: sha512-6uXyn6xdINEpxE1MtDjxQsyXB37lfyO2yKGVVgtD7WEWQGORSOZjgrD6hBhvGv4/SO+TOlS+UnC6JppRqbuwGQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - '@typescript-eslint/eslint-plugin': 6 - 7 - eslint: '8' - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - eslint-plugin-unused-imports@4.1.4: resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} peerDependencies: @@ -1362,14 +1328,6 @@ packages: '@typescript-eslint/eslint-plugin': optional: true - eslint-rule-composer@0.3.0: - resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==} - engines: {node: '>=4.0.0'} - - eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-scope@8.4.0: resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1378,20 +1336,10 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.2.0: - resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@8.57.1: - resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. - hasBin: true - eslint@9.39.1: resolution: {integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1406,10 +1354,6 @@ packages: resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} @@ -1503,10 +1447,6 @@ packages: fflate@0.8.2: resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} - file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} - file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} @@ -1527,10 +1467,6 @@ packages: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} - flat-cache@3.2.0: - resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} - engines: {node: ^10.12.0 || >=12.0.0} - flat-cache@4.0.1: resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} engines: {node: '>=16'} @@ -1618,10 +1554,6 @@ packages: engines: {node: '>=12'} deprecated: Glob versions prior to v9 are no longer supported - globals@13.24.0: - resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} - engines: {node: '>=8'} - globals@14.0.0: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} @@ -1663,8 +1595,8 @@ packages: highlight.js@10.7.3: resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} - hono@4.11.4: - resolution: {integrity: sha512-U7tt8JsyrxSRKspfhtLET79pU8K+tInj5QZXs1jSugO1Vq5dFj3kmZsRldo29mTBfcjDRVRXrEZ6LS63Cog9ZA==} + hono@4.12.5: + resolution: {integrity: sha512-3qq+FUBtlTHhtYxbxheZgY8NIFnkkC/MR8u5TTsr7YZ3wixryQ3cCwn3iZbg8p8B88iDBBAYSfZDS75t8MN7Vg==} engines: {node: '>=16.9.0'} html-escaper@2.0.2: @@ -1760,10 +1692,6 @@ packages: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - is-promise@4.0.0: resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==} @@ -2077,17 +2005,6 @@ packages: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} - minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - - minimatch@5.1.6: - resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} - engines: {node: '>=10'} - - minimatch@7.4.6: - resolution: {integrity: sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==} - engines: {node: '>=10'} - minimatch@9.0.5: resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} @@ -2404,11 +2321,6 @@ packages: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rimraf@3.0.2: - resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - deprecated: Rimraf versions prior to v4 are no longer supported - hasBin: true - router@2.2.0: resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==} engines: {node: '>= 18'} @@ -2595,9 +2507,6 @@ packages: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} - text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - thenify-all@1.6.0: resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} @@ -2697,10 +2606,6 @@ packages: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} - type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} @@ -3104,21 +3009,6 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 - '@eslint-community/eslint-utils@4.4.0(eslint@8.57.1)': - dependencies: - eslint: 8.57.1 - eslint-visitor-keys: 3.4.3 - - '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': - dependencies: - eslint: 9.39.1 - eslint-visitor-keys: 3.4.3 - - '@eslint-community/eslint-utils@4.9.0(eslint@8.57.1)': - dependencies: - eslint: 8.57.1 - eslint-visitor-keys: 3.4.3 - '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3132,7 +3022,7 @@ snapshots: dependencies: '@eslint/object-schema': 2.1.7 debug: 4.4.3 - minimatch: 3.1.2 + minimatch: 9.0.5 transitivePeerDependencies: - supports-color @@ -3144,20 +3034,6 @@ snapshots: dependencies: '@types/json-schema': 7.0.15 - '@eslint/eslintrc@2.1.4': - dependencies: - ajv: 6.12.6 - debug: 4.4.3 - espree: 9.6.1 - globals: 13.24.0 - ignore: 5.3.2 - import-fresh: 3.3.1 - js-yaml: 4.1.1 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - '@eslint/eslintrc@3.3.3': dependencies: ajv: 6.12.6 @@ -3167,13 +3043,11 @@ snapshots: ignore: 5.3.2 import-fresh: 3.3.1 js-yaml: 4.1.1 - minimatch: 3.1.2 + minimatch: 9.0.5 strip-json-comments: 3.1.1 transitivePeerDependencies: - supports-color - '@eslint/js@8.57.1': {} - '@eslint/js@9.39.1': {} '@eslint/object-schema@2.1.7': {} @@ -3183,9 +3057,9 @@ snapshots: '@eslint/core': 0.17.0 levn: 0.4.1 - '@hono/node-server@1.19.9(hono@4.11.4)': + '@hono/node-server@1.19.11(hono@4.12.5)': dependencies: - hono: 4.11.4 + hono: 4.12.5 '@humanfs/core@0.19.1': {} @@ -3194,18 +3068,8 @@ snapshots: '@humanfs/core': 0.19.1 '@humanwhocodes/retry': 0.4.3 - '@humanwhocodes/config-array@0.13.0': - dependencies: - '@humanwhocodes/object-schema': 2.0.3 - debug: 4.4.3 - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - '@humanwhocodes/module-importer@1.0.1': {} - '@humanwhocodes/object-schema@2.0.3': {} - '@humanwhocodes/retry@0.4.3': {} '@inquirer/checkbox@3.0.1': @@ -3543,9 +3407,9 @@ snapshots: '@modelcontextprotocol/sdk@1.27.1(zod@3.25.76)': dependencies: - '@hono/node-server': 1.19.9(hono@4.11.4) - ajv: 8.17.1 - ajv-formats: 3.0.1(ajv@8.17.1) + '@hono/node-server': 1.19.11(hono@4.12.5) + ajv: 8.18.0 + ajv-formats: 3.0.1(ajv@8.18.0) content-type: 1.0.5 cors: 2.8.5 cross-spawn: 7.0.6 @@ -3553,7 +3417,7 @@ snapshots: eventsource-parser: 3.0.6 express: 5.2.1 express-rate-limit: 8.3.0(express@5.2.1) - hono: 4.11.4 + hono: 4.12.5 jose: 6.1.3 json-schema-typed: 8.0.2 pkce-challenge: 5.0.0 @@ -3653,7 +3517,7 @@ snapshots: '@ts-morph/common@0.20.0': dependencies: fast-glob: 3.3.2 - minimatch: 7.4.6 + minimatch: 9.0.5 mkdirp: 2.1.6 path-browserify: 1.0.1 @@ -3780,23 +3644,6 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1)(typescript@5.8.3)': - dependencies: - '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.31.1(eslint@8.57.1)(typescript@5.8.3) - '@typescript-eslint/scope-manager': 8.31.1 - '@typescript-eslint/type-utils': 8.31.1(eslint@8.57.1)(typescript@5.8.3) - '@typescript-eslint/utils': 8.31.1(eslint@8.57.1)(typescript@5.8.3) - '@typescript-eslint/visitor-keys': 8.31.1 - eslint: 8.57.1 - graphemer: 1.4.0 - ignore: 5.3.2 - natural-compare: 1.4.0 - ts-api-utils: 2.0.1(typescript@5.8.3) - typescript: 5.8.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1)(typescript@5.8.3)': dependencies: '@eslint-community/regexpp': 4.12.1 @@ -3814,18 +3661,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.31.1(eslint@8.57.1)(typescript@5.8.3)': - dependencies: - '@typescript-eslint/scope-manager': 8.31.1 - '@typescript-eslint/types': 8.31.1 - '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) - '@typescript-eslint/visitor-keys': 8.31.1 - debug: 4.4.1 - eslint: 8.57.1 - typescript: 5.8.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/parser@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: '@typescript-eslint/scope-manager': 8.31.1 @@ -3843,17 +3678,6 @@ snapshots: '@typescript-eslint/types': 8.31.1 '@typescript-eslint/visitor-keys': 8.31.1 - '@typescript-eslint/type-utils@8.31.1(eslint@8.57.1)(typescript@5.8.3)': - dependencies: - '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) - '@typescript-eslint/utils': 8.31.1(eslint@8.57.1)(typescript@5.8.3) - debug: 4.4.3 - eslint: 8.57.1 - ts-api-utils: 2.0.1(typescript@5.8.3) - typescript: 5.8.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/type-utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3881,20 +3705,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.31.1(eslint@8.57.1)(typescript@5.8.3)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) - '@typescript-eslint/scope-manager': 8.31.1 - '@typescript-eslint/types': 8.31.1 - '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) - eslint: 8.57.1 - typescript: 5.8.3 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3906,9 +3719,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.0 - - '@ungap/structured-clone@1.3.0': {} + eslint-visitor-keys: 4.2.1 '@valtown/deno-http-worker@0.0.21': {} @@ -3932,9 +3743,9 @@ snapshots: clean-stack: 2.2.0 indent-string: 4.0.0 - ajv-formats@3.0.1(ajv@8.17.1): + ajv-formats@3.0.1(ajv@8.18.0): optionalDependencies: - ajv: 8.17.1 + ajv: 8.18.0 ajv@6.12.6: dependencies: @@ -3943,7 +3754,7 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 - ajv@8.17.1: + ajv@8.18.0: dependencies: fast-deep-equal: 3.1.3 fast-uri: 3.1.0 @@ -4058,11 +3869,6 @@ snapshots: transitivePeerDependencies: - supports-color - brace-expansion@1.1.12: - dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 - brace-expansion@2.0.2: dependencies: balanced-match: 1.0.2 @@ -4173,8 +3979,6 @@ snapshots: commander@13.1.0: {} - concat-map@0.0.1: {} - content-disposition@1.0.0: dependencies: safe-buffer: 5.2.1 @@ -4261,10 +4065,6 @@ snapshots: diff@4.0.2: {} - doctrine@3.0.0: - dependencies: - esutils: 2.0.3 - dunder-proto@1.0.1: dependencies: call-bind-apply-helpers: 1.0.2 @@ -4311,13 +4111,6 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-plugin-prettier@5.4.1(eslint@8.57.1)(prettier@3.1.1): - dependencies: - eslint: 8.57.1 - prettier: 3.1.1 - prettier-linter-helpers: 1.0.0 - synckit: 0.11.8 - eslint-plugin-prettier@5.4.1(eslint@9.39.1)(prettier@3.1.1): dependencies: eslint: 9.39.1 @@ -4325,26 +4118,12 @@ snapshots: prettier-linter-helpers: 1.0.0 synckit: 0.11.8 - eslint-plugin-unused-imports@3.2.0(@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1): - dependencies: - eslint: 8.57.1 - eslint-rule-composer: 0.3.0 - optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.31.1(@typescript-eslint/parser@8.31.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1)(typescript@5.8.3) - eslint-plugin-unused-imports@4.1.4(@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1): dependencies: eslint: 9.39.1 optionalDependencies: '@typescript-eslint/eslint-plugin': 8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1)(typescript@5.8.3) - eslint-rule-composer@0.3.0: {} - - eslint-scope@7.2.2: - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - eslint-scope@8.4.0: dependencies: esrecurse: 4.3.0 @@ -4352,53 +4131,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.2.0: {} - eslint-visitor-keys@4.2.1: {} - eslint@8.57.1: - dependencies: - '@eslint-community/eslint-utils': 4.9.0(eslint@8.57.1) - '@eslint-community/regexpp': 4.12.2 - '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.57.1 - '@humanwhocodes/config-array': 0.13.0 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.3.0 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.6 - debug: 4.4.3 - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - esquery: 1.6.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.24.0 - graphemer: 1.4.0 - ignore: 5.3.2 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-yaml: 4.1.1 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.4 - strip-ansi: 6.0.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - eslint@9.39.1: dependencies: '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) @@ -4432,7 +4166,7 @@ snapshots: is-glob: 4.0.3 json-stable-stringify-without-jsonify: 1.0.1 lodash.merge: 4.6.2 - minimatch: 3.1.2 + minimatch: 9.0.5 natural-compare: 1.4.0 optionator: 0.9.4 transitivePeerDependencies: @@ -4444,12 +4178,6 @@ snapshots: acorn-jsx: 5.3.2(acorn@8.15.0) eslint-visitor-keys: 4.2.1 - espree@9.6.1: - dependencies: - acorn: 8.15.0 - acorn-jsx: 5.3.2(acorn@8.15.0) - eslint-visitor-keys: 3.4.3 - esprima@4.0.1: {} esquery@1.6.0: @@ -4570,10 +4298,6 @@ snapshots: fflate@0.8.2: {} - file-entry-cache@6.0.1: - dependencies: - flat-cache: 3.2.0 - file-entry-cache@8.0.0: dependencies: flat-cache: 4.0.1 @@ -4603,12 +4327,6 @@ snapshots: locate-path: 6.0.0 path-exists: 4.0.0 - flat-cache@3.2.0: - dependencies: - flatted: 3.3.3 - keyv: 4.5.4 - rimraf: 3.0.2 - flat-cache@4.0.1: dependencies: flatted: 3.3.3 @@ -4691,7 +4409,7 @@ snapshots: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.1.2 + minimatch: 9.0.5 once: 1.4.0 path-is-absolute: 1.0.1 @@ -4700,13 +4418,9 @@ snapshots: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 5.1.6 + minimatch: 9.0.5 once: 1.4.0 - globals@13.24.0: - dependencies: - type-fest: 0.20.2 - globals@14.0.0: {} gopd@1.2.0: {} @@ -4740,7 +4454,7 @@ snapshots: highlight.js@10.7.3: {} - hono@4.11.4: {} + hono@4.12.5: {} html-escaper@2.0.2: {} @@ -4768,7 +4482,7 @@ snapshots: ignore-walk@5.0.1: dependencies: - minimatch: 5.1.6 + minimatch: 9.0.5 ignore@5.3.2: {} @@ -4817,8 +4531,6 @@ snapshots: is-number@7.0.0: {} - is-path-inside@3.0.3: {} - is-promise@4.0.0: {} is-stream@2.0.1: {} @@ -5388,18 +5100,6 @@ snapshots: mimic-fn@2.1.0: {} - minimatch@3.1.2: - dependencies: - brace-expansion: 1.1.12 - - minimatch@5.1.6: - dependencies: - brace-expansion: 2.0.2 - - minimatch@7.4.6: - dependencies: - brace-expansion: 2.0.2 - minimatch@9.0.5: dependencies: brace-expansion: 2.0.2 @@ -5693,10 +5393,6 @@ snapshots: reusify@1.0.4: {} - rimraf@3.0.2: - dependencies: - glob: 7.2.3 - router@2.2.0: dependencies: debug: 4.4.3 @@ -5883,9 +5579,7 @@ snapshots: dependencies: '@istanbuljs/schema': 0.1.3 glob: 7.2.3 - minimatch: 3.1.2 - - text-table@0.2.0: {} + minimatch: 9.0.5 thenify-all@1.6.0: dependencies: @@ -6030,8 +5724,6 @@ snapshots: type-detect@4.0.8: {} - type-fest@0.20.2: {} - type-fest@0.21.3: {} type-fest@4.41.0: {} From 418b537d3ec57b2099ef0e961aa97307b66bcd59 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 10 Mar 2026 05:06:03 +0000 Subject: [PATCH 06/69] chore(internal): codegen related update --- pnpm-lock.yaml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d05c8e1..2c2c92d0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -397,6 +397,12 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} + '@eslint-community/eslint-utils@4.4.0': + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + '@eslint-community/eslint-utils@4.9.0': resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1336,6 +1342,10 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.0: + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3009,6 +3019,11 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 + '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': + dependencies: + eslint: 9.39.1 + eslint-visitor-keys: 3.4.3 + '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3707,7 +3722,7 @@ snapshots: '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3719,7 +3734,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.1 + eslint-visitor-keys: 4.2.0 '@valtown/deno-http-worker@0.0.21': {} @@ -4131,6 +4146,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.2.0: {} + eslint-visitor-keys@4.2.1: {} eslint@9.39.1: From 10e4a7463de222d8233c0819c2872b34149e69f4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 09:30:44 +0000 Subject: [PATCH 07/69] chore(internal): codegen related update --- pnpm-lock.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2c2c92d0..bfcfc651 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,7 +82,7 @@ importers: version: 0.2.4 '@hono/node-server': specifier: ^1.19.10 - version: 1.19.11(hono@4.12.5) + version: 1.19.11(hono@4.12.6) '@modelcontextprotocol/sdk': specifier: ^1.27.1 version: 1.27.1(zod@3.25.76) @@ -109,7 +109,7 @@ importers: version: 7.1.0 hono: specifier: ^4.12.4 - version: 4.12.5 + version: 4.12.6 jq-web: specifier: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz version: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz @@ -1409,8 +1409,8 @@ packages: resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - express-rate-limit@8.3.0: - resolution: {integrity: sha512-KJzBawY6fB9FiZGdE/0aftepZ91YlaGIrV8vgblRM3J8X+dHx/aiowJWwkx6LIGyuqGiANsjSwwrbb8mifOJ4Q==} + express-rate-limit@8.3.1: + resolution: {integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==} engines: {node: '>= 16'} peerDependencies: express: '>= 4.11' @@ -1605,8 +1605,8 @@ packages: highlight.js@10.7.3: resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} - hono@4.12.5: - resolution: {integrity: sha512-3qq+FUBtlTHhtYxbxheZgY8NIFnkkC/MR8u5TTsr7YZ3wixryQ3cCwn3iZbg8p8B88iDBBAYSfZDS75t8MN7Vg==} + hono@4.12.6: + resolution: {integrity: sha512-KljEp+MeEEEIOT75qBo1UjqqB29fRMtlDEwCxcexOzdkUq6LR/vRvHk5pdROcxyOYyW1niq7Gb5pFVGy5R1eBw==} engines: {node: '>=16.9.0'} html-escaper@2.0.2: @@ -3072,9 +3072,9 @@ snapshots: '@eslint/core': 0.17.0 levn: 0.4.1 - '@hono/node-server@1.19.11(hono@4.12.5)': + '@hono/node-server@1.19.11(hono@4.12.6)': dependencies: - hono: 4.12.5 + hono: 4.12.6 '@humanfs/core@0.19.1': {} @@ -3422,7 +3422,7 @@ snapshots: '@modelcontextprotocol/sdk@1.27.1(zod@3.25.76)': dependencies: - '@hono/node-server': 1.19.11(hono@4.12.5) + '@hono/node-server': 1.19.11(hono@4.12.6) ajv: 8.18.0 ajv-formats: 3.0.1(ajv@8.18.0) content-type: 1.0.5 @@ -3431,8 +3431,8 @@ snapshots: eventsource: 3.0.7 eventsource-parser: 3.0.6 express: 5.2.1 - express-rate-limit: 8.3.0(express@5.2.1) - hono: 4.12.5 + express-rate-limit: 8.3.1(express@5.2.1) + hono: 4.12.6 jose: 6.1.3 json-schema-typed: 8.0.2 pkce-challenge: 5.0.0 @@ -4239,7 +4239,7 @@ snapshots: jest-message-util: 29.7.0 jest-util: 29.7.0 - express-rate-limit@8.3.0(express@5.2.1): + express-rate-limit@8.3.1(express@5.2.1): dependencies: express: 5.2.1 ip-address: 10.1.0 @@ -4471,7 +4471,7 @@ snapshots: highlight.js@10.7.3: {} - hono@4.12.5: {} + hono@4.12.6: {} html-escaper@2.0.2: {} From 5b28358f1d6ba6486ae8139e23c7b42584aa75d7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 09:33:57 +0000 Subject: [PATCH 08/69] chore(internal): codegen related update --- pnpm-lock.yaml | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bfcfc651..6c727258 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -397,12 +397,6 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} - '@eslint-community/eslint-utils@4.4.0': - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/eslint-utils@4.9.0': resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1342,10 +1336,6 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.2.0: - resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3019,11 +3009,6 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 - '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': - dependencies: - eslint: 9.39.1 - eslint-visitor-keys: 3.4.3 - '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3722,7 +3707,7 @@ snapshots: '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3734,7 +3719,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.0 + eslint-visitor-keys: 4.2.1 '@valtown/deno-http-worker@0.0.21': {} @@ -4146,8 +4131,6 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.2.0: {} - eslint-visitor-keys@4.2.1: {} eslint@9.39.1: From 8c4472ebe25db5c39a031ad1b30128f68acffee7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 09:34:49 +0000 Subject: [PATCH 09/69] chore(internal): codegen related update --- pnpm-lock.yaml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c727258..bfcfc651 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -397,6 +397,12 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} + '@eslint-community/eslint-utils@4.4.0': + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + '@eslint-community/eslint-utils@4.9.0': resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1336,6 +1342,10 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.0: + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3009,6 +3019,11 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 + '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': + dependencies: + eslint: 9.39.1 + eslint-visitor-keys: 3.4.3 + '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3707,7 +3722,7 @@ snapshots: '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3719,7 +3734,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.1 + eslint-visitor-keys: 4.2.0 '@valtown/deno-http-worker@0.0.21': {} @@ -4131,6 +4146,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.2.0: {} + eslint-visitor-keys@4.2.1: {} eslint@9.39.1: From 0dea9de11c089e830bea82382bac0f7d358c8030 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 09:43:22 +0000 Subject: [PATCH 10/69] chore(internal): codegen related update --- pnpm-lock.yaml | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bfcfc651..6c727258 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -397,12 +397,6 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} - '@eslint-community/eslint-utils@4.4.0': - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/eslint-utils@4.9.0': resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1342,10 +1336,6 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.2.0: - resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3019,11 +3009,6 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 - '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': - dependencies: - eslint: 9.39.1 - eslint-visitor-keys: 3.4.3 - '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3722,7 +3707,7 @@ snapshots: '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3734,7 +3719,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.0 + eslint-visitor-keys: 4.2.1 '@valtown/deno-http-worker@0.0.21': {} @@ -4146,8 +4131,6 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.2.0: {} - eslint-visitor-keys@4.2.1: {} eslint@9.39.1: From d12219d6d1e0f5738c0ad0130354a9edbf7b9a7d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 09:44:21 +0000 Subject: [PATCH 11/69] chore(internal): codegen related update --- pnpm-lock.yaml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c727258..bfcfc651 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -397,6 +397,12 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} + '@eslint-community/eslint-utils@4.4.0': + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + '@eslint-community/eslint-utils@4.9.0': resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1336,6 +1342,10 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.0: + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3009,6 +3019,11 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 + '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': + dependencies: + eslint: 9.39.1 + eslint-visitor-keys: 3.4.3 + '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3707,7 +3722,7 @@ snapshots: '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3719,7 +3734,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.1 + eslint-visitor-keys: 4.2.0 '@valtown/deno-http-worker@0.0.21': {} @@ -4131,6 +4146,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.2.0: {} + eslint-visitor-keys@4.2.1: {} eslint@9.39.1: From cdcf59bf708df0b1420302c821177f0a33b35c0b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 09:57:08 +0000 Subject: [PATCH 12/69] chore(internal): codegen related update --- pnpm-lock.yaml | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bfcfc651..6c727258 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -397,12 +397,6 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} - '@eslint-community/eslint-utils@4.4.0': - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/eslint-utils@4.9.0': resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1342,10 +1336,6 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.2.0: - resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3019,11 +3009,6 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 - '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': - dependencies: - eslint: 9.39.1 - eslint-visitor-keys: 3.4.3 - '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3722,7 +3707,7 @@ snapshots: '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3734,7 +3719,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.0 + eslint-visitor-keys: 4.2.1 '@valtown/deno-http-worker@0.0.21': {} @@ -4146,8 +4131,6 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.2.0: {} - eslint-visitor-keys@4.2.1: {} eslint@9.39.1: From 1f6d02ce2bd8b3e409c4d9f01c4f453f040ff41f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 10:04:30 +0000 Subject: [PATCH 13/69] chore(internal): codegen related update --- pnpm-lock.yaml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c727258..bfcfc651 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -397,6 +397,12 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} + '@eslint-community/eslint-utils@4.4.0': + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + '@eslint-community/eslint-utils@4.9.0': resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1336,6 +1342,10 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.0: + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3009,6 +3019,11 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 + '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': + dependencies: + eslint: 9.39.1 + eslint-visitor-keys: 3.4.3 + '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3707,7 +3722,7 @@ snapshots: '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3719,7 +3734,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.1 + eslint-visitor-keys: 4.2.0 '@valtown/deno-http-worker@0.0.21': {} @@ -4131,6 +4146,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.2.0: {} + eslint-visitor-keys@4.2.1: {} eslint@9.39.1: From 47d31df25bf59538cc25f9af45df6798532cb5d9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 18:26:28 +0000 Subject: [PATCH 14/69] feat(api): add a way to fetch specific files via /v0/build_target_outputs --- .stats.yml | 4 +- pnpm-lock.yaml | 39 ++++++------------- src/resources/builds/target-outputs.ts | 20 ++++++++-- .../builds/target-outputs.test.ts | 1 + 4 files changed, 31 insertions(+), 33 deletions(-) diff --git a/.stats.yml b/.stats.yml index b2ffc897..80762ab8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-3ce8fd0a863c4628a23f31a6e9f759769091f728b700205e176c300ecb407da3.yml -openapi_spec_hash: 7c4683ffaf22fd287e45835d8b4ff860 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-ef33241ec003fafbf4f2ffe434c3d8c2ac0ba929137942185663ff59974d2138.yml +openapi_spec_hash: 87bd0d9c684517522cbbbd48bbe8ad83 config_hash: 4b44da9496c775d2294758cd233f4ecd diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bfcfc651..3618dd27 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,7 +82,7 @@ importers: version: 0.2.4 '@hono/node-server': specifier: ^1.19.10 - version: 1.19.11(hono@4.12.6) + version: 1.19.11(hono@4.12.7) '@modelcontextprotocol/sdk': specifier: ^1.27.1 version: 1.27.1(zod@3.25.76) @@ -109,7 +109,7 @@ importers: version: 7.1.0 hono: specifier: ^4.12.4 - version: 4.12.6 + version: 4.12.7 jq-web: specifier: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz version: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz @@ -397,12 +397,6 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} - '@eslint-community/eslint-utils@4.4.0': - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/eslint-utils@4.9.0': resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1342,10 +1336,6 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.2.0: - resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-visitor-keys@4.2.1: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1605,8 +1595,8 @@ packages: highlight.js@10.7.3: resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} - hono@4.12.6: - resolution: {integrity: sha512-KljEp+MeEEEIOT75qBo1UjqqB29fRMtlDEwCxcexOzdkUq6LR/vRvHk5pdROcxyOYyW1niq7Gb5pFVGy5R1eBw==} + hono@4.12.7: + resolution: {integrity: sha512-jq9l1DM0zVIvsm3lv9Nw9nlJnMNPOcAtsbsgiUhWcFzPE99Gvo6yRTlszSLLYacMeQ6quHD6hMfId8crVHvexw==} engines: {node: '>=16.9.0'} html-escaper@2.0.2: @@ -3019,11 +3009,6 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 - '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': - dependencies: - eslint: 9.39.1 - eslint-visitor-keys: 3.4.3 - '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3072,9 +3057,9 @@ snapshots: '@eslint/core': 0.17.0 levn: 0.4.1 - '@hono/node-server@1.19.11(hono@4.12.6)': + '@hono/node-server@1.19.11(hono@4.12.7)': dependencies: - hono: 4.12.6 + hono: 4.12.7 '@humanfs/core@0.19.1': {} @@ -3422,7 +3407,7 @@ snapshots: '@modelcontextprotocol/sdk@1.27.1(zod@3.25.76)': dependencies: - '@hono/node-server': 1.19.11(hono@4.12.6) + '@hono/node-server': 1.19.11(hono@4.12.7) ajv: 8.18.0 ajv-formats: 3.0.1(ajv@8.18.0) content-type: 1.0.5 @@ -3432,7 +3417,7 @@ snapshots: eventsource-parser: 3.0.6 express: 5.2.1 express-rate-limit: 8.3.1(express@5.2.1) - hono: 4.12.6 + hono: 4.12.7 jose: 6.1.3 json-schema-typed: 8.0.2 pkce-challenge: 5.0.0 @@ -3722,7 +3707,7 @@ snapshots: '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3734,7 +3719,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.0 + eslint-visitor-keys: 4.2.1 '@valtown/deno-http-worker@0.0.21': {} @@ -4146,8 +4131,6 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.2.0: {} - eslint-visitor-keys@4.2.1: {} eslint@9.39.1: @@ -4471,7 +4454,7 @@ snapshots: highlight.js@10.7.3: {} - hono@4.12.6: {} + hono@4.12.7: {} html-escaper@2.0.2: {} diff --git a/src/resources/builds/target-outputs.ts b/src/resources/builds/target-outputs.ts index 7c1396e6..b9163275 100644 --- a/src/resources/builds/target-outputs.ts +++ b/src/resources/builds/target-outputs.ts @@ -42,12 +42,19 @@ export namespace TargetOutputRetrieveResponse { | 'wheel' | 'openapi-with-transforms' | 'openapi-with-code-samples' - | 'openapi-sdk-spec'; + | 'openapi-sdk-spec' + | 'file'; /** * URL for direct download */ url: string; + + /** + * The path of the file, which is only present when using with the type "file" + * option. + */ + path?: string; } export interface Git { @@ -71,7 +78,8 @@ export namespace TargetOutputRetrieveResponse { | 'wheel' | 'openapi-with-transforms' | 'openapi-with-code-samples' - | 'openapi-sdk-spec'; + | 'openapi-sdk-spec' + | 'file'; /** * URL to git remote @@ -110,12 +118,18 @@ export interface TargetOutputRetrieveParams { | 'wheel' | 'openapi-with-transforms' | 'openapi-with-code-samples' - | 'openapi-sdk-spec'; + | 'openapi-sdk-spec' + | 'file'; /** * Output format: url (download URL) or git (temporary access token). */ output?: 'url' | 'git'; + + /** + * The path of the file to get when used with "type": "file". + */ + path?: string; } export declare namespace TargetOutputs { diff --git a/tests/api-resources/builds/target-outputs.test.ts b/tests/api-resources/builds/target-outputs.test.ts index 8a6efe98..55ebdd2d 100644 --- a/tests/api-resources/builds/target-outputs.test.ts +++ b/tests/api-resources/builds/target-outputs.test.ts @@ -29,6 +29,7 @@ describe('resource targetOutputs', () => { target: 'node', type: 'source', output: 'url', + path: 'path', }); }); }); From fdc87fae200ff70f742ed1afb8776494c156b9ba Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 18:32:48 +0000 Subject: [PATCH 15/69] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 80762ab8..d6227e89 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-ef33241ec003fafbf4f2ffe434c3d8c2ac0ba929137942185663ff59974d2138.yml openapi_spec_hash: 87bd0d9c684517522cbbbd48bbe8ad83 -config_hash: 4b44da9496c775d2294758cd233f4ecd +config_hash: 038aa9961f259a8ee53e61dfb2454763 From e27afe4a2c9631f1b74409293476cd3672576c08 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 02:29:57 +0000 Subject: [PATCH 16/69] chore(internal): update lock file --- pnpm-lock.yaml | 4011 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 2950 insertions(+), 1061 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3618dd27..fdae2812 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,6 @@ overrides: minimatch: ^9.0.5 importers: - .: devDependencies: '@arethetypeswrong/cli': @@ -82,7 +81,7 @@ importers: version: 0.2.4 '@hono/node-server': specifier: ^1.19.10 - version: 1.19.11(hono@4.12.7) + version: 1.19.11(hono@4.12.6) '@modelcontextprotocol/sdk': specifier: ^1.27.1 version: 1.27.1(zod@3.25.76) @@ -109,7 +108,7 @@ importers: version: 7.1.0 hono: specifier: ^4.12.4 - version: 4.12.7 + version: 4.12.6 jq-web: specifier: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz version: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz @@ -200,338 +199,574 @@ importers: version: 4.2.0 packages: - '@andrewbranch/untar.js@1.0.3': - resolution: {integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==} + resolution: + { + integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==, + } '@anthropic-ai/mcpb@2.1.2': - resolution: {integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==} + resolution: + { + integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==, + } hasBin: true '@arethetypeswrong/cli@0.17.0': - resolution: {integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==, + } + engines: { node: '>=18' } hasBin: true '@arethetypeswrong/core@0.17.0': - resolution: {integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==, + } + engines: { node: '>=18' } '@babel/code-frame@7.28.6': - resolution: {integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==, + } + engines: { node: '>=6.9.0' } '@babel/compat-data@7.28.6': - resolution: {integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==, + } + engines: { node: '>=6.9.0' } '@babel/core@7.28.6': - resolution: {integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==, + } + engines: { node: '>=6.9.0' } '@babel/generator@7.28.6': - resolution: {integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==, + } + engines: { node: '>=6.9.0' } '@babel/helper-compilation-targets@7.28.6': - resolution: {integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==, + } + engines: { node: '>=6.9.0' } '@babel/helper-globals@7.28.0': - resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==, + } + engines: { node: '>=6.9.0' } '@babel/helper-module-imports@7.28.6': - resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==, + } + engines: { node: '>=6.9.0' } '@babel/helper-module-transforms@7.28.6': - resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-plugin-utils@7.28.6': - resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==, + } + engines: { node: '>=6.9.0' } '@babel/helper-string-parser@7.27.1': - resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==, + } + engines: { node: '>=6.9.0' } '@babel/helper-validator-identifier@7.28.5': - resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==, + } + engines: { node: '>=6.9.0' } '@babel/helper-validator-option@7.27.1': - resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==, + } + engines: { node: '>=6.9.0' } '@babel/helpers@7.28.6': - resolution: {integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==, + } + engines: { node: '>=6.9.0' } '@babel/parser@7.28.6': - resolution: {integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==} - engines: {node: '>=6.0.0'} + resolution: + { + integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==, + } + engines: { node: '>=6.0.0' } hasBin: true '@babel/plugin-syntax-async-generators@7.8.4': - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} + resolution: + { + integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-bigint@7.8.3': - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} + resolution: + { + integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-properties@7.12.13': - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + resolution: + { + integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-static-block@7.14.5': - resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-attributes@7.28.6': - resolution: {integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-meta@7.10.4': - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} + resolution: + { + integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-json-strings@7.8.3': - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} + resolution: + { + integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-jsx@7.28.6': - resolution: {integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-logical-assignment-operators@7.10.4': - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} + resolution: + { + integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3': - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} + resolution: + { + integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-numeric-separator@7.10.4': - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} + resolution: + { + integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-object-rest-spread@7.8.3': - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} + resolution: + { + integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-catch-binding@7.8.3': - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} + resolution: + { + integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-chaining@7.8.3': - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} + resolution: + { + integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-private-property-in-object@7.14.5': - resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-top-level-await@7.14.5': - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-typescript@7.28.6': - resolution: {integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/template@7.28.6': - resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==, + } + engines: { node: '>=6.9.0' } '@babel/traverse@7.28.6': - resolution: {integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==, + } + engines: { node: '>=6.9.0' } '@babel/types@7.28.6': - resolution: {integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==, + } + engines: { node: '>=6.9.0' } '@bcoe/v8-coverage@0.2.3': - resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} + resolution: + { + integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==, + } '@cloudflare/cabidela@0.2.4': - resolution: {integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==} + resolution: + { + integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==, + } '@colors/colors@1.5.0': - resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} - engines: {node: '>=0.1.90'} + resolution: + { + integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==, + } + engines: { node: '>=0.1.90' } '@cspotcode/source-map-consumer@0.8.0': - resolution: {integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==, + } + engines: { node: '>= 12' } '@cspotcode/source-map-support@0.7.0': - resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==, + } + engines: { node: '>=12' } + + '@eslint-community/eslint-utils@4.4.0': + resolution: + { + integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==, + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/eslint-utils@4.9.0': - resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + resolution: + { + integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==, + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/regexpp@4.12.1': - resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + resolution: + { + integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==, + } + engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } '@eslint-community/regexpp@4.12.2': - resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + resolution: + { + integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==, + } + engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } '@eslint/config-array@0.21.1': - resolution: {integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/config-helpers@0.4.2': - resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/core@0.17.0': - resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/eslintrc@3.3.3': - resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/js@9.39.1': - resolution: {integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/object-schema@2.1.7': - resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/plugin-kit@0.4.1': - resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@hono/node-server@1.19.11': - resolution: {integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==} - engines: {node: '>=18.14.1'} + resolution: + { + integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==, + } + engines: { node: '>=18.14.1' } peerDependencies: hono: ^4 '@humanfs/core@0.19.1': - resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} - engines: {node: '>=18.18.0'} + resolution: + { + integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==, + } + engines: { node: '>=18.18.0' } '@humanfs/node@0.16.7': - resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==} - engines: {node: '>=18.18.0'} + resolution: + { + integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==, + } + engines: { node: '>=18.18.0' } '@humanwhocodes/module-importer@1.0.1': - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} + resolution: + { + integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==, + } + engines: { node: '>=12.22' } '@humanwhocodes/retry@0.4.3': - resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} - engines: {node: '>=18.18'} + resolution: + { + integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==, + } + engines: { node: '>=18.18' } '@inquirer/checkbox@3.0.1': - resolution: {integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==, + } + engines: { node: '>=18' } '@inquirer/confirm@4.0.1': - resolution: {integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==, + } + engines: { node: '>=18' } '@inquirer/core@9.2.1': - resolution: {integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==, + } + engines: { node: '>=18' } '@inquirer/editor@3.0.1': - resolution: {integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==, + } + engines: { node: '>=18' } '@inquirer/expand@3.0.1': - resolution: {integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==, + } + engines: { node: '>=18' } '@inquirer/figures@1.0.15': - resolution: {integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==, + } + engines: { node: '>=18' } '@inquirer/input@3.0.1': - resolution: {integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==, + } + engines: { node: '>=18' } '@inquirer/number@2.0.1': - resolution: {integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==, + } + engines: { node: '>=18' } '@inquirer/password@3.0.1': - resolution: {integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==, + } + engines: { node: '>=18' } '@inquirer/prompts@6.0.1': - resolution: {integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==, + } + engines: { node: '>=18' } '@inquirer/rawlist@3.0.1': - resolution: {integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==, + } + engines: { node: '>=18' } '@inquirer/search@2.0.1': - resolution: {integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==, + } + engines: { node: '>=18' } '@inquirer/select@3.0.1': - resolution: {integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==, + } + engines: { node: '>=18' } '@inquirer/type@2.0.0': - resolution: {integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==, + } + engines: { node: '>=18' } '@istanbuljs/load-nyc-config@1.1.0': - resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==, + } + engines: { node: '>=8' } '@istanbuljs/schema@0.1.3': - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==, + } + engines: { node: '>=8' } '@jest/console@29.7.0': - resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/core@29.7.0': - resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -539,32 +774,53 @@ packages: optional: true '@jest/create-cache-key-function@29.7.0': - resolution: {integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/environment@29.7.0': - resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/expect-utils@29.7.0': - resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/expect@29.7.0': - resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/fake-timers@29.7.0': - resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/globals@29.7.0': - resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/reporters@29.7.0': - resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -572,54 +828,96 @@ packages: optional: true '@jest/schemas@29.6.3': - resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/source-map@29.6.3': - resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/test-result@29.7.0': - resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/test-sequencer@29.7.0': - resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/transform@29.7.0': - resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/types@29.6.3': - resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jridgewell/gen-mapping@0.3.13': - resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + resolution: + { + integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==, + } '@jridgewell/remapping@2.3.5': - resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + resolution: + { + integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==, + } '@jridgewell/resolve-uri@3.1.1': - resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} - engines: {node: '>=6.0.0'} + resolution: + { + integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==, + } + engines: { node: '>=6.0.0' } '@jridgewell/sourcemap-codec@1.4.15': - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + resolution: + { + integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==, + } '@jridgewell/sourcemap-codec@1.5.5': - resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + resolution: + { + integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==, + } '@jridgewell/trace-mapping@0.3.20': - resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} + resolution: + { + integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==, + } '@jridgewell/trace-mapping@0.3.31': - resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + resolution: + { + integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==, + } '@modelcontextprotocol/sdk@1.27.1': - resolution: {integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==, + } + engines: { node: '>=18' } peerDependencies: '@cfworker/json-schema': ^4.1.1 zod: ^3.25 || ^4.0 @@ -628,104 +926,164 @@ packages: optional: true '@nodelib/fs.scandir@2.1.5': - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==, + } + engines: { node: '>= 8' } '@nodelib/fs.stat@2.0.5': - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==, + } + engines: { node: '>= 8' } '@nodelib/fs.walk@1.2.8': - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==, + } + engines: { node: '>= 8' } '@pinojs/redact@0.4.0': - resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==} + resolution: + { + integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==, + } '@pkgr/core@0.2.4': - resolution: {integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + resolution: + { + integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==, + } + engines: { node: ^12.20.0 || ^14.18.0 || >=16.0.0 } '@sinclair/typebox@0.27.8': - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + resolution: + { + integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==, + } '@sindresorhus/is@4.6.0': - resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==, + } + engines: { node: '>=10' } '@sinonjs/commons@3.0.0': - resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} + resolution: + { + integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==, + } '@sinonjs/fake-timers@10.3.0': - resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} + resolution: + { + integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==, + } '@swc/core-darwin-arm64@1.4.16': - resolution: {integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==, + } + engines: { node: '>=10' } cpu: [arm64] os: [darwin] '@swc/core-darwin-x64@1.4.16': - resolution: {integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==, + } + engines: { node: '>=10' } cpu: [x64] os: [darwin] '@swc/core-linux-arm-gnueabihf@1.4.16': - resolution: {integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==, + } + engines: { node: '>=10' } cpu: [arm] os: [linux] '@swc/core-linux-arm64-gnu@1.4.16': - resolution: {integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==, + } + engines: { node: '>=10' } cpu: [arm64] os: [linux] libc: [glibc] '@swc/core-linux-arm64-musl@1.4.16': - resolution: {integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==, + } + engines: { node: '>=10' } cpu: [arm64] os: [linux] libc: [musl] '@swc/core-linux-x64-gnu@1.4.16': - resolution: {integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==, + } + engines: { node: '>=10' } cpu: [x64] os: [linux] libc: [glibc] '@swc/core-linux-x64-musl@1.4.16': - resolution: {integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==, + } + engines: { node: '>=10' } cpu: [x64] os: [linux] libc: [musl] '@swc/core-win32-arm64-msvc@1.4.16': - resolution: {integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==, + } + engines: { node: '>=10' } cpu: [arm64] os: [win32] '@swc/core-win32-ia32-msvc@1.4.16': - resolution: {integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==, + } + engines: { node: '>=10' } cpu: [ia32] os: [win32] '@swc/core-win32-x64-msvc@1.4.16': - resolution: {integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==, + } + engines: { node: '>=10' } cpu: [x64] os: [win32] '@swc/core@1.4.16': - resolution: {integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==, + } + engines: { node: '>=10' } peerDependencies: '@swc/helpers': ^0.5.0 peerDependenciesMeta: @@ -733,204 +1091,366 @@ packages: optional: true '@swc/counter@0.1.3': - resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + resolution: + { + integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==, + } '@swc/jest@0.2.36': - resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} - engines: {npm: '>= 7.0.0'} + resolution: + { + integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==, + } + engines: { npm: '>= 7.0.0' } peerDependencies: '@swc/core': '*' '@swc/types@0.1.6': - resolution: {integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==} + resolution: + { + integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==, + } '@ts-morph/common@0.20.0': - resolution: {integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==} + resolution: + { + integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==, + } '@tsconfig/node10@1.0.8': - resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==} + resolution: + { + integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==, + } '@tsconfig/node12@1.0.9': - resolution: {integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==} + resolution: + { + integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==, + } '@tsconfig/node14@1.0.1': - resolution: {integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==} + resolution: + { + integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==, + } '@tsconfig/node16@1.0.2': - resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} + resolution: + { + integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==, + } '@types/babel__core@7.20.5': - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} + resolution: + { + integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==, + } '@types/babel__generator@7.6.8': - resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} + resolution: + { + integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==, + } '@types/babel__template@7.4.4': - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} + resolution: + { + integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==, + } '@types/babel__traverse@7.20.4': - resolution: {integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==} + resolution: + { + integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==, + } '@types/body-parser@1.19.6': - resolution: {integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==} + resolution: + { + integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==, + } '@types/connect@3.4.38': - resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} + resolution: + { + integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==, + } '@types/cookie-parser@1.4.10': - resolution: {integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==} + resolution: + { + integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==, + } peerDependencies: '@types/express': '*' '@types/cors@2.8.19': - resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==} + resolution: + { + integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==, + } '@types/estree@1.0.8': - resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} + resolution: + { + integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==, + } '@types/express-serve-static-core@5.0.7': - resolution: {integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==} + resolution: + { + integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==, + } '@types/express@5.0.3': - resolution: {integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==} + resolution: + { + integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==, + } '@types/graceful-fs@4.1.9': - resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} + resolution: + { + integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==, + } '@types/http-errors@2.0.5': - resolution: {integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==} + resolution: + { + integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==, + } '@types/istanbul-lib-coverage@2.0.6': - resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} + resolution: + { + integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==, + } '@types/istanbul-lib-report@3.0.3': - resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} + resolution: + { + integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==, + } '@types/istanbul-reports@3.0.4': - resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} + resolution: + { + integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==, + } '@types/jest@29.5.11': - resolution: {integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==} + resolution: + { + integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==, + } '@types/json-schema@7.0.15': - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + resolution: + { + integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==, + } '@types/mime@1.3.5': - resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} + resolution: + { + integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==, + } '@types/mute-stream@0.0.4': - resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} + resolution: + { + integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==, + } '@types/node@20.19.11': - resolution: {integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==} + resolution: + { + integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==, + } '@types/node@22.19.1': - resolution: {integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==} + resolution: + { + integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==, + } '@types/qs@6.14.0': - resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==} + resolution: + { + integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==, + } '@types/range-parser@1.2.7': - resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} + resolution: + { + integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==, + } '@types/send@0.17.5': - resolution: {integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==} + resolution: + { + integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==, + } '@types/serve-static@1.15.8': - resolution: {integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==} + resolution: + { + integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==, + } '@types/stack-utils@2.0.3': - resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} + resolution: + { + integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==, + } '@types/wrap-ansi@3.0.0': - resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} + resolution: + { + integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==, + } '@types/yargs-parser@21.0.3': - resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} + resolution: + { + integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==, + } '@types/yargs@17.0.32': - resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} + resolution: + { + integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==, + } '@typescript-eslint/eslint-plugin@8.31.1': - resolution: {integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/parser@8.31.1': - resolution: {integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/scope-manager@8.31.1': - resolution: {integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@typescript-eslint/type-utils@8.31.1': - resolution: {integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/types@8.31.1': - resolution: {integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@typescript-eslint/typescript-estree@8.31.1': - resolution: {integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/utils@8.31.1': - resolution: {integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/visitor-keys@8.31.1': - resolution: {integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@valtown/deno-http-worker@0.0.21': - resolution: {integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==} - engines: {node: 20 || 22 || 24} + resolution: + { + integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==, + } + engines: { node: 20 || 22 || 24 } accepts@2.0.0: - resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==, + } + engines: { node: '>= 0.6' } acorn-jsx@5.3.2: - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + resolution: + { + integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==, + } peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 acorn-walk@8.2.0: - resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} - engines: {node: '>=0.4.0'} + resolution: + { + integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==, + } + engines: { node: '>=0.4.0' } acorn@8.14.0: - resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} - engines: {node: '>=0.4.0'} + resolution: + { + integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==, + } + engines: { node: '>=0.4.0' } hasBin: true acorn@8.15.0: - resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} - engines: {node: '>=0.4.0'} + resolution: + { + integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==, + } + engines: { node: '>=0.4.0' } hasBin: true aggregate-error@3.1.0: - resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==, + } + engines: { node: '>=8' } ajv-formats@3.0.1: - resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} + resolution: + { + integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==, + } peerDependencies: ajv: ^8.0.0 peerDependenciesMeta: @@ -938,262 +1458,466 @@ packages: optional: true ajv@6.12.6: - resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + resolution: + { + integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==, + } ajv@8.18.0: - resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==} + resolution: + { + integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==, + } ansi-escapes@4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==, + } + engines: { node: '>=8' } ansi-escapes@7.0.0: - resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==, + } + engines: { node: '>=18' } ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==, + } + engines: { node: '>=8' } ansi-regex@6.1.0: - resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==, + } + engines: { node: '>=12' } ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, + } + engines: { node: '>=8' } ansi-styles@5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==, + } + engines: { node: '>=10' } any-promise@1.3.0: - resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + resolution: + { + integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==, + } anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==, + } + engines: { node: '>= 8' } arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} + resolution: + { + integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==, + } argparse@1.0.10: - resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + resolution: + { + integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==, + } argparse@2.0.1: - resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + resolution: + { + integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==, + } atomic-sleep@1.0.0: - resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} - engines: {node: '>=8.0.0'} + resolution: + { + integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==, + } + engines: { node: '>=8.0.0' } babel-jest@29.7.0: - resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: '@babel/core': ^7.8.0 babel-plugin-istanbul@6.1.1: - resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==, + } + engines: { node: '>=8' } babel-plugin-jest-hoist@29.6.3: - resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } babel-preset-current-node-syntax@1.2.0: - resolution: {integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==} + resolution: + { + integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==, + } peerDependencies: '@babel/core': ^7.0.0 || ^8.0.0-0 babel-preset-jest@29.6.3: - resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: '@babel/core': ^7.0.0 balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + resolution: + { + integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==, + } baseline-browser-mapping@2.9.14: - resolution: {integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==} + resolution: + { + integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==, + } hasBin: true body-parser@2.2.2: - resolution: {integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==, + } + engines: { node: '>=18' } brace-expansion@2.0.2: - resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} + resolution: + { + integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==, + } braces@3.0.3: - resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==, + } + engines: { node: '>=8' } browserslist@4.28.1: - resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + resolution: + { + integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==, + } + engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 } hasBin: true bs-logger@0.2.6: - resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==, + } + engines: { node: '>= 6' } bser@2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} + resolution: + { + integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==, + } buffer-from@1.1.2: - resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + resolution: + { + integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==, + } bytes@3.1.2: - resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==, + } + engines: { node: '>= 0.8' } call-bind-apply-helpers@1.0.2: - resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==, + } + engines: { node: '>= 0.4' } call-bound@1.0.4: - resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==, + } + engines: { node: '>= 0.4' } callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==, + } + engines: { node: '>=6' } camelcase@5.3.1: - resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==, + } + engines: { node: '>=6' } camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==, + } + engines: { node: '>=10' } caniuse-lite@1.0.30001764: - resolution: {integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==} + resolution: + { + integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==, + } chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==, + } + engines: { node: '>=10' } chalk@5.3.0: - resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} - engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + resolution: + { + integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==, + } + engines: { node: ^12.17.0 || ^14.13 || >=16.0.0 } char-regex@1.0.2: - resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==, + } + engines: { node: '>=10' } chardet@0.7.0: - resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + resolution: + { + integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==, + } ci-info@3.9.0: - resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==, + } + engines: { node: '>=8' } cjs-module-lexer@1.4.1: - resolution: {integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==} + resolution: + { + integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==, + } clean-stack@2.2.0: - resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==, + } + engines: { node: '>=6' } cli-highlight@2.1.11: - resolution: {integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==} - engines: {node: '>=8.0.0', npm: '>=5.0.0'} + resolution: + { + integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==, + } + engines: { node: '>=8.0.0', npm: '>=5.0.0' } hasBin: true cli-table3@0.6.5: - resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} - engines: {node: 10.* || >= 12.*} + resolution: + { + integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==, + } + engines: { node: 10.* || >= 12.* } cli-width@4.1.0: - resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==, + } + engines: { node: '>= 12' } cliui@7.0.4: - resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + resolution: + { + integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==, + } cliui@8.0.1: - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==, + } + engines: { node: '>=12' } co@4.6.0: - resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} - engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} + resolution: + { + integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==, + } + engines: { iojs: '>= 1.0.0', node: '>= 0.12.0' } code-block-writer@12.0.0: - resolution: {integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==} + resolution: + { + integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==, + } collect-v8-coverage@1.0.2: - resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} + resolution: + { + integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==, + } color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} + resolution: + { + integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==, + } + engines: { node: '>=7.0.0' } color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + resolution: + { + integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, + } colorette@2.0.20: - resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + resolution: + { + integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==, + } commander@10.0.1: - resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} - engines: {node: '>=14'} + resolution: + { + integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==, + } + engines: { node: '>=14' } commander@13.1.0: - resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==, + } + engines: { node: '>=18' } content-disposition@1.0.0: - resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==, + } + engines: { node: '>= 0.6' } content-type@1.0.5: - resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==, + } + engines: { node: '>= 0.6' } convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + resolution: + { + integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==, + } cookie-parser@1.4.7: - resolution: {integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==, + } + engines: { node: '>= 0.8.0' } cookie-signature@1.0.6: - resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} + resolution: + { + integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==, + } cookie-signature@1.2.2: - resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==} - engines: {node: '>=6.6.0'} + resolution: + { + integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==, + } + engines: { node: '>=6.6.0' } cookie@0.7.2: - resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==, + } + engines: { node: '>= 0.6' } cors@2.8.5: - resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==, + } + engines: { node: '>= 0.10' } create-jest@29.7.0: - resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } hasBin: true create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} + resolution: + { + integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==, + } cross-spawn@7.0.6: - resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==, + } + engines: { node: '>= 8' } dateformat@4.6.3: - resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==} + resolution: + { + integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==, + } debug@4.4.1: - resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} - engines: {node: '>=6.0'} + resolution: + { + integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==, + } + engines: { node: '>=6.0' } peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1201,8 +1925,11 @@ packages: optional: true debug@4.4.3: - resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} - engines: {node: '>=6.0'} + resolution: + { + integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==, + } + engines: { node: '>=6.0' } peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1210,7 +1937,10 @@ packages: optional: true dedent@1.5.1: - resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==} + resolution: + { + integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==, + } peerDependencies: babel-plugin-macros: ^3.1.0 peerDependenciesMeta: @@ -1218,96 +1948,171 @@ packages: optional: true deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + resolution: + { + integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==, + } deepmerge@4.3.1: - resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==, + } + engines: { node: '>=0.10.0' } depd@2.0.0: - resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==, + } + engines: { node: '>= 0.8' } detect-newline@3.1.0: - resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==, + } + engines: { node: '>=8' } diff-sequences@29.6.3: - resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} + resolution: + { + integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==, + } + engines: { node: '>=0.3.1' } dunder-proto@1.0.1: - resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==, + } + engines: { node: '>= 0.4' } ee-first@1.1.1: - resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + resolution: + { + integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==, + } electron-to-chromium@1.5.267: - resolution: {integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==} + resolution: + { + integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==, + } emittery@0.13.1: - resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==, + } + engines: { node: '>=12' } emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + resolution: + { + integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==, + } emojilib@2.4.0: - resolution: {integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==} + resolution: + { + integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==, + } encodeurl@2.0.0: - resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==, + } + engines: { node: '>= 0.8' } end-of-stream@1.4.5: - resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} + resolution: + { + integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==, + } environment@1.1.0: - resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==, + } + engines: { node: '>=18' } error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + resolution: + { + integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==, + } es-define-property@1.0.1: - resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==, + } + engines: { node: '>= 0.4' } es-errors@1.3.0: - resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==, + } + engines: { node: '>= 0.4' } es-object-atoms@1.1.1: - resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==, + } + engines: { node: '>= 0.4' } escalade@3.1.1: - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==, + } + engines: { node: '>=6' } escalade@3.2.0: - resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==, + } + engines: { node: '>=6' } escape-html@1.0.3: - resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} + resolution: + { + integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, + } escape-string-regexp@2.0.0: - resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==, + } + engines: { node: '>=8' } escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==, + } + engines: { node: '>=10' } eslint-plugin-prettier@5.4.1: - resolution: {integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==} - engines: {node: ^14.18.0 || >=16.0.0} + resolution: + { + integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==, + } + engines: { node: ^14.18.0 || >=16.0.0 } peerDependencies: '@types/eslint': '>=8.0.0' eslint: '>=8.0.0' @@ -1320,7 +2125,10 @@ packages: optional: true eslint-plugin-unused-imports@4.1.4: - resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} + resolution: + { + integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==, + } peerDependencies: '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0 eslint: ^9.0.0 || ^8.0.0 @@ -1329,20 +2137,39 @@ packages: optional: true eslint-scope@8.4.0: - resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } eslint-visitor-keys@3.4.3: - resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + resolution: + { + integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==, + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + + eslint-visitor-keys@4.2.0: + resolution: + { + integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } eslint-visitor-keys@4.2.1: - resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } eslint@9.39.1: - resolution: {integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } hasBin: true peerDependencies: jiti: '*' @@ -1351,392 +2178,695 @@ packages: optional: true espree@10.4.0: - resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } esprima@4.0.1: - resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==, + } + engines: { node: '>=4' } hasBin: true esquery@1.6.0: - resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} - engines: {node: '>=0.10'} + resolution: + { + integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==, + } + engines: { node: '>=0.10' } esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} + resolution: + { + integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==, + } + engines: { node: '>=4.0' } estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} + resolution: + { + integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==, + } + engines: { node: '>=4.0' } esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==, + } + engines: { node: '>=0.10.0' } etag@1.8.1: - resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==, + } + engines: { node: '>= 0.6' } eventsource-parser@3.0.6: - resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==} - engines: {node: '>=18.0.0'} + resolution: + { + integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==, + } + engines: { node: '>=18.0.0' } eventsource@3.0.7: - resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==} - engines: {node: '>=18.0.0'} + resolution: + { + integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==, + } + engines: { node: '>=18.0.0' } execa@5.1.1: - resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, + } + engines: { node: '>=10' } exit@0.1.2: - resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==, + } + engines: { node: '>= 0.8.0' } expect@29.7.0: - resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } express-rate-limit@8.3.1: - resolution: {integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==} - engines: {node: '>= 16'} + resolution: + { + integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==, + } + engines: { node: '>= 16' } peerDependencies: express: '>= 4.11' express@5.2.1: - resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==, + } + engines: { node: '>= 18' } external-editor@3.1.0: - resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==, + } + engines: { node: '>=4' } fast-copy@4.0.2: - resolution: {integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==} + resolution: + { + integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==, + } fast-deep-equal@3.1.3: - resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + resolution: + { + integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==, + } fast-diff@1.3.0: - resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + resolution: + { + integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==, + } fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} + resolution: + { + integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==, + } + engines: { node: '>=8.6.0' } fast-json-stable-stringify@2.1.0: - resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + resolution: + { + integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==, + } fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + resolution: + { + integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==, + } fast-safe-stringify@2.1.1: - resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} + resolution: + { + integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==, + } fast-uri@3.1.0: - resolution: {integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==} + resolution: + { + integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==, + } fastq@1.17.1: - resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + resolution: + { + integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==, + } fb-watchman@2.0.2: - resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + resolution: + { + integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==, + } fflate@0.8.2: - resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + resolution: + { + integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==, + } file-entry-cache@8.0.0: - resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} - engines: {node: '>=16.0.0'} + resolution: + { + integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==, + } + engines: { node: '>=16.0.0' } fill-range@7.1.1: - resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==, + } + engines: { node: '>=8' } finalhandler@2.1.0: - resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==, + } + engines: { node: '>= 0.8' } find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==, + } + engines: { node: '>=8' } find-up@5.0.0: - resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==, + } + engines: { node: '>=10' } flat-cache@4.0.1: - resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} - engines: {node: '>=16'} + resolution: + { + integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==, + } + engines: { node: '>=16' } flatted@3.3.3: - resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} + resolution: + { + integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==, + } flora-colossus@2.0.0: - resolution: {integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==, + } + engines: { node: '>= 12' } forwarded@0.2.0: - resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==, + } + engines: { node: '>= 0.6' } fresh@2.0.0: - resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==, + } + engines: { node: '>= 0.8' } fs-extra@10.1.0: - resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==, + } + engines: { node: '>=12' } fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + resolution: + { + integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==, + } fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + resolution: + { + integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==, + } + engines: { node: ^8.16.0 || ^10.6.0 || >=11.0.0 } os: [darwin] function-bind@1.1.2: - resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + resolution: + { + integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==, + } fuse.js@7.1.0: - resolution: {integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==, + } + engines: { node: '>=10' } galactus@1.0.0: - resolution: {integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==, + } + engines: { node: '>= 12' } gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==, + } + engines: { node: '>=6.9.0' } get-caller-file@2.0.5: - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} - engines: {node: 6.* || 8.* || >= 10.*} + resolution: + { + integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, + } + engines: { node: 6.* || 8.* || >= 10.* } get-intrinsic@1.3.0: - resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==, + } + engines: { node: '>= 0.4' } get-package-type@0.1.0: - resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} - engines: {node: '>=8.0.0'} + resolution: + { + integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==, + } + engines: { node: '>=8.0.0' } get-proto@1.0.1: - resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==, + } + engines: { node: '>= 0.4' } get-stdin@8.0.0: - resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==, + } + engines: { node: '>=10' } get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==, + } + engines: { node: '>=10' } glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==, + } + engines: { node: '>= 6' } glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} + resolution: + { + integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==, + } + engines: { node: '>=10.13.0' } glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + resolution: + { + integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==, + } deprecated: Glob versions prior to v9 are no longer supported glob@8.1.0: - resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==, + } + engines: { node: '>=12' } deprecated: Glob versions prior to v9 are no longer supported globals@14.0.0: - resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==, + } + engines: { node: '>=18' } gopd@1.2.0: - resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==, + } + engines: { node: '>= 0.4' } graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + resolution: + { + integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==, + } graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + resolution: + { + integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==, + } handlebars@4.7.8: - resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} - engines: {node: '>=0.4.7'} + resolution: + { + integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==, + } + engines: { node: '>=0.4.7' } hasBin: true has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==, + } + engines: { node: '>=8' } has-symbols@1.1.0: - resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==, + } + engines: { node: '>= 0.4' } hasown@2.0.0: - resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==, + } + engines: { node: '>= 0.4' } hasown@2.0.2: - resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==, + } + engines: { node: '>= 0.4' } help-me@5.0.0: - resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==} + resolution: + { + integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==, + } highlight.js@10.7.3: - resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} - - hono@4.12.7: - resolution: {integrity: sha512-jq9l1DM0zVIvsm3lv9Nw9nlJnMNPOcAtsbsgiUhWcFzPE99Gvo6yRTlszSLLYacMeQ6quHD6hMfId8crVHvexw==} - engines: {node: '>=16.9.0'} + resolution: + { + integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==, + } + + hono@4.12.6: + resolution: + { + integrity: sha512-KljEp+MeEEEIOT75qBo1UjqqB29fRMtlDEwCxcexOzdkUq6LR/vRvHk5pdROcxyOYyW1niq7Gb5pFVGy5R1eBw==, + } + engines: { node: '>=16.9.0' } html-escaper@2.0.2: - resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} + resolution: + { + integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==, + } http-errors@2.0.0: - resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==, + } + engines: { node: '>= 0.8' } human-signals@2.1.0: - resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} - engines: {node: '>=10.17.0'} + resolution: + { + integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==, + } + engines: { node: '>=10.17.0' } iconv-lite@0.4.24: - resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==, + } + engines: { node: '>=0.10.0' } iconv-lite@0.6.3: - resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==, + } + engines: { node: '>=0.10.0' } iconv-lite@0.7.0: - resolution: {integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==, + } + engines: { node: '>=0.10.0' } ignore-walk@5.0.1: - resolution: {integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } ignore@5.3.2: - resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} - engines: {node: '>= 4'} + resolution: + { + integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==, + } + engines: { node: '>= 4' } ignore@7.0.5: - resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==} - engines: {node: '>= 4'} + resolution: + { + integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==, + } + engines: { node: '>= 4' } import-fresh@3.3.1: - resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==, + } + engines: { node: '>=6' } import-local@3.1.0: - resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==, + } + engines: { node: '>=8' } hasBin: true imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} + resolution: + { + integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==, + } + engines: { node: '>=0.8.19' } indent-string@4.0.0: - resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==, + } + engines: { node: '>=8' } inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + resolution: + { + integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==, + } deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + resolution: + { + integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==, + } ip-address@10.1.0: - resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==, + } + engines: { node: '>= 12' } ipaddr.js@1.9.1: - resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==, + } + engines: { node: '>= 0.10' } is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + resolution: + { + integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==, + } is-core-module@2.13.1: - resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + resolution: + { + integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==, + } is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==, + } + engines: { node: '>=0.10.0' } is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==, + } + engines: { node: '>=8' } is-generator-fn@2.1.0: - resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==, + } + engines: { node: '>=6' } is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==, + } + engines: { node: '>=0.10.0' } is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} + resolution: + { + integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==, + } + engines: { node: '>=0.12.0' } is-promise@4.0.0: - resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==} + resolution: + { + integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==, + } is-stream@2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==, + } + engines: { node: '>=8' } isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + resolution: + { + integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==, + } istanbul-lib-coverage@3.2.2: - resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==, + } + engines: { node: '>=8' } istanbul-lib-instrument@5.2.1: - resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==, + } + engines: { node: '>=8' } istanbul-lib-instrument@6.0.3: - resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==, + } + engines: { node: '>=10' } istanbul-lib-report@3.0.1: - resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==, + } + engines: { node: '>=10' } istanbul-lib-source-maps@4.0.1: - resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==, + } + engines: { node: '>=10' } istanbul-reports@3.1.6: - resolution: {integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==, + } + engines: { node: '>=8' } jest-changed-files@29.7.0: - resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-circus@29.7.0: - resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-cli@29.7.0: - resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -1745,8 +2875,11 @@ packages: optional: true jest-config@29.7.0: - resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: '@types/node': '*' ts-node: '>=9.0.0' @@ -1757,48 +2890,81 @@ packages: optional: true jest-diff@29.7.0: - resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-docblock@29.7.0: - resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-each@29.7.0: - resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-environment-node@29.7.0: - resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-get-type@29.6.3: - resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-haste-map@29.7.0: - resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-leak-detector@29.7.0: - resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-matcher-utils@29.7.0: - resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-message-util@29.7.0: - resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-mock@29.7.0: - resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-pnp-resolver@1.2.3: - resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==, + } + engines: { node: '>=6' } peerDependencies: jest-resolve: '*' peerDependenciesMeta: @@ -1806,48 +2972,81 @@ packages: optional: true jest-regex-util@29.6.3: - resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-resolve-dependencies@29.7.0: - resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-resolve@29.7.0: - resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-runner@29.7.0: - resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-runtime@29.7.0: - resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-snapshot@29.7.0: - resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-util@29.7.0: - resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-validate@29.7.0: - resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-watcher@29.7.0: - resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-worker@29.7.0: - resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest@29.7.0: - resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -1856,692 +3055,1238 @@ packages: optional: true jose@6.1.3: - resolution: {integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==} + resolution: + { + integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==, + } joycon@3.1.1: - resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==, + } + engines: { node: '>=10' } jq-web@https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz: - resolution: {integrity: sha512-6nmDSHGJm8Cclf2oSuO9xQ7vt5x5bDiuTKX2rkyW1K7Uo2SHeI4ZvpgMITKy+8p3bbEnKovTPGoHhApa6v/PbA==, tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz} + resolution: { tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz } version: 0.8.8 js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + resolution: + { + integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==, + } js-yaml@3.14.2: - resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} + resolution: + { + integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==, + } hasBin: true js-yaml@4.1.1: - resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==} + resolution: + { + integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==, + } hasBin: true jsesc@3.1.0: - resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==, + } + engines: { node: '>=6' } hasBin: true json-buffer@3.0.1: - resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + resolution: + { + integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==, + } json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + resolution: + { + integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==, + } json-schema-traverse@0.4.1: - resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + resolution: + { + integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==, + } json-schema-traverse@1.0.0: - resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + resolution: + { + integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==, + } json-schema-typed@8.0.2: - resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==} + resolution: + { + integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==, + } json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + resolution: + { + integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==, + } json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==, + } + engines: { node: '>=6' } hasBin: true jsonc-parser@3.2.1: - resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==} + resolution: + { + integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==, + } jsonfile@6.2.0: - resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==} + resolution: + { + integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==, + } keyv@4.5.4: - resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + resolution: + { + integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==, + } kleur@3.0.3: - resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==, + } + engines: { node: '>=6' } leven@3.1.0: - resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==, + } + engines: { node: '>=6' } levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==, + } + engines: { node: '>= 0.8.0' } lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + resolution: + { + integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==, + } locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==, + } + engines: { node: '>=8' } locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==, + } + engines: { node: '>=10' } lodash.memoize@4.1.2: - resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} + resolution: + { + integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==, + } lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + resolution: + { + integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==, + } lru-cache@10.4.3: - resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + resolution: + { + integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==, + } lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + resolution: + { + integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==, + } make-dir@4.0.0: - resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==, + } + engines: { node: '>=10' } make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + resolution: + { + integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==, + } makeerror@1.0.12: - resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} + resolution: + { + integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==, + } marked-terminal@7.2.1: - resolution: {integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==} - engines: {node: '>=16.0.0'} + resolution: + { + integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==, + } + engines: { node: '>=16.0.0' } peerDependencies: marked: '>=1 <15' marked@9.1.6: - resolution: {integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==} - engines: {node: '>= 16'} + resolution: + { + integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==, + } + engines: { node: '>= 16' } hasBin: true math-intrinsics@1.1.0: - resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==, + } + engines: { node: '>= 0.4' } media-typer@1.1.0: - resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==, + } + engines: { node: '>= 0.8' } merge-descriptors@2.0.0: - resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==, + } + engines: { node: '>=18' } merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + resolution: + { + integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==, + } merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==, + } + engines: { node: '>= 8' } micromatch@4.0.8: - resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} - engines: {node: '>=8.6'} + resolution: + { + integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==, + } + engines: { node: '>=8.6' } mime-db@1.54.0: - resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==, + } + engines: { node: '>= 0.6' } mime-types@3.0.1: - resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==, + } + engines: { node: '>= 0.6' } mimic-fn@2.1.0: - resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==, + } + engines: { node: '>=6' } minimatch@9.0.5: - resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} - engines: {node: '>=16 || 14 >=14.17'} + resolution: + { + integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==, + } + engines: { node: '>=16 || 14 >=14.17' } minimist@1.2.6: - resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} + resolution: + { + integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==, + } mkdirp@2.1.6: - resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==, + } + engines: { node: '>=10' } hasBin: true mri@1.2.0: - resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==, + } + engines: { node: '>=4' } ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + resolution: + { + integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, + } mute-stream@1.0.0: - resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + resolution: + { + integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==, + } + engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } mz@2.7.0: - resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + resolution: + { + integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==, + } natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + resolution: + { + integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==, + } negotiator@1.0.0: - resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==, + } + engines: { node: '>= 0.6' } neo-async@2.6.2: - resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + resolution: + { + integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==, + } node-emoji@2.1.3: - resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==, + } + engines: { node: '>=18' } node-forge@1.3.2: - resolution: {integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==} - engines: {node: '>= 6.13.0'} + resolution: + { + integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==, + } + engines: { node: '>= 6.13.0' } node-int64@0.4.0: - resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} + resolution: + { + integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==, + } node-releases@2.0.27: - resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==} + resolution: + { + integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==, + } normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==, + } + engines: { node: '>=0.10.0' } npm-bundled@2.0.1: - resolution: {integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } npm-normalize-package-bin@2.0.0: - resolution: {integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } npm-packlist@5.1.3: - resolution: {integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } hasBin: true npm-run-path@4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==, + } + engines: { node: '>=8' } object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==, + } + engines: { node: '>=0.10.0' } object-inspect@1.13.4: - resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==, + } + engines: { node: '>= 0.4' } on-exit-leak-free@2.1.2: - resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} - engines: {node: '>=14.0.0'} + resolution: + { + integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==, + } + engines: { node: '>=14.0.0' } on-finished@2.4.1: - resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==, + } + engines: { node: '>= 0.8' } once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + resolution: + { + integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==, + } onetime@5.1.2: - resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==, + } + engines: { node: '>=6' } optionator@0.9.4: - resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==, + } + engines: { node: '>= 0.8.0' } os-tmpdir@1.0.2: - resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==, + } + engines: { node: '>=0.10.0' } p-all@3.0.0: - resolution: {integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==, + } + engines: { node: '>=10' } p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==, + } + engines: { node: '>=6' } p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==, + } + engines: { node: '>=10' } p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==, + } + engines: { node: '>=8' } p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==, + } + engines: { node: '>=10' } p-map@4.0.0: - resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==, + } + engines: { node: '>=10' } p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==, + } + engines: { node: '>=6' } parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==, + } + engines: { node: '>=6' } parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==, + } + engines: { node: '>=8' } parse5-htmlparser2-tree-adapter@6.0.1: - resolution: {integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==} + resolution: + { + integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==, + } parse5@5.1.1: - resolution: {integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==} + resolution: + { + integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==, + } parse5@6.0.1: - resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} + resolution: + { + integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==, + } parseurl@1.3.3: - resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==, + } + engines: { node: '>= 0.8' } path-browserify@1.0.1: - resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + resolution: + { + integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==, + } path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==, + } + engines: { node: '>=8' } path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==, + } + engines: { node: '>=0.10.0' } path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==, + } + engines: { node: '>=8' } path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + resolution: + { + integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==, + } path-to-regexp@8.3.0: - resolution: {integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==} + resolution: + { + integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==, + } picocolors@1.1.1: - resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + resolution: + { + integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==, + } picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} + resolution: + { + integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==, + } + engines: { node: '>=8.6' } pino-abstract-transport@3.0.0: - resolution: {integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==} + resolution: + { + integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==, + } pino-http@11.0.0: - resolution: {integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==} + resolution: + { + integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==, + } pino-pretty@13.1.3: - resolution: {integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==} + resolution: + { + integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==, + } hasBin: true pino-std-serializers@7.1.0: - resolution: {integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==} + resolution: + { + integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==, + } pino@10.3.1: - resolution: {integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==} + resolution: + { + integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==, + } hasBin: true pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==, + } + engines: { node: '>= 6' } pkce-challenge@5.0.0: - resolution: {integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==} - engines: {node: '>=16.20.0'} + resolution: + { + integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==, + } + engines: { node: '>=16.20.0' } pkg-dir@4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==, + } + engines: { node: '>=8' } prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==, + } + engines: { node: '>= 0.8.0' } prettier-linter-helpers@1.0.0: - resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} - engines: {node: '>=6.0.0'} + resolution: + { + integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==, + } + engines: { node: '>=6.0.0' } prettier@3.1.1: - resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} - engines: {node: '>=14'} + resolution: + { + integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==, + } + engines: { node: '>=14' } hasBin: true pretty-bytes@5.6.0: - resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==, + } + engines: { node: '>=6' } pretty-format@29.7.0: - resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } process-warning@5.0.0: - resolution: {integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==} + resolution: + { + integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==, + } prompts@2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==, + } + engines: { node: '>= 6' } proxy-addr@2.0.7: - resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==, + } + engines: { node: '>= 0.10' } publint@0.2.12: - resolution: {integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==} - engines: {node: '>=16'} + resolution: + { + integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==, + } + engines: { node: '>=16' } hasBin: true pump@3.0.4: - resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} + resolution: + { + integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==, + } punycode@2.3.1: - resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==, + } + engines: { node: '>=6' } pure-rand@6.0.4: - resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==} + resolution: + { + integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==, + } qs@6.14.1: - resolution: {integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==} - engines: {node: '>=0.6'} + resolution: + { + integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==, + } + engines: { node: '>=0.6' } queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + resolution: + { + integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==, + } quick-format-unescaped@4.0.4: - resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} + resolution: + { + integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==, + } range-parser@1.2.1: - resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==, + } + engines: { node: '>= 0.6' } raw-body@3.0.1: - resolution: {integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==, + } + engines: { node: '>= 0.10' } react-is@18.2.0: - resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} + resolution: + { + integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==, + } readable-stream@3.6.2: - resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==, + } + engines: { node: '>= 6' } real-require@0.2.0: - resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} - engines: {node: '>= 12.13.0'} + resolution: + { + integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==, + } + engines: { node: '>= 12.13.0' } require-directory@2.1.1: - resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==, + } + engines: { node: '>=0.10.0' } require-from-string@2.0.2: - resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==, + } + engines: { node: '>=0.10.0' } resolve-cwd@3.0.0: - resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==, + } + engines: { node: '>=8' } resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==, + } + engines: { node: '>=4' } resolve-from@5.0.0: - resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==, + } + engines: { node: '>=8' } resolve.exports@2.0.2: - resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==, + } + engines: { node: '>=10' } resolve@1.22.8: - resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} + resolution: + { + integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==, + } hasBin: true reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + resolution: + { + integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==, + } + engines: { iojs: '>=1.0.0', node: '>=0.10.0' } router@2.2.0: - resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==, + } + engines: { node: '>= 18' } run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + resolution: + { + integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==, + } sade@1.8.1: - resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==, + } + engines: { node: '>=6' } safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + resolution: + { + integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==, + } safe-stable-stringify@2.5.0: - resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==, + } + engines: { node: '>=10' } safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + resolution: + { + integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==, + } secure-json-parse@4.1.0: - resolution: {integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==} + resolution: + { + integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==, + } semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + resolution: + { + integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==, + } hasBin: true semver@7.7.1: - resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==, + } + engines: { node: '>=10' } hasBin: true semver@7.7.3: - resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==, + } + engines: { node: '>=10' } hasBin: true send@1.2.0: - resolution: {integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==, + } + engines: { node: '>= 18' } serve-static@2.2.0: - resolution: {integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==, + } + engines: { node: '>= 18' } setprototypeof@1.2.0: - resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} + resolution: + { + integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==, + } shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==, + } + engines: { node: '>=8' } shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==, + } + engines: { node: '>=8' } side-channel-list@1.0.0: - resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==, + } + engines: { node: '>= 0.4' } side-channel-map@1.0.1: - resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==, + } + engines: { node: '>= 0.4' } side-channel-weakmap@1.0.2: - resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==, + } + engines: { node: '>= 0.4' } side-channel@1.1.0: - resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==, + } + engines: { node: '>= 0.4' } signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + resolution: + { + integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==, + } signal-exit@4.1.0: - resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} - engines: {node: '>=14'} + resolution: + { + integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==, + } + engines: { node: '>=14' } sisteransi@1.0.5: - resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + resolution: + { + integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==, + } skin-tone@2.0.0: - resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==, + } + engines: { node: '>=8' } slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==, + } + engines: { node: '>=8' } sonic-boom@4.2.1: - resolution: {integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==} + resolution: + { + integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==, + } source-map-support@0.5.13: - resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} + resolution: + { + integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==, + } source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==, + } + engines: { node: '>=0.10.0' } split2@4.2.0: - resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} - engines: {node: '>= 10.x'} + resolution: + { + integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==, + } + engines: { node: '>= 10.x' } sprintf-js@1.0.3: - resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + resolution: + { + integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==, + } stack-utils@2.0.6: - resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==, + } + engines: { node: '>=10' } statuses@2.0.1: - resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==, + } + engines: { node: '>= 0.8' } statuses@2.0.2: - resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==, + } + engines: { node: '>= 0.8' } string-length@4.0.2: - resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==, + } + engines: { node: '>=10' } string-to-stream@3.0.1: - resolution: {integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==} + resolution: + { + integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==, + } string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==, + } + engines: { node: '>=8' } string_decoder@1.3.0: - resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + resolution: + { + integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==, + } strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==, + } + engines: { node: '>=8' } strip-bom@3.0.0: - resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==, + } + engines: { node: '>=4' } strip-bom@4.0.0: - resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==, + } + engines: { node: '>=8' } strip-final-newline@2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==, + } + engines: { node: '>=6' } strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==, + } + engines: { node: '>=8' } strip-json-comments@5.0.3: - resolution: {integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==} - engines: {node: '>=14.16'} + resolution: + { + integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==, + } + engines: { node: '>=14.16' } superstruct@1.0.4: - resolution: {integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==} - engines: {node: '>=14.0.0'} + resolution: + { + integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==, + } + engines: { node: '>=14.0.0' } supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==, + } + engines: { node: '>=8' } supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==, + } + engines: { node: '>=10' } supports-hyperlinks@3.1.0: - resolution: {integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==} - engines: {node: '>=14.18'} + resolution: + { + integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==, + } + engines: { node: '>=14.18' } supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==, + } + engines: { node: '>= 0.4' } synckit@0.11.8: - resolution: {integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==} - engines: {node: ^14.18.0 || >=16.0.0} + resolution: + { + integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==, + } + engines: { node: ^14.18.0 || >=16.0.0 } test-exclude@6.0.0: - resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==, + } + engines: { node: '>=8' } thenify-all@1.6.0: - resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} - engines: {node: '>=0.8'} + resolution: + { + integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==, + } + engines: { node: '>=0.8' } thenify@3.3.1: - resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + resolution: + { + integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==, + } thread-stream@4.0.0: - resolution: {integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==} - engines: {node: '>=20'} + resolution: + { + integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==, + } + engines: { node: '>=20' } tmp@0.0.33: - resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} - engines: {node: '>=0.6.0'} + resolution: + { + integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==, + } + engines: { node: '>=0.6.0' } tmpl@1.0.5: - resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} + resolution: + { + integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==, + } to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} + resolution: + { + integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==, + } + engines: { node: '>=8.0' } toidentifier@1.0.1: - resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} - engines: {node: '>=0.6'} + resolution: + { + integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==, + } + engines: { node: '>=0.6' } ts-api-utils@2.0.1: - resolution: {integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==} - engines: {node: '>=18.12'} + resolution: + { + integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==, + } + engines: { node: '>=18.12' } peerDependencies: typescript: '>=4.8.4' ts-jest@29.4.6: - resolution: {integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==} - engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} + resolution: + { + integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0 } hasBin: true peerDependencies: '@babel/core': '>=7.0.0-beta.0 <8' @@ -2567,10 +4312,16 @@ packages: optional: true ts-morph@19.0.0: - resolution: {integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==} + resolution: + { + integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==, + } ts-node@10.7.0: - resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} + resolution: + { + integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==, + } hasBin: true peerDependencies: '@swc/core': '>=1.2.50' @@ -2584,195 +4335,326 @@ packages: optional: true tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz: - resolution: {integrity: sha512-tWyCXnx0WqCkVlo5s+4KMj7HC0/0YrCZY0PustUwX9F2lNwd8Kp07q/Q56uGvV9q80XaSDrhy0YqBmrX5TDNpQ==, tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz} + resolution: { tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz } version: 1.1.9 - engines: {node: '>=14'} + engines: { node: '>=14' } hasBin: true peerDependencies: typescript: '>=4.3.0' tsconfig-paths@4.2.0: - resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==, + } + engines: { node: '>=6' } tslib@2.8.1: - resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + resolution: + { + integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==, + } type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==, + } + engines: { node: '>= 0.8.0' } type-detect@4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==, + } + engines: { node: '>=4' } type-fest@0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==, + } + engines: { node: '>=10' } type-fest@4.41.0: - resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} - engines: {node: '>=16'} + resolution: + { + integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==, + } + engines: { node: '>=16' } type-is@2.0.1: - resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==, + } + engines: { node: '>= 0.6' } typescript-eslint@8.31.1: - resolution: {integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' typescript@5.6.1-rc: - resolution: {integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==} - engines: {node: '>=14.17'} + resolution: + { + integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==, + } + engines: { node: '>=14.17' } hasBin: true typescript@5.8.3: - resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} - engines: {node: '>=14.17'} + resolution: + { + integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==, + } + engines: { node: '>=14.17' } hasBin: true uglify-js@3.19.3: - resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} - engines: {node: '>=0.8.0'} + resolution: + { + integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==, + } + engines: { node: '>=0.8.0' } hasBin: true undici-types@6.21.0: - resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + resolution: + { + integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==, + } unicode-emoji-modifier-base@1.0.0: - resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==, + } + engines: { node: '>=4' } universalify@2.0.1: - resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} - engines: {node: '>= 10.0.0'} + resolution: + { + integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==, + } + engines: { node: '>= 10.0.0' } unpipe@1.0.0: - resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==, + } + engines: { node: '>= 0.8' } update-browserslist-db@1.2.3: - resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} + resolution: + { + integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==, + } hasBin: true peerDependencies: browserslist: '>= 4.21.0' uri-js@4.4.1: - resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + resolution: + { + integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==, + } util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + resolution: + { + integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==, + } v8-compile-cache-lib@3.0.0: - resolution: {integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==} + resolution: + { + integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==, + } v8-to-istanbul@9.2.0: - resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} - engines: {node: '>=10.12.0'} + resolution: + { + integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==, + } + engines: { node: '>=10.12.0' } validate-npm-package-name@5.0.1: - resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + resolution: + { + integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==, + } + engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } vary@1.1.2: - resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==, + } + engines: { node: '>= 0.8' } walker@1.0.8: - resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} + resolution: + { + integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==, + } which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==, + } + engines: { node: '>= 8' } hasBin: true word-wrap@1.2.5: - resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==, + } + engines: { node: '>=0.10.0' } wordwrap@1.0.0: - resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} + resolution: + { + integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==, + } wrap-ansi@6.2.0: - resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==, + } + engines: { node: '>=8' } wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==, + } + engines: { node: '>=10' } wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + resolution: + { + integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==, + } write-file-atomic@4.0.2: - resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } y18n@5.0.8: - resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==, + } + engines: { node: '>=10' } yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + resolution: + { + integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==, + } yargs-parser@20.2.9: - resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==, + } + engines: { node: '>=10' } yargs-parser@21.1.1: - resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==, + } + engines: { node: '>=12' } yargs@16.2.0: - resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==, + } + engines: { node: '>=10' } yargs@17.7.2: - resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==, + } + engines: { node: '>=12' } yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==, + } + engines: { node: '>=6' } yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==, + } + engines: { node: '>=10' } yoctocolors-cjs@2.1.3: - resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==, + } + engines: { node: '>=18' } zod-to-json-schema@3.24.6: - resolution: {integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==} + resolution: + { + integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==, + } peerDependencies: zod: ^3.24.1 zod-to-json-schema@3.25.0: - resolution: {integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==} + resolution: + { + integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==, + } peerDependencies: zod: ^3.25 || ^4 zod-to-json-schema@3.25.1: - resolution: {integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==} + resolution: + { + integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==, + } peerDependencies: zod: ^3.25 || ^4 zod-validation-error@4.0.1: - resolution: {integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==} - engines: {node: '>=18.0.0'} + resolution: + { + integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==, + } + engines: { node: '>=18.0.0' } peerDependencies: zod: ^3.25.0 || ^4.0.0 zod@3.25.76: - resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} + resolution: + { + integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==, + } snapshots: - '@andrewbranch/untar.js@1.0.3': {} '@anthropic-ai/mcpb@2.1.2': @@ -3009,6 +4891,11 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 + '@eslint-community/eslint-utils@4.4.0(eslint@9.39.1)': + dependencies: + eslint: 9.39.1 + eslint-visitor-keys: 3.4.3 + '@eslint-community/eslint-utils@4.9.0(eslint@9.39.1)': dependencies: eslint: 9.39.1 @@ -3057,9 +4944,9 @@ snapshots: '@eslint/core': 0.17.0 levn: 0.4.1 - '@hono/node-server@1.19.11(hono@4.12.7)': + '@hono/node-server@1.19.11(hono@4.12.6)': dependencies: - hono: 4.12.7 + hono: 4.12.6 '@humanfs/core@0.19.1': {} @@ -3407,7 +5294,7 @@ snapshots: '@modelcontextprotocol/sdk@1.27.1(zod@3.25.76)': dependencies: - '@hono/node-server': 1.19.11(hono@4.12.7) + '@hono/node-server': 1.19.11(hono@4.12.6) ajv: 8.18.0 ajv-formats: 3.0.1(ajv@8.18.0) content-type: 1.0.5 @@ -3417,7 +5304,7 @@ snapshots: eventsource-parser: 3.0.6 express: 5.2.1 express-rate-limit: 8.3.1(express@5.2.1) - hono: 4.12.7 + hono: 4.12.6 jose: 6.1.3 json-schema-typed: 8.0.2 pkce-challenge: 5.0.0 @@ -3707,7 +5594,7 @@ snapshots: '@typescript-eslint/utils@8.31.1(eslint@9.39.1)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.39.1) '@typescript-eslint/scope-manager': 8.31.1 '@typescript-eslint/types': 8.31.1 '@typescript-eslint/typescript-estree': 8.31.1(typescript@5.8.3) @@ -3719,7 +5606,7 @@ snapshots: '@typescript-eslint/visitor-keys@8.31.1': dependencies: '@typescript-eslint/types': 8.31.1 - eslint-visitor-keys: 4.2.1 + eslint-visitor-keys: 4.2.0 '@valtown/deno-http-worker@0.0.21': {} @@ -4131,6 +6018,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.2.0: {} + eslint-visitor-keys@4.2.1: {} eslint@9.39.1: @@ -4454,7 +6343,7 @@ snapshots: highlight.js@10.7.3: {} - hono@4.12.7: {} + hono@4.12.6: {} html-escaper@2.0.2: {} From 5c79cfc74db9cca61bf0e3f90f3afdc8ab2bcdc3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 17:24:49 +0000 Subject: [PATCH 17/69] chore: configure new SDK language --- .stats.yml | 2 +- README.md | 4 ++-- packages/mcp-server/README.md | 10 +++++----- packages/mcp-server/build | 2 +- packages/mcp-server/jest.config.ts | 4 ++-- packages/mcp-server/manifest.json | 2 +- packages/mcp-server/package.json | 6 +++--- packages/mcp-server/tsconfig.build.json | 4 ++-- packages/mcp-server/tsconfig.json | 4 ++-- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.stats.yml b/.stats.yml index d6227e89..34d47222 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-ef33241ec003fafbf4f2ffe434c3d8c2ac0ba929137942185663ff59974d2138.yml openapi_spec_hash: 87bd0d9c684517522cbbbd48bbe8ad83 -config_hash: 038aa9961f259a8ee53e61dfb2454763 +config_hash: 319ed5c667c4fa3dd8dc57368293e074 diff --git a/README.md b/README.md index d4452b81..1c82c0dc 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ It is generated with [Stainless](https://www.stainless.com/). Use the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application. -[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fmcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvbWNwIiwidHJhbnNwb3J0IjoiaHR0cCIsInVybCI6Imh0dHBzOi8vc3RhaW5sZXNzLXYwLnN0bG1jcC5jb20iLCJoZWFkZXJzIjp7Ingtc3RhaW5sZXNzLWFwaS1rZXkiOiJNeSBBUEkgS2V5In19) -[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fmcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D) +[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ) +[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D) > Note: You may need to set environment variables in your MCP client. diff --git a/packages/mcp-server/README.md b/packages/mcp-server/README.md index 86850d0a..dee83d45 100644 --- a/packages/mcp-server/README.md +++ b/packages/mcp-server/README.md @@ -23,7 +23,7 @@ You can run the MCP Server directly via `npx`: export STAINLESS_API_KEY="My API Key" export STAINLESS_PROJECT="example-project" export STAINLESS_ENVIRONMENT="production" -npx -y @stainless-api/mcp@latest +npx -y @stainless-api/sdk-mcp@latest ``` ### Via MCP Client @@ -38,7 +38,7 @@ For clients with a configuration JSON, it might look something like this: "mcpServers": { "stainless_api_sdk_api": { "command": "npx", - "args": ["-y", "@stainless-api/mcp"], + "args": ["-y", "@stainless-api/sdk-mcp"], "env": { "STAINLESS_API_KEY": "My API Key", "STAINLESS_PROJECT": "example-project", @@ -54,14 +54,14 @@ For clients with a configuration JSON, it might look something like this: If you use Cursor, you can install the MCP server by using the button below. You will need to set your environment variables in Cursor's `mcp.json`, which can be found in Cursor Settings > Tools & MCP > New MCP Server. -[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fmcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvbWNwIiwidHJhbnNwb3J0IjoiaHR0cCIsInVybCI6Imh0dHBzOi8vc3RhaW5sZXNzLXYwLnN0bG1jcC5jb20iLCJoZWFkZXJzIjp7Ingtc3RhaW5sZXNzLWFwaS1rZXkiOiJNeSBBUEkgS2V5In19) +[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ) ### VS Code If you use MCP, you can install the MCP server by clicking the link below. You will need to set your environment variables in VS Code's `mcp.json`, which can be found via Command Palette > MCP: Open User Configuration. -[Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fmcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D) +[Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D) ### Claude Code @@ -75,7 +75,7 @@ claude mcp add stainless -- stl mcp #### Using npx You will need to set your environment variables in Claude Code's `.claude.json`, which can be found in your home directory. ``` -claude mcp add stainless_api_mcp_api --header "x-stainless-api-key: My API Key" --transport http https://stainless-v0.stlmcp.com +claude mcp add stainless_api_sdk_mcp_api --header "x-stainless-api-key: My API Key" --transport http https://stainless-v0.stlmcp.com ``` ## Code Mode diff --git a/packages/mcp-server/build b/packages/mcp-server/build index 5d47c0d0..6b6060b0 100644 --- a/packages/mcp-server/build +++ b/packages/mcp-server/build @@ -29,7 +29,7 @@ cp tsconfig.dist-src.json dist/src/tsconfig.json chmod +x dist/index.js -DIST_PATH=./dist PKG_IMPORT_PATH=@stainless-api/mcp/ node ../../scripts/utils/postprocess-files.cjs +DIST_PATH=./dist PKG_IMPORT_PATH=@stainless-api/sdk-mcp/ node ../../scripts/utils/postprocess-files.cjs # mcp bundle rm -rf dist-bundle stainless_api_sdk_api.mcpb; mkdir dist-bundle diff --git a/packages/mcp-server/jest.config.ts b/packages/mcp-server/jest.config.ts index 9da5da8b..57523f31 100644 --- a/packages/mcp-server/jest.config.ts +++ b/packages/mcp-server/jest.config.ts @@ -7,8 +7,8 @@ const config: JestConfigWithTsJest = { '^.+\\.(t|j)sx?$': ['@swc/jest', { sourceMaps: 'inline' }], }, moduleNameMapper: { - '^@stainless-api/mcp$': '/src/index.ts', - '^@stainless-api/mcp/(.*)$': '/src/$1', + '^@stainless-api/sdk-mcp$': '/src/index.ts', + '^@stainless-api/sdk-mcp/(.*)$': '/src/$1', }, modulePathIgnorePatterns: ['/dist/'], testPathIgnorePatterns: ['scripts'], diff --git a/packages/mcp-server/manifest.json b/packages/mcp-server/manifest.json index 448bb56e..3640f9bc 100644 --- a/packages/mcp-server/manifest.json +++ b/packages/mcp-server/manifest.json @@ -1,6 +1,6 @@ { "dxt_version": "0.2", - "name": "@stainless-api/mcp", + "name": "@stainless-api/sdk-mcp", "version": "0.5.0", "description": "The official MCP Server for the Stainless API", "author": { diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index 566a1b9b..68e8aaa9 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -1,5 +1,5 @@ { - "name": "@stainless-api/mcp", + "name": "@stainless-api/sdk-mcp", "version": "0.5.0", "description": "The official MCP Server for the Stainless API", "author": "Stainless ", @@ -76,8 +76,8 @@ "tsconfig-paths": "^4.0.0" }, "imports": { - "@stainless-api/mcp": ".", - "@stainless-api/mcp/*": "./src/*" + "@stainless-api/sdk-mcp": ".", + "@stainless-api/sdk-mcp/*": "./src/*" }, "exports": { ".": { diff --git a/packages/mcp-server/tsconfig.build.json b/packages/mcp-server/tsconfig.build.json index ee272d68..49c14581 100644 --- a/packages/mcp-server/tsconfig.build.json +++ b/packages/mcp-server/tsconfig.build.json @@ -5,8 +5,8 @@ "compilerOptions": { "rootDir": "./dist/src", "paths": { - "@stainless-api/mcp/*": ["./dist/src/*"], - "@stainless-api/mcp": ["./dist/src/index.ts"] + "@stainless-api/sdk-mcp/*": ["./dist/src/*"], + "@stainless-api/sdk-mcp": ["./dist/src/index.ts"] }, "noEmit": false, "declaration": true, diff --git a/packages/mcp-server/tsconfig.json b/packages/mcp-server/tsconfig.json index e2ab74a8..ec45d99d 100644 --- a/packages/mcp-server/tsconfig.json +++ b/packages/mcp-server/tsconfig.json @@ -8,8 +8,8 @@ "moduleResolution": "node", "esModuleInterop": true, "paths": { - "@stainless-api/mcp/*": ["./src/*"], - "@stainless-api/mcp": ["./src/index.ts"] + "@stainless-api/sdk-mcp/*": ["./src/*"], + "@stainless-api/sdk-mcp": ["./src/index.ts"] }, "noEmit": true, From d3be69e0bfbaa90fcf1794182501f5289df200e0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 17:25:08 +0000 Subject: [PATCH 18/69] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 34d47222..0b3b470e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-ef33241ec003fafbf4f2ffe434c3d8c2ac0ba929137942185663ff59974d2138.yml openapi_spec_hash: 87bd0d9c684517522cbbbd48bbe8ad83 -config_hash: 319ed5c667c4fa3dd8dc57368293e074 +config_hash: 63178ec4b1d2ea5636c8619cffcf129b From 2927f0b624f2d4fe14d01ab3c584d5e5bfc0be3b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 14 Mar 2026 02:47:43 +0000 Subject: [PATCH 19/69] chore(internal): update lockfile --- pnpm-lock.yaml | 3998 +++++++++++++----------------------------------- 1 file changed, 1063 insertions(+), 2935 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fdae2812..96495513 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,7 @@ overrides: minimatch: ^9.0.5 importers: + .: devDependencies: '@arethetypeswrong/cli': @@ -81,7 +82,7 @@ importers: version: 0.2.4 '@hono/node-server': specifier: ^1.19.10 - version: 1.19.11(hono@4.12.6) + version: 1.19.11(hono@4.12.5) '@modelcontextprotocol/sdk': specifier: ^1.27.1 version: 1.27.1(zod@3.25.76) @@ -108,7 +109,7 @@ importers: version: 7.1.0 hono: specifier: ^4.12.4 - version: 4.12.6 + version: 4.12.5 jq-web: specifier: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz version: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz @@ -199,574 +200,344 @@ importers: version: 4.2.0 packages: + '@andrewbranch/untar.js@1.0.3': - resolution: - { - integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==, - } + resolution: {integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==} '@anthropic-ai/mcpb@2.1.2': - resolution: - { - integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==, - } + resolution: {integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==} hasBin: true '@arethetypeswrong/cli@0.17.0': - resolution: - { - integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==} + engines: {node: '>=18'} hasBin: true '@arethetypeswrong/core@0.17.0': - resolution: - { - integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==} + engines: {node: '>=18'} '@babel/code-frame@7.28.6': - resolution: - { - integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==} + engines: {node: '>=6.9.0'} '@babel/compat-data@7.28.6': - resolution: - { - integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==} + engines: {node: '>=6.9.0'} '@babel/core@7.28.6': - resolution: - { - integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==} + engines: {node: '>=6.9.0'} '@babel/generator@7.28.6': - resolution: - { - integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==} + engines: {node: '>=6.9.0'} '@babel/helper-compilation-targets@7.28.6': - resolution: - { - integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==} + engines: {node: '>=6.9.0'} '@babel/helper-globals@7.28.0': - resolution: - { - integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} + engines: {node: '>=6.9.0'} '@babel/helper-module-imports@7.28.6': - resolution: - { - integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==} + engines: {node: '>=6.9.0'} '@babel/helper-module-transforms@7.28.6': - resolution: - { - integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-plugin-utils@7.28.6': - resolution: - { - integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==} + engines: {node: '>=6.9.0'} '@babel/helper-string-parser@7.27.1': - resolution: - { - integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} + engines: {node: '>=6.9.0'} '@babel/helper-validator-identifier@7.28.5': - resolution: - { - integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} + engines: {node: '>=6.9.0'} '@babel/helper-validator-option@7.27.1': - resolution: - { - integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==} + engines: {node: '>=6.9.0'} '@babel/helpers@7.28.6': - resolution: - { - integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==} + engines: {node: '>=6.9.0'} '@babel/parser@7.28.6': - resolution: - { - integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==, - } - engines: { node: '>=6.0.0' } + resolution: {integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==} + engines: {node: '>=6.0.0'} hasBin: true '@babel/plugin-syntax-async-generators@7.8.4': - resolution: - { - integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==, - } + resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-bigint@7.8.3': - resolution: - { - integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==, - } + resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-properties@7.12.13': - resolution: - { - integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==, - } + resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-static-block@7.14.5': - resolution: - { - integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-attributes@7.28.6': - resolution: - { - integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-meta@7.10.4': - resolution: - { - integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==, - } + resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-json-strings@7.8.3': - resolution: - { - integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==, - } + resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-jsx@7.28.6': - resolution: - { - integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-logical-assignment-operators@7.10.4': - resolution: - { - integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==, - } + resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3': - resolution: - { - integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==, - } + resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-numeric-separator@7.10.4': - resolution: - { - integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==, - } + resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-object-rest-spread@7.8.3': - resolution: - { - integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==, - } + resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-catch-binding@7.8.3': - resolution: - { - integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==, - } + resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-chaining@7.8.3': - resolution: - { - integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==, - } + resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-private-property-in-object@7.14.5': - resolution: - { - integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-top-level-await@7.14.5': - resolution: - { - integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-typescript@7.28.6': - resolution: - { - integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/template@7.28.6': - resolution: - { - integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==} + engines: {node: '>=6.9.0'} '@babel/traverse@7.28.6': - resolution: - { - integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==} + engines: {node: '>=6.9.0'} '@babel/types@7.28.6': - resolution: - { - integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==} + engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@0.2.3': - resolution: - { - integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==, - } + resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} '@cloudflare/cabidela@0.2.4': - resolution: - { - integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==, - } + resolution: {integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==} '@colors/colors@1.5.0': - resolution: - { - integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==, - } - engines: { node: '>=0.1.90' } + resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} + engines: {node: '>=0.1.90'} '@cspotcode/source-map-consumer@0.8.0': - resolution: - { - integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==} + engines: {node: '>= 12'} '@cspotcode/source-map-support@0.7.0': - resolution: - { - integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} + engines: {node: '>=12'} '@eslint-community/eslint-utils@4.4.0': - resolution: - { - integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==, - } - engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/eslint-utils@4.9.0': - resolution: - { - integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==, - } - engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/regexpp@4.12.1': - resolution: - { - integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==, - } - engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } + resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} '@eslint-community/regexpp@4.12.2': - resolution: - { - integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==, - } - engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } + resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} '@eslint/config-array@0.21.1': - resolution: - { - integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/config-helpers@0.4.2': - resolution: - { - integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/core@0.17.0': - resolution: - { - integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/eslintrc@3.3.3': - resolution: - { - integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/js@9.39.1': - resolution: - { - integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.7': - resolution: - { - integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/plugin-kit@0.4.1': - resolution: - { - integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@hono/node-server@1.19.11': - resolution: - { - integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==, - } - engines: { node: '>=18.14.1' } + resolution: {integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==} + engines: {node: '>=18.14.1'} peerDependencies: hono: ^4 '@humanfs/core@0.19.1': - resolution: - { - integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==, - } - engines: { node: '>=18.18.0' } + resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} + engines: {node: '>=18.18.0'} '@humanfs/node@0.16.7': - resolution: - { - integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==, - } - engines: { node: '>=18.18.0' } + resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==} + engines: {node: '>=18.18.0'} '@humanwhocodes/module-importer@1.0.1': - resolution: - { - integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==, - } - engines: { node: '>=12.22' } + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} '@humanwhocodes/retry@0.4.3': - resolution: - { - integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==, - } - engines: { node: '>=18.18' } + resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} + engines: {node: '>=18.18'} '@inquirer/checkbox@3.0.1': - resolution: - { - integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==} + engines: {node: '>=18'} '@inquirer/confirm@4.0.1': - resolution: - { - integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==} + engines: {node: '>=18'} '@inquirer/core@9.2.1': - resolution: - { - integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==} + engines: {node: '>=18'} '@inquirer/editor@3.0.1': - resolution: - { - integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==} + engines: {node: '>=18'} '@inquirer/expand@3.0.1': - resolution: - { - integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==} + engines: {node: '>=18'} '@inquirer/figures@1.0.15': - resolution: - { - integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==} + engines: {node: '>=18'} '@inquirer/input@3.0.1': - resolution: - { - integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==} + engines: {node: '>=18'} '@inquirer/number@2.0.1': - resolution: - { - integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==} + engines: {node: '>=18'} '@inquirer/password@3.0.1': - resolution: - { - integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==} + engines: {node: '>=18'} '@inquirer/prompts@6.0.1': - resolution: - { - integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==} + engines: {node: '>=18'} '@inquirer/rawlist@3.0.1': - resolution: - { - integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==} + engines: {node: '>=18'} '@inquirer/search@2.0.1': - resolution: - { - integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==} + engines: {node: '>=18'} '@inquirer/select@3.0.1': - resolution: - { - integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==} + engines: {node: '>=18'} '@inquirer/type@2.0.0': - resolution: - { - integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==} + engines: {node: '>=18'} '@istanbuljs/load-nyc-config@1.1.0': - resolution: - { - integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} + engines: {node: '>=8'} '@istanbuljs/schema@0.1.3': - resolution: - { - integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} + engines: {node: '>=8'} '@jest/console@29.7.0': - resolution: - { - integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/core@29.7.0': - resolution: - { - integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -774,53 +545,32 @@ packages: optional: true '@jest/create-cache-key-function@29.7.0': - resolution: - { - integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/environment@29.7.0': - resolution: - { - integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/expect-utils@29.7.0': - resolution: - { - integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/expect@29.7.0': - resolution: - { - integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/fake-timers@29.7.0': - resolution: - { - integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/globals@29.7.0': - resolution: - { - integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/reporters@29.7.0': - resolution: - { - integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -828,96 +578,54 @@ packages: optional: true '@jest/schemas@29.6.3': - resolution: - { - integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/source-map@29.6.3': - resolution: - { - integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/test-result@29.7.0': - resolution: - { - integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/test-sequencer@29.7.0': - resolution: - { - integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/transform@29.7.0': - resolution: - { - integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/types@29.6.3': - resolution: - { - integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jridgewell/gen-mapping@0.3.13': - resolution: - { - integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==, - } + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} '@jridgewell/remapping@2.3.5': - resolution: - { - integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==, - } + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} '@jridgewell/resolve-uri@3.1.1': - resolution: - { - integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==, - } - engines: { node: '>=6.0.0' } + resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + engines: {node: '>=6.0.0'} '@jridgewell/sourcemap-codec@1.4.15': - resolution: - { - integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==, - } + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} '@jridgewell/sourcemap-codec@1.5.5': - resolution: - { - integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==, - } + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} '@jridgewell/trace-mapping@0.3.20': - resolution: - { - integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==, - } + resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} '@jridgewell/trace-mapping@0.3.31': - resolution: - { - integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==, - } + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} '@modelcontextprotocol/sdk@1.27.1': - resolution: - { - integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==} + engines: {node: '>=18'} peerDependencies: '@cfworker/json-schema': ^4.1.1 zod: ^3.25 || ^4.0 @@ -926,164 +634,104 @@ packages: optional: true '@nodelib/fs.scandir@2.1.5': - resolution: - { - integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} '@nodelib/fs.stat@2.0.5': - resolution: - { - integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} '@nodelib/fs.walk@1.2.8': - resolution: - { - integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} '@pinojs/redact@0.4.0': - resolution: - { - integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==, - } + resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==} '@pkgr/core@0.2.4': - resolution: - { - integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==, - } - engines: { node: ^12.20.0 || ^14.18.0 || >=16.0.0 } + resolution: {integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} '@sinclair/typebox@0.27.8': - resolution: - { - integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==, - } + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} '@sindresorhus/is@4.6.0': - resolution: - { - integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} + engines: {node: '>=10'} '@sinonjs/commons@3.0.0': - resolution: - { - integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==, - } + resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} '@sinonjs/fake-timers@10.3.0': - resolution: - { - integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==, - } + resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} '@swc/core-darwin-arm64@1.4.16': - resolution: - { - integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==} + engines: {node: '>=10'} cpu: [arm64] os: [darwin] '@swc/core-darwin-x64@1.4.16': - resolution: - { - integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==} + engines: {node: '>=10'} cpu: [x64] os: [darwin] '@swc/core-linux-arm-gnueabihf@1.4.16': - resolution: - { - integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==} + engines: {node: '>=10'} cpu: [arm] os: [linux] '@swc/core-linux-arm64-gnu@1.4.16': - resolution: - { - integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==} + engines: {node: '>=10'} cpu: [arm64] os: [linux] libc: [glibc] '@swc/core-linux-arm64-musl@1.4.16': - resolution: - { - integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==} + engines: {node: '>=10'} cpu: [arm64] os: [linux] libc: [musl] '@swc/core-linux-x64-gnu@1.4.16': - resolution: - { - integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==} + engines: {node: '>=10'} cpu: [x64] os: [linux] libc: [glibc] '@swc/core-linux-x64-musl@1.4.16': - resolution: - { - integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==} + engines: {node: '>=10'} cpu: [x64] os: [linux] libc: [musl] '@swc/core-win32-arm64-msvc@1.4.16': - resolution: - { - integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==} + engines: {node: '>=10'} cpu: [arm64] os: [win32] '@swc/core-win32-ia32-msvc@1.4.16': - resolution: - { - integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==} + engines: {node: '>=10'} cpu: [ia32] os: [win32] '@swc/core-win32-x64-msvc@1.4.16': - resolution: - { - integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==} + engines: {node: '>=10'} cpu: [x64] os: [win32] '@swc/core@1.4.16': - resolution: - { - integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==} + engines: {node: '>=10'} peerDependencies: '@swc/helpers': ^0.5.0 peerDependenciesMeta: @@ -1091,366 +739,204 @@ packages: optional: true '@swc/counter@0.1.3': - resolution: - { - integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==, - } + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} '@swc/jest@0.2.36': - resolution: - { - integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==, - } - engines: { npm: '>= 7.0.0' } + resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} + engines: {npm: '>= 7.0.0'} peerDependencies: '@swc/core': '*' '@swc/types@0.1.6': - resolution: - { - integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==, - } + resolution: {integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==} '@ts-morph/common@0.20.0': - resolution: - { - integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==, - } + resolution: {integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==} '@tsconfig/node10@1.0.8': - resolution: - { - integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==, - } + resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==} '@tsconfig/node12@1.0.9': - resolution: - { - integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==, - } + resolution: {integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==} '@tsconfig/node14@1.0.1': - resolution: - { - integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==, - } + resolution: {integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==} '@tsconfig/node16@1.0.2': - resolution: - { - integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==, - } + resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} '@types/babel__core@7.20.5': - resolution: - { - integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==, - } + resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} '@types/babel__generator@7.6.8': - resolution: - { - integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==, - } + resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} '@types/babel__template@7.4.4': - resolution: - { - integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==, - } + resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} '@types/babel__traverse@7.20.4': - resolution: - { - integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==, - } + resolution: {integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==} '@types/body-parser@1.19.6': - resolution: - { - integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==, - } + resolution: {integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==} '@types/connect@3.4.38': - resolution: - { - integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==, - } + resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} '@types/cookie-parser@1.4.10': - resolution: - { - integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==, - } + resolution: {integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==} peerDependencies: '@types/express': '*' '@types/cors@2.8.19': - resolution: - { - integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==, - } + resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==} '@types/estree@1.0.8': - resolution: - { - integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==, - } + resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} '@types/express-serve-static-core@5.0.7': - resolution: - { - integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==, - } + resolution: {integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==} '@types/express@5.0.3': - resolution: - { - integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==, - } + resolution: {integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==} '@types/graceful-fs@4.1.9': - resolution: - { - integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==, - } + resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} '@types/http-errors@2.0.5': - resolution: - { - integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==, - } + resolution: {integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==} '@types/istanbul-lib-coverage@2.0.6': - resolution: - { - integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==, - } + resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} '@types/istanbul-lib-report@3.0.3': - resolution: - { - integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==, - } + resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} '@types/istanbul-reports@3.0.4': - resolution: - { - integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==, - } + resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} '@types/jest@29.5.11': - resolution: - { - integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==, - } + resolution: {integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==} '@types/json-schema@7.0.15': - resolution: - { - integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==, - } + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} '@types/mime@1.3.5': - resolution: - { - integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==, - } + resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} '@types/mute-stream@0.0.4': - resolution: - { - integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==, - } + resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} '@types/node@20.19.11': - resolution: - { - integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==, - } + resolution: {integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==} '@types/node@22.19.1': - resolution: - { - integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==, - } + resolution: {integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==} '@types/qs@6.14.0': - resolution: - { - integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==, - } + resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==} '@types/range-parser@1.2.7': - resolution: - { - integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==, - } + resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} '@types/send@0.17.5': - resolution: - { - integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==, - } + resolution: {integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==} '@types/serve-static@1.15.8': - resolution: - { - integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==, - } + resolution: {integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==} '@types/stack-utils@2.0.3': - resolution: - { - integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==, - } + resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} '@types/wrap-ansi@3.0.0': - resolution: - { - integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==, - } + resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} '@types/yargs-parser@21.0.3': - resolution: - { - integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==, - } + resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} '@types/yargs@17.0.32': - resolution: - { - integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==, - } + resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} '@typescript-eslint/eslint-plugin@8.31.1': - resolution: - { - integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/parser@8.31.1': - resolution: - { - integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/scope-manager@8.31.1': - resolution: - { - integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/type-utils@8.31.1': - resolution: - { - integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/types@8.31.1': - resolution: - { - integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/typescript-estree@8.31.1': - resolution: - { - integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/utils@8.31.1': - resolution: - { - integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/visitor-keys@8.31.1': - resolution: - { - integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@valtown/deno-http-worker@0.0.21': - resolution: - { - integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==, - } - engines: { node: 20 || 22 || 24 } + resolution: {integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==} + engines: {node: 20 || 22 || 24} accepts@2.0.0: - resolution: - { - integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} + engines: {node: '>= 0.6'} acorn-jsx@5.3.2: - resolution: - { - integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==, - } + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 acorn-walk@8.2.0: - resolution: - { - integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==, - } - engines: { node: '>=0.4.0' } + resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} + engines: {node: '>=0.4.0'} acorn@8.14.0: - resolution: - { - integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==, - } - engines: { node: '>=0.4.0' } + resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} + engines: {node: '>=0.4.0'} hasBin: true acorn@8.15.0: - resolution: - { - integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==, - } - engines: { node: '>=0.4.0' } + resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} + engines: {node: '>=0.4.0'} hasBin: true aggregate-error@3.1.0: - resolution: - { - integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} + engines: {node: '>=8'} ajv-formats@3.0.1: - resolution: - { - integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==, - } + resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} peerDependencies: ajv: ^8.0.0 peerDependenciesMeta: @@ -1458,466 +944,262 @@ packages: optional: true ajv@6.12.6: - resolution: - { - integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==, - } + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} ajv@8.18.0: - resolution: - { - integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==, - } + resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==} ansi-escapes@4.3.2: - resolution: - { - integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} + engines: {node: '>=8'} ansi-escapes@7.0.0: - resolution: - { - integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==} + engines: {node: '>=18'} ansi-regex@5.0.1: - resolution: - { - integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} ansi-regex@6.1.0: - resolution: - { - integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} + engines: {node: '>=12'} ansi-styles@4.3.0: - resolution: - { - integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} ansi-styles@5.2.0: - resolution: - { - integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} any-promise@1.3.0: - resolution: - { - integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==, - } + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} anymatch@3.1.3: - resolution: - { - integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} arg@4.1.3: - resolution: - { - integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==, - } + resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} argparse@1.0.10: - resolution: - { - integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==, - } + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} argparse@2.0.1: - resolution: - { - integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==, - } + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} atomic-sleep@1.0.0: - resolution: - { - integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==, - } - engines: { node: '>=8.0.0' } + resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} + engines: {node: '>=8.0.0'} babel-jest@29.7.0: - resolution: - { - integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.8.0 babel-plugin-istanbul@6.1.1: - resolution: - { - integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} + engines: {node: '>=8'} babel-plugin-jest-hoist@29.6.3: - resolution: - { - integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} babel-preset-current-node-syntax@1.2.0: - resolution: - { - integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==, - } + resolution: {integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==} peerDependencies: '@babel/core': ^7.0.0 || ^8.0.0-0 babel-preset-jest@29.6.3: - resolution: - { - integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.0.0 balanced-match@1.0.2: - resolution: - { - integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==, - } + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} baseline-browser-mapping@2.9.14: - resolution: - { - integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==, - } + resolution: {integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==} hasBin: true body-parser@2.2.2: - resolution: - { - integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==} + engines: {node: '>=18'} brace-expansion@2.0.2: - resolution: - { - integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==, - } + resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} braces@3.0.3: - resolution: - { - integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} browserslist@4.28.1: - resolution: - { - integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==, - } - engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 } + resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true bs-logger@0.2.6: - resolution: - { - integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} + engines: {node: '>= 6'} bser@2.1.1: - resolution: - { - integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==, - } + resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} buffer-from@1.1.2: - resolution: - { - integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==, - } + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} bytes@3.1.2: - resolution: - { - integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} + engines: {node: '>= 0.8'} call-bind-apply-helpers@1.0.2: - resolution: - { - integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} + engines: {node: '>= 0.4'} call-bound@1.0.4: - resolution: - { - integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} + engines: {node: '>= 0.4'} callsites@3.1.0: - resolution: - { - integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} camelcase@5.3.1: - resolution: - { - integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} + engines: {node: '>=6'} camelcase@6.3.0: - resolution: - { - integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} + engines: {node: '>=10'} caniuse-lite@1.0.30001764: - resolution: - { - integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==, - } + resolution: {integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==} chalk@4.1.2: - resolution: - { - integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} chalk@5.3.0: - resolution: - { - integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==, - } - engines: { node: ^12.17.0 || ^14.13 || >=16.0.0 } + resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} char-regex@1.0.2: - resolution: - { - integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} + engines: {node: '>=10'} chardet@0.7.0: - resolution: - { - integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==, - } + resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} ci-info@3.9.0: - resolution: - { - integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} + engines: {node: '>=8'} cjs-module-lexer@1.4.1: - resolution: - { - integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==, - } + resolution: {integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==} clean-stack@2.2.0: - resolution: - { - integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} + engines: {node: '>=6'} cli-highlight@2.1.11: - resolution: - { - integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==, - } - engines: { node: '>=8.0.0', npm: '>=5.0.0' } + resolution: {integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==} + engines: {node: '>=8.0.0', npm: '>=5.0.0'} hasBin: true cli-table3@0.6.5: - resolution: - { - integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==, - } - engines: { node: 10.* || >= 12.* } + resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} + engines: {node: 10.* || >= 12.*} cli-width@4.1.0: - resolution: - { - integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} + engines: {node: '>= 12'} cliui@7.0.4: - resolution: - { - integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==, - } + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} cliui@8.0.1: - resolution: - { - integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} co@4.6.0: - resolution: - { - integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==, - } - engines: { iojs: '>= 1.0.0', node: '>= 0.12.0' } + resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} + engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} code-block-writer@12.0.0: - resolution: - { - integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==, - } + resolution: {integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==} collect-v8-coverage@1.0.2: - resolution: - { - integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==, - } + resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} color-convert@2.0.1: - resolution: - { - integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==, - } - engines: { node: '>=7.0.0' } + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} color-name@1.1.4: - resolution: - { - integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, - } + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} colorette@2.0.20: - resolution: - { - integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==, - } + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} commander@10.0.1: - resolution: - { - integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==, - } - engines: { node: '>=14' } + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} + engines: {node: '>=14'} commander@13.1.0: - resolution: - { - integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} + engines: {node: '>=18'} content-disposition@1.0.0: - resolution: - { - integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==} + engines: {node: '>= 0.6'} content-type@1.0.5: - resolution: - { - integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} + engines: {node: '>= 0.6'} convert-source-map@2.0.0: - resolution: - { - integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==, - } + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} cookie-parser@1.4.7: - resolution: - { - integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==} + engines: {node: '>= 0.8.0'} cookie-signature@1.0.6: - resolution: - { - integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==, - } + resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} cookie-signature@1.2.2: - resolution: - { - integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==, - } - engines: { node: '>=6.6.0' } + resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==} + engines: {node: '>=6.6.0'} cookie@0.7.2: - resolution: - { - integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} + engines: {node: '>= 0.6'} cors@2.8.5: - resolution: - { - integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==, - } - engines: { node: '>= 0.10' } + resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} + engines: {node: '>= 0.10'} create-jest@29.7.0: - resolution: - { - integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true create-require@1.1.1: - resolution: - { - integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==, - } + resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} cross-spawn@7.0.6: - resolution: - { - integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} dateformat@4.6.3: - resolution: - { - integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==, - } + resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==} debug@4.4.1: - resolution: - { - integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==, - } - engines: { node: '>=6.0' } + resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} + engines: {node: '>=6.0'} peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1925,11 +1207,8 @@ packages: optional: true debug@4.4.3: - resolution: - { - integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==, - } - engines: { node: '>=6.0' } + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1937,10 +1216,7 @@ packages: optional: true dedent@1.5.1: - resolution: - { - integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==, - } + resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==} peerDependencies: babel-plugin-macros: ^3.1.0 peerDependenciesMeta: @@ -1948,171 +1224,96 @@ packages: optional: true deep-is@0.1.4: - resolution: - { - integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==, - } + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} deepmerge@4.3.1: - resolution: - { - integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} depd@2.0.0: - resolution: - { - integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} + engines: {node: '>= 0.8'} detect-newline@3.1.0: - resolution: - { - integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} + engines: {node: '>=8'} diff-sequences@29.6.3: - resolution: - { - integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} diff@4.0.2: - resolution: - { - integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==, - } - engines: { node: '>=0.3.1' } + resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} + engines: {node: '>=0.3.1'} dunder-proto@1.0.1: - resolution: - { - integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} + engines: {node: '>= 0.4'} ee-first@1.1.1: - resolution: - { - integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==, - } + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} electron-to-chromium@1.5.267: - resolution: - { - integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==, - } + resolution: {integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==} emittery@0.13.1: - resolution: - { - integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} + engines: {node: '>=12'} emoji-regex@8.0.0: - resolution: - { - integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==, - } + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} emojilib@2.4.0: - resolution: - { - integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==, - } + resolution: {integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==} encodeurl@2.0.0: - resolution: - { - integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} + engines: {node: '>= 0.8'} end-of-stream@1.4.5: - resolution: - { - integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==, - } + resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} environment@1.1.0: - resolution: - { - integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} + engines: {node: '>=18'} error-ex@1.3.2: - resolution: - { - integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==, - } + resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} es-define-property@1.0.1: - resolution: - { - integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} es-errors@1.3.0: - resolution: - { - integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} es-object-atoms@1.1.1: - resolution: - { - integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} + engines: {node: '>= 0.4'} escalade@3.1.1: - resolution: - { - integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + engines: {node: '>=6'} escalade@3.2.0: - resolution: - { - integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} escape-html@1.0.3: - resolution: - { - integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, - } + resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} escape-string-regexp@2.0.0: - resolution: - { - integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} + engines: {node: '>=8'} escape-string-regexp@4.0.0: - resolution: - { - integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} eslint-plugin-prettier@5.4.1: - resolution: - { - integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==, - } - engines: { node: ^14.18.0 || >=16.0.0 } + resolution: {integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==} + engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: '@types/eslint': '>=8.0.0' eslint: '>=8.0.0' @@ -2125,10 +1326,7 @@ packages: optional: true eslint-plugin-unused-imports@4.1.4: - resolution: - { - integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==, - } + resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} peerDependencies: '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0 eslint: ^9.0.0 || ^8.0.0 @@ -2137,39 +1335,24 @@ packages: optional: true eslint-scope@8.4.0: - resolution: - { - integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint-visitor-keys@3.4.3: - resolution: - { - integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==, - } - engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} eslint-visitor-keys@4.2.0: - resolution: - { - integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint-visitor-keys@4.2.1: - resolution: - { - integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint@9.39.1: - resolution: - { - integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: jiti: '*' @@ -2178,695 +1361,392 @@ packages: optional: true espree@10.4.0: - resolution: - { - integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} esprima@4.0.1: - resolution: - { - integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} hasBin: true esquery@1.6.0: - resolution: - { - integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==, - } - engines: { node: '>=0.10' } + resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} + engines: {node: '>=0.10'} esrecurse@4.3.0: - resolution: - { - integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==, - } - engines: { node: '>=4.0' } + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} estraverse@5.3.0: - resolution: - { - integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==, - } - engines: { node: '>=4.0' } + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} esutils@2.0.3: - resolution: - { - integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} etag@1.8.1: - resolution: - { - integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} + engines: {node: '>= 0.6'} eventsource-parser@3.0.6: - resolution: - { - integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==, - } - engines: { node: '>=18.0.0' } + resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==} + engines: {node: '>=18.0.0'} eventsource@3.0.7: - resolution: - { - integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==, - } - engines: { node: '>=18.0.0' } + resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==} + engines: {node: '>=18.0.0'} execa@5.1.1: - resolution: - { - integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} exit@0.1.2: - resolution: - { - integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} + engines: {node: '>= 0.8.0'} expect@29.7.0: - resolution: - { - integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} express-rate-limit@8.3.1: - resolution: - { - integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==, - } - engines: { node: '>= 16' } + resolution: {integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==} + engines: {node: '>= 16'} peerDependencies: express: '>= 4.11' express@5.2.1: - resolution: - { - integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==, - } - engines: { node: '>= 18' } + resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==} + engines: {node: '>= 18'} external-editor@3.1.0: - resolution: - { - integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} + engines: {node: '>=4'} fast-copy@4.0.2: - resolution: - { - integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==, - } + resolution: {integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==} fast-deep-equal@3.1.3: - resolution: - { - integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==, - } + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} fast-diff@1.3.0: - resolution: - { - integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==, - } + resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} fast-glob@3.3.2: - resolution: - { - integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==, - } - engines: { node: '>=8.6.0' } + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + engines: {node: '>=8.6.0'} fast-json-stable-stringify@2.1.0: - resolution: - { - integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==, - } + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} fast-levenshtein@2.0.6: - resolution: - { - integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==, - } + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} fast-safe-stringify@2.1.1: - resolution: - { - integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==, - } + resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} fast-uri@3.1.0: - resolution: - { - integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==, - } + resolution: {integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==} fastq@1.17.1: - resolution: - { - integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==, - } + resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} fb-watchman@2.0.2: - resolution: - { - integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==, - } + resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} fflate@0.8.2: - resolution: - { - integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==, - } + resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} file-entry-cache@8.0.0: - resolution: - { - integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==, - } - engines: { node: '>=16.0.0' } + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} fill-range@7.1.1: - resolution: - { - integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} finalhandler@2.1.0: - resolution: - { - integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==} + engines: {node: '>= 0.8'} find-up@4.1.0: - resolution: - { - integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} find-up@5.0.0: - resolution: - { - integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} flat-cache@4.0.1: - resolution: - { - integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==, - } - engines: { node: '>=16' } + resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} + engines: {node: '>=16'} flatted@3.3.3: - resolution: - { - integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==, - } + resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} flora-colossus@2.0.0: - resolution: - { - integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==} + engines: {node: '>= 12'} forwarded@0.2.0: - resolution: - { - integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} + engines: {node: '>= 0.6'} fresh@2.0.0: - resolution: - { - integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==} + engines: {node: '>= 0.8'} fs-extra@10.1.0: - resolution: - { - integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} + engines: {node: '>=12'} fs.realpath@1.0.0: - resolution: - { - integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==, - } + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} fsevents@2.3.3: - resolution: - { - integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==, - } - engines: { node: ^8.16.0 || ^10.6.0 || >=11.0.0 } + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] function-bind@1.1.2: - resolution: - { - integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==, - } + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} fuse.js@7.1.0: - resolution: - { - integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==} + engines: {node: '>=10'} galactus@1.0.0: - resolution: - { - integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==} + engines: {node: '>= 12'} gensync@1.0.0-beta.2: - resolution: - { - integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} get-caller-file@2.0.5: - resolution: - { - integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, - } - engines: { node: 6.* || 8.* || >= 10.* } + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} get-intrinsic@1.3.0: - resolution: - { - integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} + engines: {node: '>= 0.4'} get-package-type@0.1.0: - resolution: - { - integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==, - } - engines: { node: '>=8.0.0' } + resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} + engines: {node: '>=8.0.0'} get-proto@1.0.1: - resolution: - { - integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} get-stdin@8.0.0: - resolution: - { - integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} + engines: {node: '>=10'} get-stream@6.0.1: - resolution: - { - integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} glob-parent@5.1.2: - resolution: - { - integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} glob-parent@6.0.2: - resolution: - { - integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==, - } - engines: { node: '>=10.13.0' } + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} glob@7.2.3: - resolution: - { - integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==, - } + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} deprecated: Glob versions prior to v9 are no longer supported glob@8.1.0: - resolution: - { - integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} + engines: {node: '>=12'} deprecated: Glob versions prior to v9 are no longer supported globals@14.0.0: - resolution: - { - integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} gopd@1.2.0: - resolution: - { - integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} graceful-fs@4.2.11: - resolution: - { - integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==, - } + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} graphemer@1.4.0: - resolution: - { - integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==, - } + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} handlebars@4.7.8: - resolution: - { - integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==, - } - engines: { node: '>=0.4.7' } + resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} + engines: {node: '>=0.4.7'} hasBin: true has-flag@4.0.0: - resolution: - { - integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} has-symbols@1.1.0: - resolution: - { - integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} + engines: {node: '>= 0.4'} hasown@2.0.0: - resolution: - { - integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} + engines: {node: '>= 0.4'} hasown@2.0.2: - resolution: - { - integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} help-me@5.0.0: - resolution: - { - integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==, - } + resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==} highlight.js@10.7.3: - resolution: - { - integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==, - } - - hono@4.12.6: - resolution: - { - integrity: sha512-KljEp+MeEEEIOT75qBo1UjqqB29fRMtlDEwCxcexOzdkUq6LR/vRvHk5pdROcxyOYyW1niq7Gb5pFVGy5R1eBw==, - } - engines: { node: '>=16.9.0' } + resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} + + hono@4.12.5: + resolution: {integrity: sha512-3qq+FUBtlTHhtYxbxheZgY8NIFnkkC/MR8u5TTsr7YZ3wixryQ3cCwn3iZbg8p8B88iDBBAYSfZDS75t8MN7Vg==} + engines: {node: '>=16.9.0'} html-escaper@2.0.2: - resolution: - { - integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==, - } + resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} http-errors@2.0.0: - resolution: - { - integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} + engines: {node: '>= 0.8'} human-signals@2.1.0: - resolution: - { - integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==, - } - engines: { node: '>=10.17.0' } + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} iconv-lite@0.4.24: - resolution: - { - integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} iconv-lite@0.6.3: - resolution: - { - integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} iconv-lite@0.7.0: - resolution: - { - integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==} + engines: {node: '>=0.10.0'} ignore-walk@5.0.1: - resolution: - { - integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} ignore@5.3.2: - resolution: - { - integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==, - } - engines: { node: '>= 4' } + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} ignore@7.0.5: - resolution: - { - integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==, - } - engines: { node: '>= 4' } + resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==} + engines: {node: '>= 4'} import-fresh@3.3.1: - resolution: - { - integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} + engines: {node: '>=6'} import-local@3.1.0: - resolution: - { - integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} + engines: {node: '>=8'} hasBin: true imurmurhash@0.1.4: - resolution: - { - integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==, - } - engines: { node: '>=0.8.19' } + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} indent-string@4.0.0: - resolution: - { - integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} inflight@1.0.6: - resolution: - { - integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==, - } + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: - resolution: - { - integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==, - } + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} ip-address@10.1.0: - resolution: - { - integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==} + engines: {node: '>= 12'} ipaddr.js@1.9.1: - resolution: - { - integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==, - } - engines: { node: '>= 0.10' } + resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} + engines: {node: '>= 0.10'} is-arrayish@0.2.1: - resolution: - { - integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==, - } + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} is-core-module@2.13.1: - resolution: - { - integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==, - } + resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} is-extglob@2.1.1: - resolution: - { - integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} is-fullwidth-code-point@3.0.0: - resolution: - { - integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} is-generator-fn@2.1.0: - resolution: - { - integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} + engines: {node: '>=6'} is-glob@4.0.3: - resolution: - { - integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} is-number@7.0.0: - resolution: - { - integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==, - } - engines: { node: '>=0.12.0' } + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} is-promise@4.0.0: - resolution: - { - integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==, - } + resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==} is-stream@2.0.1: - resolution: - { - integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} isexe@2.0.0: - resolution: - { - integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==, - } + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} istanbul-lib-coverage@3.2.2: - resolution: - { - integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} + engines: {node: '>=8'} istanbul-lib-instrument@5.2.1: - resolution: - { - integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} + engines: {node: '>=8'} istanbul-lib-instrument@6.0.3: - resolution: - { - integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==} + engines: {node: '>=10'} istanbul-lib-report@3.0.1: - resolution: - { - integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} + engines: {node: '>=10'} istanbul-lib-source-maps@4.0.1: - resolution: - { - integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} + engines: {node: '>=10'} istanbul-reports@3.1.6: - resolution: - { - integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==} + engines: {node: '>=8'} jest-changed-files@29.7.0: - resolution: - { - integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-circus@29.7.0: - resolution: - { - integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-cli@29.7.0: - resolution: - { - integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -2875,11 +1755,8 @@ packages: optional: true jest-config@29.7.0: - resolution: - { - integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@types/node': '*' ts-node: '>=9.0.0' @@ -2890,81 +1767,48 @@ packages: optional: true jest-diff@29.7.0: - resolution: - { - integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-docblock@29.7.0: - resolution: - { - integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-each@29.7.0: - resolution: - { - integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-environment-node@29.7.0: - resolution: - { - integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-get-type@29.6.3: - resolution: - { - integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-haste-map@29.7.0: - resolution: - { - integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-leak-detector@29.7.0: - resolution: - { - integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-matcher-utils@29.7.0: - resolution: - { - integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-message-util@29.7.0: - resolution: - { - integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-mock@29.7.0: - resolution: - { - integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-pnp-resolver@1.2.3: - resolution: - { - integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} + engines: {node: '>=6'} peerDependencies: jest-resolve: '*' peerDependenciesMeta: @@ -2972,81 +1816,48 @@ packages: optional: true jest-regex-util@29.6.3: - resolution: - { - integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-resolve-dependencies@29.7.0: - resolution: - { - integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-resolve@29.7.0: - resolution: - { - integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-runner@29.7.0: - resolution: - { - integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-runtime@29.7.0: - resolution: - { - integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-snapshot@29.7.0: - resolution: - { - integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-util@29.7.0: - resolution: - { - integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-validate@29.7.0: - resolution: - { - integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-watcher@29.7.0: - resolution: - { - integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-worker@29.7.0: - resolution: - { - integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest@29.7.0: - resolution: - { - integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -3055,1238 +1866,692 @@ packages: optional: true jose@6.1.3: - resolution: - { - integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==, - } + resolution: {integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==} joycon@3.1.1: - resolution: - { - integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} jq-web@https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz: - resolution: { tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz } + resolution: {integrity: sha512-6nmDSHGJm8Cclf2oSuO9xQ7vt5x5bDiuTKX2rkyW1K7Uo2SHeI4ZvpgMITKy+8p3bbEnKovTPGoHhApa6v/PbA==, tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz} version: 0.8.8 js-tokens@4.0.0: - resolution: - { - integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==, - } + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} js-yaml@3.14.2: - resolution: - { - integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==, - } + resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} hasBin: true js-yaml@4.1.1: - resolution: - { - integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==, - } + resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==} hasBin: true jsesc@3.1.0: - resolution: - { - integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} hasBin: true json-buffer@3.0.1: - resolution: - { - integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==, - } + resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} json-parse-even-better-errors@2.3.1: - resolution: - { - integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==, - } + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} json-schema-traverse@0.4.1: - resolution: - { - integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==, - } + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} json-schema-traverse@1.0.0: - resolution: - { - integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==, - } + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} json-schema-typed@8.0.2: - resolution: - { - integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==, - } + resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==} json-stable-stringify-without-jsonify@1.0.1: - resolution: - { - integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==, - } + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} json5@2.2.3: - resolution: - { - integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} hasBin: true jsonc-parser@3.2.1: - resolution: - { - integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==, - } + resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==} jsonfile@6.2.0: - resolution: - { - integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==, - } + resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==} keyv@4.5.4: - resolution: - { - integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==, - } + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} kleur@3.0.3: - resolution: - { - integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} + engines: {node: '>=6'} leven@3.1.0: - resolution: - { - integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} + engines: {node: '>=6'} levn@0.4.1: - resolution: - { - integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} + engines: {node: '>= 0.8.0'} lines-and-columns@1.2.4: - resolution: - { - integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==, - } + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} locate-path@5.0.0: - resolution: - { - integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} locate-path@6.0.0: - resolution: - { - integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} lodash.memoize@4.1.2: - resolution: - { - integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==, - } + resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} lodash.merge@4.6.2: - resolution: - { - integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==, - } + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} lru-cache@10.4.3: - resolution: - { - integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==, - } + resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} lru-cache@5.1.1: - resolution: - { - integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==, - } + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} make-dir@4.0.0: - resolution: - { - integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} + engines: {node: '>=10'} make-error@1.3.6: - resolution: - { - integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==, - } + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} makeerror@1.0.12: - resolution: - { - integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==, - } + resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} marked-terminal@7.2.1: - resolution: - { - integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==, - } - engines: { node: '>=16.0.0' } + resolution: {integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==} + engines: {node: '>=16.0.0'} peerDependencies: marked: '>=1 <15' marked@9.1.6: - resolution: - { - integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==, - } - engines: { node: '>= 16' } + resolution: {integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==} + engines: {node: '>= 16'} hasBin: true math-intrinsics@1.1.0: - resolution: - { - integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} + engines: {node: '>= 0.4'} media-typer@1.1.0: - resolution: - { - integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==} + engines: {node: '>= 0.8'} merge-descriptors@2.0.0: - resolution: - { - integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==} + engines: {node: '>=18'} merge-stream@2.0.0: - resolution: - { - integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==, - } + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} merge2@1.4.1: - resolution: - { - integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} micromatch@4.0.8: - resolution: - { - integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==, - } - engines: { node: '>=8.6' } + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} mime-db@1.54.0: - resolution: - { - integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} + engines: {node: '>= 0.6'} mime-types@3.0.1: - resolution: - { - integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==} + engines: {node: '>= 0.6'} mimic-fn@2.1.0: - resolution: - { - integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} minimatch@9.0.5: - resolution: - { - integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==, - } - engines: { node: '>=16 || 14 >=14.17' } + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} minimist@1.2.6: - resolution: - { - integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==, - } + resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} mkdirp@2.1.6: - resolution: - { - integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==} + engines: {node: '>=10'} hasBin: true mri@1.2.0: - resolution: - { - integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} + engines: {node: '>=4'} ms@2.1.3: - resolution: - { - integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, - } + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} mute-stream@1.0.0: - resolution: - { - integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==, - } - engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } + resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} mz@2.7.0: - resolution: - { - integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==, - } + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} natural-compare@1.4.0: - resolution: - { - integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==, - } + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} negotiator@1.0.0: - resolution: - { - integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} + engines: {node: '>= 0.6'} neo-async@2.6.2: - resolution: - { - integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==, - } + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} node-emoji@2.1.3: - resolution: - { - integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} + engines: {node: '>=18'} node-forge@1.3.2: - resolution: - { - integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==, - } - engines: { node: '>= 6.13.0' } + resolution: {integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==} + engines: {node: '>= 6.13.0'} node-int64@0.4.0: - resolution: - { - integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==, - } + resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} node-releases@2.0.27: - resolution: - { - integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==, - } + resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==} normalize-path@3.0.0: - resolution: - { - integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} npm-bundled@2.0.1: - resolution: - { - integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} npm-normalize-package-bin@2.0.0: - resolution: - { - integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} npm-packlist@5.1.3: - resolution: - { - integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} hasBin: true npm-run-path@4.0.1: - resolution: - { - integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} object-assign@4.1.1: - resolution: - { - integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} object-inspect@1.13.4: - resolution: - { - integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} + engines: {node: '>= 0.4'} on-exit-leak-free@2.1.2: - resolution: - { - integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==, - } - engines: { node: '>=14.0.0' } + resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} + engines: {node: '>=14.0.0'} on-finished@2.4.1: - resolution: - { - integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} + engines: {node: '>= 0.8'} once@1.4.0: - resolution: - { - integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==, - } + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} onetime@5.1.2: - resolution: - { - integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} optionator@0.9.4: - resolution: - { - integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} + engines: {node: '>= 0.8.0'} os-tmpdir@1.0.2: - resolution: - { - integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} + engines: {node: '>=0.10.0'} p-all@3.0.0: - resolution: - { - integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==} + engines: {node: '>=10'} p-limit@2.3.0: - resolution: - { - integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} p-limit@3.1.0: - resolution: - { - integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} p-locate@4.1.0: - resolution: - { - integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} p-locate@5.0.0: - resolution: - { - integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} p-map@4.0.0: - resolution: - { - integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} + engines: {node: '>=10'} p-try@2.2.0: - resolution: - { - integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} parent-module@1.0.1: - resolution: - { - integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} parse-json@5.2.0: - resolution: - { - integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} parse5-htmlparser2-tree-adapter@6.0.1: - resolution: - { - integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==, - } + resolution: {integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==} parse5@5.1.1: - resolution: - { - integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==, - } + resolution: {integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==} parse5@6.0.1: - resolution: - { - integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==, - } + resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} parseurl@1.3.3: - resolution: - { - integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} + engines: {node: '>= 0.8'} path-browserify@1.0.1: - resolution: - { - integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==, - } + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} path-exists@4.0.0: - resolution: - { - integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} path-is-absolute@1.0.1: - resolution: - { - integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} path-key@3.1.1: - resolution: - { - integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} path-parse@1.0.7: - resolution: - { - integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==, - } + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} path-to-regexp@8.3.0: - resolution: - { - integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==, - } + resolution: {integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==} picocolors@1.1.1: - resolution: - { - integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==, - } + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} picomatch@2.3.1: - resolution: - { - integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==, - } - engines: { node: '>=8.6' } + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} pino-abstract-transport@3.0.0: - resolution: - { - integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==, - } + resolution: {integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==} pino-http@11.0.0: - resolution: - { - integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==, - } + resolution: {integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==} pino-pretty@13.1.3: - resolution: - { - integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==, - } + resolution: {integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==} hasBin: true pino-std-serializers@7.1.0: - resolution: - { - integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==, - } + resolution: {integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==} pino@10.3.1: - resolution: - { - integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==, - } + resolution: {integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==} hasBin: true pirates@4.0.6: - resolution: - { - integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} + engines: {node: '>= 6'} pkce-challenge@5.0.0: - resolution: - { - integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==, - } - engines: { node: '>=16.20.0' } + resolution: {integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==} + engines: {node: '>=16.20.0'} pkg-dir@4.2.0: - resolution: - { - integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} + engines: {node: '>=8'} prelude-ls@1.2.1: - resolution: - { - integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} + engines: {node: '>= 0.8.0'} prettier-linter-helpers@1.0.0: - resolution: - { - integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==, - } - engines: { node: '>=6.0.0' } + resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} + engines: {node: '>=6.0.0'} prettier@3.1.1: - resolution: - { - integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==, - } - engines: { node: '>=14' } + resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} + engines: {node: '>=14'} hasBin: true pretty-bytes@5.6.0: - resolution: - { - integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} + engines: {node: '>=6'} pretty-format@29.7.0: - resolution: - { - integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} process-warning@5.0.0: - resolution: - { - integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==, - } + resolution: {integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==} prompts@2.4.2: - resolution: - { - integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} + engines: {node: '>= 6'} proxy-addr@2.0.7: - resolution: - { - integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==, - } - engines: { node: '>= 0.10' } + resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} + engines: {node: '>= 0.10'} publint@0.2.12: - resolution: - { - integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==, - } - engines: { node: '>=16' } + resolution: {integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==} + engines: {node: '>=16'} hasBin: true pump@3.0.4: - resolution: - { - integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==, - } + resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} punycode@2.3.1: - resolution: - { - integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} pure-rand@6.0.4: - resolution: - { - integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==, - } + resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==} qs@6.14.1: - resolution: - { - integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==, - } - engines: { node: '>=0.6' } + resolution: {integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==} + engines: {node: '>=0.6'} queue-microtask@1.2.3: - resolution: - { - integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==, - } + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} quick-format-unescaped@4.0.4: - resolution: - { - integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==, - } + resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} range-parser@1.2.1: - resolution: - { - integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} + engines: {node: '>= 0.6'} raw-body@3.0.1: - resolution: - { - integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==, - } - engines: { node: '>= 0.10' } + resolution: {integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==} + engines: {node: '>= 0.10'} react-is@18.2.0: - resolution: - { - integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==, - } + resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} readable-stream@3.6.2: - resolution: - { - integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} + engines: {node: '>= 6'} real-require@0.2.0: - resolution: - { - integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==, - } - engines: { node: '>= 12.13.0' } + resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} + engines: {node: '>= 12.13.0'} require-directory@2.1.1: - resolution: - { - integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} require-from-string@2.0.2: - resolution: - { - integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} resolve-cwd@3.0.0: - resolution: - { - integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} + engines: {node: '>=8'} resolve-from@4.0.0: - resolution: - { - integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} resolve-from@5.0.0: - resolution: - { - integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} + engines: {node: '>=8'} resolve.exports@2.0.2: - resolution: - { - integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} + engines: {node: '>=10'} resolve@1.22.8: - resolution: - { - integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==, - } + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true reusify@1.0.4: - resolution: - { - integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==, - } - engines: { iojs: '>=1.0.0', node: '>=0.10.0' } + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} router@2.2.0: - resolution: - { - integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==, - } - engines: { node: '>= 18' } + resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==} + engines: {node: '>= 18'} run-parallel@1.2.0: - resolution: - { - integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==, - } + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} sade@1.8.1: - resolution: - { - integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} + engines: {node: '>=6'} safe-buffer@5.2.1: - resolution: - { - integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==, - } + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} safe-stable-stringify@2.5.0: - resolution: - { - integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==} + engines: {node: '>=10'} safer-buffer@2.1.2: - resolution: - { - integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==, - } + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} secure-json-parse@4.1.0: - resolution: - { - integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==, - } + resolution: {integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==} semver@6.3.1: - resolution: - { - integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==, - } + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true semver@7.7.1: - resolution: - { - integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} + engines: {node: '>=10'} hasBin: true semver@7.7.3: - resolution: - { - integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} + engines: {node: '>=10'} hasBin: true send@1.2.0: - resolution: - { - integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==, - } - engines: { node: '>= 18' } + resolution: {integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==} + engines: {node: '>= 18'} serve-static@2.2.0: - resolution: - { - integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==, - } - engines: { node: '>= 18' } + resolution: {integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==} + engines: {node: '>= 18'} setprototypeof@1.2.0: - resolution: - { - integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==, - } + resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} shebang-command@2.0.0: - resolution: - { - integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} shebang-regex@3.0.0: - resolution: - { - integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} side-channel-list@1.0.0: - resolution: - { - integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==} + engines: {node: '>= 0.4'} side-channel-map@1.0.1: - resolution: - { - integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} + engines: {node: '>= 0.4'} side-channel-weakmap@1.0.2: - resolution: - { - integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} + engines: {node: '>= 0.4'} side-channel@1.1.0: - resolution: - { - integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==} + engines: {node: '>= 0.4'} signal-exit@3.0.7: - resolution: - { - integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==, - } + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} signal-exit@4.1.0: - resolution: - { - integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==, - } - engines: { node: '>=14' } + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} sisteransi@1.0.5: - resolution: - { - integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==, - } + resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} skin-tone@2.0.0: - resolution: - { - integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} + engines: {node: '>=8'} slash@3.0.0: - resolution: - { - integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} sonic-boom@4.2.1: - resolution: - { - integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==, - } + resolution: {integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==} source-map-support@0.5.13: - resolution: - { - integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==, - } + resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} source-map@0.6.1: - resolution: - { - integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} split2@4.2.0: - resolution: - { - integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==, - } - engines: { node: '>= 10.x' } + resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} + engines: {node: '>= 10.x'} sprintf-js@1.0.3: - resolution: - { - integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==, - } + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} stack-utils@2.0.6: - resolution: - { - integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} + engines: {node: '>=10'} statuses@2.0.1: - resolution: - { - integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} + engines: {node: '>= 0.8'} statuses@2.0.2: - resolution: - { - integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} + engines: {node: '>= 0.8'} string-length@4.0.2: - resolution: - { - integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} + engines: {node: '>=10'} string-to-stream@3.0.1: - resolution: - { - integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==, - } + resolution: {integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==} string-width@4.2.3: - resolution: - { - integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} string_decoder@1.3.0: - resolution: - { - integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==, - } + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} strip-ansi@6.0.1: - resolution: - { - integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} strip-bom@3.0.0: - resolution: - { - integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} strip-bom@4.0.0: - resolution: - { - integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} + engines: {node: '>=8'} strip-final-newline@2.0.0: - resolution: - { - integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} strip-json-comments@3.1.1: - resolution: - { - integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} strip-json-comments@5.0.3: - resolution: - { - integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==, - } - engines: { node: '>=14.16' } + resolution: {integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==} + engines: {node: '>=14.16'} superstruct@1.0.4: - resolution: - { - integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==, - } - engines: { node: '>=14.0.0' } + resolution: {integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==} + engines: {node: '>=14.0.0'} supports-color@7.2.0: - resolution: - { - integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} supports-color@8.1.1: - resolution: - { - integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} supports-hyperlinks@3.1.0: - resolution: - { - integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==, - } - engines: { node: '>=14.18' } + resolution: {integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==} + engines: {node: '>=14.18'} supports-preserve-symlinks-flag@1.0.0: - resolution: - { - integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} synckit@0.11.8: - resolution: - { - integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==, - } - engines: { node: ^14.18.0 || >=16.0.0 } + resolution: {integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==} + engines: {node: ^14.18.0 || >=16.0.0} test-exclude@6.0.0: - resolution: - { - integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} + engines: {node: '>=8'} thenify-all@1.6.0: - resolution: - { - integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==, - } - engines: { node: '>=0.8' } + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} thenify@3.3.1: - resolution: - { - integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==, - } + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} thread-stream@4.0.0: - resolution: - { - integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==, - } - engines: { node: '>=20' } + resolution: {integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==} + engines: {node: '>=20'} tmp@0.0.33: - resolution: - { - integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==, - } - engines: { node: '>=0.6.0' } + resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} + engines: {node: '>=0.6.0'} tmpl@1.0.5: - resolution: - { - integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==, - } + resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} to-regex-range@5.0.1: - resolution: - { - integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==, - } - engines: { node: '>=8.0' } + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} toidentifier@1.0.1: - resolution: - { - integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==, - } - engines: { node: '>=0.6' } + resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} + engines: {node: '>=0.6'} ts-api-utils@2.0.1: - resolution: - { - integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==, - } - engines: { node: '>=18.12' } + resolution: {integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==} + engines: {node: '>=18.12'} peerDependencies: typescript: '>=4.8.4' ts-jest@29.4.6: - resolution: - { - integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0 } + resolution: {integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==} + engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@babel/core': '>=7.0.0-beta.0 <8' @@ -4312,16 +2577,10 @@ packages: optional: true ts-morph@19.0.0: - resolution: - { - integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==, - } + resolution: {integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==} ts-node@10.7.0: - resolution: - { - integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==, - } + resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} hasBin: true peerDependencies: '@swc/core': '>=1.2.50' @@ -4335,326 +2594,195 @@ packages: optional: true tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz: - resolution: { tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz } + resolution: {integrity: sha512-tWyCXnx0WqCkVlo5s+4KMj7HC0/0YrCZY0PustUwX9F2lNwd8Kp07q/Q56uGvV9q80XaSDrhy0YqBmrX5TDNpQ==, tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz} version: 1.1.9 - engines: { node: '>=14' } + engines: {node: '>=14'} hasBin: true peerDependencies: typescript: '>=4.3.0' tsconfig-paths@4.2.0: - resolution: - { - integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==} + engines: {node: '>=6'} tslib@2.8.1: - resolution: - { - integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==, - } + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} type-check@0.4.0: - resolution: - { - integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} + engines: {node: '>= 0.8.0'} type-detect@4.0.8: - resolution: - { - integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} + engines: {node: '>=4'} type-fest@0.21.3: - resolution: - { - integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} + engines: {node: '>=10'} type-fest@4.41.0: - resolution: - { - integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==, - } - engines: { node: '>=16' } + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} + engines: {node: '>=16'} type-is@2.0.1: - resolution: - { - integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==} + engines: {node: '>= 0.6'} typescript-eslint@8.31.1: - resolution: - { - integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' typescript@5.6.1-rc: - resolution: - { - integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==, - } - engines: { node: '>=14.17' } + resolution: {integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==} + engines: {node: '>=14.17'} hasBin: true typescript@5.8.3: - resolution: - { - integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==, - } - engines: { node: '>=14.17' } + resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} + engines: {node: '>=14.17'} hasBin: true uglify-js@3.19.3: - resolution: - { - integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==, - } - engines: { node: '>=0.8.0' } + resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} + engines: {node: '>=0.8.0'} hasBin: true undici-types@6.21.0: - resolution: - { - integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==, - } + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} unicode-emoji-modifier-base@1.0.0: - resolution: - { - integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} + engines: {node: '>=4'} universalify@2.0.1: - resolution: - { - integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==, - } - engines: { node: '>= 10.0.0' } + resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} + engines: {node: '>= 10.0.0'} unpipe@1.0.0: - resolution: - { - integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} + engines: {node: '>= 0.8'} update-browserslist-db@1.2.3: - resolution: - { - integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==, - } + resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' uri-js@4.4.1: - resolution: - { - integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==, - } + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} util-deprecate@1.0.2: - resolution: - { - integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==, - } + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} v8-compile-cache-lib@3.0.0: - resolution: - { - integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==, - } + resolution: {integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==} v8-to-istanbul@9.2.0: - resolution: - { - integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==, - } - engines: { node: '>=10.12.0' } + resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} + engines: {node: '>=10.12.0'} validate-npm-package-name@5.0.1: - resolution: - { - integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==, - } - engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } + resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} vary@1.1.2: - resolution: - { - integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} + engines: {node: '>= 0.8'} walker@1.0.8: - resolution: - { - integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==, - } + resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} which@2.0.2: - resolution: - { - integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} hasBin: true word-wrap@1.2.5: - resolution: - { - integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} wordwrap@1.0.0: - resolution: - { - integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==, - } + resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} wrap-ansi@6.2.0: - resolution: - { - integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} + engines: {node: '>=8'} wrap-ansi@7.0.0: - resolution: - { - integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} wrappy@1.0.2: - resolution: - { - integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==, - } + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} write-file-atomic@4.0.2: - resolution: - { - integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} y18n@5.0.8: - resolution: - { - integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} yallist@3.1.1: - resolution: - { - integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==, - } + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} yargs-parser@20.2.9: - resolution: - { - integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} yargs-parser@21.1.1: - resolution: - { - integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} yargs@16.2.0: - resolution: - { - integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} yargs@17.7.2: - resolution: - { - integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} yn@3.1.1: - resolution: - { - integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} + engines: {node: '>=6'} yocto-queue@0.1.0: - resolution: - { - integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} yoctocolors-cjs@2.1.3: - resolution: - { - integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==} + engines: {node: '>=18'} zod-to-json-schema@3.24.6: - resolution: - { - integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==, - } + resolution: {integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==} peerDependencies: zod: ^3.24.1 zod-to-json-schema@3.25.0: - resolution: - { - integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==, - } + resolution: {integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==} peerDependencies: zod: ^3.25 || ^4 zod-to-json-schema@3.25.1: - resolution: - { - integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==, - } + resolution: {integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==} peerDependencies: zod: ^3.25 || ^4 zod-validation-error@4.0.1: - resolution: - { - integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==, - } - engines: { node: '>=18.0.0' } + resolution: {integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==} + engines: {node: '>=18.0.0'} peerDependencies: zod: ^3.25.0 || ^4.0.0 zod@3.25.76: - resolution: - { - integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==, - } + resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} snapshots: + '@andrewbranch/untar.js@1.0.3': {} '@anthropic-ai/mcpb@2.1.2': @@ -4944,9 +3072,9 @@ snapshots: '@eslint/core': 0.17.0 levn: 0.4.1 - '@hono/node-server@1.19.11(hono@4.12.6)': + '@hono/node-server@1.19.11(hono@4.12.5)': dependencies: - hono: 4.12.6 + hono: 4.12.5 '@humanfs/core@0.19.1': {} @@ -5294,7 +3422,7 @@ snapshots: '@modelcontextprotocol/sdk@1.27.1(zod@3.25.76)': dependencies: - '@hono/node-server': 1.19.11(hono@4.12.6) + '@hono/node-server': 1.19.11(hono@4.12.5) ajv: 8.18.0 ajv-formats: 3.0.1(ajv@8.18.0) content-type: 1.0.5 @@ -5304,7 +3432,7 @@ snapshots: eventsource-parser: 3.0.6 express: 5.2.1 express-rate-limit: 8.3.1(express@5.2.1) - hono: 4.12.6 + hono: 4.12.5 jose: 6.1.3 json-schema-typed: 8.0.2 pkce-challenge: 5.0.0 @@ -6343,7 +4471,7 @@ snapshots: highlight.js@10.7.3: {} - hono@4.12.6: {} + hono@4.12.5: {} html-escaper@2.0.2: {} From 240ce54162d3f6994d335b30d966820017ac1721 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 14 Mar 2026 02:51:50 +0000 Subject: [PATCH 20/69] chore(internal): make generated MCP servers compatible with Cloudflare worker environments --- packages/mcp-server/src/code-tool-paths.cts | 4 +++- packages/mcp-server/src/code-tool.ts | 12 +++++----- packages/mcp-server/src/instructions.ts | 25 +++++++++------------ 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/packages/mcp-server/src/code-tool-paths.cts b/packages/mcp-server/src/code-tool-paths.cts index 15ce7f55..78263e45 100644 --- a/packages/mcp-server/src/code-tool-paths.cts +++ b/packages/mcp-server/src/code-tool-paths.cts @@ -1,3 +1,5 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -export const workerPath = require.resolve('./code-tool-worker.mjs'); +export function getWorkerPath(): string { + return require.resolve('./code-tool-worker.mjs'); +} diff --git a/packages/mcp-server/src/code-tool.ts b/packages/mcp-server/src/code-tool.ts index 1d103472..abaa7208 100644 --- a/packages/mcp-server/src/code-tool.ts +++ b/packages/mcp-server/src/code-tool.ts @@ -1,10 +1,5 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import fs from 'node:fs'; -import path from 'node:path'; -import url from 'node:url'; -import { newDenoHTTPWorker } from '@valtown/deno-http-worker'; -import { workerPath } from './code-tool-paths.cjs'; import { ContentBlock, McpRequestContext, @@ -207,6 +202,13 @@ const localDenoHandler = async ({ reqContext: McpRequestContext; args: unknown; }): Promise => { + const fs = await import('node:fs'); + const path = await import('node:path'); + const url = await import('node:url'); + const { newDenoHTTPWorker } = await import('@valtown/deno-http-worker'); + const { getWorkerPath } = await import('./code-tool-paths.cjs'); + const workerPath = getWorkerPath(); + const client = reqContext.client; const baseURLHostname = new URL(client.baseURL).hostname; const { code } = args as { code: string }; diff --git a/packages/mcp-server/src/instructions.ts b/packages/mcp-server/src/instructions.ts index b6387dd3..0aefb874 100644 --- a/packages/mcp-server/src/instructions.ts +++ b/packages/mcp-server/src/instructions.ts @@ -12,29 +12,24 @@ interface InstructionsCacheEntry { const instructionsCache = new Map(); -// Periodically evict stale entries so the cache doesn't grow unboundedly. -const _cacheCleanupInterval = setInterval(() => { - const now = Date.now(); - for (const [key, entry] of instructionsCache) { - if (now - entry.fetchedAt > INSTRUCTIONS_CACHE_TTL_MS) { - instructionsCache.delete(key); - } - } -}, INSTRUCTIONS_CACHE_TTL_MS); - -// Don't keep the process alive just for cleanup. -_cacheCleanupInterval.unref(); - export async function getInstructions(stainlessApiKey: string | undefined): Promise { + const now = Date.now(); const cacheKey = stainlessApiKey ?? ''; const cached = instructionsCache.get(cacheKey); - if (cached && Date.now() - cached.fetchedAt <= INSTRUCTIONS_CACHE_TTL_MS) { + if (cached && now - cached.fetchedAt <= INSTRUCTIONS_CACHE_TTL_MS) { return cached.fetchedInstructions; } + // Evict stale entries so the cache doesn't grow unboundedly. + for (const [key, entry] of instructionsCache) { + if (now - entry.fetchedAt > INSTRUCTIONS_CACHE_TTL_MS) { + instructionsCache.delete(key); + } + } + const fetchedInstructions = await fetchLatestInstructions(stainlessApiKey); - instructionsCache.set(cacheKey, { fetchedInstructions, fetchedAt: Date.now() }); + instructionsCache.set(cacheKey, { fetchedInstructions, fetchedAt: now }); return fetchedInstructions; } From a030429bef5a6eb81aaa537697a8eea5eb429f8b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 14 Mar 2026 03:19:59 +0000 Subject: [PATCH 21/69] chore(internal): support x-stainless-mcp-client-envs header in MCP servers --- packages/mcp-server/src/code-tool.ts | 41 ++++++++++++++++++---------- packages/mcp-server/src/http.ts | 16 ++++++++++- packages/mcp-server/src/server.ts | 2 ++ packages/mcp-server/src/types.ts | 1 + 4 files changed, 44 insertions(+), 16 deletions(-) diff --git a/packages/mcp-server/src/code-tool.ts b/packages/mcp-server/src/code-tool.ts index abaa7208..57e69bba 100644 --- a/packages/mcp-server/src/code-tool.ts +++ b/packages/mcp-server/src/code-tool.ts @@ -144,19 +144,23 @@ const remoteStainlessHandler = async ({ const codeModeEndpoint = readEnv('CODE_MODE_ENDPOINT_URL') ?? 'https://api.stainless.com/api/ai/code-tool'; + const localClientEnvs = { + STAINLESS_API_KEY: readEnv('STAINLESS_API_KEY') ?? client.apiKey ?? undefined, + STAINLESS_BASE_URL: + readEnv('STAINLESS_BASE_URL') ?? readEnv('STAINLESS_ENVIRONMENT') ? + undefined + : client.baseURL ?? undefined, + }; + // Merge any upstream client envs from the request header, with upstream values taking precedence. + const mergedClientEnvs = { ...localClientEnvs, ...reqContext.upstreamClientEnvs }; + // Setting a Stainless API key authenticates requests to the code tool endpoint. const res = await fetch(codeModeEndpoint, { method: 'POST', headers: { ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), 'Content-Type': 'application/json', - 'x-stainless-mcp-client-envs': JSON.stringify({ - STAINLESS_API_KEY: readEnv('STAINLESS_API_KEY') ?? client.apiKey ?? undefined, - STAINLESS_BASE_URL: - readEnv('STAINLESS_BASE_URL') ?? readEnv('STAINLESS_ENVIRONMENT') ? - undefined - : client.baseURL ?? undefined, - }), + 'x-stainless-mcp-client-envs': JSON.stringify(mergedClientEnvs), }, body: JSON.stringify({ project_name: 'stainless-v0', @@ -270,6 +274,9 @@ const localDenoHandler = async ({ printOutput: true, spawnOptions: { cwd: path.dirname(workerPath), + // Merge any upstream client envs into the Deno subprocess environment, + // with the upstream env vars taking precedence. + env: { ...process.env, ...reqContext.upstreamClientEnvs }, }, }); @@ -279,14 +286,18 @@ const localDenoHandler = async ({ reject(new Error(`Worker exited with code ${exitCode}`)); }); - const opts: ClientOptions = { - baseURL: client.baseURL, - apiKey: client.apiKey, - project: client.project, - defaultHeaders: { - 'X-Stainless-MCP': 'true', - }, - }; + // Strip null/undefined values so that the worker SDK client can fall back to + // reading from environment variables (including any upstreamClientEnvs). + const opts: ClientOptions = Object.fromEntries( + Object.entries({ + baseURL: client.baseURL, + apiKey: client.apiKey, + project: client.project, + defaultHeaders: { + 'X-Stainless-MCP': 'true', + }, + }).filter(([_, v]) => v != null), + ) as ClientOptions; const req = worker.request( 'http://localhost', diff --git a/packages/mcp-server/src/http.ts b/packages/mcp-server/src/http.ts index b61dbae6..73388e6b 100644 --- a/packages/mcp-server/src/http.ts +++ b/packages/mcp-server/src/http.ts @@ -27,6 +27,19 @@ const newServer = async ({ const authOptions = parseClientAuthHeaders(req, false); + let upstreamClientEnvs: Record | undefined; + const clientEnvsHeader = req.headers['x-stainless-mcp-client-envs']; + if (typeof clientEnvsHeader === 'string') { + try { + const parsed = JSON.parse(clientEnvsHeader); + if (parsed && typeof parsed === 'object' && !Array.isArray(parsed)) { + upstreamClientEnvs = parsed; + } + } catch { + // Ignore malformed header + } + } + await initMcpServer({ server: server, mcpOptions: mcpOptions, @@ -35,6 +48,7 @@ const newServer = async ({ ...authOptions, }, stainlessApiKey: stainlessApiKey, + upstreamClientEnvs, }); return server; @@ -72,7 +86,7 @@ const del = async (req: express.Request, res: express.Response) => { }; const redactHeaders = (headers: Record) => { - const hiddenHeaders = /auth|cookie|key|token/i; + const hiddenHeaders = /auth|cookie|key|token|x-stainless-mcp-client-envs/i; const filtered = { ...headers }; Object.keys(filtered).forEach((key) => { if (hiddenHeaders.test(key)) { diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index 5da3cfd0..412a7229 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -38,6 +38,7 @@ export async function initMcpServer(params: { clientOptions?: ClientOptions; mcpOptions?: McpOptions; stainlessApiKey?: string | undefined; + upstreamClientEnvs?: Record | undefined; }) { const server = params.server instanceof McpServer ? params.server.server : params.server; @@ -123,6 +124,7 @@ export async function initMcpServer(params: { reqContext: { client, stainlessApiKey: params.stainlessApiKey ?? params.mcpOptions?.stainlessApiKey, + upstreamClientEnvs: params.upstreamClientEnvs, }, args, }); diff --git a/packages/mcp-server/src/types.ts b/packages/mcp-server/src/types.ts index 9e0c9dee..7135502e 100644 --- a/packages/mcp-server/src/types.ts +++ b/packages/mcp-server/src/types.ts @@ -45,6 +45,7 @@ export type ToolCallResult = { export type McpRequestContext = { client: Stainless; stainlessApiKey?: string | undefined; + upstreamClientEnvs?: Record | undefined; }; export type HandlerFunction = ({ From ccf0b9fa50a012c03bc7ae332d3e5a55cae91310 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 17 Mar 2026 03:07:15 +0000 Subject: [PATCH 22/69] chore(internal): tweak CI branches --- .github/workflows/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1470053f..5e1a2678 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,14 @@ name: CI on: push: - branches-ignore: - - 'generated' - - 'codegen/**' - - 'integrated/**' - - 'stl-preview-head/**' - - 'stl-preview-base/**' + branches: + - '**' + - '!integrated/**' + - '!stl-preview-head/**' + - '!stl-preview-base/**' + - '!generated' + - '!codegen/**' + - 'codegen/stl/**' pull_request: branches-ignore: - 'stl-preview-head/**' From 25afcb0bd66984f37e13e64b85d57bb80f69f2c3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 17 Mar 2026 03:11:49 +0000 Subject: [PATCH 23/69] chore(internal): support x-stainless-mcp-client-permissions headers in MCP servers --- packages/mcp-server/src/http.ts | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/packages/mcp-server/src/http.ts b/packages/mcp-server/src/http.ts index 73388e6b..1d00bc2d 100644 --- a/packages/mcp-server/src/http.ts +++ b/packages/mcp-server/src/http.ts @@ -40,9 +40,37 @@ const newServer = async ({ } } + // Parse x-stainless-mcp-client-permissions header to override permission options + // + // Note: Permissions are best-effort and intended to prevent clients from doing unexpected things; + // they're not a hard security boundary, so we allow arbitrary, client-driven overrides. + // + // See the Stainless MCP documentation for more details. + let effectiveMcpOptions = mcpOptions; + const clientPermissionsHeader = req.headers['x-stainless-mcp-client-permissions']; + if (typeof clientPermissionsHeader === 'string') { + try { + const parsed = JSON.parse(clientPermissionsHeader); + if (parsed && typeof parsed === 'object' && !Array.isArray(parsed)) { + effectiveMcpOptions = { + ...mcpOptions, + ...(typeof parsed.allow_http_gets === 'boolean' && { codeAllowHttpGets: parsed.allow_http_gets }), + ...(Array.isArray(parsed.allowed_methods) && { codeAllowedMethods: parsed.allowed_methods }), + ...(Array.isArray(parsed.blocked_methods) && { codeBlockedMethods: parsed.blocked_methods }), + }; + getLogger().info( + { clientPermissions: parsed }, + 'Overriding code execution permissions from x-stainless-mcp-client-permissions header', + ); + } + } catch (error) { + getLogger().warn({ error }, 'Failed to parse x-stainless-mcp-client-permissions header'); + } + } + await initMcpServer({ server: server, - mcpOptions: mcpOptions, + mcpOptions: effectiveMcpOptions, clientOptions: { ...clientOptions, ...authOptions, From c0743c2249a2a00ed4c1d2d97c08a3a9f65c2b28 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 18 Mar 2026 02:58:33 +0000 Subject: [PATCH 24/69] fix: escape MCP `instructions` backticks as necessary --- packages/mcp-server/src/instructions.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/mcp-server/src/instructions.ts b/packages/mcp-server/src/instructions.ts index 0aefb874..81636141 100644 --- a/packages/mcp-server/src/instructions.ts +++ b/packages/mcp-server/src/instructions.ts @@ -56,7 +56,6 @@ async function fetchLatestInstructions(stainlessApiKey: string | undefined): Pro instructions ??= ((await response.json()) as { instructions: string }).instructions; - instructions += `\nYou are a nice, friendly bot who really likes to help customers! - `; + instructions += '\nYou are a nice, friendly bot who really likes to help customers!\n'; return instructions; } From 848becd5669e0cdfb3ee21f7040cf2a0b7afd78a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 20 Mar 2026 02:01:18 +0000 Subject: [PATCH 25/69] refactor(tests): switch from prism to steady --- CONTRIBUTING.md | 2 +- scripts/mock | 26 +++++++++++++------------- scripts/test | 16 ++++++++-------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 664fb66a..779fdf96 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,7 +65,7 @@ $ pnpm link --global @stainless-api/sdk ## Running tests -Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests. +Most tests require you to [set up a mock server](https://github.com/dgellow/steady) against the OpenAPI spec to run the tests. ```sh $ ./scripts/mock diff --git a/scripts/mock b/scripts/mock index bcf3b392..38201de8 100755 --- a/scripts/mock +++ b/scripts/mock @@ -19,34 +19,34 @@ fi echo "==> Starting mock server with URL ${URL}" -# Run prism mock on the given spec +# Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism --version + npm exec --package=@stdy/cli@0.19.3 -- steady --version - npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log & + npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-query-object-format=brackets "$URL" &> .stdy.log & - # Wait for server to come online (max 30s) + # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" attempts=0 - while ! grep -q "✖ fatal\|Prism is listening" ".prism.log" ; do + while ! curl --silent --fail "http://127.0.0.1:4010/_x-steady/health" >/dev/null 2>&1; do + if ! kill -0 $! 2>/dev/null; then + echo + cat .stdy.log + exit 1 + fi attempts=$((attempts + 1)) if [ "$attempts" -ge 300 ]; then echo - echo "Timed out waiting for Prism server to start" - cat .prism.log + echo "Timed out waiting for Steady server to start" + cat .stdy.log exit 1 fi echo -n "." sleep 0.1 done - if grep -q "✖ fatal" ".prism.log"; then - cat .prism.log - exit 1 - fi - echo else - npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" + npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-query-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index 7bce0516..af1c7a57 100755 --- a/scripts/test +++ b/scripts/test @@ -9,8 +9,8 @@ GREEN='\033[0;32m' YELLOW='\033[0;33m' NC='\033[0m' # No Color -function prism_is_running() { - curl --silent "http://localhost:4010" >/dev/null 2>&1 +function steady_is_running() { + curl --silent "http://127.0.0.1:4010/_x-steady/health" >/dev/null 2>&1 } kill_server_on_port() { @@ -25,7 +25,7 @@ function is_overriding_api_base_url() { [ -n "$TEST_API_BASE_URL" ] } -if ! is_overriding_api_base_url && ! prism_is_running ; then +if ! is_overriding_api_base_url && ! steady_is_running ; then # When we exit this script, make sure to kill the background mock server process trap 'kill_server_on_port 4010' EXIT @@ -36,19 +36,19 @@ fi if is_overriding_api_base_url ; then echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}" echo -elif ! prism_is_running ; then - echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Prism server" +elif ! steady_is_running ; then + echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Steady server" echo -e "running against your OpenAPI spec." echo echo -e "To run the server, pass in the path or url of your OpenAPI" - echo -e "spec to the prism command:" + echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.3 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-query-object-format=brackets${NC}" echo exit 1 else - echo -e "${GREEN}✔ Mock prism server is running with your OpenAPI spec${NC}" + echo -e "${GREEN}✔ Mock steady server is running with your OpenAPI spec${NC}" echo fi From b1d890082ab881413104094f41b4cdffd2a04a9b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 21 Mar 2026 02:08:46 +0000 Subject: [PATCH 26/69] chore(tests): bump steady to v0.19.4 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index 38201de8..e1c19e88 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.19.3 -- steady --version + npm exec --package=@stdy/cli@0.19.4 -- steady --version - npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-query-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-query-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index af1c7a57..8cf5220a 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.3 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-query-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.4 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" echo exit 1 From 9a02a5aae4908b6d0161ddb794db881a9851b168 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 21 Mar 2026 02:16:54 +0000 Subject: [PATCH 27/69] chore(tests): bump steady to v0.19.5 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index e1c19e88..ab814d38 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.19.4 -- steady --version + npm exec --package=@stdy/cli@0.19.5 -- steady --version - npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.19.5 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.19.5 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index 8cf5220a..907f7be0 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.4 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.5 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" echo exit 1 From 63eab56360c8d36656ff40c7a6abd647d787681a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 02:09:58 +0000 Subject: [PATCH 28/69] chore(internal): update gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index d62bea50..b7d4f6b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .prism.log +.stdy.log node_modules yarn-error.log codegen.log From 953025ee34a621464681480b01a318fa18356a96 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 02:14:26 +0000 Subject: [PATCH 29/69] chore(internal): fix MCP server TS errors that occur with required client options --- packages/mcp-server/src/code-tool.ts | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/mcp-server/src/code-tool.ts b/packages/mcp-server/src/code-tool.ts index 57e69bba..3d75dca2 100644 --- a/packages/mcp-server/src/code-tool.ts +++ b/packages/mcp-server/src/code-tool.ts @@ -288,16 +288,14 @@ const localDenoHandler = async ({ // Strip null/undefined values so that the worker SDK client can fall back to // reading from environment variables (including any upstreamClientEnvs). - const opts: ClientOptions = Object.fromEntries( - Object.entries({ - baseURL: client.baseURL, - apiKey: client.apiKey, - project: client.project, - defaultHeaders: { - 'X-Stainless-MCP': 'true', - }, - }).filter(([_, v]) => v != null), - ) as ClientOptions; + const opts = { + ...(client.baseURL != null ? { baseURL: client.baseURL } : undefined), + ...(client.apiKey != null ? { apiKey: client.apiKey } : undefined), + ...(client.project != null ? { project: client.project } : undefined), + defaultHeaders: { + 'X-Stainless-MCP': 'true', + }, + } satisfies Partial as ClientOptions; const req = worker.request( 'http://localhost', From 1722669260ce7e69fbea51edfcde4c88fd3258e5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 02:18:11 +0000 Subject: [PATCH 30/69] chore(tests): bump steady to v0.19.6 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index ab814d38..b319bdfb 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.19.5 -- steady --version + npm exec --package=@stdy/cli@0.19.6 -- steady --version - npm exec --package=@stdy/cli@0.19.5 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.19.6 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.5 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.19.6 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index 907f7be0..8061e043 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.5 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.6 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" echo exit 1 From ca653c1fff337672bee70ede60d597f18f0087c2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2026 02:09:00 +0000 Subject: [PATCH 31/69] chore(ci): skip lint on metadata-only changes Note that we still want to run tests, as these depend on the metadata. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e1a2678..a167084f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: timeout-minutes: 10 name: lint runs-on: ${{ github.repository == 'stainless-sdks/stainless-v0-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} - if: github.event_name == 'push' || github.event.pull_request.head.repo.fork + if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') steps: - uses: actions/checkout@v6 @@ -43,7 +43,7 @@ jobs: timeout-minutes: 5 name: build runs-on: ${{ github.repository == 'stainless-sdks/stainless-v0-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} - if: github.event_name == 'push' || github.event.pull_request.head.repo.fork + if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') permissions: contents: read id-token: write From ab4d58b29688ed19b00d098673d3839cf2e220f3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2026 02:10:10 +0000 Subject: [PATCH 32/69] chore(tests): bump steady to v0.19.7 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index b319bdfb..09eb49f6 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.19.6 -- steady --version + npm exec --package=@stdy/cli@0.19.7 -- steady --version - npm exec --package=@stdy/cli@0.19.6 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.6 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index 8061e043..a7cf5615 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.6 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" echo exit 1 From cf0a2fd88c94427f737f4ff679f54b832bc9470d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 02:27:24 +0000 Subject: [PATCH 33/69] chore(internal): update multipart form array serialization --- scripts/mock | 4 ++-- scripts/test | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/mock b/scripts/mock index 09eb49f6..290e21b9 100755 --- a/scripts/mock +++ b/scripts/mock @@ -24,7 +24,7 @@ if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout npm exec --package=@stdy/cli@0.19.7 -- steady --version - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index a7cf5615..a1ebb5e4 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=comma --validator-query-array-format=comma --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" echo exit 1 From 74a795308d7f1385e12166d692621f55059e545a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 02:29:46 +0000 Subject: [PATCH 34/69] chore(internal): support custom-instructions-path flag in MCP servers --- packages/mcp-server/src/http.ts | 3 ++- packages/mcp-server/src/instructions.ts | 31 +++++++++++++++++++++---- packages/mcp-server/src/options.ts | 6 +++++ packages/mcp-server/src/server.ts | 10 ++++++-- packages/mcp-server/src/stdio.ts | 5 +++- 5 files changed, 47 insertions(+), 8 deletions(-) diff --git a/packages/mcp-server/src/http.ts b/packages/mcp-server/src/http.ts index 1d00bc2d..da28ee08 100644 --- a/packages/mcp-server/src/http.ts +++ b/packages/mcp-server/src/http.ts @@ -23,7 +23,8 @@ const newServer = async ({ res: express.Response; }): Promise => { const stainlessApiKey = getStainlessApiKey(req, mcpOptions); - const server = await newMcpServer(stainlessApiKey); + const customInstructionsPath = mcpOptions.customInstructionsPath; + const server = await newMcpServer({ stainlessApiKey, customInstructionsPath }); const authOptions = parseClientAuthHeaders(req, false); diff --git a/packages/mcp-server/src/instructions.ts b/packages/mcp-server/src/instructions.ts index 81636141..0d7f1388 100644 --- a/packages/mcp-server/src/instructions.ts +++ b/packages/mcp-server/src/instructions.ts @@ -1,5 +1,6 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +import fs from 'fs/promises'; import { readEnv } from './util'; import { getLogger } from './logger'; @@ -12,9 +13,15 @@ interface InstructionsCacheEntry { const instructionsCache = new Map(); -export async function getInstructions(stainlessApiKey: string | undefined): Promise { +export async function getInstructions({ + stainlessApiKey, + customInstructionsPath, +}: { + stainlessApiKey?: string | undefined; + customInstructionsPath?: string | undefined; +}): Promise { const now = Date.now(); - const cacheKey = stainlessApiKey ?? ''; + const cacheKey = customInstructionsPath ?? stainlessApiKey ?? ''; const cached = instructionsCache.get(cacheKey); if (cached && now - cached.fetchedAt <= INSTRUCTIONS_CACHE_TTL_MS) { @@ -28,12 +35,28 @@ export async function getInstructions(stainlessApiKey: string | undefined): Prom } } - const fetchedInstructions = await fetchLatestInstructions(stainlessApiKey); + let fetchedInstructions: string; + + if (customInstructionsPath) { + fetchedInstructions = await fetchLatestInstructionsFromFile(customInstructionsPath); + } else { + fetchedInstructions = await fetchLatestInstructionsFromApi(stainlessApiKey); + } + instructionsCache.set(cacheKey, { fetchedInstructions, fetchedAt: now }); return fetchedInstructions; } -async function fetchLatestInstructions(stainlessApiKey: string | undefined): Promise { +async function fetchLatestInstructionsFromFile(path: string): Promise { + try { + return await fs.readFile(path, 'utf-8'); + } catch (error) { + getLogger().error({ error, path }, 'Error fetching instructions from file'); + throw error; + } +} + +async function fetchLatestInstructionsFromApi(stainlessApiKey: string | undefined): Promise { // Setting the stainless API key is optional, but may be required // to authenticate requests to the Stainless API. const response = await fetch( diff --git a/packages/mcp-server/src/options.ts b/packages/mcp-server/src/options.ts index b9e8e8a6..d68058dc 100644 --- a/packages/mcp-server/src/options.ts +++ b/packages/mcp-server/src/options.ts @@ -22,6 +22,7 @@ export type McpOptions = { codeAllowedMethods?: string[] | undefined; codeBlockedMethods?: string[] | undefined; codeExecutionMode: McpCodeExecutionMode; + customInstructionsPath?: string | undefined; }; export type McpCodeExecutionMode = 'stainless-sandbox' | 'local'; @@ -52,6 +53,10 @@ export function parseCLIOptions(): CLIOptions { description: "Where to run code execution in code tool; 'stainless-sandbox' will execute code in Stainless-hosted sandboxes whereas 'local' will execute code locally on the MCP server machine.", }) + .option('custom-instructions-path', { + type: 'string', + description: 'Path to custom instructions for the MCP server', + }) .option('debug', { type: 'boolean', description: 'Enable debug logging' }) .option('log-format', { type: 'string', @@ -117,6 +122,7 @@ export function parseCLIOptions(): CLIOptions { codeAllowedMethods: argv.codeAllowedMethods, codeBlockedMethods: argv.codeBlockedMethods, codeExecutionMode: argv.codeExecutionMode as McpCodeExecutionMode, + customInstructionsPath: argv.customInstructionsPath, transport, logFormat, port: argv.port, diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index 412a7229..c95a50dc 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -17,14 +17,20 @@ import { blockedMethodsForCodeTool } from './methods'; import { HandlerFunction, McpRequestContext, ToolCallResult, McpTool } from './types'; import { readEnv } from './util'; -export const newMcpServer = async (stainlessApiKey: string | undefined) => +export const newMcpServer = async ({ + stainlessApiKey, + customInstructionsPath, +}: { + stainlessApiKey?: string | undefined; + customInstructionsPath?: string | undefined; +}) => new McpServer( { name: 'stainless_api_sdk_api', version: '0.5.0', }, { - instructions: await getInstructions(stainlessApiKey), + instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }), capabilities: { tools: {}, logging: {} }, }, ); diff --git a/packages/mcp-server/src/stdio.ts b/packages/mcp-server/src/stdio.ts index e8bcbb19..b04a5441 100644 --- a/packages/mcp-server/src/stdio.ts +++ b/packages/mcp-server/src/stdio.ts @@ -4,7 +4,10 @@ import { initMcpServer, newMcpServer } from './server'; import { getLogger } from './logger'; export const launchStdioServer = async (mcpOptions: McpOptions) => { - const server = await newMcpServer(mcpOptions.stainlessApiKey); + const server = await newMcpServer({ + stainlessApiKey: mcpOptions.stainlessApiKey, + customInstructionsPath: mcpOptions.customInstructionsPath, + }); await initMcpServer({ server, mcpOptions, stainlessApiKey: mcpOptions.stainlessApiKey }); From 4d8f430aac34cf9540f6bd9471ac44d61ba52aaf Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 28 Mar 2026 02:23:35 +0000 Subject: [PATCH 35/69] chore(internal): support local docs search in MCP servers --- packages/mcp-server/package.json | 1 + packages/mcp-server/src/docs-search-tool.ts | 66 +- packages/mcp-server/src/local-docs-search.ts | 625 +++++++++++++++++++ packages/mcp-server/src/options.ts | 18 + packages/mcp-server/src/server.ts | 8 + pnpm-lock.yaml | 8 + 6 files changed, 716 insertions(+), 10 deletions(-) create mode 100644 packages/mcp-server/src/local-docs-search.ts diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index 68e8aaa9..dbe5982d 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -40,6 +40,7 @@ "cors": "^2.8.5", "express": "^5.1.0", "fuse.js": "^7.1.0", + "minisearch": "^7.2.0", "jq-web": "https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz", "pino": "^10.3.1", "pino-http": "^11.0.0", diff --git a/packages/mcp-server/src/docs-search-tool.ts b/packages/mcp-server/src/docs-search-tool.ts index 216c00b1..36017c36 100644 --- a/packages/mcp-server/src/docs-search-tool.ts +++ b/packages/mcp-server/src/docs-search-tool.ts @@ -3,6 +3,7 @@ import { Tool } from '@modelcontextprotocol/sdk/types.js'; import { Metadata, McpRequestContext, asTextContentResult } from './types'; import { getLogger } from './logger'; +import type { LocalDocsSearch } from './local-docs-search'; export const metadata: Metadata = { resource: 'all', @@ -43,20 +44,49 @@ export const tool: Tool = { const docsSearchURL = process.env['DOCS_SEARCH_URL'] || 'https://api.stainless.com/api/projects/stainless-v0/docs/search'; -export const handler = async ({ - reqContext, - args, -}: { - reqContext: McpRequestContext; - args: Record | undefined; -}) => { +let _localSearch: LocalDocsSearch | undefined; + +export function setLocalSearch(search: LocalDocsSearch): void { + _localSearch = search; +} + +const SUPPORTED_LANGUAGES = new Set(['http', 'typescript', 'javascript']); + +async function searchLocal(args: Record): Promise { + if (!_localSearch) { + throw new Error('Local search not initialized'); + } + + const query = (args['query'] as string) ?? ''; + const language = (args['language'] as string) ?? 'typescript'; + const detail = (args['detail'] as string) ?? 'verbose'; + + if (!SUPPORTED_LANGUAGES.has(language)) { + throw new Error( + `Local docs search only supports HTTP, TypeScript, and JavaScript. Got language="${language}". ` + + `Use --docs-search-mode stainless-api for other languages, or set language to "http", "typescript", or "javascript".`, + ); + } + + return _localSearch.search({ + query, + language, + detail, + maxResults: 10, + }).results; +} + +async function searchRemote( + args: Record, + stainlessApiKey: string | undefined, +): Promise { const body = args as any; const query = new URLSearchParams(body).toString(); const startTime = Date.now(); const result = await fetch(`${docsSearchURL}?${query}`, { headers: { - ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), + ...(stainlessApiKey && { Authorization: stainlessApiKey }), }, }); @@ -75,7 +105,7 @@ export const handler = async ({ 'Got error response from docs search tool', ); - if (result.status === 404 && !reqContext.stainlessApiKey) { + if (result.status === 404 && !stainlessApiKey) { throw new Error( 'Could not find docs for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.', ); @@ -94,7 +124,23 @@ export const handler = async ({ }, 'Got docs search result', ); - return asTextContentResult(resultBody); + return resultBody; +} + +export const handler = async ({ + reqContext, + args, +}: { + reqContext: McpRequestContext; + args: Record | undefined; +}) => { + const body = args ?? {}; + + if (_localSearch) { + return asTextContentResult(await searchLocal(body)); + } + + return asTextContentResult(await searchRemote(body, reqContext.stainlessApiKey)); }; export default { metadata, tool, handler }; diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts new file mode 100644 index 00000000..7c11f2e0 --- /dev/null +++ b/packages/mcp-server/src/local-docs-search.ts @@ -0,0 +1,625 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + +import MiniSearch from 'minisearch'; +import * as fs from 'node:fs/promises'; +import * as path from 'node:path'; +import { getLogger } from './logger'; + +type MethodEntry = { + name: string; + endpoint: string; + httpMethod: string; + summary: string; + description: string; + stainlessPath: string; + qualified: string; + params?: string[]; + response?: string; + markdown?: string; +}; + +type ProseChunk = { + content: string; + tag: string; + sectionContext?: string; + source?: string; +}; + +type MiniSearchDocument = { + id: string; + kind: 'http_method' | 'prose'; + name?: string; + endpoint?: string; + summary?: string; + description?: string; + qualified?: string; + stainlessPath?: string; + content?: string; + sectionContext?: string; + _original: Record; +}; + +type SearchResult = { + results: (string | Record)[]; +}; + +const EMBEDDED_METHODS: MethodEntry[] = [ + { + name: 'create', + endpoint: '/v0/projects', + httpMethod: 'post', + summary: 'Create project', + description: 'Create a new project.', + stainlessPath: '(resource) projects > (method) create', + qualified: 'client.projects.create', + params: [ + 'display_name: string;', + 'org: string;', + 'revision: object;', + 'slug: string;', + 'targets: string[];', + ], + response: + "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + markdown: + "## create\n\n`client.projects.create(display_name: string, org: string, revision: object, slug: string, targets: string[]): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**post** `/v0/projects`\n\nCreate a new project.\n\n### Parameters\n\n- `display_name: string`\n Human-readable project name\n\n- `org: string`\n Organization name\n\n- `revision: object`\n File contents to commit\n\n- `slug: string`\n Project name/slug\n\n- `targets: string[]`\n Targets to generate for\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project);\n```", + }, + { + name: 'retrieve', + endpoint: '/v0/projects/{project}', + httpMethod: 'get', + summary: 'Retrieve project', + description: 'Retrieve a project by name.', + stainlessPath: '(resource) projects > (method) retrieve', + qualified: 'client.projects.retrieve', + params: ['project: string;'], + response: + "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + markdown: + "## retrieve\n\n`client.projects.retrieve(project: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects/{project}`\n\nRetrieve a project by name.\n\n### Parameters\n\n- `project: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project);\n```", + }, + { + name: 'update', + endpoint: '/v0/projects/{project}', + httpMethod: 'patch', + summary: 'Update project', + description: "Update a project's properties.", + stainlessPath: '(resource) projects > (method) update', + qualified: 'client.projects.update', + params: ['project: string;', 'display_name?: string;'], + response: + "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + markdown: + "## update\n\n`client.projects.update(project: string, display_name?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**patch** `/v0/projects/{project}`\n\nUpdate a project's properties.\n\n### Parameters\n\n- `project: string`\n\n- `display_name?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project);\n```", + }, + { + name: 'list', + endpoint: '/v0/projects', + httpMethod: 'get', + summary: 'List projects', + description: 'List projects in an organization, from oldest to newest.', + stainlessPath: '(resource) projects > (method) list', + qualified: 'client.projects.list', + params: ['cursor?: string;', 'limit?: number;', 'org?: string;'], + response: + "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + markdown: + "## list\n\n`client.projects.list(cursor?: string, limit?: number, org?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects`\n\nList projects in an organization, from oldest to newest.\n\n### Parameters\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of projects to return, defaults to 10 (maximum: 100).\n\n- `org?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project);\n}\n```", + }, + { + name: 'generate_commit_message', + endpoint: '/v0/projects/{project}/generate_commit_message', + httpMethod: 'post', + summary: 'Generate an AI commit message for a specific SDK', + description: 'Generates an AI commit message by comparing two git refs in the SDK repository.', + stainlessPath: '(resource) projects > (method) generate_commit_message', + qualified: 'client.projects.generateCommitMessage', + params: ['project: string;', 'target: string;', 'base_ref: string;', 'head_ref: string;'], + response: '{ ai_commit_message: string; }', + markdown: + "## generate_commit_message\n\n`client.projects.generateCommitMessage(project: string, target: string, base_ref: string, head_ref: string): { ai_commit_message: string; }`\n\n**post** `/v0/projects/{project}/generate_commit_message`\n\nGenerates an AI commit message by comparing two git refs in the SDK repository.\n\n### Parameters\n\n- `project: string`\n\n- `target: string`\n Language target\n\n- `base_ref: string`\n Base ref for comparison\n\n- `head_ref: string`\n Head ref for comparison\n\n### Returns\n\n- `{ ai_commit_message: string; }`\n\n - `ai_commit_message: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response);\n```", + }, + { + name: 'create', + endpoint: '/v0/projects/{project}/branches', + httpMethod: 'post', + summary: 'Create a new project branch', + description: + 'Create a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.', + stainlessPath: '(resource) projects.branches > (method) create', + qualified: 'client.projects.branches.create', + params: ['project: string;', 'branch: string;', 'branch_from: string;', 'force?: boolean;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + markdown: + "## create\n\n`client.projects.branches.create(project: string, branch: string, branch_from: string, force?: boolean): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**post** `/v0/projects/{project}/branches`\n\nCreate a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n Branch name\n\n- `branch_from: string`\n Branch or commit SHA to branch from\n\n- `force?: boolean`\n Whether to throw an error if the branch already exists. Defaults to false.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch);\n```", + }, + { + name: 'retrieve', + endpoint: '/v0/projects/{project}/branches/{branch}', + httpMethod: 'get', + summary: 'Retrieve a project branch', + description: 'Retrieve a project branch by name.', + stainlessPath: '(resource) projects.branches > (method) retrieve', + qualified: 'client.projects.branches.retrieve', + params: ['project: string;', 'branch: string;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + markdown: + "## retrieve\n\n`client.projects.branches.retrieve(project: string, branch: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches/{branch}`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + }, + { + name: 'list', + endpoint: '/v0/projects/{project}/branches', + httpMethod: 'get', + summary: 'List project branches', + description: 'Retrieve a project branch by name.', + stainlessPath: '(resource) projects.branches > (method) list', + qualified: 'client.projects.branches.list', + params: ['project: string;', 'cursor?: string;', 'limit?: number;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }", + markdown: + "## list\n\n`client.projects.branches.list(project: string, cursor?: string, limit?: number): { branch: string; config_commit: object; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of items to return, defaults to 10 (maximum: 100).\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build_id: string`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse);\n}\n```", + }, + { + name: 'delete', + endpoint: '/v0/projects/{project}/branches/{branch}', + httpMethod: 'delete', + summary: 'Delete a project branch', + description: 'Delete a project branch by name.', + stainlessPath: '(resource) projects.branches > (method) delete', + qualified: 'client.projects.branches.delete', + params: ['project: string;', 'branch: string;'], + response: 'object', + markdown: + "## delete\n\n`client.projects.branches.delete(project: string, branch: string): object`\n\n**delete** `/v0/projects/{project}/branches/{branch}`\n\nDelete a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `object`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);\n```", + }, + { + name: 'rebase', + endpoint: '/v0/projects/{project}/branches/{branch}/rebase', + httpMethod: 'put', + summary: 'Rebase a project branch', + description: + 'Rebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.', + stainlessPath: '(resource) projects.branches > (method) rebase', + qualified: 'client.projects.branches.rebase', + params: ['project: string;', 'branch: string;', 'base?: string;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + markdown: + "## rebase\n\n`client.projects.branches.rebase(project: string, branch: string, base?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/rebase`\n\nRebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `base?: string`\n The branch or commit SHA to rebase onto. Defaults to \"main\".\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + }, + { + name: 'reset', + endpoint: '/v0/projects/{project}/branches/{branch}/reset', + httpMethod: 'put', + summary: '', + description: + 'Reset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.', + stainlessPath: '(resource) projects.branches > (method) reset', + qualified: 'client.projects.branches.reset', + params: ['project: string;', 'branch: string;', 'target_config_sha?: string;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + markdown: + "## reset\n\n`client.projects.branches.reset(project: string, branch: string, target_config_sha?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/reset`\n\nReset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `target_config_sha?: string`\n The commit SHA to reset the main branch to. Required if resetting the main branch; disallowed otherwise.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + }, + { + name: 'retrieve', + endpoint: '/v0/projects/{project}/configs', + httpMethod: 'get', + summary: 'Retrieve configuration files', + description: '\n Retrieve the configuration files for a given project.', + stainlessPath: '(resource) projects.configs > (method) retrieve', + qualified: 'client.projects.configs.retrieve', + params: ['project: string;', 'branch?: string;', 'include?: string;'], + response: 'object', + markdown: + "## retrieve\n\n`client.projects.configs.retrieve(project: string, branch?: string, include?: string): object`\n\n**get** `/v0/projects/{project}/configs`\n\n\n Retrieve the configuration files for a given project.\n\n### Parameters\n\n- `project: string`\n\n- `branch?: string`\n Branch name, defaults to \"main\".\n\n- `include?: string`\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);\n```", + }, + { + name: 'guess', + endpoint: '/v0/projects/{project}/configs/guess', + httpMethod: 'post', + summary: 'Generate config suggestions', + description: '\n Generate suggestions for changes to config files based on an OpenAPI spec.', + stainlessPath: '(resource) projects.configs > (method) guess', + qualified: 'client.projects.configs.guess', + params: ['project: string;', 'spec: string;', 'branch?: string;'], + response: 'object', + markdown: + "## guess\n\n`client.projects.configs.guess(project: string, spec: string, branch?: string): object`\n\n**post** `/v0/projects/{project}/configs/guess`\n\n\n Generate suggestions for changes to config files based on an OpenAPI spec.\n\n### Parameters\n\n- `project: string`\n\n- `spec: string`\n OpenAPI spec\n\n- `branch?: string`\n Branch name\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);\n```", + }, + { + name: 'create', + endpoint: '/v0/builds', + httpMethod: 'post', + summary: 'Create build', + description: + 'Create a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.', + stainlessPath: '(resource) builds > (method) create', + qualified: 'client.builds.create', + params: [ + 'project: string;', + 'revision: string | object;', + 'allow_empty?: boolean;', + 'branch?: string;', + 'commit_message?: string;', + 'enable_ai_commit_message?: boolean;', + 'target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; };', + 'targets?: string[];', + ], + response: + "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + markdown: + "## create\n\n`client.builds.create(project: string, revision: string | object, allow_empty?: boolean, branch?: string, commit_message?: string, enable_ai_commit_message?: boolean, target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }, targets?: string[]): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**post** `/v0/builds`\n\nCreate a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `revision: string | object`\n Specifies what to build: a branch name, commit SHA, merge command\n(\"base..head\"), or file contents.\n\n- `allow_empty?: boolean`\n Whether to allow empty commits (no changes). Defaults to false.\n\n- `branch?: string`\n The project branch to use for the build. If not specified, the\nbranch is inferred from the `revision`, and will 400 when that\nis not possible.\n\n- `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `enable_ai_commit_message?: boolean`\n Whether to generate AI-powered commit messages for the build.\nCannot be combined with `commit_message` or `target_commit_messages`.\n\n- `target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }`\n Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.\n - `cli?: string`\n - `csharp?: string`\n - `go?: string`\n - `java?: string`\n - `kotlin?: string`\n - `node?: string`\n - `openapi?: string`\n - `php?: string`\n - `python?: string`\n - `ruby?: string`\n - `sql?: string`\n - `terraform?: string`\n - `typescript?: string`\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build);\n```", + }, + { + name: 'retrieve', + endpoint: '/v0/builds/{buildId}', + httpMethod: 'get', + summary: 'Retrieve build', + description: 'Retrieve a build by its ID.', + stainlessPath: '(resource) builds > (method) retrieve', + qualified: 'client.builds.retrieve', + params: ['buildId: string;'], + response: + "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + markdown: + "## retrieve\n\n`client.builds.retrieve(buildId: string): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds/{buildId}`\n\nRetrieve a build by its ID.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build);\n```", + }, + { + name: 'list', + endpoint: '/v0/builds', + httpMethod: 'get', + summary: 'List project builds', + description: + 'List user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.', + stainlessPath: '(resource) builds > (method) list', + qualified: 'client.builds.list', + params: [ + 'project: string;', + 'branch?: string;', + 'cursor?: string;', + 'limit?: number;', + 'revision?: string | object;', + ], + response: + "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + markdown: + "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", + }, + { + name: 'compare', + endpoint: '/v0/builds/compare', + httpMethod: 'post', + summary: 'Creates two comparable builds', + description: + 'Create two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.', + stainlessPath: '(resource) builds > (method) compare', + qualified: 'client.builds.compare', + params: [ + 'base: { branch: string; revision: string | object; commit_message?: string; };', + 'head: { branch: string; revision: string | object; commit_message?: string; };', + 'project: string;', + 'targets?: string[];', + ], + response: + "{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }", + markdown: + "## compare\n\n`client.builds.compare(base: { branch: string; revision: string | object; commit_message?: string; }, head: { branch: string; revision: string | object; commit_message?: string; }, project: string, targets?: string[]): { base: build; head: build; }`\n\n**post** `/v0/builds/compare`\n\nCreate two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.\n\n### Parameters\n\n- `base: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the base build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `head: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the head build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `project: string`\n Project name\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }`\n\n - `base: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `head: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response);\n```", + }, + { + name: 'list', + endpoint: '/v0/builds/{buildId}/diagnostics', + httpMethod: 'get', + summary: 'Get diagnostics for a build', + description: + 'Get the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.', + stainlessPath: '(resource) builds.diagnostics > (method) list', + qualified: 'client.builds.diagnostics.list', + params: [ + 'buildId: string;', + 'cursor?: string;', + 'limit?: number;', + "severity?: 'fatal' | 'error' | 'warning' | 'note';", + 'targets?: string;', + ], + response: + "{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }", + markdown: + "## list\n\n`client.builds.diagnostics.list(buildId: string, cursor?: string, limit?: number, severity?: 'fatal' | 'error' | 'warning' | 'note', targets?: string): { code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: build_diagnostic_more; config_ref?: string; oas_ref?: string; }`\n\n**get** `/v0/builds/{buildId}/diagnostics`\n\nGet the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of diagnostics to return, defaults to 100 (maximum: 100)\n\n- `severity?: 'fatal' | 'error' | 'warning' | 'note'`\n Includes the given severity and above (fatal > error > warning > note).\n\n- `targets?: string`\n Optional comma-delimited list of language targets to filter diagnostics by\n\n### Returns\n\n- `{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }`\n\n - `code: string`\n - `ignored: boolean`\n - `level: 'fatal' | 'error' | 'warning' | 'note'`\n - `message: string`\n - `more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }`\n - `config_ref?: string`\n - `oas_ref?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic);\n}\n```", + }, + { + name: 'retrieve', + endpoint: '/v0/build_target_outputs', + httpMethod: 'get', + summary: 'Download build target output', + description: + 'Retrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.', + stainlessPath: '(resource) builds.target_outputs > (method) retrieve', + qualified: 'client.builds.targetOutputs.retrieve', + params: [ + 'build_id: string;', + 'target: string;', + 'type: string;', + "output?: 'url' | 'git';", + 'path?: string;', + ], + response: + "{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }", + markdown: + "## retrieve\n\n`client.builds.targetOutputs.retrieve(build_id: string, target: string, type: string, output?: 'url' | 'git', path?: string): { output: 'url'; target: target; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: target; type: string; url: string; }`\n\n**get** `/v0/build_target_outputs`\n\nRetrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.\n\n### Parameters\n\n- `build_id: string`\n Build ID\n\n- `target: string`\n SDK language target name\n\n- `type: string`\n\n- `output?: 'url' | 'git'`\n Output format: url (download URL) or git (temporary access token).\n\n- `path?: string`\n The path of the file to get when used with \"type\": \"file\".\n\n### Returns\n\n- `{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);\n```", + }, + { + name: 'retrieve', + endpoint: '/v0/orgs/{org}', + httpMethod: 'get', + summary: 'Retrieve an organization', + description: 'Retrieve an organization by name.', + stainlessPath: '(resource) orgs > (method) retrieve', + qualified: 'client.orgs.retrieve', + params: ['org: string;'], + response: "{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }", + markdown: + "## retrieve\n\n`client.orgs.retrieve(org: string): { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n**get** `/v0/orgs/{org}`\n\nRetrieve an organization by name.\n\n### Parameters\n\n- `org: string`\n\n### Returns\n\n- `{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n - `display_name: string`\n - `enable_ai_commit_messages: boolean`\n - `object: 'org'`\n - `slug: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org);\n```", + }, + { + name: 'list', + endpoint: '/v0/orgs', + httpMethod: 'get', + summary: 'List organizations', + description: 'List organizations accessible to the current authentication method.', + stainlessPath: '(resource) orgs > (method) list', + qualified: 'client.orgs.list', + response: + "{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }", + markdown: + "## list\n\n`client.orgs.list(): { data: org[]; has_more: boolean; next_cursor?: string; }`\n\n**get** `/v0/orgs`\n\nList organizations accessible to the current authentication method.\n\n### Returns\n\n- `{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }`\n\n - `data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]`\n - `has_more: boolean`\n - `next_cursor?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs);\n```", + }, + { + name: 'retrieve', + endpoint: '/v0/user', + httpMethod: 'get', + summary: 'Retrieve the current user', + description: "Retrieve the currently authenticated user's information.", + stainlessPath: '(resource) user > (method) retrieve', + qualified: 'client.user.retrieve', + response: "{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }", + markdown: + "## retrieve\n\n`client.user.retrieve(): { id: string; email: string; github: object; name: string; object: 'user'; }`\n\n**get** `/v0/user`\n\nRetrieve the currently authenticated user's information.\n\n### Returns\n\n- `{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }`\n\n - `id: string`\n - `email: string`\n - `github: { username: string; }`\n - `name: string`\n - `object: 'user'`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst user = await client.user.retrieve();\n\nconsole.log(user);\n```", + }, +]; + +const INDEX_OPTIONS = { + fields: [ + 'name', + 'endpoint', + 'summary', + 'description', + 'qualified', + 'stainlessPath', + 'content', + 'sectionContext', + ], + storeFields: ['kind', '_original'], + searchOptions: { + prefix: true, + fuzzy: 0.2, + boost: { + name: 3, + endpoint: 2, + summary: 2, + qualified: 2, + content: 1, + } as Record, + }, +}; + +/** + * Self-contained local search engine backed by MiniSearch. + * Method data is embedded at SDK build time; prose documents + * can be loaded from an optional docs directory at runtime. + */ +export class LocalDocsSearch { + private methodIndex: MiniSearch; + private proseIndex: MiniSearch; + + private constructor() { + this.methodIndex = new MiniSearch(INDEX_OPTIONS); + this.proseIndex = new MiniSearch(INDEX_OPTIONS); + } + + static async create(opts?: { docsDir?: string }): Promise { + const instance = new LocalDocsSearch(); + instance.indexMethods(EMBEDDED_METHODS); + if (opts?.docsDir) { + await instance.loadDocsDirectory(opts.docsDir); + } + return instance; + } + + // Note: Language is accepted for interface consistency with remote search, but currently has no + // effect since this local search only supports TypeScript docs. + search(props: { + query: string; + language?: string; + detail?: string; + maxResults?: number; + maxLength?: number; + }): SearchResult { + const { query, detail = 'default', maxResults = 5, maxLength = 100_000 } = props; + + const useMarkdown = detail === 'verbose' || detail === 'high'; + + // Search both indices and merge results by score + const methodHits = this.methodIndex + .search(query) + .map((hit) => ({ ...hit, _kind: 'http_method' as const })); + const proseHits = this.proseIndex.search(query).map((hit) => ({ ...hit, _kind: 'prose' as const })); + const merged = [...methodHits, ...proseHits].sort((a, b) => b.score - a.score); + const top = merged.slice(0, maxResults); + + const fullResults: (string | Record)[] = []; + + for (const hit of top) { + const original = (hit as Record)['_original']; + if (hit._kind === 'http_method') { + const m = original as MethodEntry; + if (useMarkdown && m.markdown) { + fullResults.push(m.markdown); + } else { + fullResults.push({ + method: m.qualified, + summary: m.summary, + description: m.description, + endpoint: `${m.httpMethod.toUpperCase()} ${m.endpoint}`, + ...(m.params ? { params: m.params } : {}), + ...(m.response ? { response: m.response } : {}), + }); + } + } else { + const c = original as ProseChunk; + fullResults.push({ + content: c.content, + ...(c.source ? { source: c.source } : {}), + }); + } + } + + let totalLength = 0; + const results: (string | Record)[] = []; + for (const result of fullResults) { + const len = typeof result === 'string' ? result.length : JSON.stringify(result).length; + totalLength += len; + if (totalLength > maxLength) break; + results.push(result); + } + + if (results.length < fullResults.length) { + results.unshift(`Truncated; showing ${results.length} of ${fullResults.length} results.`); + } + + return { results }; + } + + private indexMethods(methods: MethodEntry[]): void { + const docs: MiniSearchDocument[] = methods.map((m, i) => ({ + id: `method-${i}`, + kind: 'http_method' as const, + name: m.name, + endpoint: m.endpoint, + summary: m.summary, + description: m.description, + qualified: m.qualified, + stainlessPath: m.stainlessPath, + _original: m as unknown as Record, + })); + if (docs.length > 0) { + this.methodIndex.addAll(docs); + } + } + + private async loadDocsDirectory(docsDir: string): Promise { + let entries; + try { + entries = await fs.readdir(docsDir, { withFileTypes: true }); + } catch (err) { + getLogger().warn({ err, docsDir }, 'Could not read docs directory'); + return; + } + + const files = entries + .filter((e) => e.isFile()) + .filter((e) => e.name.endsWith('.md') || e.name.endsWith('.markdown') || e.name.endsWith('.json')); + + for (const file of files) { + try { + const filePath = path.join(docsDir, file.name); + const content = await fs.readFile(filePath, 'utf-8'); + + if (file.name.endsWith('.json')) { + const texts = extractTexts(JSON.parse(content)); + if (texts.length > 0) { + this.indexProse(texts.join('\n\n'), file.name); + } + } else { + this.indexProse(content, file.name); + } + } catch (err) { + getLogger().warn({ err, file: file.name }, 'Failed to index docs file'); + } + } + } + + private indexProse(markdown: string, source: string): void { + const chunks = chunkMarkdown(markdown); + const baseId = this.proseIndex.documentCount; + + const docs: MiniSearchDocument[] = chunks.map((chunk, i) => ({ + id: `prose-${baseId + i}`, + kind: 'prose' as const, + content: chunk.content, + ...(chunk.sectionContext != null ? { sectionContext: chunk.sectionContext } : {}), + _original: { ...chunk, source } as unknown as Record, + })); + + if (docs.length > 0) { + this.proseIndex.addAll(docs); + } + } +} + +/** Lightweight markdown chunker — splits on headers, chunks by word count. */ +function chunkMarkdown(markdown: string): { content: string; tag: string; sectionContext?: string }[] { + // Strip YAML frontmatter + const stripped = markdown.replace(/^---\n[\s\S]*?\n---\n?/, ''); + const lines = stripped.split('\n'); + + const chunks: { content: string; tag: string; sectionContext?: string }[] = []; + const headers: string[] = []; + let current: string[] = []; + + const flush = () => { + const text = current.join('\n').trim(); + if (!text) return; + const sectionContext = headers.length > 0 ? headers.join(' > ') : undefined; + // Split into ~200-word chunks + const words = text.split(/\s+/); + for (let i = 0; i < words.length; i += 200) { + const slice = words.slice(i, i + 200).join(' '); + if (slice) { + chunks.push({ content: slice, tag: 'p', ...(sectionContext != null ? { sectionContext } : {}) }); + } + } + current = []; + }; + + for (const line of lines) { + const headerMatch = line.match(/^(#{1,6})\s+(.+)/); + if (headerMatch) { + flush(); + const level = headerMatch[1]!.length; + const text = headerMatch[2]!.trim(); + while (headers.length >= level) headers.pop(); + headers.push(text); + } else { + current.push(line); + } + } + flush(); + + return chunks; +} + +/** Recursively extracts string values from a JSON structure. */ +function extractTexts(data: unknown, depth = 0): string[] { + if (depth > 10) return []; + if (typeof data === 'string') return data.trim() ? [data] : []; + if (Array.isArray(data)) return data.flatMap((item) => extractTexts(item, depth + 1)); + if (typeof data === 'object' && data !== null) { + return Object.values(data).flatMap((v) => extractTexts(v, depth + 1)); + } + return []; +} diff --git a/packages/mcp-server/src/options.ts b/packages/mcp-server/src/options.ts index d68058dc..f1518764 100644 --- a/packages/mcp-server/src/options.ts +++ b/packages/mcp-server/src/options.ts @@ -18,6 +18,8 @@ export type McpOptions = { includeCodeTool?: boolean | undefined; includeDocsTools?: boolean | undefined; stainlessApiKey?: string | undefined; + docsSearchMode?: 'stainless-api' | 'local' | undefined; + docsDir?: string | undefined; codeAllowHttpGets?: boolean | undefined; codeAllowedMethods?: string[] | undefined; codeBlockedMethods?: string[] | undefined; @@ -58,6 +60,18 @@ export function parseCLIOptions(): CLIOptions { description: 'Path to custom instructions for the MCP server', }) .option('debug', { type: 'boolean', description: 'Enable debug logging' }) + .option('docs-dir', { + type: 'string', + description: + 'Path to a directory of local documentation files (markdown/JSON) to include in local docs search.', + }) + .option('docs-search-mode', { + type: 'string', + choices: ['stainless-api', 'local'], + default: 'stainless-api', + description: + "Where to search documentation; 'stainless-api' uses the Stainless-hosted search API whereas 'local' uses an in-memory search index built from embedded SDK method data and optional local docs files.", + }) .option('log-format', { type: 'string', choices: ['json', 'pretty'], @@ -118,6 +132,8 @@ export function parseCLIOptions(): CLIOptions { ...(includeDocsTools !== undefined && { includeDocsTools }), debug: !!argv.debug, stainlessApiKey: argv.stainlessApiKey, + docsSearchMode: argv.docsSearchMode as 'stainless-api' | 'local' | undefined, + docsDir: argv.docsDir, codeAllowHttpGets: argv.codeAllowHttpGets, codeAllowedMethods: argv.codeAllowedMethods, codeBlockedMethods: argv.codeBlockedMethods, @@ -163,5 +179,7 @@ export function parseQueryOptions(defaultOptions: McpOptions, query: unknown): M ...(codeTool !== undefined && { includeCodeTool: codeTool }), ...(docsTools !== undefined && { includeDocsTools: docsTools }), codeExecutionMode: defaultOptions.codeExecutionMode, + docsSearchMode: defaultOptions.docsSearchMode, + docsDir: defaultOptions.docsDir, }; } diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index c95a50dc..55d1b353 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -11,6 +11,8 @@ import { ClientOptions } from '@stainless-api/sdk'; import Stainless from '@stainless-api/sdk'; import { codeTool } from './code-tool'; import docsSearchTool from './docs-search-tool'; +import { setLocalSearch } from './docs-search-tool'; +import { LocalDocsSearch } from './local-docs-search'; import { getInstructions } from './instructions'; import { McpOptions } from './options'; import { blockedMethodsForCodeTool } from './methods'; @@ -63,6 +65,12 @@ export async function initMcpServer(params: { error: logAtLevel('error'), }; + if (params.mcpOptions?.docsSearchMode === 'local') { + const docsDir = params.mcpOptions?.docsDir; + const localSearch = await LocalDocsSearch.create(docsDir ? { docsDir } : undefined); + setLocalSearch(localSearch); + } + let _client: Stainless | undefined; let _clientError: Error | undefined; let _logLevel: 'debug' | 'info' | 'warn' | 'error' | 'off' | undefined; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 96495513..d6c01d1a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -113,6 +113,9 @@ importers: jq-web: specifier: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz version: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz + minisearch: + specifier: ^7.2.0 + version: 7.2.0 pino: specifier: ^10.3.1 version: 10.3.1 @@ -2022,6 +2025,9 @@ packages: minimist@1.2.6: resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} + minisearch@7.2.0: + resolution: {integrity: sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg==} + mkdirp@2.1.6: resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==} engines: {node: '>=10'} @@ -5123,6 +5129,8 @@ snapshots: minimist@1.2.6: {} + minisearch@7.2.0: {} + mkdirp@2.1.6: {} mri@1.2.0: {} From b2ac0d28f0a05101140977a6c59625321edbe8ee Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 28 Mar 2026 02:37:11 +0000 Subject: [PATCH 36/69] chore(ci): escape input path in publish-npm workflow --- .github/workflows/publish-npm.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 6d178a55..63391a91 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -40,12 +40,14 @@ jobs: - name: Publish to NPM run: | - if [ -n "${{ github.event.inputs.path }}" ]; then - PATHS_RELEASED='[\"${{ github.event.inputs.path }}\"]' + if [ -n "$INPUT_PATH" ]; then + PATHS_RELEASED="[\"$INPUT_PATH\"]" else PATHS_RELEASED='[\".\", \"packages/mcp-server\"]' fi pnpm tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }" + env: + INPUT_PATH: ${{ github.event.inputs.path }} - name: Upload MCP Server DXT GitHub release asset run: | From 97a77cb6a4ee65aaac3fa9c596ff7e736a6bbe1f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 02:17:54 +0000 Subject: [PATCH 37/69] chore(mcp-server): add support for session id, forward client info --- packages/mcp-server/src/docs-search-tool.ts | 15 ++++++++------- packages/mcp-server/src/http.ts | 16 ++++++++++++++++ packages/mcp-server/src/server.ts | 4 ++++ packages/mcp-server/src/types.ts | 2 ++ 4 files changed, 30 insertions(+), 7 deletions(-) diff --git a/packages/mcp-server/src/docs-search-tool.ts b/packages/mcp-server/src/docs-search-tool.ts index 36017c36..6001df0d 100644 --- a/packages/mcp-server/src/docs-search-tool.ts +++ b/packages/mcp-server/src/docs-search-tool.ts @@ -76,17 +76,18 @@ async function searchLocal(args: Record): Promise { }).results; } -async function searchRemote( - args: Record, - stainlessApiKey: string | undefined, -): Promise { +async function searchRemote(args: Record, reqContext: McpRequestContext): Promise { const body = args as any; const query = new URLSearchParams(body).toString(); const startTime = Date.now(); const result = await fetch(`${docsSearchURL}?${query}`, { headers: { - ...(stainlessApiKey && { Authorization: stainlessApiKey }), + ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), + ...(reqContext.mcpSessionId && { 'x-stainless-mcp-session-id': reqContext.mcpSessionId }), + ...(reqContext.mcpClientInfo && { + 'x-stainless-mcp-client-info': JSON.stringify(reqContext.mcpClientInfo), + }), }, }); @@ -105,7 +106,7 @@ async function searchRemote( 'Got error response from docs search tool', ); - if (result.status === 404 && !stainlessApiKey) { + if (result.status === 404 && !reqContext.stainlessApiKey) { throw new Error( 'Could not find docs for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.', ); @@ -140,7 +141,7 @@ export const handler = async ({ return asTextContentResult(await searchLocal(body)); } - return asTextContentResult(await searchRemote(body, reqContext.stainlessApiKey)); + return asTextContentResult(await searchRemote(body, reqContext)); }; export default { metadata, tool, handler }; diff --git a/packages/mcp-server/src/http.ts b/packages/mcp-server/src/http.ts index da28ee08..d057bf9d 100644 --- a/packages/mcp-server/src/http.ts +++ b/packages/mcp-server/src/http.ts @@ -78,6 +78,11 @@ const newServer = async ({ }, stainlessApiKey: stainlessApiKey, upstreamClientEnvs, + mcpSessionId: (req as any).mcpSessionId, + mcpClientInfo: + typeof req.body?.params?.clientInfo?.name === 'string' ? + { name: req.body.params.clientInfo.name, version: String(req.body.params.clientInfo.version ?? '') } + : undefined, }); return server; @@ -135,6 +140,17 @@ export const streamableHTTPApp = ({ const app = express(); app.set('query parser', 'extended'); app.use(express.json()); + app.use((req: express.Request, res: express.Response, next: express.NextFunction) => { + const existing = req.headers['mcp-session-id']; + const sessionId = (Array.isArray(existing) ? existing[0] : existing) || crypto.randomUUID(); + (req as any).mcpSessionId = sessionId; + const origWriteHead = res.writeHead.bind(res); + res.writeHead = function (statusCode: number, ...rest: any[]) { + res.setHeader('mcp-session-id', sessionId); + return origWriteHead(statusCode, ...rest); + } as typeof res.writeHead; + next(); + }); app.use( pinoHttp({ logger: getLogger(), diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index 55d1b353..b3716eff 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -47,6 +47,8 @@ export async function initMcpServer(params: { mcpOptions?: McpOptions; stainlessApiKey?: string | undefined; upstreamClientEnvs?: Record | undefined; + mcpSessionId?: string | undefined; + mcpClientInfo?: { name: string; version: string } | undefined; }) { const server = params.server instanceof McpServer ? params.server.server : params.server; @@ -139,6 +141,8 @@ export async function initMcpServer(params: { client, stainlessApiKey: params.stainlessApiKey ?? params.mcpOptions?.stainlessApiKey, upstreamClientEnvs: params.upstreamClientEnvs, + mcpSessionId: params.mcpSessionId, + mcpClientInfo: params.mcpClientInfo, }, args, }); diff --git a/packages/mcp-server/src/types.ts b/packages/mcp-server/src/types.ts index 7135502e..b26edeb7 100644 --- a/packages/mcp-server/src/types.ts +++ b/packages/mcp-server/src/types.ts @@ -46,6 +46,8 @@ export type McpRequestContext = { client: Stainless; stainlessApiKey?: string | undefined; upstreamClientEnvs?: Record | undefined; + mcpSessionId?: string | undefined; + mcpClientInfo?: { name: string; version: string } | undefined; }; export type HandlerFunction = ({ From d6f4642f8a56ffb6ca4d1fba27f540715d33b3f9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 02:18:46 +0000 Subject: [PATCH 38/69] chore(internal): improve local docs search for MCP servers --- packages/mcp-server/src/docs-search-tool.ts | 13 +--- packages/mcp-server/src/local-docs-search.ts | 73 +++++++++++++++++--- 2 files changed, 64 insertions(+), 22 deletions(-) diff --git a/packages/mcp-server/src/docs-search-tool.ts b/packages/mcp-server/src/docs-search-tool.ts index 6001df0d..d61639fd 100644 --- a/packages/mcp-server/src/docs-search-tool.ts +++ b/packages/mcp-server/src/docs-search-tool.ts @@ -50,8 +50,6 @@ export function setLocalSearch(search: LocalDocsSearch): void { _localSearch = search; } -const SUPPORTED_LANGUAGES = new Set(['http', 'typescript', 'javascript']); - async function searchLocal(args: Record): Promise { if (!_localSearch) { throw new Error('Local search not initialized'); @@ -59,20 +57,13 @@ async function searchLocal(args: Record): Promise { const query = (args['query'] as string) ?? ''; const language = (args['language'] as string) ?? 'typescript'; - const detail = (args['detail'] as string) ?? 'verbose'; - - if (!SUPPORTED_LANGUAGES.has(language)) { - throw new Error( - `Local docs search only supports HTTP, TypeScript, and JavaScript. Got language="${language}". ` + - `Use --docs-search-mode stainless-api for other languages, or set language to "http", "typescript", or "javascript".`, - ); - } + const detail = (args['detail'] as string) ?? 'default'; return _localSearch.search({ query, language, detail, - maxResults: 10, + maxResults: 5, }).results; } diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index 7c11f2e0..25bde8cf 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -5,6 +5,11 @@ import * as fs from 'node:fs/promises'; import * as path from 'node:path'; import { getLogger } from './logger'; +type PerLanguageData = { + method?: string; + example?: string; +}; + type MethodEntry = { name: string; endpoint: string; @@ -16,6 +21,7 @@ type MethodEntry = { params?: string[]; response?: string; markdown?: string; + perLanguage?: Record; }; type ProseChunk = { @@ -392,6 +398,8 @@ const EMBEDDED_METHODS: MethodEntry[] = [ }, ]; +const EMBEDDED_READMES: { language: string; content: string }[] = []; + const INDEX_OPTIONS = { fields: [ 'name', @@ -406,13 +414,15 @@ const INDEX_OPTIONS = { storeFields: ['kind', '_original'], searchOptions: { prefix: true, - fuzzy: 0.2, + fuzzy: 0.1, boost: { - name: 3, - endpoint: 2, + name: 5, + stainlessPath: 3, + endpoint: 3, + qualified: 3, summary: 2, - qualified: 2, content: 1, + description: 1, } as Record, }, }; @@ -434,14 +444,15 @@ export class LocalDocsSearch { static async create(opts?: { docsDir?: string }): Promise { const instance = new LocalDocsSearch(); instance.indexMethods(EMBEDDED_METHODS); + for (const readme of EMBEDDED_READMES) { + instance.indexProse(readme.content, `readme:${readme.language}`); + } if (opts?.docsDir) { await instance.loadDocsDirectory(opts.docsDir); } return instance; } - // Note: Language is accepted for interface consistency with remote search, but currently has no - // effect since this local search only supports TypeScript docs. search(props: { query: string; language?: string; @@ -449,15 +460,29 @@ export class LocalDocsSearch { maxResults?: number; maxLength?: number; }): SearchResult { - const { query, detail = 'default', maxResults = 5, maxLength = 100_000 } = props; + const { query, language = 'typescript', detail = 'default', maxResults = 5, maxLength = 100_000 } = props; const useMarkdown = detail === 'verbose' || detail === 'high'; - // Search both indices and merge results by score + // Search both indices and merge results by score. + // Filter prose hits so language-tagged content (READMEs and docs with + // frontmatter) only matches the requested language. const methodHits = this.methodIndex .search(query) .map((hit) => ({ ...hit, _kind: 'http_method' as const })); - const proseHits = this.proseIndex.search(query).map((hit) => ({ ...hit, _kind: 'prose' as const })); + const proseHits = this.proseIndex + .search(query) + .filter((hit) => { + const source = ((hit as Record)['_original'] as ProseChunk | undefined)?.source; + if (!source) return true; + // Check for language-tagged sources: "readme:" or "lang::" + let taggedLang: string | undefined; + if (source.startsWith('readme:')) taggedLang = source.slice('readme:'.length); + else if (source.startsWith('lang:')) taggedLang = source.split(':')[1]; + if (!taggedLang) return true; + return taggedLang === language || (language === 'javascript' && taggedLang === 'typescript'); + }) + .map((hit) => ({ ...hit, _kind: 'prose' as const })); const merged = [...methodHits, ...proseHits].sort((a, b) => b.score - a.score); const top = merged.slice(0, maxResults); @@ -470,11 +495,16 @@ export class LocalDocsSearch { if (useMarkdown && m.markdown) { fullResults.push(m.markdown); } else { + // Use per-language data when available, falling back to the + // top-level fields (which are TypeScript-specific in the + // legacy codepath). + const langData = m.perLanguage?.[language]; fullResults.push({ - method: m.qualified, + method: langData?.method ?? m.qualified, summary: m.summary, description: m.description, endpoint: `${m.httpMethod.toUpperCase()} ${m.endpoint}`, + ...(langData?.example ? { example: langData.example } : {}), ...(m.params ? { params: m.params } : {}), ...(m.response ? { response: m.response } : {}), }); @@ -545,7 +575,19 @@ export class LocalDocsSearch { this.indexProse(texts.join('\n\n'), file.name); } } else { - this.indexProse(content, file.name); + // Parse optional YAML frontmatter for language tagging. + // Files with a "language" field in frontmatter will only + // surface in searches for that language. + // + // Example: + // --- + // language: python + // --- + // # Error handling in Python + // ... + const frontmatter = parseFrontmatter(content); + const source = frontmatter.language ? `lang:${frontmatter.language}:${file.name}` : file.name; + this.indexProse(content, source); } } catch (err) { getLogger().warn({ err, file: file.name }, 'Failed to index docs file'); @@ -623,3 +665,12 @@ function extractTexts(data: unknown, depth = 0): string[] { } return []; } + +/** Parses YAML frontmatter from a markdown string, extracting the language field if present. */ +function parseFrontmatter(markdown: string): { language?: string } { + const match = markdown.match(/^---\n([\s\S]*?)\n---/); + if (!match) return {}; + const body = match[1] ?? ''; + const langMatch = body.match(/^language:\s*(.+)$/m); + return langMatch ? { language: langMatch[1]!.trim() } : {}; +} From 995a1ceb2de6912839a2114ae0f54bda153797a6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 02:29:42 +0000 Subject: [PATCH 39/69] chore(tests): bump steady to v0.20.1 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index 290e21b9..15c29941 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.19.7 -- steady --version + npm exec --package=@stdy/cli@0.20.1 -- steady --version - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index a1ebb5e4..7431f9fd 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" echo exit 1 From 7cb39f817135cd4a71dd89472754eb3afb67cac7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 02:33:02 +0000 Subject: [PATCH 40/69] chore(internal): improve local docs search for MCP servers --- packages/mcp-server/src/local-docs-search.ts | 1037 +++++++++++++++++- 1 file changed, 982 insertions(+), 55 deletions(-) diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index 25bde8cf..a013fa75 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -50,26 +50,6 @@ type SearchResult = { }; const EMBEDDED_METHODS: MethodEntry[] = [ - { - name: 'create', - endpoint: '/v0/projects', - httpMethod: 'post', - summary: 'Create project', - description: 'Create a new project.', - stainlessPath: '(resource) projects > (method) create', - qualified: 'client.projects.create', - params: [ - 'display_name: string;', - 'org: string;', - 'revision: object;', - 'slug: string;', - 'targets: string[];', - ], - response: - "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", - markdown: - "## create\n\n`client.projects.create(display_name: string, org: string, revision: object, slug: string, targets: string[]): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**post** `/v0/projects`\n\nCreate a new project.\n\n### Parameters\n\n- `display_name: string`\n Human-readable project name\n\n- `org: string`\n Organization name\n\n- `revision: object`\n File contents to commit\n\n- `slug: string`\n Project name/slug\n\n- `targets: string[]`\n Targets to generate for\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project);\n```", - }, { name: 'retrieve', endpoint: '/v0/projects/{project}', @@ -83,6 +63,46 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", markdown: "## retrieve\n\n`client.projects.retrieve(project: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects/{project}`\n\nRetrieve a project by name.\n\n### Parameters\n\n- `project: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project);\n```", + perLanguage: { + cli: { + method: 'projects retrieve', + example: "stl projects retrieve \\\n --api-key 'My API Key' \\\n --project project", + }, + go: { + method: 'client.Projects.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Get(context.TODO(), stainless.ProjectGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'projects().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n Project project = client.projects().retrieve();\n }\n}', + }, + kotlin: { + method: 'projects().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().retrieve()\n}', + }, + python: { + method: 'projects.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.retrieve(\n project="project",\n)\nprint(project.config_repo)', + }, + ruby: { + method: 'projects.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.retrieve(project: "project")\n\nputs(project)', + }, + typescript: { + method: 'client.projects.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project.config_repo);", + }, + }, }, { name: 'update', @@ -97,6 +117,46 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", markdown: "## update\n\n`client.projects.update(project: string, display_name?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**patch** `/v0/projects/{project}`\n\nUpdate a project's properties.\n\n### Parameters\n\n- `project: string`\n\n- `display_name?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project);\n```", + perLanguage: { + cli: { + method: 'projects update', + example: "stl projects update \\\n --api-key 'My API Key' \\\n --project project", + }, + go: { + method: 'client.Projects.Update', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Update(context.TODO(), stainless.ProjectUpdateParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -X PATCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'projects().update', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectUpdateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n Project project = client.projects().update();\n }\n}', + }, + kotlin: { + method: 'projects().update', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectUpdateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().update()\n}', + }, + python: { + method: 'projects.update', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.update(\n project="project",\n)\nprint(project.config_repo)', + }, + ruby: { + method: 'projects.update', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.update(project: "project")\n\nputs(project)', + }, + typescript: { + method: 'client.projects.update', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project.config_repo);", + }, + }, }, { name: 'list', @@ -111,6 +171,107 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", markdown: "## list\n\n`client.projects.list(cursor?: string, limit?: number, org?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects`\n\nList projects in an organization, from oldest to newest.\n\n### Parameters\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of projects to return, defaults to 10 (maximum: 100).\n\n- `org?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project);\n}\n```", + perLanguage: { + cli: { + method: 'projects list', + example: "stl projects list \\\n --api-key 'My API Key'", + }, + go: { + method: 'client.Projects.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.List(context.TODO(), stainless.ProjectListParams{})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'projects().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectListPage;\nimport com.stainless.api.models.projects.ProjectListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectListPage page = client.projects().list();\n }\n}', + }, + kotlin: { + method: 'projects().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListPage\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: ProjectListPage = client.projects().list()\n}', + }, + python: { + method: 'projects.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.list()\npage = page.data[0]\nprint(page.config_repo)', + }, + ruby: { + method: 'projects.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.projects.list\n\nputs(page)', + }, + typescript: { + method: 'client.projects.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project.config_repo);\n}", + }, + }, + }, + { + name: 'create', + endpoint: '/v0/projects', + httpMethod: 'post', + summary: 'Create project', + description: 'Create a new project.', + stainlessPath: '(resource) projects > (method) create', + qualified: 'client.projects.create', + params: [ + 'display_name: string;', + 'org: string;', + 'revision: object;', + 'slug: string;', + 'targets: string[];', + ], + response: + "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + markdown: + "## create\n\n`client.projects.create(display_name: string, org: string, revision: object, slug: string, targets: string[]): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**post** `/v0/projects`\n\nCreate a new project.\n\n### Parameters\n\n- `display_name: string`\n Human-readable project name\n\n- `org: string`\n Organization name\n\n- `revision: object`\n File contents to commit\n\n- `slug: string`\n Project name/slug\n\n- `targets: string[]`\n Targets to generate for\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project);\n```", + perLanguage: { + cli: { + method: 'projects create', + example: + "stl projects create \\\n --api-key 'My API Key' \\\n --display-name display_name \\\n --org org \\\n --revision '{foo: {content: content}}' \\\n --slug slug \\\n --target node", + }, + go: { + method: 'client.Projects.New', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n\t"github.com/stainless-api/stainless-api-go/shared"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.New(context.TODO(), stainless.ProjectNewParams{\n\t\tDisplayName: "display_name",\n\t\tOrg: "org",\n\t\tRevision: map[string]shared.FileInputUnionParam{\n\t\t\t"foo": {\n\t\t\t\tOfFileInputContent: &shared.FileInputContentParam{\n\t\t\t\t\tContent: "content",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tSlug: "slug",\n\t\tTargets: []shared.Target{shared.TargetNode},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "display_name": "display_name",\n "org": "org",\n "revision": {\n "foo": {\n "content": "content"\n }\n },\n "slug": "slug",\n "targets": [\n "node"\n ]\n }\'', + }, + java: { + method: 'projects().create', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.Target;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectCreateParams;\nimport java.util.Map;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectCreateParams params = ProjectCreateParams.builder()\n .displayName("display_name")\n .org("org")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty("foo", JsonValue.from(Map.of(\n "content", "content"\n )))\n .build())\n .slug("slug")\n .addTarget(Target.NODE)\n .build();\n Project project = client.projects().create(params);\n }\n}', + }, + kotlin: { + method: 'projects().create', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.Target\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: ProjectCreateParams = ProjectCreateParams.builder()\n .displayName("display_name")\n .org("org")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty("foo", JsonValue.from(mapOf("content" to "content")))\n .build())\n .slug("slug")\n .addTarget(Target.NODE)\n .build()\n val project: Project = client.projects().create(params)\n}', + }, + python: { + method: 'projects.create', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.create(\n display_name="display_name",\n org="org",\n revision={\n "foo": {\n "content": "content"\n }\n },\n slug="slug",\n targets=["node"],\n)\nprint(project.config_repo)', + }, + ruby: { + method: 'projects.create', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.create(\n display_name: "display_name",\n org: "org",\n revision: {foo: {content: "content"}},\n slug: "slug",\n targets: [:node]\n)\n\nputs(project)', + }, + typescript: { + method: 'client.projects.create', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project.config_repo);", + }, + }, }, { name: 'generate_commit_message', @@ -124,6 +285,47 @@ const EMBEDDED_METHODS: MethodEntry[] = [ response: '{ ai_commit_message: string; }', markdown: "## generate_commit_message\n\n`client.projects.generateCommitMessage(project: string, target: string, base_ref: string, head_ref: string): { ai_commit_message: string; }`\n\n**post** `/v0/projects/{project}/generate_commit_message`\n\nGenerates an AI commit message by comparing two git refs in the SDK repository.\n\n### Parameters\n\n- `project: string`\n\n- `target: string`\n Language target\n\n- `base_ref: string`\n Base ref for comparison\n\n- `head_ref: string`\n Head ref for comparison\n\n### Returns\n\n- `{ ai_commit_message: string; }`\n\n - `ai_commit_message: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response);\n```", + perLanguage: { + cli: { + method: 'projects generate_commit_message', + example: + "stl projects generate-commit-message \\\n --api-key 'My API Key' \\\n --project project \\\n --target python \\\n --base-ref base_ref \\\n --head-ref head_ref", + }, + go: { + method: 'client.Projects.GenerateCommitMessage', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.GenerateCommitMessage(context.TODO(), stainless.ProjectGenerateCommitMessageParams{\n\t\tProject: stainless.String("project"),\n\t\tTarget: stainless.ProjectGenerateCommitMessageParamsTargetPython,\n\t\tBaseRef: "base_ref",\n\t\tHeadRef: "head_ref",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.AICommitMessage)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/generate_commit_message \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base_ref": "base_ref",\n "head_ref": "head_ref"\n }\'', + }, + java: { + method: 'projects().generateCommitMessage', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageParams;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectGenerateCommitMessageParams params = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef("base_ref")\n .headRef("head_ref")\n .build();\n ProjectGenerateCommitMessageResponse response = client.projects().generateCommitMessage(params);\n }\n}', + }, + kotlin: { + method: 'projects().generateCommitMessage', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageParams\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ProjectGenerateCommitMessageParams = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef("base_ref")\n .headRef("head_ref")\n .build()\n val response: ProjectGenerateCommitMessageResponse = client.projects().generateCommitMessage(params)\n}', + }, + python: { + method: 'projects.generate_commit_message', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.generate_commit_message(\n project="project",\n target="python",\n base_ref="base_ref",\n head_ref="head_ref",\n)\nprint(response.ai_commit_message)', + }, + ruby: { + method: 'projects.generate_commit_message', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.projects.generate_commit_message(\n project: "project",\n target: :python,\n base_ref: "base_ref",\n head_ref: "head_ref"\n)\n\nputs(response)', + }, + typescript: { + method: 'client.projects.generateCommitMessage', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response.ai_commit_message);", + }, + }, }, { name: 'create', @@ -139,6 +341,47 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", markdown: "## create\n\n`client.projects.branches.create(project: string, branch: string, branch_from: string, force?: boolean): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**post** `/v0/projects/{project}/branches`\n\nCreate a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n Branch name\n\n- `branch_from: string`\n Branch or commit SHA to branch from\n\n- `force?: boolean`\n Whether to throw an error if the branch already exists. Defaults to false.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch);\n```", + perLanguage: { + cli: { + method: 'branches create', + example: + "stl projects:branches create \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch \\\n --branch-from branch_from", + }, + go: { + method: 'client.Projects.Branches.New', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.New(context.TODO(), stainless.ProjectBranchNewParams{\n\t\tProject: stainless.String("project"),\n\t\tBranch: "branch",\n\t\tBranchFrom: "branch_from",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "branch": "branch",\n "branch_from": "branch_from"\n }\'', + }, + java: { + method: 'projects().branches().create', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchCreateParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BranchCreateParams params = BranchCreateParams.builder()\n .branch("branch")\n .branchFrom("branch_from")\n .build();\n ProjectBranch projectBranch = client.projects().branches().create(params);\n }\n}', + }, + kotlin: { + method: 'projects().branches().create', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchCreateParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: BranchCreateParams = BranchCreateParams.builder()\n .branch("branch")\n .branchFrom("branch_from")\n .build()\n val projectBranch: ProjectBranch = client.projects().branches().create(params)\n}', + }, + python: { + method: 'projects.branches.create', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.create(\n project="project",\n branch="branch",\n branch_from="branch_from",\n)\nprint(project_branch.branch)', + }, + ruby: { + method: 'projects.branches.create', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.create(project: "project", branch: "branch", branch_from: "branch_from")\n\nputs(project_branch)', + }, + typescript: { + method: 'client.projects.branches.create', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch.branch);", + }, + }, }, { name: 'retrieve', @@ -153,6 +396,47 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", markdown: "## retrieve\n\n`client.projects.branches.retrieve(project: string, branch: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches/{branch}`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + perLanguage: { + cli: { + method: 'branches retrieve', + example: + "stl projects:branches retrieve \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + go: { + method: 'client.Projects.Branches.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Get(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchGetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'projects().branches().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRetrieveParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().retrieve("branch");\n }\n}', + }, + kotlin: { + method: 'projects().branches().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().retrieve("branch")\n}', + }, + python: { + method: 'projects.branches.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.retrieve(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', + }, + ruby: { + method: 'projects.branches.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.retrieve("branch", project: "project")\n\nputs(project_branch)', + }, + typescript: { + method: 'client.projects.branches.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", + }, + }, }, { name: 'list', @@ -167,6 +451,46 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }", markdown: "## list\n\n`client.projects.branches.list(project: string, cursor?: string, limit?: number): { branch: string; config_commit: object; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of items to return, defaults to 10 (maximum: 100).\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build_id: string`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse);\n}\n```", + perLanguage: { + cli: { + method: 'branches list', + example: "stl projects:branches list \\\n --api-key 'My API Key' \\\n --project project", + }, + go: { + method: 'client.Projects.Branches.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.Branches.List(context.TODO(), stainless.ProjectBranchListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'projects().branches().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchListPage;\nimport com.stainless.api.models.projects.branches.BranchListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BranchListPage page = client.projects().branches().list();\n }\n}', + }, + kotlin: { + method: 'projects().branches().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListPage\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BranchListPage = client.projects().branches().list()\n}', + }, + python: { + method: 'projects.branches.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.branches.list(\n project="project",\n)\npage = page.data[0]\nprint(page.latest_build_id)', + }, + ruby: { + method: 'projects.branches.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.projects.branches.list(project: "project")\n\nputs(page)', + }, + typescript: { + method: 'client.projects.branches.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse.latest_build_id);\n}", + }, + }, }, { name: 'delete', @@ -180,6 +504,47 @@ const EMBEDDED_METHODS: MethodEntry[] = [ response: 'object', markdown: "## delete\n\n`client.projects.branches.delete(project: string, branch: string): object`\n\n**delete** `/v0/projects/{project}/branches/{branch}`\n\nDelete a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `object`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);\n```", + perLanguage: { + cli: { + method: 'branches delete', + example: + "stl projects:branches delete \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + go: { + method: 'client.Projects.Branches.Delete', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbranch, err := client.Projects.Branches.Delete(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchDeleteParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", branch)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -X DELETE \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'projects().branches().delete', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchDeleteParams;\nimport com.stainless.api.models.projects.branches.BranchDeleteResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BranchDeleteResponse branch = client.projects().branches().delete("branch");\n }\n}', + }, + kotlin: { + method: 'projects().branches().delete', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val branch: BranchDeleteResponse = client.projects().branches().delete("branch")\n}', + }, + python: { + method: 'projects.branches.delete', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbranch = client.projects.branches.delete(\n branch="branch",\n project="project",\n)\nprint(branch)', + }, + ruby: { + method: 'projects.branches.delete', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbranch = stainless.projects.branches.delete("branch", project: "project")\n\nputs(branch)', + }, + typescript: { + method: 'client.projects.branches.delete', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);", + }, + }, }, { name: 'rebase', @@ -195,6 +560,47 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", markdown: "## rebase\n\n`client.projects.branches.rebase(project: string, branch: string, base?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/rebase`\n\nRebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `base?: string`\n The branch or commit SHA to rebase onto. Defaults to \"main\".\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + perLanguage: { + cli: { + method: 'branches rebase', + example: + "stl projects:branches rebase \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + go: { + method: 'client.Projects.Branches.Rebase', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Rebase(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchRebaseParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/rebase \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'projects().branches().rebase', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRebaseParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().rebase("branch");\n }\n}', + }, + kotlin: { + method: 'projects().branches().rebase', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRebaseParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().rebase("branch")\n}', + }, + python: { + method: 'projects.branches.rebase', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.rebase(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', + }, + ruby: { + method: 'projects.branches.rebase', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.rebase("branch", project: "project")\n\nputs(project_branch)', + }, + typescript: { + method: 'client.projects.branches.rebase', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", + }, + }, }, { name: 'reset', @@ -210,6 +616,47 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", markdown: "## reset\n\n`client.projects.branches.reset(project: string, branch: string, target_config_sha?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/reset`\n\nReset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `target_config_sha?: string`\n The commit SHA to reset the main branch to. Required if resetting the main branch; disallowed otherwise.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + perLanguage: { + cli: { + method: 'branches reset', + example: + "stl projects:branches reset \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + go: { + method: 'client.Projects.Branches.Reset', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Reset(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchResetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/reset \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'projects().branches().reset', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchResetParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().reset("branch");\n }\n}', + }, + kotlin: { + method: 'projects().branches().reset', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchResetParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().reset("branch")\n}', + }, + python: { + method: 'projects.branches.reset', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.reset(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', + }, + ruby: { + method: 'projects.branches.reset', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.reset("branch", project: "project")\n\nputs(project_branch)', + }, + typescript: { + method: 'client.projects.branches.reset', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", + }, + }, }, { name: 'retrieve', @@ -223,6 +670,46 @@ const EMBEDDED_METHODS: MethodEntry[] = [ response: 'object', markdown: "## retrieve\n\n`client.projects.configs.retrieve(project: string, branch?: string, include?: string): object`\n\n**get** `/v0/projects/{project}/configs`\n\n\n Retrieve the configuration files for a given project.\n\n### Parameters\n\n- `project: string`\n\n- `branch?: string`\n Branch name, defaults to \"main\".\n\n- `include?: string`\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);\n```", + perLanguage: { + cli: { + method: 'configs retrieve', + example: "stl projects:configs retrieve \\\n --api-key 'My API Key' \\\n --project project", + }, + go: { + method: 'client.Projects.Configs.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tconfig, err := client.Projects.Configs.Get(context.TODO(), stainless.ProjectConfigGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", config)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/configs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'projects().configs().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveParams;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ConfigRetrieveResponse config = client.projects().configs().retrieve();\n }\n}', + }, + kotlin: { + method: 'projects().configs().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val config: ConfigRetrieveResponse = client.projects().configs().retrieve()\n}', + }, + python: { + method: 'projects.configs.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nconfig = client.projects.configs.retrieve(\n project="project",\n)\nprint(config)', + }, + ruby: { + method: 'projects.configs.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nconfig = stainless.projects.configs.retrieve(project: "project")\n\nputs(config)', + }, + typescript: { + method: 'client.projects.configs.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);", + }, + }, }, { name: 'guess', @@ -236,6 +723,108 @@ const EMBEDDED_METHODS: MethodEntry[] = [ response: 'object', markdown: "## guess\n\n`client.projects.configs.guess(project: string, spec: string, branch?: string): object`\n\n**post** `/v0/projects/{project}/configs/guess`\n\n\n Generate suggestions for changes to config files based on an OpenAPI spec.\n\n### Parameters\n\n- `project: string`\n\n- `spec: string`\n OpenAPI spec\n\n- `branch?: string`\n Branch name\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);\n```", + perLanguage: { + cli: { + method: 'configs guess', + example: + "stl projects:configs guess \\\n --api-key 'My API Key' \\\n --project project \\\n --spec spec", + }, + go: { + method: 'client.Projects.Configs.Guess', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.Configs.Guess(context.TODO(), stainless.ProjectConfigGuessParams{\n\t\tProject: stainless.String("project"),\n\t\tSpec: "spec",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/configs/guess \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "spec": "spec"\n }\'', + }, + java: { + method: 'projects().configs().guess', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigGuessParams;\nimport com.stainless.api.models.projects.configs.ConfigGuessResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ConfigGuessParams params = ConfigGuessParams.builder()\n .spec("spec")\n .build();\n ConfigGuessResponse response = client.projects().configs().guess(params);\n }\n}', + }, + kotlin: { + method: 'projects().configs().guess', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ConfigGuessParams = ConfigGuessParams.builder()\n .spec("spec")\n .build()\n val response: ConfigGuessResponse = client.projects().configs().guess(params)\n}', + }, + python: { + method: 'projects.configs.guess', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.configs.guess(\n project="project",\n spec="spec",\n)\nprint(response)', + }, + ruby: { + method: 'projects.configs.guess', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.projects.configs.guess(project: "project", spec: "spec")\n\nputs(response)', + }, + typescript: { + method: 'client.projects.configs.guess', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);", + }, + }, + }, + { + name: 'list', + endpoint: '/v0/builds', + httpMethod: 'get', + summary: 'List project builds', + description: + 'List user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.', + stainlessPath: '(resource) builds > (method) list', + qualified: 'client.builds.list', + params: [ + 'project: string;', + 'branch?: string;', + 'cursor?: string;', + 'limit?: number;', + 'revision?: string | object;', + ], + response: + "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + markdown: + "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", + perLanguage: { + cli: { + method: 'builds list', + example: "stl builds list \\\n --api-key 'My API Key' \\\n --project project", + }, + go: { + method: 'client.Builds.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'builds().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildListPage;\nimport com.stainless.api.models.builds.BuildListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BuildListPage page = client.builds().list();\n }\n}', + }, + kotlin: { + method: 'builds().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\nimport com.configure_me_stainless_v0.api.models.builds.BuildListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BuildListPage = client.builds().list()\n}', + }, + python: { + method: 'builds.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.list(\n project="project",\n)\npage = page.data[0]\nprint(page.id)', + }, + ruby: { + method: 'builds.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.builds.list(project: "project")\n\nputs(page)', + }, + typescript: { + method: 'client.builds.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build.id);\n}", + }, + }, }, { name: 'create', @@ -260,6 +849,47 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", markdown: "## create\n\n`client.builds.create(project: string, revision: string | object, allow_empty?: boolean, branch?: string, commit_message?: string, enable_ai_commit_message?: boolean, target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }, targets?: string[]): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**post** `/v0/builds`\n\nCreate a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `revision: string | object`\n Specifies what to build: a branch name, commit SHA, merge command\n(\"base..head\"), or file contents.\n\n- `allow_empty?: boolean`\n Whether to allow empty commits (no changes). Defaults to false.\n\n- `branch?: string`\n The project branch to use for the build. If not specified, the\nbranch is inferred from the `revision`, and will 400 when that\nis not possible.\n\n- `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `enable_ai_commit_message?: boolean`\n Whether to generate AI-powered commit messages for the build.\nCannot be combined with `commit_message` or `target_commit_messages`.\n\n- `target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }`\n Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.\n - `cli?: string`\n - `csharp?: string`\n - `go?: string`\n - `java?: string`\n - `kotlin?: string`\n - `node?: string`\n - `openapi?: string`\n - `php?: string`\n - `python?: string`\n - `ruby?: string`\n - `sql?: string`\n - `terraform?: string`\n - `typescript?: string`\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build);\n```", + perLanguage: { + cli: { + method: 'builds create', + example: + "stl builds create \\\n --api-key 'My API Key' \\\n --project project \\\n --revision string", + }, + go: { + method: 'client.Builds.New', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("project"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("string"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "project": "project",\n "revision": "string"\n }\'', + }, + java: { + method: 'builds().create', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCreateParams params = BuildCreateParams.builder()\n .project("project")\n .revision("string")\n .build();\n Build build = client.builds().create(params);\n }\n}', + }, + kotlin: { + method: 'builds().create', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCreateParams = BuildCreateParams.builder()\n .project("project")\n .revision("string")\n .build()\n val build: Build = client.builds().create(params)\n}', + }, + python: { + method: 'builds.create', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.create(\n project="project",\n revision="string",\n)\nprint(build.id)', + }, + ruby: { + method: 'builds.create', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.create(project: "project", revision: "string")\n\nputs(build)', + }, + typescript: { + method: 'client.builds.create', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build.id);", + }, + }, }, { name: 'retrieve', @@ -274,27 +904,46 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", markdown: "## retrieve\n\n`client.builds.retrieve(buildId: string): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds/{buildId}`\n\nRetrieve a build by its ID.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build);\n```", - }, - { - name: 'list', - endpoint: '/v0/builds', - httpMethod: 'get', - summary: 'List project builds', - description: - 'List user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.', - stainlessPath: '(resource) builds > (method) list', - qualified: 'client.builds.list', - params: [ - 'project: string;', - 'branch?: string;', - 'cursor?: string;', - 'limit?: number;', - 'revision?: string | object;', - ], - response: - "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", - markdown: - "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", + perLanguage: { + cli: { + method: 'builds retrieve', + example: "stl builds retrieve \\\n --api-key 'My API Key' \\\n --build-id buildId", + }, + go: { + method: 'client.Builds.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.Get(context.TODO(), "buildId")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds/$BUILD_ID \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'builds().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Build build = client.builds().retrieve("buildId");\n }\n}', + }, + kotlin: { + method: 'builds().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val build: Build = client.builds().retrieve("buildId")\n}', + }, + python: { + method: 'builds.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.retrieve(\n "buildId",\n)\nprint(build.id)', + }, + ruby: { + method: 'builds.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.retrieve("buildId")\n\nputs(build)', + }, + typescript: { + method: 'client.builds.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build.id);", + }, + }, }, { name: 'compare', @@ -315,6 +964,47 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }", markdown: "## compare\n\n`client.builds.compare(base: { branch: string; revision: string | object; commit_message?: string; }, head: { branch: string; revision: string | object; commit_message?: string; }, project: string, targets?: string[]): { base: build; head: build; }`\n\n**post** `/v0/builds/compare`\n\nCreate two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.\n\n### Parameters\n\n- `base: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the base build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `head: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the head build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `project: string`\n Project name\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }`\n\n - `base: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `head: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response);\n```", + perLanguage: { + cli: { + method: 'builds compare', + example: + "stl builds compare \\\n --api-key 'My API Key' \\\n --base '{branch: branch, revision: string}' \\\n --head '{branch: branch, revision: string}' \\\n --project project", + }, + go: { + method: 'client.Builds.Compare', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Builds.Compare(context.TODO(), stainless.BuildCompareParams{\n\t\tBase: stainless.BuildCompareParamsBase{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsBaseRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tHead: stainless.BuildCompareParamsHead{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsHeadRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.Base)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds/compare \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base": {\n "branch": "branch",\n "revision": "string"\n },\n "head": {\n "branch": "branch",\n "revision": "string"\n },\n "project": "project"\n }\'', + }, + java: { + method: 'builds().compare', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildCompareParams;\nimport com.stainless.api.models.builds.BuildCompareResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCompareParams params = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch("branch")\n .revision("string")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch("branch")\n .revision("string")\n .build())\n .project("project")\n .build();\n BuildCompareResponse response = client.builds().compare(params);\n }\n}', + }, + kotlin: { + method: 'builds().compare', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareParams\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCompareParams = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch("branch")\n .revision("string")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch("branch")\n .revision("string")\n .build())\n .project("project")\n .build()\n val response: BuildCompareResponse = client.builds().compare(params)\n}', + }, + python: { + method: 'builds.compare', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.builds.compare(\n base={\n "branch": "branch",\n "revision": "string",\n },\n head={\n "branch": "branch",\n "revision": "string",\n },\n project="project",\n)\nprint(response.base)', + }, + ruby: { + method: 'builds.compare', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.builds.compare(\n base: {branch: "branch", revision: "string"},\n head: {branch: "branch", revision: "string"},\n project: "project"\n)\n\nputs(response)', + }, + typescript: { + method: 'client.builds.compare', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response.base);", + }, + }, }, { name: 'list', @@ -336,6 +1026,46 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }", markdown: "## list\n\n`client.builds.diagnostics.list(buildId: string, cursor?: string, limit?: number, severity?: 'fatal' | 'error' | 'warning' | 'note', targets?: string): { code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: build_diagnostic_more; config_ref?: string; oas_ref?: string; }`\n\n**get** `/v0/builds/{buildId}/diagnostics`\n\nGet the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of diagnostics to return, defaults to 100 (maximum: 100)\n\n- `severity?: 'fatal' | 'error' | 'warning' | 'note'`\n Includes the given severity and above (fatal > error > warning > note).\n\n- `targets?: string`\n Optional comma-delimited list of language targets to filter diagnostics by\n\n### Returns\n\n- `{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }`\n\n - `code: string`\n - `ignored: boolean`\n - `level: 'fatal' | 'error' | 'warning' | 'note'`\n - `message: string`\n - `more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }`\n - `config_ref?: string`\n - `oas_ref?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic);\n}\n```", + perLanguage: { + cli: { + method: 'diagnostics list', + example: "stl builds:diagnostics list \\\n --api-key 'My API Key' \\\n --build-id buildId", + }, + go: { + method: 'client.Builds.Diagnostics.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.Diagnostics.List(\n\t\tcontext.TODO(),\n\t\t"buildId",\n\t\tstainless.BuildDiagnosticListParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds/$BUILD_ID/diagnostics \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'builds().diagnostics().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListPage;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n DiagnosticListPage page = client.builds().diagnostics().list("buildId");\n }\n}', + }, + kotlin: { + method: 'builds().diagnostics().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListPage\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: DiagnosticListPage = client.builds().diagnostics().list("buildId")\n}', + }, + python: { + method: 'builds.diagnostics.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.diagnostics.list(\n build_id="buildId",\n)\npage = page.data[0]\nprint(page.code)', + }, + ruby: { + method: 'builds.diagnostics.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.builds.diagnostics.list("buildId")\n\nputs(page)', + }, + typescript: { + method: 'client.builds.diagnostics.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic.code);\n}", + }, + }, }, { name: 'retrieve', @@ -357,19 +1087,47 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }", markdown: "## retrieve\n\n`client.builds.targetOutputs.retrieve(build_id: string, target: string, type: string, output?: 'url' | 'git', path?: string): { output: 'url'; target: target; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: target; type: string; url: string; }`\n\n**get** `/v0/build_target_outputs`\n\nRetrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.\n\n### Parameters\n\n- `build_id: string`\n Build ID\n\n- `target: string`\n SDK language target name\n\n- `type: string`\n\n- `output?: 'url' | 'git'`\n Output format: url (download URL) or git (temporary access token).\n\n- `path?: string`\n The path of the file to get when used with \"type\": \"file\".\n\n### Returns\n\n- `{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);\n```", - }, - { - name: 'retrieve', - endpoint: '/v0/orgs/{org}', - httpMethod: 'get', - summary: 'Retrieve an organization', - description: 'Retrieve an organization by name.', - stainlessPath: '(resource) orgs > (method) retrieve', - qualified: 'client.orgs.retrieve', - params: ['org: string;'], - response: "{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }", - markdown: - "## retrieve\n\n`client.orgs.retrieve(org: string): { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n**get** `/v0/orgs/{org}`\n\nRetrieve an organization by name.\n\n### Parameters\n\n- `org: string`\n\n### Returns\n\n- `{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n - `display_name: string`\n - `enable_ai_commit_messages: boolean`\n - `object: 'org'`\n - `slug: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org);\n```", + perLanguage: { + cli: { + method: 'target_outputs retrieve', + example: + "stl builds:target-outputs retrieve \\\n --api-key 'My API Key' \\\n --build-id build_id \\\n --target node \\\n --type source", + }, + go: { + method: 'client.Builds.TargetOutputs.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\ttargetOutput, err := client.Builds.TargetOutputs.Get(context.TODO(), stainless.BuildTargetOutputGetParams{\n\t\tBuildID: "build_id",\n\t\tTarget: stainless.BuildTargetOutputGetParamsTargetNode,\n\t\tType: stainless.BuildTargetOutputGetParamsTypeSource,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", targetOutput)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/build_target_outputs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'builds().targetOutputs().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveParams;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n TargetOutputRetrieveParams params = TargetOutputRetrieveParams.builder()\n .buildId("build_id")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build();\n TargetOutputRetrieveResponse targetOutput = client.builds().targetOutputs().retrieve(params);\n }\n}', + }, + kotlin: { + method: 'builds().targetOutputs().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveParams\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: TargetOutputRetrieveParams = TargetOutputRetrieveParams.builder()\n .buildId("build_id")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build()\n val targetOutput: TargetOutputRetrieveResponse = client.builds().targetOutputs().retrieve(params)\n}', + }, + python: { + method: 'builds.target_outputs.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\ntarget_output = client.builds.target_outputs.retrieve(\n build_id="build_id",\n target="node",\n type="source",\n)\nprint(target_output)', + }, + ruby: { + method: 'builds.target_outputs.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\ntarget_output = stainless.builds.target_outputs.retrieve(build_id: "build_id", target: :node, type: :source)\n\nputs(target_output)', + }, + typescript: { + method: 'client.builds.targetOutputs.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);", + }, + }, }, { name: 'list', @@ -383,6 +1141,99 @@ const EMBEDDED_METHODS: MethodEntry[] = [ "{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }", markdown: "## list\n\n`client.orgs.list(): { data: org[]; has_more: boolean; next_cursor?: string; }`\n\n**get** `/v0/orgs`\n\nList organizations accessible to the current authentication method.\n\n### Returns\n\n- `{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }`\n\n - `data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]`\n - `has_more: boolean`\n - `next_cursor?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs);\n```", + perLanguage: { + cli: { + method: 'orgs list', + example: "stl orgs list \\\n --api-key 'My API Key'", + }, + go: { + method: 'client.Orgs.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torgs, err := client.Orgs.List(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", orgs.Data)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/orgs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'orgs().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.OrgListParams;\nimport com.stainless.api.models.orgs.OrgListResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n OrgListResponse orgs = client.orgs().list();\n }\n}', + }, + kotlin: { + method: 'orgs().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListParams\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val orgs: OrgListResponse = client.orgs().list()\n}', + }, + python: { + method: 'orgs.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norgs = client.orgs.list()\nprint(orgs.data)', + }, + ruby: { + method: 'orgs.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\norgs = stainless.orgs.list\n\nputs(orgs)', + }, + typescript: { + method: 'client.orgs.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs.data);", + }, + }, + }, + { + name: 'retrieve', + endpoint: '/v0/orgs/{org}', + httpMethod: 'get', + summary: 'Retrieve an organization', + description: 'Retrieve an organization by name.', + stainlessPath: '(resource) orgs > (method) retrieve', + qualified: 'client.orgs.retrieve', + params: ['org: string;'], + response: "{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }", + markdown: + "## retrieve\n\n`client.orgs.retrieve(org: string): { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n**get** `/v0/orgs/{org}`\n\nRetrieve an organization by name.\n\n### Parameters\n\n- `org: string`\n\n### Returns\n\n- `{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n - `display_name: string`\n - `enable_ai_commit_messages: boolean`\n - `object: 'org'`\n - `slug: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org);\n```", + perLanguage: { + cli: { + method: 'orgs retrieve', + example: "stl orgs retrieve \\\n --api-key 'My API Key' \\\n --org org", + }, + go: { + method: 'client.Orgs.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torg, err := client.Orgs.Get(context.TODO(), "org")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", org.DisplayName)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/orgs/$ORG \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'orgs().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.Org;\nimport com.stainless.api.models.orgs.OrgRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Org org = client.orgs().retrieve("org");\n }\n}', + }, + kotlin: { + method: 'orgs().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.Org\nimport com.configure_me_stainless_v0.api.models.orgs.OrgRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val org: Org = client.orgs().retrieve("org")\n}', + }, + python: { + method: 'orgs.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norg = client.orgs.retrieve(\n "org",\n)\nprint(org.display_name)', + }, + ruby: { + method: 'orgs.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\norg = stainless.orgs.retrieve("org")\n\nputs(org)', + }, + typescript: { + method: 'client.orgs.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org.display_name);", + }, + }, }, { name: 'retrieve', @@ -395,10 +1246,86 @@ const EMBEDDED_METHODS: MethodEntry[] = [ response: "{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }", markdown: "## retrieve\n\n`client.user.retrieve(): { id: string; email: string; github: object; name: string; object: 'user'; }`\n\n**get** `/v0/user`\n\nRetrieve the currently authenticated user's information.\n\n### Returns\n\n- `{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }`\n\n - `id: string`\n - `email: string`\n - `github: { username: string; }`\n - `name: string`\n - `object: 'user'`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst user = await client.user.retrieve();\n\nconsole.log(user);\n```", + perLanguage: { + cli: { + method: 'user retrieve', + example: "stl user retrieve \\\n --api-key 'My API Key'", + }, + go: { + method: 'client.User.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tuser, err := client.User.Get(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", user.ID)\n}\n', + }, + http: { + example: + 'curl https://api.stainless.com/v0/user \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + java: { + method: 'user().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.user.UserRetrieveParams;\nimport com.stainless.api.models.user.UserRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n UserRetrieveResponse user = client.user().retrieve();\n }\n}', + }, + kotlin: { + method: 'user().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveParams\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val user: UserRetrieveResponse = client.user().retrieve()\n}', + }, + python: { + method: 'user.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nuser = client.user.retrieve()\nprint(user.id)', + }, + ruby: { + method: 'user.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nuser = stainless.user.retrieve\n\nputs(user)', + }, + typescript: { + method: 'client.user.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst user = await client.user.retrieve();\n\nconsole.log(user.id);", + }, + }, }, ]; -const EMBEDDED_READMES: { language: string; content: string }[] = []; +const EMBEDDED_READMES: { language: string; content: string }[] = [ + { + language: 'python', + content: + '# Stainless Python API library\n\n\n[![PyPI version](https://img.shields.io/pypi/v/stainless_v0.svg?label=pypi%20(stable))](https://pypi.org/project/stainless_v0/)\n\nThe Stainless Python library provides convenient access to the Stainless REST API from any Python 3.9+\napplication. The library includes type definitions for all request params and response fields,\nand offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\n## Installation\n\n```sh\n# install from this staging repo\npip install git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\n```\n> [!NOTE]\n> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install stainless_v0`\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```python\nimport os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nbuild = client.builds.create(\n project="stainless",\n revision="main",\n)\nprint(build.id)\n```\n\nWhile you can provide an `api_key` keyword argument,\nwe recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)\nto add `STAINLESS_API_KEY="My API Key"` to your `.env` file\nso that your API Key is not stored in source control.\n\n## Async usage\n\nSimply import `AsyncStainless` instead of `Stainless` and use `await` with each API call:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nasync def main() -> None:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\nFunctionality between the synchronous and asynchronous clients is otherwise identical.\n\n### With aiohttp\n\nBy default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.\n\nYou can enable this by installing `aiohttp`:\n\n```sh\n# install from this staging repo\npip install \'stainless_v0[aiohttp] @ git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\'\n```\n\nThen you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import DefaultAioHttpClient\nfrom stainless_v0 import AsyncStainless\n\nasync def main() -> None:\n async with AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n http_client=DefaultAioHttpClient(),\n) as client:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\n\n\n## Using types\n\nNested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:\n\n- Serializing back into JSON, `model.to_json()`\n- Converting to a dictionary, `model.to_dict()`\n\nTyped requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.\n\n## Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nall_builds = []\n# Automatically fetches more pages as needed.\nfor build in client.builds.list(\n project="stainless",\n):\n # Do something with build here\n all_builds.append(build)\nprint(all_builds)\n```\n\nOr, asynchronously:\n\n```python\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless()\n\nasync def main() -> None:\n all_builds = []\n # Iterate through items across all pages, issuing requests as needed.\n async for build in client.builds.list(\n project="stainless",\n):\n all_builds.append(build)\n print(all_builds)\n\nasyncio.run(main())\n```\n\nAlternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\nif first_page.has_next_page():\n print(f"will fetch next page using these details: {first_page.next_page_info()}")\n next_page = await first_page.get_next_page()\n print(f"number of items we just fetched: {len(next_page.data)}")\n\n# Remove `await` for non-async usage.\n```\n\nOr just work directly with the returned data:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\n\nprint(f"next page cursor: {first_page.next_cursor}") # => "next page cursor: ..."\nfor build in first_page.data:\n print(build.id)\n\n# Remove `await` for non-async usage.\n```\n\n## Nested params\n\nNested parameters are dictionaries, typed using `TypedDict`, for example:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nbuild = client.builds.create(\n project="project",\n revision="string",\n target_commit_messages={},\n)\nprint(build.target_commit_messages)\n```\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `stainless_v0.APIConnectionError` is raised.\n\nWhen the API returns a non-success status code (that is, 4xx or 5xx\nresponse), a subclass of `stainless_v0.APIStatusError` is raised, containing `status_code` and `response` properties.\n\nAll errors inherit from `stainless_v0.APIError`.\n\n```python\nimport stainless_v0\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\ntry:\n client.builds.create(\n project="stainless",\n revision="main",\n )\nexcept stainless_v0.APIConnectionError as e:\n print("The server could not be reached")\n print(e.__cause__) # an underlying Exception, likely raised within httpx.\nexcept stainless_v0.RateLimitError as e:\n print("A 429 status code was received; we should back off a bit.")\nexcept stainless_v0.APIStatusError as e:\n print("Another non-200-range status code was received")\n print(e.status_code)\n print(e.response)\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors are automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors are all retried by default.\n\nYou can use the `max_retries` option to configure or disable retry settings:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # default is 2\n max_retries=0,\n)\n\n# Or, configure per-request:\nclient.with_options(max_retries = 5).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\n### Timeouts\n\nBy default requests time out after 1 minute. You can configure this with a `timeout` option,\nwhich accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # 20 seconds (default is 1 minute)\n timeout=20.0,\n)\n\n# More granular control:\nclient = Stainless(\n timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),\n)\n\n# Override per-request:\nclient.with_options(timeout = 5.0).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\nOn timeout, an `APITimeoutError` is thrown.\n\nNote that requests that time out are [retried twice by default](#retries).\n\n\n\n## Advanced\n\n### Logging\n\nWe use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.\n\nYou can enable logging by setting the environment variable `STAINLESS_LOG` to `info`.\n\n```shell\n$ export STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging.\n\n### How to tell whether `None` means `null` or missing\n\nIn an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:\n\n```py\nif response.my_field is None:\n if \'my_field\' not in response.model_fields_set:\n print(\'Got json like {}, without a "my_field" key present at all.\')\n else:\n print(\'Got json like {"my_field": null}.\')\n```\n\n### Accessing raw response data (e.g. headers)\n\nThe "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,\n\n```py\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\nresponse = client.builds.with_raw_response.create(\n project="stainless",\n revision="main",\n)\nprint(response.headers.get(\'X-My-Header\'))\n\nbuild = response.parse() # get the object that `builds.create()` would have returned\nprint(build.id)\n```\n\nThese methods return an [`APIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) object.\n\nThe async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.\n\n#### `.with_streaming_response`\n\nThe above interface eagerly reads the full response body when you make the request, which may not always be what you want.\n\nTo stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.\n\n```python\nwith client.builds.with_streaming_response.create(\n project="stainless",\n revision="main",\n) as response :\n print(response.headers.get(\'X-My-Header\'))\n\n for line in response.iter_lines():\n print(line)\n```\n\nThe context manager is required so that the response will reliably be closed.\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API.\n\nIf you need to access undocumented endpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other\nhttp verbs. Options on the client will be respected (such as retries) when making this request.\n\n```py\nimport httpx\n\nresponse = client.post(\n "/foo",\n cast_to=httpx.Response,\n body={"my_param": True},\n)\n\nprint(response.headers.get("x-foo"))\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You\ncan also get all the extra fields on the Pydantic model as a dict with\n[`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).\n\n### Configuring the HTTP client\n\nYou can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:\n\n- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)\n- Custom [transports](https://www.python-httpx.org/advanced/transports/)\n- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality\n\n```python\nimport httpx\nfrom stainless_v0 import Stainless, DefaultHttpxClient\n\nclient = Stainless(\n # Or use the `STAINLESS_BASE_URL` env var\n base_url="http://my.test.server.example.com:8083",\n http_client=DefaultHttpxClient(proxy="http://my.test.proxy.example.com", transport=httpx.HTTPTransport(local_address="0.0.0.0")),\n)\n```\n\nYou can also customize the client on a per-request basis by using `with_options()`:\n\n```python\nclient.with_options(http_client=DefaultHttpxClient(...))\n```\n\n### Managing HTTP resources\n\nBy default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.\n\n```py\nfrom stainless_v0 import Stainless\n\nwith Stainless() as client:\n # make requests here\n ...\n\n# HTTP client is now closed\n```\n\n## Versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-python/issues) with questions, bugs, or suggestions.\n\n### Determining the installed version\n\nIf you\'ve upgraded to the latest version but aren\'t seeing any new features you were expecting then your python environment is likely still using an older version.\n\nYou can determine the version that is being used at runtime with:\n\n```py\nimport stainless_v0\nprint(stainless_v0.__version__)\n```\n\n## Requirements\n\nPython 3.9 or higher.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', + }, + { + language: 'go', + content: + '# Stainless Go API Library\n\nGo Reference\n\nThe Stainless Go library provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli)\nfrom applications written in Go.\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n\n\n```go\nimport (\n\t"github.com/stainless-api/stainless-api-go" // imported as SDK_PackageName\n)\n```\n\n\n\nOr to pin the version:\n\n\n\n```sh\ngo get -u \'github.com/stainless-api/stainless-api-go@v0.0.1\'\n```\n\n\n\n## Requirements\n\nThis library requires Go 1.22+.\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```go\npackage main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"), // defaults to os.LookupEnv("STAINLESS_API_KEY")\n\t\toption.WithEnvironmentStaging(), // defaults to option.WithEnvironmentProduction()\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n\n```\n\n### Request fields\n\nAll request parameters are wrapped in a generic `Field` type,\nwhich we use to distinguish zero values from null or omitted fields.\n\nThis prevents accidentally sending a zero value if you forget a required parameter,\nand enables explicitly sending `null`, `false`, `\'\'`, or `0` on optional parameters.\nAny field not specified is not sent.\n\nTo construct fields with values, use the helpers `String()`, `Int()`, `Float()`, or most commonly, the generic `F[T]()`.\nTo send a null, use `Null[T]()`, and to send a nonconforming value, use `Raw[T](any)`. For example:\n\n```go\nparams := FooParams{\n\tName: SDK_PackageName.F("hello"),\n\n\t// Explicitly send `"description": null`\n\tDescription: SDK_PackageName.Null[string](),\n\n\tPoint: SDK_PackageName.F(SDK_PackageName.Point{\n\t\tX: SDK_PackageName.Int(0),\n\t\tY: SDK_PackageName.Int(1),\n\n\t\t// In cases where the API specifies a given type,\n\t\t// but you want to send something else, use `Raw`:\n\t\tZ: SDK_PackageName.Raw[int64](0.01), // sends a float\n\t}),\n}\n```\n\n### Response objects\n\nAll fields in response structs are value types (not pointers or wrappers).\n\nIf a given field is `null`, not present, or invalid, the corresponding field\nwill simply be its zero value.\n\nAll response structs also include a special `JSON` field, containing more detailed\ninformation about each property, which you can use like so:\n\n```go\nif res.Name == "" {\n\t// true if `"name"` is either not present or explicitly null\n\tres.JSON.Name.IsNull()\n\n\t// true if the `"name"` key was not present in the response JSON at all\n\tres.JSON.Name.IsMissing()\n\n\t// When the API returns data that cannot be coerced to the expected type:\n\tif res.JSON.Name.IsInvalid() {\n\t\traw := res.JSON.Name.Raw()\n\n\t\tlegacyName := struct{\n\t\t\tFirst string `json:"first"`\n\t\t\tLast string `json:"last"`\n\t\t}{}\n\t\tjson.Unmarshal([]byte(raw), &legacyName)\n\t\tname = legacyName.First + " " + legacyName.Last\n\t}\n}\n```\n\nThese `.JSON` structs also include an `Extras` map containing\nany properties in the json response that were not specified\nin the struct. This can be useful for API features not yet\npresent in the SDK.\n\n```go\nbody := res.JSON.ExtraFields["my_unexpected_field"].Raw()\n```\n\n### RequestOptions\n\nThis library uses the functional options pattern. Functions defined in the\n`SDK_PackageOptionName` package return a `RequestOption`, which is a closure that mutates a\n`RequestConfig`. These options can be supplied to the client or at individual\nrequests. For example:\n\n```go\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\t// Adds a header to every request made by the client\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "custom_header_info"),\n)\n\nclient.Builds.New(context.TODO(), ...,\n\t// Override the header\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "some_other_custom_header_info"),\n\t// Add an undocumented field to the request body, using sjson syntax\n\tSDK_PackageOptionName.WithJSONSet("some.json.path", map[string]string{"my": "object"}),\n)\n```\n\nSee the [full list of request options](https://pkg.go.dev/github.com/stainless-api/stainless-api-go/SDK_PackageOptionName).\n\n### Pagination\n\nThis library provides some conveniences for working with paginated list endpoints.\n\nYou can use `.ListAutoPaging()` methods to iterate through items across all pages:\n\n```go\niter := client.Builds.ListAutoPaging(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\n// Automatically fetches more pages as needed.\nfor iter.Next() {\n\tbuild := iter.Current()\n\tfmt.Printf("%+v\\n", build)\n}\nif err := iter.Err(); err != nil {\n\tpanic(err.Error())\n}\n```\n\nOr you can use simple `.List()` methods to fetch a single page and receive a standard response object\nwith additional helper methods like `.GetNextPage()`, e.g.:\n\n```go\npage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\nfor page != nil {\n\tfor _, build := range page.Data {\n\t\tfmt.Printf("%+v\\n", build)\n\t}\n\tpage, err = page.GetNextPage()\n}\nif err != nil {\n\tpanic(err.Error())\n}\n```\n\n### Errors\n\nWhen the API returns a non-success status code, we return an error with type\n`*SDK_PackageName.Error`. This contains the `StatusCode`, `*http.Request`, and\n`*http.Response` values of the request, as well as the JSON of the error body\n(much like other response objects in the SDK).\n\nTo handle errors, we recommend that you use the `errors.As` pattern:\n\n```go\n_, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\tProject: stainless.String("stainless"),\n\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\tOfString: stainless.String("main"),\n\t},\n})\nif err != nil {\n\tvar apierr *stainless.Error\n\tif errors.As(err, &apierr) {\n\t\tprintln(string(apierr.DumpRequest(true))) // Prints the serialized HTTP request\n\t\tprintln(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response\n\t}\n\tpanic(err.Error()) // GET "/v0/builds": 400 Bad Request { ... }\n}\n```\n\nWhen other errors occur, they are returned unwrapped; for example,\nif HTTP transport fails, you might receive `*url.Error` wrapping `*net.OpError`.\n\n### Timeouts\n\nRequests do not time out by default; use context to configure a timeout for a request lifecycle.\n\nNote that if a request is [retried](#retries), the context timeout does not start over.\nTo set a per-retry timeout, use `SDK_PackageOptionName.WithRequestTimeout()`.\n\n```go\n// This sets the timeout for the request, including all the retries.\nctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)\ndefer cancel()\nclient.Builds.New(\n\tctx,\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\t// This sets the per-retry timeout\n\toption.WithRequestTimeout(20*time.Second),\n)\n```\n\n### File uploads\n\nRequest parameters that correspond to file uploads in multipart requests are typed as\n`param.Field[io.Reader]`. The contents of the `io.Reader` will by default be sent as a multipart form\npart with the file name of "anonymous_file" and content-type of "application/octet-stream".\n\nThe file name and content-type can be customized by implementing `Name() string` or `ContentType()\nstring` on the run-time type of `io.Reader`. Note that `os.File` implements `Name() string`, so a\nfile returned by `os.Open` will be sent with the file name on disk.\n\nWe also provide a helper `SDK_PackageName.FileParam(reader io.Reader, filename string, contentType string)`\nwhich can be used to wrap any `io.Reader` with the appropriate file name and content type.\n\n\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nWe retry by default all connection errors, 408 Request Timeout, 409 Conflict, 429 Rate Limit,\nand >=500 Internal errors.\n\nYou can use the `WithMaxRetries` option to configure or disable this:\n\n```go\n// Configure the default for all requests:\nclient := stainless.NewClient(\n\toption.WithMaxRetries(0), // default is 2\n)\n\n// Override per-request:\nclient.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithMaxRetries(5),\n)\n```\n\n\n### Accessing raw response data (e.g. response headers)\n\nYou can access the raw HTTP response data by using the `option.WithResponseInto()` request option. This is useful when\nyou need to examine response headers, status codes, or other details.\n\n```go\n// Create a variable to store the HTTP response\nvar response *http.Response\nbuild, err := client.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithResponseInto(&response),\n)\nif err != nil {\n\t// handle error\n}\nfmt.Printf("%+v\\n", build)\n\nfmt.Printf("Status Code: %d\\n", response.StatusCode)\nfmt.Printf("Headers: %+#v\\n", response.Header)\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.Get`, `client.Post`, and other HTTP verbs.\n`RequestOptions` on the client, such as retries, will be respected when making these requests.\n\n```go\nvar (\n // params can be an io.Reader, a []byte, an encoding/json serializable object,\n // or a "…Params" struct defined in this library.\n params map[string]interface{}\n\n // result can be an []byte, *http.Response, a encoding/json deserializable object,\n // or a model defined in this library.\n result *http.Response\n)\nerr := client.Post(context.Background(), "/unspecified", params, &result)\nif err != nil {\n …\n}\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use either the `SDK_PackageOptionName.WithQuerySet()`\nor the `SDK_PackageOptionName.WithJSONSet()` methods.\n\n```go\nparams := FooNewParams{\n ID: SDK_PackageName.F("id_xxxx"),\n Data: SDK_PackageName.F(FooNewParamsData{\n FirstName: SDK_PackageName.F("John"),\n }),\n}\nclient.Foo.New(context.Background(), params, SDK_PackageOptionName.WithJSONSet("data.last_name", "Doe"))\n```\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may either access the raw JSON of the response as a string\nwith `result.JSON.RawJSON()`, or get the raw JSON of a particular field on the result with\n`result.JSON.Foo.Raw()`.\n\nAny fields that are not present on the response struct will be saved and can be accessed by `result.JSON.ExtraFields()` which returns the extra fields as a `map[string]Field`.\n\n### Middleware\n\nWe provide `SDK_PackageOptionName.WithMiddleware` which applies the given\nmiddleware to requests.\n\n```go\nfunc Logger(req *http.Request, next SDK_PackageOptionName.MiddlewareNext) (res *http.Response, err error) {\n\t// Before the request\n\tstart := time.Now()\n\tLogReq(req)\n\n\t// Forward the request to the next handler\n\tres, err = next(req)\n\n\t// Handle stuff after the request\n\tend := time.Now()\n\tLogRes(res, err, start - end)\n\n return res, err\n}\n\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\tSDK_PackageOptionName.WithMiddleware(Logger),\n)\n```\n\nWhen multiple middlewares are provided as variadic arguments, the middlewares\nare applied left to right. If `SDK_PackageOptionName.WithMiddleware` is given\nmultiple times, for example first in the client then the method, the\nmiddleware in the client will run first and the middleware given in the method\nwill run next.\n\nYou may also replace the default `http.Client` with\n`SDK_PackageOptionName.WithHTTPClient(client)`. Only one http client is\naccepted (this overwrites any previous client) and receives requests after any\nmiddleware has been applied.\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-go/issues) with questions, bugs, or suggestions.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', + }, + { + language: 'typescript', + content: + "# Stainless TypeScript API Library\n\n[![NPM version](https://img.shields.io/npm/v/@stainless-api/sdk.svg?label=npm%20(stable))](https://npmjs.org/package/@stainless-api/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@stainless-api/sdk)\n\nThis library provides convenient access to the Stainless REST API from server-side TypeScript or JavaScript.\n\n\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n```sh\nnpm install @stainless-api/sdk\n```\n\n\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n\n```js\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst build = await client.builds.create({ project: 'stainless', revision: 'main' });\n\nconsole.log(build.id);\n```\n\n\n\n### Request & Response types\n\nThis library includes TypeScript definitions for all request params and response fields. You may import and use them like so:\n\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst params: Stainless.BuildCreateParams = { project: 'stainless', revision: 'main' };\nconst build: Stainless.Build = await client.builds.create(params);\n```\n\nDocumentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.\n\n\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API,\nor if the API returns a non-success status code (i.e., 4xx or 5xx response),\na subclass of `APIError` will be thrown:\n\n\n```ts\nconst build = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .catch(async (err) => {\n if (err instanceof Stainless.APIError) {\n console.log(err.status); // 400\n console.log(err.name); // BadRequestError\n console.log(err.headers); // {server: 'nginx', ...}\n } else {\n throw err;\n }\n });\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors will all be retried by default.\n\nYou can use the `maxRetries` option to configure or disable this:\n\n\n```js\n// Configure the default for all requests:\nconst client = new Stainless({\n maxRetries: 0, // default is 2\n});\n\n// Or, configure per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n maxRetries: 5,\n});\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default. You can configure this with a `timeout` option:\n\n\n```ts\n// Configure the default for all requests:\nconst client = new Stainless({\n timeout: 20 * 1000, // 20 seconds (default is 1 minute)\n});\n\n// Override per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n timeout: 5 * 1000,\n});\n```\n\nOn timeout, an `APIConnectionTimeoutError` is thrown.\n\nNote that requests which time out will be [retried twice by default](#retries).\n\n## Auto-pagination\n\nList methods in the Stainless API are paginated.\nYou can use the `for await … of` syntax to iterate through items across all pages:\n\n```ts\nasync function fetchAllBuilds(params) {\n const allBuilds = [];\n // Automatically fetches more pages as needed.\n for await (const build of client.builds.list({ project: 'stainless' })) {\n allBuilds.push(build);\n }\n return allBuilds;\n}\n```\n\nAlternatively, you can request a single page at a time:\n\n```ts\nlet page = await client.builds.list({ project: 'stainless' });\nfor (const build of page.data) {\n console.log(build);\n}\n\n// Convenience methods are provided for manually paginating:\nwhile (page.hasNextPage()) {\n page = await page.getNextPage();\n // ...\n}\n```\n\n\n\n## Advanced Usage\n\n### Accessing raw Response data (e.g., headers)\n\nThe \"raw\" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.\nThis method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.\n\nYou can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.\nUnlike `.asResponse()` this method consumes the body, returning once it is parsed.\n\n\n```ts\nconst client = new Stainless();\n\nconst response = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .asResponse();\nconsole.log(response.headers.get('X-My-Header'));\nconsole.log(response.statusText); // access the underlying Response object\n\nconst { data: build, response: raw } = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .withResponse();\nconsole.log(raw.headers.get('X-My-Header'));\nconsole.log(build.id);\n```\n\n### Logging\n\n> [!IMPORTANT]\n> All log messages are intended for debugging only. The format and content of log messages\n> may change between releases.\n\n#### Log levels\n\nThe log level can be configured in two ways:\n\n1. Via the `STAINLESS_LOG` environment variable\n2. Using the `logLevel` client option (overrides the environment variable if set)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n logLevel: 'debug', // Show all log messages\n});\n```\n\nAvailable log levels, from most to least verbose:\n\n- `'debug'` - Show debug messages, info, warnings, and errors\n- `'info'` - Show info messages, warnings, and errors\n- `'warn'` - Show warnings and errors (default)\n- `'error'` - Show only errors\n- `'off'` - Disable all logging\n\nAt the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.\nSome authentication-related headers are redacted, but sensitive data in request and response bodies\nmay still be visible.\n\n#### Custom logger\n\nBy default, this library logs to `globalThis.console`. You can also provide a custom logger.\nMost logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.\n\nWhen providing a custom logger, the `logLevel` option still controls which messages are emitted, messages\nbelow the configured level will not be sent to your logger.\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport pino from 'pino';\n\nconst logger = pino();\n\nconst client = new Stainless({\n logger: logger.child({ name: 'Stainless' }),\n logLevel: 'debug', // Send all messages to pino, allowing it to filter\n});\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.\nOptions on the client, such as retries, will be respected when making these requests.\n\n```ts\nawait client.post('/some/path', {\n body: { some_prop: 'foo' },\n query: { some_query_arg: 'bar' },\n});\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented\nparameter. This library doesn't validate at runtime that the request matches the type, so any extra values you\nsend will be sent as-is.\n\n```ts\nclient.builds.create({\n // ...\n // @ts-expect-error baz is not yet public\n baz: 'undocumented option',\n});\n```\n\nFor requests with the `GET` verb, any extra params will be in the query, all other requests will send the\nextra param in the body.\n\nIf you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may access the response object with `// @ts-expect-error` on\nthe response object, or cast the response object to the requisite type. Like the request params, we do not\nvalidate or strip extra properties from the response from the API.\n\n### Customizing the fetch client\n\nBy default, this library expects a global `fetch` function is defined.\n\nIf you want to use a different `fetch` function, you can either polyfill the global:\n\n```ts\nimport fetch from 'my-fetch';\n\nglobalThis.fetch = fetch;\n```\n\nOr pass it to the client:\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport fetch from 'my-fetch';\n\nconst client = new Stainless({ fetch });\n```\n\n### Fetch options\n\nIf you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n // `RequestInit` options\n },\n});\n```\n\n#### Configuring proxies\n\nTo modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy\noptions to requests:\n\n **Node** [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport * as undici from 'undici';\n\nconst proxyAgent = new undici.ProxyAgent('http://localhost:8888');\nconst client = new Stainless({\n fetchOptions: {\n dispatcher: proxyAgent,\n },\n});\n```\n\n **Bun** [[docs](https://bun.sh/guides/http/proxy)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n proxy: 'http://localhost:8888',\n },\n});\n```\n\n **Deno** [[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]\n\n```ts\nimport Stainless from 'npm:@stainless-api/sdk';\n\nconst httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });\nconst client = new Stainless({\n fetchOptions: {\n client: httpClient,\n },\n});\n```\n\n## Frequently Asked Questions\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-typescript/issues) with questions, bugs, or suggestions.\n\n## Requirements\n\nTypeScript >= 4.9 is supported.\n\nThe following runtimes are supported:\n\n- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)\n- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.\n- Deno v1.28.0 or higher.\n- Bun 1.0 or later.\n- Cloudflare Workers.\n- Vercel Edge Runtime.\n- Jest 28 or greater with the `\"node\"` environment (`\"jsdom\"` is not supported at this time).\n- Nitro v2.6 or greater.\n\nNote that React Native is not supported at this time.\n\nIf you are interested in other runtime environments, please open or upvote an issue on GitHub.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n", + }, + { + language: 'ruby', + content: + '# Stainless Ruby API library\n\nThe Stainless Ruby library provides convenient access to the Stainless REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/stainless-sdks/stainless-v0-ruby#Sorbet) for usage with Sorbet. The standard library\'s `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nDocumentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/stainless-v0).\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\n## Installation\n\nTo use this gem, install via Bundler by adding the following to your application\'s `Gemfile`:\n\n```ruby\ngem "stainless-v0", "~> 0.0.1"\n```\n\n## Usage\n\n```ruby\nrequire "bundler/setup"\nrequire "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: ENV["STAINLESS_API_KEY"], # This is the default and can be omitted\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.create(project: "stainless", revision: "main")\n\nputs(build.id)\n```\n\n\n\n### Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```ruby\npage = stainless.builds.list(project: "stainless")\n\n# Fetch single item from page.\nbuild = page.data[0]\nputs(build.id)\n\n# Automatically fetches more pages as needed.\npage.auto_paging_each do |build|\n puts(build.id)\nend\n```\n\nAlternatively, you can use the `#next_page?` and `#next_page` methods for more granular control working with pages.\n\n```ruby\nif page.next_page?\n new_page = page.next_page\n puts(new_page.data[0].id)\nend\n```\n\n\n\n### Handling errors\n\nWhen the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `StainlessV0::Errors::APIError` will be thrown:\n\n```ruby\nbegin\n build = stainless.builds.create(project: "stainless", revision: "main")\nrescue StainlessV0::Errors::APIConnectionError => e\n puts("The server could not be reached")\n puts(e.cause) # an underlying Exception, likely raised within `net/http`\nrescue StainlessV0::Errors::RateLimitError => e\n puts("A 429 status code was received; we should back off a bit.")\nrescue StainlessV0::Errors::APIStatusError => e\n puts("Another non-200-range status code was received")\n puts(e.status)\nend\n```\n\nError codes are as follows:\n\n| Cause | Error Type |\n| ---------------- | -------------------------- |\n| HTTP 400 | `BadRequestError` |\n| HTTP 401 | `AuthenticationError` |\n| HTTP 403 | `PermissionDeniedError` |\n| HTTP 404 | `NotFoundError` |\n| HTTP 409 | `ConflictError` |\n| HTTP 422 | `UnprocessableEntityError` |\n| HTTP 429 | `RateLimitError` |\n| HTTP >= 500 | `InternalServerError` |\n| Other HTTP error | `APIStatusError` |\n| Timeout | `APITimeoutError` |\n| Network error | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\n\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.\n\nYou can use the `max_retries` option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n max_retries: 0 # default is 2\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {max_retries: 5})\n```\n\n### Timeouts\n\nBy default, requests will time out after 60 seconds. You can use the timeout option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n timeout: nil # default is 60\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {timeout: 5})\n```\n\nOn timeout, `StainlessV0::Errors::APITimeoutError` is raised.\n\nNote that requests that time out are retried by default.\n\n## Advanced concepts\n\n### BaseModel\n\nAll parameter and response objects inherit from `StainlessV0::Internal::Type::BaseModel`, which provides several conveniences, including:\n\n1. All fields, including unknown ones, are accessible with `obj[:prop]` syntax, and can be destructured with `obj => {prop: prop}` or pattern-matching syntax.\n\n2. Structural equivalence for equality; if two API calls return the same values, comparing the responses with == will return true.\n\n3. Both instances and the classes themselves can be pretty-printed.\n\n4. Helpers such as `#to_h`, `#deep_to_h`, `#to_json`, and `#to_yaml`.\n\n### Making custom or undocumented requests\n\n#### Undocumented properties\n\nYou can send undocumented parameters to any endpoint, and read undocumented response properties, like so:\n\nNote: the `extra_` parameters of the same name overrides the documented parameters.\n\n```ruby\nbuild =\n stainless.builds.create(\n project: "stainless",\n revision: "main",\n request_options: {\n extra_query: {my_query_parameter: value},\n extra_body: {my_body_parameter: value},\n extra_headers: {"my-header": value}\n }\n )\n\nputs(build[:my_undocumented_property])\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `client.request`, like so:\n\n```ruby\nresponse = client.request(\n method: :post,\n path: \'/undocumented/endpoint\',\n query: {"dog": "woof"},\n headers: {"useful-header": "interesting-value"},\n body: {"hello": "world"}\n)\n```\n\n### Concurrency & connection pooling\n\nThe `StainlessV0::Client` instances are threadsafe, but are only are fork-safe when there are no in-flight HTTP requests.\n\nEach instance of `StainlessV0::Client` has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings.\n\nWhen all available connections from the pool are checked out, requests wait for a new connection to become available, with queue time counting towards the request timeout.\n\nUnless otherwise specified, other classes in the SDK do not have locks protecting their underlying data structure.\n\n## Sorbet\n\nThis library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitions, and has no dependency on sorbet-runtime.\n\nYou can provide typesafe request parameters like so:\n\n```ruby\nstainless.builds.create(project: "stainless", revision: "main")\n```\n\nOr, equivalently:\n\n```ruby\n# Hashes work, but are not typesafe:\nstainless.builds.create(project: "stainless", revision: "main")\n\n# You can also splat a full Params class:\nparams = StainlessV0::BuildCreateParams.new(project: "stainless", revision: "main")\nstainless.builds.create(**params)\n```\n\n### Enums\n\nSince this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide "tagged symbols" instead, which is always a primitive at runtime:\n\n```ruby\n# :python\nputs(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n\n# Revealed type: `T.all(StainlessV0::ProjectGenerateCommitMessageParams::Target, Symbol)`\nT.reveal_type(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n```\n\nEnum parameters have a "relaxed" type, so you can either pass in enum constants or their literal value:\n\n```ruby\n# Using the enum constants preserves the tagged type information:\nstainless.projects.generate_commit_message(\n target: StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON,\n # …\n)\n\n# Literal values are also permissible:\nstainless.projects.generate_commit_message(\n target: :python,\n # …\n)\n```\n\n## Versioning\n\nThis package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.\n\nThis package considers improvements to the (non-runtime) `*.rbi` and `*.rbs` type definitions to be non-breaking changes.\n\n## Requirements\n\nRuby 3.2.0 or higher.\n\n## Contributing\n\nSee [the contributing documentation](https://github.com/stainless-sdks/stainless-v0-ruby/tree/main/CONTRIBUTING.md).\n', + }, + { + language: 'java', + content: + '# Stainless Java API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.stainless.api/stainless-java)](https://central.sonatype.com/artifact/com.stainless.api/stainless-java/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.stainless.api/stainless-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1)\n\n\nThe Stainless Java SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Java.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.stainless.api:stainless-java:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.stainless.api\n stainless-java\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nBuild build = client.builds().create(params);\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n```\n\nOr manually:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build();\n```\n\nOr using a combination of the two approaches:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build();\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```java\nimport com.stainless.api.client.StainlessClient;\n\nStainlessClient clientWithOptions = client.withOptions(optionsBuilder -> {\n optionsBuilder.baseUrl("https://example.com");\n optionsBuilder.maxRetries(42);\n});\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Java class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.async().builds().create(params);\n```\n\nOr create an asynchronous client from the beginning:\n\n```java\nimport com.stainless.api.client.StainlessClientAsync;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClientAsync;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClientAsync client = StainlessOkHttpClientAsync.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.builds().create(params);\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods return `CompletableFuture`s.\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Java classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```java\nimport com.stainless.api.core.http.Headers;\nimport com.stainless.api.core.http.HttpResponseFor;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nHttpResponseFor build = client.builds().withRawResponse().create(params);\n\nint statusCode = build.statusCode();\nHeaders headers = build.headers();\n```\n\nYou can still deserialize the response into an instance of a Java class if needed:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild parsedBuild = build.parse();\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns an [`Iterable`](https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html)\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\n\n// Process as an Iterable\nfor (Build build : page.autoPager()) {\n System.out.println(build);\n}\n\n// Process as a Stream\npage.autoPager()\n .stream()\n .limit(50)\n .forEach(build -> System.out.println(build));\n```\n\nWhen using the asynchronous client, the method returns an [`AsyncStreamResponse`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/AsyncStreamResponse.kt):\n\n```java\nimport com.stainless.api.core.http.AsyncStreamResponse;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPageAsync;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\n\nCompletableFuture pageFuture = client.async().builds().list();\n\npageFuture.thenRun(page -> page.autoPager().subscribe(build -> {\n System.out.println(build);\n}));\n\n// If you need to handle errors or completion of the stream\npageFuture.thenRun(page -> page.autoPager().subscribe(new AsyncStreamResponse.Handler<>() {\n @Override\n public void onNext(Build build) {\n System.out.println(build);\n }\n\n @Override\n public void onComplete(Optional error) {\n if (error.isPresent()) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error.get());\n } else {\n System.out.println("No more!");\n }\n }\n}));\n\n// Or use futures\npageFuture.thenRun(page -> page.autoPager()\n .subscribe(build -> {\n System.out.println(build);\n })\n .onCompleteFuture()\n .whenComplete((unused, error) -> {\n if (error != null) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error);\n } else {\n System.out.println("No more!");\n }\n }));\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\nwhile (true) {\n for (Build build : page.items()) {\n System.out.println(build);\n }\n\n if (!page.hasNextPage()) {\n break;\n }\n\n page = page.nextPage();\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-java-core` is published with a [configuration file](stainless-java-core/src/main/resources/META-INF/proguard/stainless-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build();\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build();\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.net.InetSocketAddress;\nimport java.net.Proxy;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(new Proxy(\n Proxy.Type.HTTP, new InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build();\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build();\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build();\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build();\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-java-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-java-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-java`\n - Depends on and exposes the APIs of both `stainless-java-core` and `stainless-java-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Copy `stainless-java-client-okhttp`\'s [`OkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Write a class that implements the [`HttpClient`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build();\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build();\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) object to its setter:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build();\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) is using its `from(...)` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.List;\nimport java.util.Map;\n\n// Create primitive JSON values\nJsonValue nullValue = JsonValue.from(null);\nJsonValue booleanValue = JsonValue.from(true);\nJsonValue numberValue = JsonValue.from(42);\nJsonValue stringValue = JsonValue.from("Hello World!");\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nJsonValue arrayValue = JsonValue.from(List.of(\n "Hello", "World"\n));\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nJsonValue objectValue = JsonValue.from(Map.of(\n "a", 1,\n "b", 2\n));\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nJsonValue complexValue = JsonValue.from(Map.of(\n "a", List.of(\n 1, 2\n ),\n "b", List.of(\n 3, 4\n )\n));\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt):\n\n```java\nimport com.stainless.api.core.JsonMissing;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build();\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.Map;\n\nMap additionalProperties = client.builds().create(params)._additionalProperties();\nJsonValue secretPropertyValue = additionalProperties.get("secretProperty");\n\nString result = secretPropertyValue.accept(new JsonValue.Visitor<>() {\n @Override\n public String visitNull() {\n return "It\'s null!";\n }\n\n @Override\n public String visitBoolean(boolean value) {\n return "It\'s a boolean!";\n }\n\n @Override\n public String visitNumber(Number value) {\n return "It\'s a number!";\n }\n\n // Other methods include `visitMissing`, `visitString`, `visitArray`, and `visitObject`\n // The default implementation of each unimplemented method delegates to `visitDefault`, which throws by default, but can also be overridden\n});\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```java\nimport com.stainless.api.core.JsonField;\nimport java.util.Optional;\n\nJsonField project = client.builds().create(params)._project();\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n Optional jsonString = project.asString();\n\n // Try to deserialize into a custom type\n MyClass myObject = project.asUnknown().orElseThrow().convert(MyClass.class);\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(params).validate();\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build();\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nJava `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-java/issues) with questions, bugs, or suggestions.\n', + }, + { + language: 'kotlin', + content: + '# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl("https://example.com")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`\'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from("Hello World!")\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n "Hello", "World"\n))\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n "a" to 1, "b" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n "a" to listOf(\n 1, 2\n ), "b" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get("secretProperty")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> "It\'s null!"\n is JsonBoolean -> "It\'s a boolean!"\n is JsonNumber -> "It\'s a number!"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> "It\'s something else!"\n}\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n', + }, + { + language: 'cli', + content: + "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n", + }, +]; const INDEX_OPTIONS = { fields: [ From 0c4833637b9f8b77d049c3640491e80eeab435e5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 02:33:45 +0000 Subject: [PATCH 41/69] fix(internal): gitignore generated `oidc` dir --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index b7d4f6b9..ae4aa20e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ dist-deno .eslintcache dist-bundle *.mcpb +oidc From 4dcb408bbe36e5e2d04a808a835d8e2a7f71ec23 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 02:35:56 +0000 Subject: [PATCH 42/69] chore(tests): bump steady to v0.20.2 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index 15c29941..5cd7c157 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.20.1 -- steady --version + npm exec --package=@stdy/cli@0.20.2 -- steady --version - npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index 7431f9fd..a9d718cf 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.2 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" echo exit 1 From bd8940c7928a38fa38744604886a38a4cce9b538 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 02:13:21 +0000 Subject: [PATCH 43/69] chore(internal): support type annotations when running MCP in local execution mode --- packages/mcp-server/src/code-tool-worker.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/mcp-server/src/code-tool-worker.ts b/packages/mcp-server/src/code-tool-worker.ts index 51005b17..13fd642a 100644 --- a/packages/mcp-server/src/code-tool-worker.ts +++ b/packages/mcp-server/src/code-tool-worker.ts @@ -7,6 +7,10 @@ import ts from 'typescript'; import { WorkerOutput } from './code-tool-types'; import { Stainless, ClientOptions } from '@stainless-api/sdk'; +async function tseval(code: string) { + return import('data:application/typescript;charset=utf-8;base64,' + Buffer.from(code).toString('base64')); +} + function getRunFunctionSource(code: string): { type: 'declaration' | 'expression'; client: string | undefined; @@ -258,7 +262,9 @@ const fetch = async (req: Request): Promise => { const log_lines: string[] = []; const err_lines: string[] = []; - const console = { + const originalConsole = globalThis.console; + globalThis.console = { + ...originalConsole, log: (...args: unknown[]) => { log_lines.push(util.format(...args)); }, @@ -268,7 +274,7 @@ const fetch = async (req: Request): Promise => { }; try { let run_ = async (client: any) => {}; - eval(`${code}\nrun_ = run;`); + run_ = (await tseval(`${code}\nexport default run;`)).default; const result = await run_(makeSdkProxy(client, { path: ['client'] })); return Response.json({ is_error: false, @@ -286,6 +292,8 @@ const fetch = async (req: Request): Promise => { } satisfies WorkerOutput, { status: 400, statusText: 'Code execution error' }, ); + } finally { + globalThis.console = originalConsole; } }; From 1a7e65435142ed6005fcb6d09e47c56943905026 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 02:15:20 +0000 Subject: [PATCH 44/69] chore(internal): codegen related update --- packages/mcp-server/src/local-docs-search.ts | 230 +++++++++++++++++++ 1 file changed, 230 insertions(+) diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index a013fa75..d93421ae 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -68,6 +68,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'projects retrieve', example: "stl projects retrieve \\\n --api-key 'My API Key' \\\n --project project", }, + csharp: { + method: 'Projects.Retrieve', + example: + 'ProjectRetrieveParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Retrieve(parameters);\n\nConsole.WriteLine(project);', + }, go: { method: 'client.Projects.Get', example: @@ -87,6 +92,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().retrieve()\n}', }, + php: { + method: 'projects->retrieve', + example: + "projects->retrieve(project: 'project');\n\nvar_dump($project);", + }, python: { method: 'projects.retrieve', example: @@ -122,6 +132,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'projects update', example: "stl projects update \\\n --api-key 'My API Key' \\\n --project project", }, + csharp: { + method: 'Projects.Update', + example: + 'ProjectUpdateParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Update(parameters);\n\nConsole.WriteLine(project);', + }, go: { method: 'client.Projects.Update', example: @@ -141,6 +156,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectUpdateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().update()\n}', }, + php: { + method: 'projects->update', + example: + "projects->update(\n project: 'project', displayName: 'display_name'\n);\n\nvar_dump($project);", + }, python: { method: 'projects.update', example: @@ -176,6 +196,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'projects list', example: "stl projects list \\\n --api-key 'My API Key'", }, + csharp: { + method: 'Projects.List', + example: + 'ProjectListParams parameters = new();\n\nvar page = await client.Projects.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, go: { method: 'client.Projects.List', example: @@ -195,6 +220,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListPage\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: ProjectListPage = client.projects().list()\n}', }, + php: { + method: 'projects->list', + example: + "projects->list(cursor: 'cursor', limit: 1, org: 'org');\n\nvar_dump($page);", + }, python: { method: 'projects.list', example: @@ -237,6 +267,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl projects create \\\n --api-key 'My API Key' \\\n --display-name display_name \\\n --org org \\\n --revision '{foo: {content: content}}' \\\n --slug slug \\\n --target node", }, + csharp: { + method: 'Projects.Create', + example: + 'ProjectCreateParams parameters = new()\n{\n DisplayName = "display_name",\n Org = "org",\n Revision = new Dictionary()\n {\n { "foo", new Content("content") }\n },\n Slug = "slug",\n Targets =\n [\n Target.Node\n ],\n};\n\nvar project = await client.Projects.Create(parameters);\n\nConsole.WriteLine(project);', + }, go: { method: 'client.Projects.New', example: @@ -256,6 +291,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.Target\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: ProjectCreateParams = ProjectCreateParams.builder()\n .displayName("display_name")\n .org("org")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty("foo", JsonValue.from(mapOf("content" to "content")))\n .build())\n .slug("slug")\n .addTarget(Target.NODE)\n .build()\n val project: Project = client.projects().create(params)\n}', }, + php: { + method: 'projects->create', + example: + "projects->create(\n displayName: 'display_name',\n org: 'org',\n revision: ['foo' => ['content' => 'content']],\n slug: 'slug',\n targets: [Target::NODE],\n);\n\nvar_dump($project);", + }, python: { method: 'projects.create', example: @@ -291,6 +331,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl projects generate-commit-message \\\n --api-key 'My API Key' \\\n --project project \\\n --target python \\\n --base-ref base_ref \\\n --head-ref head_ref", }, + csharp: { + method: 'Projects.GenerateCommitMessage', + example: + 'ProjectGenerateCommitMessageParams parameters = new()\n{\n Project = "project",\n Target = Target.Python,\n BaseRef = "base_ref",\n HeadRef = "head_ref",\n};\n\nvar response = await client.Projects.GenerateCommitMessage(parameters);\n\nConsole.WriteLine(response);', + }, go: { method: 'client.Projects.GenerateCommitMessage', example: @@ -310,6 +355,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageParams\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ProjectGenerateCommitMessageParams = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef("base_ref")\n .headRef("head_ref")\n .build()\n val response: ProjectGenerateCommitMessageResponse = client.projects().generateCommitMessage(params)\n}', }, + php: { + method: 'projects->generateCommitMessage', + example: + "projects->generateCommitMessage(\n project: 'project', target: 'python', baseRef: 'base_ref', headRef: 'head_ref'\n);\n\nvar_dump($response);", + }, python: { method: 'projects.generate_commit_message', example: @@ -347,6 +397,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl projects:branches create \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch \\\n --branch-from branch_from", }, + csharp: { + method: 'Projects.Branches.Create', + example: + 'BranchCreateParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n BranchFrom = "branch_from",\n};\n\nvar projectBranch = await client.Projects.Branches.Create(parameters);\n\nConsole.WriteLine(projectBranch);', + }, go: { method: 'client.Projects.Branches.New', example: @@ -366,6 +421,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchCreateParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: BranchCreateParams = BranchCreateParams.builder()\n .branch("branch")\n .branchFrom("branch_from")\n .build()\n val projectBranch: ProjectBranch = client.projects().branches().create(params)\n}', }, + php: { + method: 'projects->branches->create', + example: + "projects->branches->create(\n project: 'project', branch: 'branch', branchFrom: 'branch_from', force: true\n);\n\nvar_dump($projectBranch);", + }, python: { method: 'projects.branches.create', example: @@ -402,6 +462,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl projects:branches retrieve \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", }, + csharp: { + method: 'Projects.Branches.Retrieve', + example: + 'BranchRetrieveParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Retrieve(parameters);\n\nConsole.WriteLine(projectBranch);', + }, go: { method: 'client.Projects.Branches.Get', example: @@ -421,6 +486,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().retrieve("branch")\n}', }, + php: { + method: 'projects->branches->retrieve', + example: + "projects->branches->retrieve(\n 'branch', project: 'project'\n);\n\nvar_dump($projectBranch);", + }, python: { method: 'projects.branches.retrieve', example: @@ -456,6 +526,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'branches list', example: "stl projects:branches list \\\n --api-key 'My API Key' \\\n --project project", }, + csharp: { + method: 'Projects.Branches.List', + example: + 'BranchListParams parameters = new() { Project = "project" };\n\nvar page = await client.Projects.Branches.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, go: { method: 'client.Projects.Branches.List', example: @@ -475,6 +550,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListPage\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BranchListPage = client.projects().branches().list()\n}', }, + php: { + method: 'projects->branches->list', + example: + "projects->branches->list(\n project: 'project', cursor: 'cursor', limit: 1\n);\n\nvar_dump($page);", + }, python: { method: 'projects.branches.list', example: @@ -510,6 +590,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl projects:branches delete \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", }, + csharp: { + method: 'Projects.Branches.Delete', + example: + 'BranchDeleteParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar branch = await client.Projects.Branches.Delete(parameters);\n\nConsole.WriteLine(branch);', + }, go: { method: 'client.Projects.Branches.Delete', example: @@ -529,6 +614,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val branch: BranchDeleteResponse = client.projects().branches().delete("branch")\n}', }, + php: { + method: 'projects->branches->delete', + example: + "projects->branches->delete('branch', project: 'project');\n\nvar_dump($branch);", + }, python: { method: 'projects.branches.delete', example: @@ -566,6 +656,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl projects:branches rebase \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", }, + csharp: { + method: 'Projects.Branches.Rebase', + example: + 'BranchRebaseParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Rebase(parameters);\n\nConsole.WriteLine(projectBranch);', + }, go: { method: 'client.Projects.Branches.Rebase', example: @@ -585,6 +680,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRebaseParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().rebase("branch")\n}', }, + php: { + method: 'projects->branches->rebase', + example: + "projects->branches->rebase(\n 'branch', project: 'project', base: 'base'\n);\n\nvar_dump($projectBranch);", + }, python: { method: 'projects.branches.rebase', example: @@ -622,6 +722,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl projects:branches reset \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", }, + csharp: { + method: 'Projects.Branches.Reset', + example: + 'BranchResetParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Reset(parameters);\n\nConsole.WriteLine(projectBranch);', + }, go: { method: 'client.Projects.Branches.Reset', example: @@ -641,6 +746,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchResetParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().reset("branch")\n}', }, + php: { + method: 'projects->branches->reset', + example: + "projects->branches->reset(\n 'branch', project: 'project', targetConfigSha: 'target_config_sha'\n);\n\nvar_dump($projectBranch);", + }, python: { method: 'projects.branches.reset', example: @@ -675,6 +785,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'configs retrieve', example: "stl projects:configs retrieve \\\n --api-key 'My API Key' \\\n --project project", }, + csharp: { + method: 'Projects.Configs.Retrieve', + example: + 'ConfigRetrieveParams parameters = new() { Project = "project" };\n\nvar config = await client.Projects.Configs.Retrieve(parameters);\n\nConsole.WriteLine(config);', + }, go: { method: 'client.Projects.Configs.Get', example: @@ -694,6 +809,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val config: ConfigRetrieveResponse = client.projects().configs().retrieve()\n}', }, + php: { + method: 'projects->configs->retrieve', + example: + "projects->configs->retrieve(\n project: 'project', branch: 'branch', include: 'include'\n);\n\nvar_dump($config);", + }, python: { method: 'projects.configs.retrieve', example: @@ -729,6 +849,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl projects:configs guess \\\n --api-key 'My API Key' \\\n --project project \\\n --spec spec", }, + csharp: { + method: 'Projects.Configs.Guess', + example: + 'ConfigGuessParams parameters = new()\n{\n Project = "project",\n Spec = "spec",\n};\n\nvar response = await client.Projects.Configs.Guess(parameters);\n\nConsole.WriteLine(response);', + }, go: { method: 'client.Projects.Configs.Guess', example: @@ -748,6 +873,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ConfigGuessParams = ConfigGuessParams.builder()\n .spec("spec")\n .build()\n val response: ConfigGuessResponse = client.projects().configs().guess(params)\n}', }, + php: { + method: 'projects->configs->guess', + example: + "projects->configs->guess(\n project: 'project', spec: 'spec', branch: 'branch'\n);\n\nvar_dump($response);", + }, python: { method: 'projects.configs.guess', example: @@ -790,6 +920,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'builds list', example: "stl builds list \\\n --api-key 'My API Key' \\\n --project project", }, + csharp: { + method: 'Builds.List', + example: + 'BuildListParams parameters = new() { Project = "project" };\n\nvar page = await client.Builds.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, go: { method: 'client.Builds.List', example: @@ -809,6 +944,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\nimport com.configure_me_stainless_v0.api.models.builds.BuildListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BuildListPage = client.builds().list()\n}', }, + php: { + method: 'builds->list', + example: + "builds->list(\n project: 'project',\n branch: 'branch',\n cursor: 'cursor',\n limit: 1,\n revision: 'string',\n);\n\nvar_dump($page);", + }, python: { method: 'builds.list', example: @@ -855,6 +995,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl builds create \\\n --api-key 'My API Key' \\\n --project project \\\n --revision string", }, + csharp: { + method: 'Builds.Create', + example: + 'BuildCreateParams parameters = new()\n{\n Project = "project",\n Revision = "string",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);', + }, go: { method: 'client.Builds.New', example: @@ -874,6 +1019,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCreateParams = BuildCreateParams.builder()\n .project("project")\n .revision("string")\n .build()\n val build: Build = client.builds().create(params)\n}', }, + php: { + method: 'builds->create', + example: + "builds->create(\n project: 'project',\n revision: 'string',\n allowEmpty: true,\n branch: 'branch',\n commitMessage: 'commit_message',\n enableAICommitMessage: true,\n targetCommitMessages: [\n 'cli' => 'cli',\n 'csharp' => 'csharp',\n 'go' => 'go',\n 'java' => 'java',\n 'kotlin' => 'kotlin',\n 'node' => 'node',\n 'openAPI' => 'openapi',\n 'php' => 'php',\n 'python' => 'python',\n 'ruby' => 'ruby',\n 'sql' => 'sql',\n 'terraform' => 'terraform',\n 'typescript' => 'typescript',\n ],\n targets: [Target::NODE],\n);\n\nvar_dump($build);", + }, python: { method: 'builds.create', example: @@ -909,6 +1059,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'builds retrieve', example: "stl builds retrieve \\\n --api-key 'My API Key' \\\n --build-id buildId", }, + csharp: { + method: 'Builds.Retrieve', + example: + 'BuildRetrieveParams parameters = new() { BuildID = "buildId" };\n\nvar build = await client.Builds.Retrieve(parameters);\n\nConsole.WriteLine(build);', + }, go: { method: 'client.Builds.Get', example: @@ -928,6 +1083,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val build: Build = client.builds().retrieve("buildId")\n}', }, + php: { + method: 'builds->retrieve', + example: + "builds->retrieve('buildId');\n\nvar_dump($build);", + }, python: { method: 'builds.retrieve', example: @@ -970,6 +1130,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl builds compare \\\n --api-key 'My API Key' \\\n --base '{branch: branch, revision: string}' \\\n --head '{branch: branch, revision: string}' \\\n --project project", }, + csharp: { + method: 'Builds.Compare', + example: + 'BuildCompareParams parameters = new()\n{\n Base = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Head = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Project = "project",\n};\n\nvar response = await client.Builds.Compare(parameters);\n\nConsole.WriteLine(response);', + }, go: { method: 'client.Builds.Compare', example: @@ -989,6 +1154,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareParams\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCompareParams = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch("branch")\n .revision("string")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch("branch")\n .revision("string")\n .build())\n .project("project")\n .build()\n val response: BuildCompareResponse = client.builds().compare(params)\n}', }, + php: { + method: 'builds->compare', + example: + "builds->compare(\n base: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n head: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n project: 'project',\n targets: [Target::NODE],\n);\n\nvar_dump($response);", + }, python: { method: 'builds.compare', example: @@ -1031,6 +1201,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'diagnostics list', example: "stl builds:diagnostics list \\\n --api-key 'My API Key' \\\n --build-id buildId", }, + csharp: { + method: 'Builds.Diagnostics.List', + example: + 'DiagnosticListParams parameters = new() { BuildID = "buildId" };\n\nvar page = await client.Builds.Diagnostics.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, go: { method: 'client.Builds.Diagnostics.List', example: @@ -1050,6 +1225,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListPage\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: DiagnosticListPage = client.builds().diagnostics().list("buildId")\n}', }, + php: { + method: 'builds->diagnostics->list', + example: + "builds->diagnostics->list(\n 'buildId', cursor: 'cursor', limit: 1, severity: 'fatal', targets: 'targets'\n);\n\nvar_dump($page);", + }, python: { method: 'builds.diagnostics.list', example: @@ -1093,6 +1273,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: "stl builds:target-outputs retrieve \\\n --api-key 'My API Key' \\\n --build-id build_id \\\n --target node \\\n --type source", }, + csharp: { + method: 'Builds.TargetOutputs.Retrieve', + example: + 'TargetOutputRetrieveParams parameters = new()\n{\n BuildID = "build_id",\n Target = Target.Node,\n Type = Type.Source,\n};\n\nvar targetOutput = await client.Builds.TargetOutputs.Retrieve(parameters);\n\nConsole.WriteLine(targetOutput);', + }, go: { method: 'client.Builds.TargetOutputs.Get', example: @@ -1112,6 +1297,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveParams\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: TargetOutputRetrieveParams = TargetOutputRetrieveParams.builder()\n .buildId("build_id")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build()\n val targetOutput: TargetOutputRetrieveResponse = client.builds().targetOutputs().retrieve(params)\n}', }, + php: { + method: 'builds->targetOutputs->retrieve', + example: + "builds->targetOutputs->retrieve(\n buildID: 'build_id',\n target: 'node',\n type: 'source',\n output: 'url',\n path: 'path',\n);\n\nvar_dump($targetOutput);", + }, python: { method: 'builds.target_outputs.retrieve', example: @@ -1146,6 +1336,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'orgs list', example: "stl orgs list \\\n --api-key 'My API Key'", }, + csharp: { + method: 'Orgs.List', + example: + 'OrgListParams parameters = new();\n\nvar orgs = await client.Orgs.List(parameters);\n\nConsole.WriteLine(orgs);', + }, go: { method: 'client.Orgs.List', example: @@ -1165,6 +1360,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListParams\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val orgs: OrgListResponse = client.orgs().list()\n}', }, + php: { + method: 'orgs->list', + example: + "orgs->list();\n\nvar_dump($orgs);", + }, python: { method: 'orgs.list', example: @@ -1199,6 +1399,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'orgs retrieve', example: "stl orgs retrieve \\\n --api-key 'My API Key' \\\n --org org", }, + csharp: { + method: 'Orgs.Retrieve', + example: + 'OrgRetrieveParams parameters = new() { Org = "org" };\n\nvar org = await client.Orgs.Retrieve(parameters);\n\nConsole.WriteLine(org);', + }, go: { method: 'client.Orgs.Get', example: @@ -1218,6 +1423,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.Org\nimport com.configure_me_stainless_v0.api.models.orgs.OrgRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val org: Org = client.orgs().retrieve("org")\n}', }, + php: { + method: 'orgs->retrieve', + example: + "orgs->retrieve('org');\n\nvar_dump($org);", + }, python: { method: 'orgs.retrieve', example: @@ -1251,6 +1461,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ method: 'user retrieve', example: "stl user retrieve \\\n --api-key 'My API Key'", }, + csharp: { + method: 'User.Retrieve', + example: + 'UserRetrieveParams parameters = new();\n\nvar user = await client.User.Retrieve(parameters);\n\nConsole.WriteLine(user);', + }, go: { method: 'client.User.Get', example: @@ -1270,6 +1485,11 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveParams\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val user: UserRetrieveResponse = client.user().retrieve()\n}', }, + php: { + method: 'user->retrieve', + example: + "user->retrieve();\n\nvar_dump($user);", + }, python: { method: 'user.retrieve', example: @@ -1320,11 +1540,21 @@ const EMBEDDED_READMES: { language: string; content: string }[] = [ content: '# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl("https://example.com")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`\'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from("Hello World!")\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n "Hello", "World"\n))\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n "a" to 1, "b" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n "a" to listOf(\n 1, 2\n ), "b" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get("secretProperty")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> "It\'s null!"\n is JsonBoolean -> "It\'s a boolean!"\n is JsonNumber -> "It\'s a number!"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> "It\'s something else!"\n}\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n', }, + { + language: 'csharp', + content: + '# Stainless C# API Library\n\nThe Stainless C# SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in C#.\n\n## Installation\n\n```bash\ngit clone git@github.com:stainless-sdks/stainless-v0-csharp.git\ndotnet add reference stainless-v0-csharp/src/StainlessV0\n```\n\n## Requirements\n\nThis library requires .NET Standard 2.0 or later.\n\n## Usage\n\nSee the [`examples`](examples) directory for complete and runnable examples.\n\n```csharp\nStainlessClient client = new();\n\nBuildCreateParams parameters = new()\n{\n Project = "stainless",\n Revision = "main",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);\n```', + }, { language: 'cli', content: "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n", }, + { + language: 'php', + content: + '# Stainless PHP API Library\n\nThe Stainless PHP library provides convenient access to the Stainless REST API from any PHP 8.1.0+ application.\n\n## Installation\n\nTo use this package, install via Composer by adding the following to your application\'s `composer.json`:\n\n```json\n{\n "repositories": [\n {\n "type": "vcs",\n "url": "git@github.com:stainless-sdks/stainless-v0-php.git"\n }\n ],\n "require": {\n "org-placeholder/stainless-v0": "dev-main"\n }\n}\n```\n\n## Usage\n\n```php\nbuilds->create(project: \'stainless\', revision: \'main\');\n\nvar_dump($build->id);\n```', + }, ]; const INDEX_OPTIONS = { From 96c130a0ed90dccb7f3e9dc2d56350773e2a025b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2026 02:14:00 +0000 Subject: [PATCH 45/69] chore(mcp-server): log client info --- packages/mcp-server/src/http.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/packages/mcp-server/src/http.ts b/packages/mcp-server/src/http.ts index d057bf9d..6912daca 100644 --- a/packages/mcp-server/src/http.ts +++ b/packages/mcp-server/src/http.ts @@ -69,6 +69,11 @@ const newServer = async ({ } } + const mcpClientInfo = + typeof req.body?.params?.clientInfo?.name === 'string' ? + { name: req.body.params.clientInfo.name, version: String(req.body.params.clientInfo.version ?? '') } + : undefined; + await initMcpServer({ server: server, mcpOptions: effectiveMcpOptions, @@ -79,12 +84,13 @@ const newServer = async ({ stainlessApiKey: stainlessApiKey, upstreamClientEnvs, mcpSessionId: (req as any).mcpSessionId, - mcpClientInfo: - typeof req.body?.params?.clientInfo?.name === 'string' ? - { name: req.body.params.clientInfo.name, version: String(req.body.params.clientInfo.version ?? '') } - : undefined, + mcpClientInfo, }); + if (mcpClientInfo) { + getLogger().info({ mcpSessionId: (req as any).mcpSessionId, mcpClientInfo }, 'MCP client connected'); + } + return server; }; @@ -154,6 +160,9 @@ export const streamableHTTPApp = ({ app.use( pinoHttp({ logger: getLogger(), + customProps: (req) => ({ + mcpSessionId: (req as any).mcpSessionId, + }), customLogLevel: (req, res) => { if (res.statusCode >= 500) { return 'error'; From 51ba135c4db3194d080ed739d681df807fba3f7a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 7 Apr 2026 02:30:26 +0000 Subject: [PATCH 46/69] chore(internal): fix MCP server import ordering --- packages/mcp-server/src/instructions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mcp-server/src/instructions.ts b/packages/mcp-server/src/instructions.ts index 0d7f1388..3735f97b 100644 --- a/packages/mcp-server/src/instructions.ts +++ b/packages/mcp-server/src/instructions.ts @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import fs from 'fs/promises'; -import { readEnv } from './util'; import { getLogger } from './logger'; +import { readEnv } from './util'; const INSTRUCTIONS_CACHE_TTL_MS = 15 * 60 * 1000; // 15 minutes From 514b997e6ea5a63d291b682afc558cb15069601f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 02:39:30 +0000 Subject: [PATCH 47/69] chore(mcp-server): increase local docs search result count from 5 to 10 --- packages/mcp-server/src/docs-search-tool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mcp-server/src/docs-search-tool.ts b/packages/mcp-server/src/docs-search-tool.ts index d61639fd..8434ec28 100644 --- a/packages/mcp-server/src/docs-search-tool.ts +++ b/packages/mcp-server/src/docs-search-tool.ts @@ -63,7 +63,7 @@ async function searchLocal(args: Record): Promise { query, language, detail, - maxResults: 5, + maxResults: 10, }).results; } From 4d7b8fdf6ed827dc03919db6368e31da639169d1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 02:41:36 +0000 Subject: [PATCH 48/69] chore(internal): codegen related update --- packages/mcp-server/src/util.ts | 4 ++-- src/internal/utils/env.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/mcp-server/src/util.ts b/packages/mcp-server/src/util.ts index 40ed5501..069a2b47 100644 --- a/packages/mcp-server/src/util.ts +++ b/packages/mcp-server/src/util.ts @@ -2,9 +2,9 @@ export const readEnv = (env: string): string | undefined => { if (typeof (globalThis as any).process !== 'undefined') { - return (globalThis as any).process.env?.[env]?.trim(); + return (globalThis as any).process.env?.[env]?.trim() || undefined; } else if (typeof (globalThis as any).Deno !== 'undefined') { - return (globalThis as any).Deno.env?.get?.(env)?.trim(); + return (globalThis as any).Deno.env?.get?.(env)?.trim() || undefined; } return; }; diff --git a/src/internal/utils/env.ts b/src/internal/utils/env.ts index 2d848007..cc5fa0fa 100644 --- a/src/internal/utils/env.ts +++ b/src/internal/utils/env.ts @@ -9,10 +9,10 @@ */ export const readEnv = (env: string): string | undefined => { if (typeof (globalThis as any).process !== 'undefined') { - return (globalThis as any).process.env?.[env]?.trim() ?? undefined; + return (globalThis as any).process.env?.[env]?.trim() || undefined; } if (typeof (globalThis as any).Deno !== 'undefined') { - return (globalThis as any).Deno.env?.get?.(env)?.trim(); + return (globalThis as any).Deno.env?.get?.(env)?.trim() || undefined; } return undefined; }; From 904e84ee03f53ebafbc98dc33f85d77c025e489a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 02:54:51 +0000 Subject: [PATCH 49/69] chore(internal): show error causes in MCP servers when running in local mode --- packages/mcp-server/src/code-tool-worker.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/mcp-server/src/code-tool-worker.ts b/packages/mcp-server/src/code-tool-worker.ts index 13fd642a..ec2c8354 100644 --- a/packages/mcp-server/src/code-tool-worker.ts +++ b/packages/mcp-server/src/code-tool-worker.ts @@ -206,7 +206,8 @@ function makeSdkProxy(obj: T, { path, isBelievedBad = false }: function parseError(code: string, error: unknown): string | undefined { if (!(error instanceof Error)) return; - const message = error.name ? `${error.name}: ${error.message}` : error.message; + const cause = error.cause instanceof Error ? `: ${error.cause.message}` : ''; + const message = error.name ? `${error.name}: ${error.message}${cause}` : `${error.message}${cause}`; try { // Deno uses V8; the first ":LINE:COLUMN" is the top of stack. const lineNumber = error.stack?.match(/:([0-9]+):[0-9]+/)?.[1]; From 6f7c7368fce7ba79131444da334be12fbdf0c3d6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 17:42:06 +0000 Subject: [PATCH 50/69] chore: update probot --- .stats.yml | 2 +- packages/mcp-server/src/local-docs-search.ts | 6 ++--- src/resources/builds/builds.ts | 24 ++++++++++++++++++-- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0b3b470e..a706af67 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-ef33241ec003fafbf4f2ffe434c3d8c2ac0ba929137942185663ff59974d2138.yml -openapi_spec_hash: 87bd0d9c684517522cbbbd48bbe8ad83 +openapi_spec_hash: f4a68de1cb28c33de769c08f68f543ab config_hash: 63178ec4b1d2ea5636c8619cffcf129b diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index d93421ae..fab9cb97 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -914,7 +914,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [ response: "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", markdown: - "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", + "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", perLanguage: { cli: { method: 'builds list', @@ -988,7 +988,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [ response: "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", markdown: - "## create\n\n`client.builds.create(project: string, revision: string | object, allow_empty?: boolean, branch?: string, commit_message?: string, enable_ai_commit_message?: boolean, target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }, targets?: string[]): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**post** `/v0/builds`\n\nCreate a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `revision: string | object`\n Specifies what to build: a branch name, commit SHA, merge command\n(\"base..head\"), or file contents.\n\n- `allow_empty?: boolean`\n Whether to allow empty commits (no changes). Defaults to false.\n\n- `branch?: string`\n The project branch to use for the build. If not specified, the\nbranch is inferred from the `revision`, and will 400 when that\nis not possible.\n\n- `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `enable_ai_commit_message?: boolean`\n Whether to generate AI-powered commit messages for the build.\nCannot be combined with `commit_message` or `target_commit_messages`.\n\n- `target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }`\n Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.\n - `cli?: string`\n - `csharp?: string`\n - `go?: string`\n - `java?: string`\n - `kotlin?: string`\n - `node?: string`\n - `openapi?: string`\n - `php?: string`\n - `python?: string`\n - `ruby?: string`\n - `sql?: string`\n - `terraform?: string`\n - `typescript?: string`\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build);\n```", + "## create\n\n`client.builds.create(project: string, revision: string | object, allow_empty?: boolean, branch?: string, commit_message?: string, enable_ai_commit_message?: boolean, target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }, targets?: string[]): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**post** `/v0/builds`\n\nCreate a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `revision: string | object`\n Specifies what to build: a branch name, commit SHA, merge command\n(\"base..head\"), or file contents.\n\n- `allow_empty?: boolean`\n Whether to allow empty commits (no changes). Defaults to false.\n\n- `branch?: string`\n The project branch to use for the build. If not specified, the\nbranch is inferred from the `revision`, and will 400 when that\nis not possible.\n\n- `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `enable_ai_commit_message?: boolean`\n Whether to generate AI-powered commit messages for the build.\nCannot be combined with `commit_message` or `target_commit_messages`.\n\n- `target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }`\n Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.\n - `cli?: string`\n - `csharp?: string`\n - `go?: string`\n - `java?: string`\n - `kotlin?: string`\n - `node?: string`\n - `openapi?: string`\n - `php?: string`\n - `python?: string`\n - `ruby?: string`\n - `sql?: string`\n - `terraform?: string`\n - `typescript?: string`\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build);\n```", perLanguage: { cli: { method: 'builds create', @@ -1053,7 +1053,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [ response: "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", markdown: - "## retrieve\n\n`client.builds.retrieve(buildId: string): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds/{buildId}`\n\nRetrieve a build by its ID.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object; lint?: object | object | object | object; test?: object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build);\n```", + "## retrieve\n\n`client.builds.retrieve(buildId: string): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds/{buildId}`\n\nRetrieve a build by its ID.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build);\n```", perLanguage: { cli: { method: 'builds retrieve', diff --git a/src/resources/builds/builds.ts b/src/resources/builds/builds.ts index a59c2450..be1b6e5d 100644 --- a/src/resources/builds/builds.ts +++ b/src/resources/builds/builds.ts @@ -141,7 +141,12 @@ export namespace Build { } export interface BuildTarget { - commit: BuildTarget.NotStarted | BuildTarget.Queued | BuildTarget.InProgress | BuildTarget.Completed; + commit: + | BuildTarget.NotStarted + | BuildTarget.Waiting + | BuildTarget.Queued + | BuildTarget.InProgress + | BuildTarget.Completed; install_url: string | null; @@ -161,6 +166,10 @@ export namespace BuildTarget { status: 'not_started'; } + export interface Waiting { + status: 'waiting'; + } + export interface Queued { status: 'queued'; } @@ -260,13 +269,24 @@ export namespace BuildTarget { } } -export type CheckStep = CheckStep.NotStarted | CheckStep.Queued | CheckStep.InProgress | CheckStep.Completed; +export type CheckStep = + | CheckStep.NotStarted + | CheckStep.Waiting + | CheckStep.Queued + | CheckStep.InProgress + | CheckStep.Completed; export namespace CheckStep { export interface NotStarted { status: 'not_started'; } + export interface Waiting { + status: 'waiting'; + + url: string | null; + } + export interface Queued { status: 'queued'; From 68f34d76dabdf08c13aec769f8546074192d57f1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 11 Apr 2026 02:38:04 +0000 Subject: [PATCH 51/69] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index a706af67..b25db43f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-ef33241ec003fafbf4f2ffe434c3d8c2ac0ba929137942185663ff59974d2138.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-539ddca207b01349e653c0061c35a9169f655e91f0f024008f93cca943c23e3f.yml openapi_spec_hash: f4a68de1cb28c33de769c08f68f543ab config_hash: 63178ec4b1d2ea5636c8619cffcf129b From 711fc24039244a438c3a60f26a3ad627bfd981ed Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2026 02:21:16 +0000 Subject: [PATCH 52/69] chore: update CLI documentation --- packages/mcp-server/src/local-docs-search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index fab9cb97..4598c6dc 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -1548,7 +1548,7 @@ const EMBEDDED_READMES: { language: string; content: string }[] = [ { language: 'cli', content: - "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n", + "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n\n## Linking different Go SDK versions\n\nYou can link the CLI against a different version of the Stainless Go SDK\nfor development purposes using the `./scripts/link` script.\n\nTo link to a specific version from a repository (version can be a branch,\ngit tag, or commit hash):\n\n~~~bash\n./scripts/link github.com/org/repo@version\n~~~\n\nTo link to a local copy of the SDK:\n\n~~~bash\n./scripts/link ../path/to/stainless-go\n~~~\n\nIf you run the link script without any arguments, it will default to `../stainless-go`.\n", }, { language: 'php', From 247b1b20529cf1e45629b3b7bf8bd54163341bb8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 02:41:08 +0000 Subject: [PATCH 53/69] chore(tests): bump steady to v0.22.1 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index 5cd7c157..feebe5ed 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.20.2 -- steady --version + npm exec --package=@stdy/cli@0.22.1 -- steady --version - npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.22.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.22.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index a9d718cf..19b8d0c7 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.2 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.22.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" echo exit 1 From d0faae865d8683e2202d7fe0d51cce48a16b61d6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 02:13:34 +0000 Subject: [PATCH 54/69] chore(internal): update docs ordering --- packages/mcp-server/src/local-docs-search.ts | 34 ++++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index 4598c6dc..9a52ab44 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -1511,24 +1511,19 @@ const EMBEDDED_METHODS: MethodEntry[] = [ const EMBEDDED_READMES: { language: string; content: string }[] = [ { - language: 'python', - content: - '# Stainless Python API library\n\n\n[![PyPI version](https://img.shields.io/pypi/v/stainless_v0.svg?label=pypi%20(stable))](https://pypi.org/project/stainless_v0/)\n\nThe Stainless Python library provides convenient access to the Stainless REST API from any Python 3.9+\napplication. The library includes type definitions for all request params and response fields,\nand offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\n## Installation\n\n```sh\n# install from this staging repo\npip install git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\n```\n> [!NOTE]\n> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install stainless_v0`\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```python\nimport os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nbuild = client.builds.create(\n project="stainless",\n revision="main",\n)\nprint(build.id)\n```\n\nWhile you can provide an `api_key` keyword argument,\nwe recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)\nto add `STAINLESS_API_KEY="My API Key"` to your `.env` file\nso that your API Key is not stored in source control.\n\n## Async usage\n\nSimply import `AsyncStainless` instead of `Stainless` and use `await` with each API call:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nasync def main() -> None:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\nFunctionality between the synchronous and asynchronous clients is otherwise identical.\n\n### With aiohttp\n\nBy default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.\n\nYou can enable this by installing `aiohttp`:\n\n```sh\n# install from this staging repo\npip install \'stainless_v0[aiohttp] @ git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\'\n```\n\nThen you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import DefaultAioHttpClient\nfrom stainless_v0 import AsyncStainless\n\nasync def main() -> None:\n async with AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n http_client=DefaultAioHttpClient(),\n) as client:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\n\n\n## Using types\n\nNested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:\n\n- Serializing back into JSON, `model.to_json()`\n- Converting to a dictionary, `model.to_dict()`\n\nTyped requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.\n\n## Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nall_builds = []\n# Automatically fetches more pages as needed.\nfor build in client.builds.list(\n project="stainless",\n):\n # Do something with build here\n all_builds.append(build)\nprint(all_builds)\n```\n\nOr, asynchronously:\n\n```python\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless()\n\nasync def main() -> None:\n all_builds = []\n # Iterate through items across all pages, issuing requests as needed.\n async for build in client.builds.list(\n project="stainless",\n):\n all_builds.append(build)\n print(all_builds)\n\nasyncio.run(main())\n```\n\nAlternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\nif first_page.has_next_page():\n print(f"will fetch next page using these details: {first_page.next_page_info()}")\n next_page = await first_page.get_next_page()\n print(f"number of items we just fetched: {len(next_page.data)}")\n\n# Remove `await` for non-async usage.\n```\n\nOr just work directly with the returned data:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\n\nprint(f"next page cursor: {first_page.next_cursor}") # => "next page cursor: ..."\nfor build in first_page.data:\n print(build.id)\n\n# Remove `await` for non-async usage.\n```\n\n## Nested params\n\nNested parameters are dictionaries, typed using `TypedDict`, for example:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nbuild = client.builds.create(\n project="project",\n revision="string",\n target_commit_messages={},\n)\nprint(build.target_commit_messages)\n```\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `stainless_v0.APIConnectionError` is raised.\n\nWhen the API returns a non-success status code (that is, 4xx or 5xx\nresponse), a subclass of `stainless_v0.APIStatusError` is raised, containing `status_code` and `response` properties.\n\nAll errors inherit from `stainless_v0.APIError`.\n\n```python\nimport stainless_v0\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\ntry:\n client.builds.create(\n project="stainless",\n revision="main",\n )\nexcept stainless_v0.APIConnectionError as e:\n print("The server could not be reached")\n print(e.__cause__) # an underlying Exception, likely raised within httpx.\nexcept stainless_v0.RateLimitError as e:\n print("A 429 status code was received; we should back off a bit.")\nexcept stainless_v0.APIStatusError as e:\n print("Another non-200-range status code was received")\n print(e.status_code)\n print(e.response)\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors are automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors are all retried by default.\n\nYou can use the `max_retries` option to configure or disable retry settings:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # default is 2\n max_retries=0,\n)\n\n# Or, configure per-request:\nclient.with_options(max_retries = 5).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\n### Timeouts\n\nBy default requests time out after 1 minute. You can configure this with a `timeout` option,\nwhich accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # 20 seconds (default is 1 minute)\n timeout=20.0,\n)\n\n# More granular control:\nclient = Stainless(\n timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),\n)\n\n# Override per-request:\nclient.with_options(timeout = 5.0).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\nOn timeout, an `APITimeoutError` is thrown.\n\nNote that requests that time out are [retried twice by default](#retries).\n\n\n\n## Advanced\n\n### Logging\n\nWe use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.\n\nYou can enable logging by setting the environment variable `STAINLESS_LOG` to `info`.\n\n```shell\n$ export STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging.\n\n### How to tell whether `None` means `null` or missing\n\nIn an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:\n\n```py\nif response.my_field is None:\n if \'my_field\' not in response.model_fields_set:\n print(\'Got json like {}, without a "my_field" key present at all.\')\n else:\n print(\'Got json like {"my_field": null}.\')\n```\n\n### Accessing raw response data (e.g. headers)\n\nThe "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,\n\n```py\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\nresponse = client.builds.with_raw_response.create(\n project="stainless",\n revision="main",\n)\nprint(response.headers.get(\'X-My-Header\'))\n\nbuild = response.parse() # get the object that `builds.create()` would have returned\nprint(build.id)\n```\n\nThese methods return an [`APIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) object.\n\nThe async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.\n\n#### `.with_streaming_response`\n\nThe above interface eagerly reads the full response body when you make the request, which may not always be what you want.\n\nTo stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.\n\n```python\nwith client.builds.with_streaming_response.create(\n project="stainless",\n revision="main",\n) as response :\n print(response.headers.get(\'X-My-Header\'))\n\n for line in response.iter_lines():\n print(line)\n```\n\nThe context manager is required so that the response will reliably be closed.\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API.\n\nIf you need to access undocumented endpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other\nhttp verbs. Options on the client will be respected (such as retries) when making this request.\n\n```py\nimport httpx\n\nresponse = client.post(\n "/foo",\n cast_to=httpx.Response,\n body={"my_param": True},\n)\n\nprint(response.headers.get("x-foo"))\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You\ncan also get all the extra fields on the Pydantic model as a dict with\n[`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).\n\n### Configuring the HTTP client\n\nYou can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:\n\n- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)\n- Custom [transports](https://www.python-httpx.org/advanced/transports/)\n- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality\n\n```python\nimport httpx\nfrom stainless_v0 import Stainless, DefaultHttpxClient\n\nclient = Stainless(\n # Or use the `STAINLESS_BASE_URL` env var\n base_url="http://my.test.server.example.com:8083",\n http_client=DefaultHttpxClient(proxy="http://my.test.proxy.example.com", transport=httpx.HTTPTransport(local_address="0.0.0.0")),\n)\n```\n\nYou can also customize the client on a per-request basis by using `with_options()`:\n\n```python\nclient.with_options(http_client=DefaultHttpxClient(...))\n```\n\n### Managing HTTP resources\n\nBy default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.\n\n```py\nfrom stainless_v0 import Stainless\n\nwith Stainless() as client:\n # make requests here\n ...\n\n# HTTP client is now closed\n```\n\n## Versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-python/issues) with questions, bugs, or suggestions.\n\n### Determining the installed version\n\nIf you\'ve upgraded to the latest version but aren\'t seeing any new features you were expecting then your python environment is likely still using an older version.\n\nYou can determine the version that is being used at runtime with:\n\n```py\nimport stainless_v0\nprint(stainless_v0.__version__)\n```\n\n## Requirements\n\nPython 3.9 or higher.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', - }, - { - language: 'go', + language: 'cli', content: - '# Stainless Go API Library\n\nGo Reference\n\nThe Stainless Go library provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli)\nfrom applications written in Go.\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n\n\n```go\nimport (\n\t"github.com/stainless-api/stainless-api-go" // imported as SDK_PackageName\n)\n```\n\n\n\nOr to pin the version:\n\n\n\n```sh\ngo get -u \'github.com/stainless-api/stainless-api-go@v0.0.1\'\n```\n\n\n\n## Requirements\n\nThis library requires Go 1.22+.\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```go\npackage main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"), // defaults to os.LookupEnv("STAINLESS_API_KEY")\n\t\toption.WithEnvironmentStaging(), // defaults to option.WithEnvironmentProduction()\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n\n```\n\n### Request fields\n\nAll request parameters are wrapped in a generic `Field` type,\nwhich we use to distinguish zero values from null or omitted fields.\n\nThis prevents accidentally sending a zero value if you forget a required parameter,\nand enables explicitly sending `null`, `false`, `\'\'`, or `0` on optional parameters.\nAny field not specified is not sent.\n\nTo construct fields with values, use the helpers `String()`, `Int()`, `Float()`, or most commonly, the generic `F[T]()`.\nTo send a null, use `Null[T]()`, and to send a nonconforming value, use `Raw[T](any)`. For example:\n\n```go\nparams := FooParams{\n\tName: SDK_PackageName.F("hello"),\n\n\t// Explicitly send `"description": null`\n\tDescription: SDK_PackageName.Null[string](),\n\n\tPoint: SDK_PackageName.F(SDK_PackageName.Point{\n\t\tX: SDK_PackageName.Int(0),\n\t\tY: SDK_PackageName.Int(1),\n\n\t\t// In cases where the API specifies a given type,\n\t\t// but you want to send something else, use `Raw`:\n\t\tZ: SDK_PackageName.Raw[int64](0.01), // sends a float\n\t}),\n}\n```\n\n### Response objects\n\nAll fields in response structs are value types (not pointers or wrappers).\n\nIf a given field is `null`, not present, or invalid, the corresponding field\nwill simply be its zero value.\n\nAll response structs also include a special `JSON` field, containing more detailed\ninformation about each property, which you can use like so:\n\n```go\nif res.Name == "" {\n\t// true if `"name"` is either not present or explicitly null\n\tres.JSON.Name.IsNull()\n\n\t// true if the `"name"` key was not present in the response JSON at all\n\tres.JSON.Name.IsMissing()\n\n\t// When the API returns data that cannot be coerced to the expected type:\n\tif res.JSON.Name.IsInvalid() {\n\t\traw := res.JSON.Name.Raw()\n\n\t\tlegacyName := struct{\n\t\t\tFirst string `json:"first"`\n\t\t\tLast string `json:"last"`\n\t\t}{}\n\t\tjson.Unmarshal([]byte(raw), &legacyName)\n\t\tname = legacyName.First + " " + legacyName.Last\n\t}\n}\n```\n\nThese `.JSON` structs also include an `Extras` map containing\nany properties in the json response that were not specified\nin the struct. This can be useful for API features not yet\npresent in the SDK.\n\n```go\nbody := res.JSON.ExtraFields["my_unexpected_field"].Raw()\n```\n\n### RequestOptions\n\nThis library uses the functional options pattern. Functions defined in the\n`SDK_PackageOptionName` package return a `RequestOption`, which is a closure that mutates a\n`RequestConfig`. These options can be supplied to the client or at individual\nrequests. For example:\n\n```go\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\t// Adds a header to every request made by the client\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "custom_header_info"),\n)\n\nclient.Builds.New(context.TODO(), ...,\n\t// Override the header\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "some_other_custom_header_info"),\n\t// Add an undocumented field to the request body, using sjson syntax\n\tSDK_PackageOptionName.WithJSONSet("some.json.path", map[string]string{"my": "object"}),\n)\n```\n\nSee the [full list of request options](https://pkg.go.dev/github.com/stainless-api/stainless-api-go/SDK_PackageOptionName).\n\n### Pagination\n\nThis library provides some conveniences for working with paginated list endpoints.\n\nYou can use `.ListAutoPaging()` methods to iterate through items across all pages:\n\n```go\niter := client.Builds.ListAutoPaging(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\n// Automatically fetches more pages as needed.\nfor iter.Next() {\n\tbuild := iter.Current()\n\tfmt.Printf("%+v\\n", build)\n}\nif err := iter.Err(); err != nil {\n\tpanic(err.Error())\n}\n```\n\nOr you can use simple `.List()` methods to fetch a single page and receive a standard response object\nwith additional helper methods like `.GetNextPage()`, e.g.:\n\n```go\npage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\nfor page != nil {\n\tfor _, build := range page.Data {\n\t\tfmt.Printf("%+v\\n", build)\n\t}\n\tpage, err = page.GetNextPage()\n}\nif err != nil {\n\tpanic(err.Error())\n}\n```\n\n### Errors\n\nWhen the API returns a non-success status code, we return an error with type\n`*SDK_PackageName.Error`. This contains the `StatusCode`, `*http.Request`, and\n`*http.Response` values of the request, as well as the JSON of the error body\n(much like other response objects in the SDK).\n\nTo handle errors, we recommend that you use the `errors.As` pattern:\n\n```go\n_, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\tProject: stainless.String("stainless"),\n\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\tOfString: stainless.String("main"),\n\t},\n})\nif err != nil {\n\tvar apierr *stainless.Error\n\tif errors.As(err, &apierr) {\n\t\tprintln(string(apierr.DumpRequest(true))) // Prints the serialized HTTP request\n\t\tprintln(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response\n\t}\n\tpanic(err.Error()) // GET "/v0/builds": 400 Bad Request { ... }\n}\n```\n\nWhen other errors occur, they are returned unwrapped; for example,\nif HTTP transport fails, you might receive `*url.Error` wrapping `*net.OpError`.\n\n### Timeouts\n\nRequests do not time out by default; use context to configure a timeout for a request lifecycle.\n\nNote that if a request is [retried](#retries), the context timeout does not start over.\nTo set a per-retry timeout, use `SDK_PackageOptionName.WithRequestTimeout()`.\n\n```go\n// This sets the timeout for the request, including all the retries.\nctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)\ndefer cancel()\nclient.Builds.New(\n\tctx,\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\t// This sets the per-retry timeout\n\toption.WithRequestTimeout(20*time.Second),\n)\n```\n\n### File uploads\n\nRequest parameters that correspond to file uploads in multipart requests are typed as\n`param.Field[io.Reader]`. The contents of the `io.Reader` will by default be sent as a multipart form\npart with the file name of "anonymous_file" and content-type of "application/octet-stream".\n\nThe file name and content-type can be customized by implementing `Name() string` or `ContentType()\nstring` on the run-time type of `io.Reader`. Note that `os.File` implements `Name() string`, so a\nfile returned by `os.Open` will be sent with the file name on disk.\n\nWe also provide a helper `SDK_PackageName.FileParam(reader io.Reader, filename string, contentType string)`\nwhich can be used to wrap any `io.Reader` with the appropriate file name and content type.\n\n\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nWe retry by default all connection errors, 408 Request Timeout, 409 Conflict, 429 Rate Limit,\nand >=500 Internal errors.\n\nYou can use the `WithMaxRetries` option to configure or disable this:\n\n```go\n// Configure the default for all requests:\nclient := stainless.NewClient(\n\toption.WithMaxRetries(0), // default is 2\n)\n\n// Override per-request:\nclient.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithMaxRetries(5),\n)\n```\n\n\n### Accessing raw response data (e.g. response headers)\n\nYou can access the raw HTTP response data by using the `option.WithResponseInto()` request option. This is useful when\nyou need to examine response headers, status codes, or other details.\n\n```go\n// Create a variable to store the HTTP response\nvar response *http.Response\nbuild, err := client.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithResponseInto(&response),\n)\nif err != nil {\n\t// handle error\n}\nfmt.Printf("%+v\\n", build)\n\nfmt.Printf("Status Code: %d\\n", response.StatusCode)\nfmt.Printf("Headers: %+#v\\n", response.Header)\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.Get`, `client.Post`, and other HTTP verbs.\n`RequestOptions` on the client, such as retries, will be respected when making these requests.\n\n```go\nvar (\n // params can be an io.Reader, a []byte, an encoding/json serializable object,\n // or a "…Params" struct defined in this library.\n params map[string]interface{}\n\n // result can be an []byte, *http.Response, a encoding/json deserializable object,\n // or a model defined in this library.\n result *http.Response\n)\nerr := client.Post(context.Background(), "/unspecified", params, &result)\nif err != nil {\n …\n}\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use either the `SDK_PackageOptionName.WithQuerySet()`\nor the `SDK_PackageOptionName.WithJSONSet()` methods.\n\n```go\nparams := FooNewParams{\n ID: SDK_PackageName.F("id_xxxx"),\n Data: SDK_PackageName.F(FooNewParamsData{\n FirstName: SDK_PackageName.F("John"),\n }),\n}\nclient.Foo.New(context.Background(), params, SDK_PackageOptionName.WithJSONSet("data.last_name", "Doe"))\n```\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may either access the raw JSON of the response as a string\nwith `result.JSON.RawJSON()`, or get the raw JSON of a particular field on the result with\n`result.JSON.Foo.Raw()`.\n\nAny fields that are not present on the response struct will be saved and can be accessed by `result.JSON.ExtraFields()` which returns the extra fields as a `map[string]Field`.\n\n### Middleware\n\nWe provide `SDK_PackageOptionName.WithMiddleware` which applies the given\nmiddleware to requests.\n\n```go\nfunc Logger(req *http.Request, next SDK_PackageOptionName.MiddlewareNext) (res *http.Response, err error) {\n\t// Before the request\n\tstart := time.Now()\n\tLogReq(req)\n\n\t// Forward the request to the next handler\n\tres, err = next(req)\n\n\t// Handle stuff after the request\n\tend := time.Now()\n\tLogRes(res, err, start - end)\n\n return res, err\n}\n\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\tSDK_PackageOptionName.WithMiddleware(Logger),\n)\n```\n\nWhen multiple middlewares are provided as variadic arguments, the middlewares\nare applied left to right. If `SDK_PackageOptionName.WithMiddleware` is given\nmultiple times, for example first in the client then the method, the\nmiddleware in the client will run first and the middleware given in the method\nwill run next.\n\nYou may also replace the default `http.Client` with\n`SDK_PackageOptionName.WithHTTPClient(client)`. Only one http client is\naccepted (this overwrites any previous client) and receives requests after any\nmiddleware has been applied.\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-go/issues) with questions, bugs, or suggestions.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', + "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n\n## Linking different Go SDK versions\n\nYou can link the CLI against a different version of the Stainless Go SDK\nfor development purposes using the `./scripts/link` script.\n\nTo link to a specific version from a repository (version can be a branch,\ngit tag, or commit hash):\n\n~~~bash\n./scripts/link github.com/org/repo@version\n~~~\n\nTo link to a local copy of the SDK:\n\n~~~bash\n./scripts/link ../path/to/stainless-go\n~~~\n\nIf you run the link script without any arguments, it will default to `../stainless-go`.\n", }, { - language: 'typescript', + language: 'csharp', content: - "# Stainless TypeScript API Library\n\n[![NPM version](https://img.shields.io/npm/v/@stainless-api/sdk.svg?label=npm%20(stable))](https://npmjs.org/package/@stainless-api/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@stainless-api/sdk)\n\nThis library provides convenient access to the Stainless REST API from server-side TypeScript or JavaScript.\n\n\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n```sh\nnpm install @stainless-api/sdk\n```\n\n\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n\n```js\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst build = await client.builds.create({ project: 'stainless', revision: 'main' });\n\nconsole.log(build.id);\n```\n\n\n\n### Request & Response types\n\nThis library includes TypeScript definitions for all request params and response fields. You may import and use them like so:\n\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst params: Stainless.BuildCreateParams = { project: 'stainless', revision: 'main' };\nconst build: Stainless.Build = await client.builds.create(params);\n```\n\nDocumentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.\n\n\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API,\nor if the API returns a non-success status code (i.e., 4xx or 5xx response),\na subclass of `APIError` will be thrown:\n\n\n```ts\nconst build = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .catch(async (err) => {\n if (err instanceof Stainless.APIError) {\n console.log(err.status); // 400\n console.log(err.name); // BadRequestError\n console.log(err.headers); // {server: 'nginx', ...}\n } else {\n throw err;\n }\n });\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors will all be retried by default.\n\nYou can use the `maxRetries` option to configure or disable this:\n\n\n```js\n// Configure the default for all requests:\nconst client = new Stainless({\n maxRetries: 0, // default is 2\n});\n\n// Or, configure per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n maxRetries: 5,\n});\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default. You can configure this with a `timeout` option:\n\n\n```ts\n// Configure the default for all requests:\nconst client = new Stainless({\n timeout: 20 * 1000, // 20 seconds (default is 1 minute)\n});\n\n// Override per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n timeout: 5 * 1000,\n});\n```\n\nOn timeout, an `APIConnectionTimeoutError` is thrown.\n\nNote that requests which time out will be [retried twice by default](#retries).\n\n## Auto-pagination\n\nList methods in the Stainless API are paginated.\nYou can use the `for await … of` syntax to iterate through items across all pages:\n\n```ts\nasync function fetchAllBuilds(params) {\n const allBuilds = [];\n // Automatically fetches more pages as needed.\n for await (const build of client.builds.list({ project: 'stainless' })) {\n allBuilds.push(build);\n }\n return allBuilds;\n}\n```\n\nAlternatively, you can request a single page at a time:\n\n```ts\nlet page = await client.builds.list({ project: 'stainless' });\nfor (const build of page.data) {\n console.log(build);\n}\n\n// Convenience methods are provided for manually paginating:\nwhile (page.hasNextPage()) {\n page = await page.getNextPage();\n // ...\n}\n```\n\n\n\n## Advanced Usage\n\n### Accessing raw Response data (e.g., headers)\n\nThe \"raw\" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.\nThis method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.\n\nYou can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.\nUnlike `.asResponse()` this method consumes the body, returning once it is parsed.\n\n\n```ts\nconst client = new Stainless();\n\nconst response = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .asResponse();\nconsole.log(response.headers.get('X-My-Header'));\nconsole.log(response.statusText); // access the underlying Response object\n\nconst { data: build, response: raw } = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .withResponse();\nconsole.log(raw.headers.get('X-My-Header'));\nconsole.log(build.id);\n```\n\n### Logging\n\n> [!IMPORTANT]\n> All log messages are intended for debugging only. The format and content of log messages\n> may change between releases.\n\n#### Log levels\n\nThe log level can be configured in two ways:\n\n1. Via the `STAINLESS_LOG` environment variable\n2. Using the `logLevel` client option (overrides the environment variable if set)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n logLevel: 'debug', // Show all log messages\n});\n```\n\nAvailable log levels, from most to least verbose:\n\n- `'debug'` - Show debug messages, info, warnings, and errors\n- `'info'` - Show info messages, warnings, and errors\n- `'warn'` - Show warnings and errors (default)\n- `'error'` - Show only errors\n- `'off'` - Disable all logging\n\nAt the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.\nSome authentication-related headers are redacted, but sensitive data in request and response bodies\nmay still be visible.\n\n#### Custom logger\n\nBy default, this library logs to `globalThis.console`. You can also provide a custom logger.\nMost logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.\n\nWhen providing a custom logger, the `logLevel` option still controls which messages are emitted, messages\nbelow the configured level will not be sent to your logger.\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport pino from 'pino';\n\nconst logger = pino();\n\nconst client = new Stainless({\n logger: logger.child({ name: 'Stainless' }),\n logLevel: 'debug', // Send all messages to pino, allowing it to filter\n});\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.\nOptions on the client, such as retries, will be respected when making these requests.\n\n```ts\nawait client.post('/some/path', {\n body: { some_prop: 'foo' },\n query: { some_query_arg: 'bar' },\n});\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented\nparameter. This library doesn't validate at runtime that the request matches the type, so any extra values you\nsend will be sent as-is.\n\n```ts\nclient.builds.create({\n // ...\n // @ts-expect-error baz is not yet public\n baz: 'undocumented option',\n});\n```\n\nFor requests with the `GET` verb, any extra params will be in the query, all other requests will send the\nextra param in the body.\n\nIf you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may access the response object with `// @ts-expect-error` on\nthe response object, or cast the response object to the requisite type. Like the request params, we do not\nvalidate or strip extra properties from the response from the API.\n\n### Customizing the fetch client\n\nBy default, this library expects a global `fetch` function is defined.\n\nIf you want to use a different `fetch` function, you can either polyfill the global:\n\n```ts\nimport fetch from 'my-fetch';\n\nglobalThis.fetch = fetch;\n```\n\nOr pass it to the client:\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport fetch from 'my-fetch';\n\nconst client = new Stainless({ fetch });\n```\n\n### Fetch options\n\nIf you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n // `RequestInit` options\n },\n});\n```\n\n#### Configuring proxies\n\nTo modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy\noptions to requests:\n\n **Node** [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport * as undici from 'undici';\n\nconst proxyAgent = new undici.ProxyAgent('http://localhost:8888');\nconst client = new Stainless({\n fetchOptions: {\n dispatcher: proxyAgent,\n },\n});\n```\n\n **Bun** [[docs](https://bun.sh/guides/http/proxy)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n proxy: 'http://localhost:8888',\n },\n});\n```\n\n **Deno** [[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]\n\n```ts\nimport Stainless from 'npm:@stainless-api/sdk';\n\nconst httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });\nconst client = new Stainless({\n fetchOptions: {\n client: httpClient,\n },\n});\n```\n\n## Frequently Asked Questions\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-typescript/issues) with questions, bugs, or suggestions.\n\n## Requirements\n\nTypeScript >= 4.9 is supported.\n\nThe following runtimes are supported:\n\n- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)\n- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.\n- Deno v1.28.0 or higher.\n- Bun 1.0 or later.\n- Cloudflare Workers.\n- Vercel Edge Runtime.\n- Jest 28 or greater with the `\"node\"` environment (`\"jsdom\"` is not supported at this time).\n- Nitro v2.6 or greater.\n\nNote that React Native is not supported at this time.\n\nIf you are interested in other runtime environments, please open or upvote an issue on GitHub.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n", + '# Stainless C# API Library\n\nThe Stainless C# SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in C#.\n\n## Installation\n\n```bash\ngit clone git@github.com:stainless-sdks/stainless-v0-csharp.git\ndotnet add reference stainless-v0-csharp/src/StainlessV0\n```\n\n## Requirements\n\nThis library requires .NET Standard 2.0 or later.\n\n## Usage\n\nSee the [`examples`](examples) directory for complete and runnable examples.\n\n```csharp\nStainlessClient client = new();\n\nBuildCreateParams parameters = new()\n{\n Project = "stainless",\n Revision = "main",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);\n```', }, { - language: 'ruby', + language: 'go', content: - '# Stainless Ruby API library\n\nThe Stainless Ruby library provides convenient access to the Stainless REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/stainless-sdks/stainless-v0-ruby#Sorbet) for usage with Sorbet. The standard library\'s `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nDocumentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/stainless-v0).\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\n## Installation\n\nTo use this gem, install via Bundler by adding the following to your application\'s `Gemfile`:\n\n```ruby\ngem "stainless-v0", "~> 0.0.1"\n```\n\n## Usage\n\n```ruby\nrequire "bundler/setup"\nrequire "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: ENV["STAINLESS_API_KEY"], # This is the default and can be omitted\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.create(project: "stainless", revision: "main")\n\nputs(build.id)\n```\n\n\n\n### Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```ruby\npage = stainless.builds.list(project: "stainless")\n\n# Fetch single item from page.\nbuild = page.data[0]\nputs(build.id)\n\n# Automatically fetches more pages as needed.\npage.auto_paging_each do |build|\n puts(build.id)\nend\n```\n\nAlternatively, you can use the `#next_page?` and `#next_page` methods for more granular control working with pages.\n\n```ruby\nif page.next_page?\n new_page = page.next_page\n puts(new_page.data[0].id)\nend\n```\n\n\n\n### Handling errors\n\nWhen the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `StainlessV0::Errors::APIError` will be thrown:\n\n```ruby\nbegin\n build = stainless.builds.create(project: "stainless", revision: "main")\nrescue StainlessV0::Errors::APIConnectionError => e\n puts("The server could not be reached")\n puts(e.cause) # an underlying Exception, likely raised within `net/http`\nrescue StainlessV0::Errors::RateLimitError => e\n puts("A 429 status code was received; we should back off a bit.")\nrescue StainlessV0::Errors::APIStatusError => e\n puts("Another non-200-range status code was received")\n puts(e.status)\nend\n```\n\nError codes are as follows:\n\n| Cause | Error Type |\n| ---------------- | -------------------------- |\n| HTTP 400 | `BadRequestError` |\n| HTTP 401 | `AuthenticationError` |\n| HTTP 403 | `PermissionDeniedError` |\n| HTTP 404 | `NotFoundError` |\n| HTTP 409 | `ConflictError` |\n| HTTP 422 | `UnprocessableEntityError` |\n| HTTP 429 | `RateLimitError` |\n| HTTP >= 500 | `InternalServerError` |\n| Other HTTP error | `APIStatusError` |\n| Timeout | `APITimeoutError` |\n| Network error | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\n\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.\n\nYou can use the `max_retries` option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n max_retries: 0 # default is 2\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {max_retries: 5})\n```\n\n### Timeouts\n\nBy default, requests will time out after 60 seconds. You can use the timeout option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n timeout: nil # default is 60\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {timeout: 5})\n```\n\nOn timeout, `StainlessV0::Errors::APITimeoutError` is raised.\n\nNote that requests that time out are retried by default.\n\n## Advanced concepts\n\n### BaseModel\n\nAll parameter and response objects inherit from `StainlessV0::Internal::Type::BaseModel`, which provides several conveniences, including:\n\n1. All fields, including unknown ones, are accessible with `obj[:prop]` syntax, and can be destructured with `obj => {prop: prop}` or pattern-matching syntax.\n\n2. Structural equivalence for equality; if two API calls return the same values, comparing the responses with == will return true.\n\n3. Both instances and the classes themselves can be pretty-printed.\n\n4. Helpers such as `#to_h`, `#deep_to_h`, `#to_json`, and `#to_yaml`.\n\n### Making custom or undocumented requests\n\n#### Undocumented properties\n\nYou can send undocumented parameters to any endpoint, and read undocumented response properties, like so:\n\nNote: the `extra_` parameters of the same name overrides the documented parameters.\n\n```ruby\nbuild =\n stainless.builds.create(\n project: "stainless",\n revision: "main",\n request_options: {\n extra_query: {my_query_parameter: value},\n extra_body: {my_body_parameter: value},\n extra_headers: {"my-header": value}\n }\n )\n\nputs(build[:my_undocumented_property])\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `client.request`, like so:\n\n```ruby\nresponse = client.request(\n method: :post,\n path: \'/undocumented/endpoint\',\n query: {"dog": "woof"},\n headers: {"useful-header": "interesting-value"},\n body: {"hello": "world"}\n)\n```\n\n### Concurrency & connection pooling\n\nThe `StainlessV0::Client` instances are threadsafe, but are only are fork-safe when there are no in-flight HTTP requests.\n\nEach instance of `StainlessV0::Client` has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings.\n\nWhen all available connections from the pool are checked out, requests wait for a new connection to become available, with queue time counting towards the request timeout.\n\nUnless otherwise specified, other classes in the SDK do not have locks protecting their underlying data structure.\n\n## Sorbet\n\nThis library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitions, and has no dependency on sorbet-runtime.\n\nYou can provide typesafe request parameters like so:\n\n```ruby\nstainless.builds.create(project: "stainless", revision: "main")\n```\n\nOr, equivalently:\n\n```ruby\n# Hashes work, but are not typesafe:\nstainless.builds.create(project: "stainless", revision: "main")\n\n# You can also splat a full Params class:\nparams = StainlessV0::BuildCreateParams.new(project: "stainless", revision: "main")\nstainless.builds.create(**params)\n```\n\n### Enums\n\nSince this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide "tagged symbols" instead, which is always a primitive at runtime:\n\n```ruby\n# :python\nputs(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n\n# Revealed type: `T.all(StainlessV0::ProjectGenerateCommitMessageParams::Target, Symbol)`\nT.reveal_type(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n```\n\nEnum parameters have a "relaxed" type, so you can either pass in enum constants or their literal value:\n\n```ruby\n# Using the enum constants preserves the tagged type information:\nstainless.projects.generate_commit_message(\n target: StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON,\n # …\n)\n\n# Literal values are also permissible:\nstainless.projects.generate_commit_message(\n target: :python,\n # …\n)\n```\n\n## Versioning\n\nThis package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.\n\nThis package considers improvements to the (non-runtime) `*.rbi` and `*.rbs` type definitions to be non-breaking changes.\n\n## Requirements\n\nRuby 3.2.0 or higher.\n\n## Contributing\n\nSee [the contributing documentation](https://github.com/stainless-sdks/stainless-v0-ruby/tree/main/CONTRIBUTING.md).\n', + '# Stainless Go API Library\n\nGo Reference\n\nThe Stainless Go library provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli)\nfrom applications written in Go.\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n\n\n```go\nimport (\n\t"github.com/stainless-api/stainless-api-go" // imported as SDK_PackageName\n)\n```\n\n\n\nOr to pin the version:\n\n\n\n```sh\ngo get -u \'github.com/stainless-api/stainless-api-go@v0.0.1\'\n```\n\n\n\n## Requirements\n\nThis library requires Go 1.22+.\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```go\npackage main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"), // defaults to os.LookupEnv("STAINLESS_API_KEY")\n\t\toption.WithEnvironmentStaging(), // defaults to option.WithEnvironmentProduction()\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n\n```\n\n### Request fields\n\nAll request parameters are wrapped in a generic `Field` type,\nwhich we use to distinguish zero values from null or omitted fields.\n\nThis prevents accidentally sending a zero value if you forget a required parameter,\nand enables explicitly sending `null`, `false`, `\'\'`, or `0` on optional parameters.\nAny field not specified is not sent.\n\nTo construct fields with values, use the helpers `String()`, `Int()`, `Float()`, or most commonly, the generic `F[T]()`.\nTo send a null, use `Null[T]()`, and to send a nonconforming value, use `Raw[T](any)`. For example:\n\n```go\nparams := FooParams{\n\tName: SDK_PackageName.F("hello"),\n\n\t// Explicitly send `"description": null`\n\tDescription: SDK_PackageName.Null[string](),\n\n\tPoint: SDK_PackageName.F(SDK_PackageName.Point{\n\t\tX: SDK_PackageName.Int(0),\n\t\tY: SDK_PackageName.Int(1),\n\n\t\t// In cases where the API specifies a given type,\n\t\t// but you want to send something else, use `Raw`:\n\t\tZ: SDK_PackageName.Raw[int64](0.01), // sends a float\n\t}),\n}\n```\n\n### Response objects\n\nAll fields in response structs are value types (not pointers or wrappers).\n\nIf a given field is `null`, not present, or invalid, the corresponding field\nwill simply be its zero value.\n\nAll response structs also include a special `JSON` field, containing more detailed\ninformation about each property, which you can use like so:\n\n```go\nif res.Name == "" {\n\t// true if `"name"` is either not present or explicitly null\n\tres.JSON.Name.IsNull()\n\n\t// true if the `"name"` key was not present in the response JSON at all\n\tres.JSON.Name.IsMissing()\n\n\t// When the API returns data that cannot be coerced to the expected type:\n\tif res.JSON.Name.IsInvalid() {\n\t\traw := res.JSON.Name.Raw()\n\n\t\tlegacyName := struct{\n\t\t\tFirst string `json:"first"`\n\t\t\tLast string `json:"last"`\n\t\t}{}\n\t\tjson.Unmarshal([]byte(raw), &legacyName)\n\t\tname = legacyName.First + " " + legacyName.Last\n\t}\n}\n```\n\nThese `.JSON` structs also include an `Extras` map containing\nany properties in the json response that were not specified\nin the struct. This can be useful for API features not yet\npresent in the SDK.\n\n```go\nbody := res.JSON.ExtraFields["my_unexpected_field"].Raw()\n```\n\n### RequestOptions\n\nThis library uses the functional options pattern. Functions defined in the\n`SDK_PackageOptionName` package return a `RequestOption`, which is a closure that mutates a\n`RequestConfig`. These options can be supplied to the client or at individual\nrequests. For example:\n\n```go\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\t// Adds a header to every request made by the client\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "custom_header_info"),\n)\n\nclient.Builds.New(context.TODO(), ...,\n\t// Override the header\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "some_other_custom_header_info"),\n\t// Add an undocumented field to the request body, using sjson syntax\n\tSDK_PackageOptionName.WithJSONSet("some.json.path", map[string]string{"my": "object"}),\n)\n```\n\nSee the [full list of request options](https://pkg.go.dev/github.com/stainless-api/stainless-api-go/SDK_PackageOptionName).\n\n### Pagination\n\nThis library provides some conveniences for working with paginated list endpoints.\n\nYou can use `.ListAutoPaging()` methods to iterate through items across all pages:\n\n```go\niter := client.Builds.ListAutoPaging(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\n// Automatically fetches more pages as needed.\nfor iter.Next() {\n\tbuild := iter.Current()\n\tfmt.Printf("%+v\\n", build)\n}\nif err := iter.Err(); err != nil {\n\tpanic(err.Error())\n}\n```\n\nOr you can use simple `.List()` methods to fetch a single page and receive a standard response object\nwith additional helper methods like `.GetNextPage()`, e.g.:\n\n```go\npage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\nfor page != nil {\n\tfor _, build := range page.Data {\n\t\tfmt.Printf("%+v\\n", build)\n\t}\n\tpage, err = page.GetNextPage()\n}\nif err != nil {\n\tpanic(err.Error())\n}\n```\n\n### Errors\n\nWhen the API returns a non-success status code, we return an error with type\n`*SDK_PackageName.Error`. This contains the `StatusCode`, `*http.Request`, and\n`*http.Response` values of the request, as well as the JSON of the error body\n(much like other response objects in the SDK).\n\nTo handle errors, we recommend that you use the `errors.As` pattern:\n\n```go\n_, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\tProject: stainless.String("stainless"),\n\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\tOfString: stainless.String("main"),\n\t},\n})\nif err != nil {\n\tvar apierr *stainless.Error\n\tif errors.As(err, &apierr) {\n\t\tprintln(string(apierr.DumpRequest(true))) // Prints the serialized HTTP request\n\t\tprintln(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response\n\t}\n\tpanic(err.Error()) // GET "/v0/builds": 400 Bad Request { ... }\n}\n```\n\nWhen other errors occur, they are returned unwrapped; for example,\nif HTTP transport fails, you might receive `*url.Error` wrapping `*net.OpError`.\n\n### Timeouts\n\nRequests do not time out by default; use context to configure a timeout for a request lifecycle.\n\nNote that if a request is [retried](#retries), the context timeout does not start over.\nTo set a per-retry timeout, use `SDK_PackageOptionName.WithRequestTimeout()`.\n\n```go\n// This sets the timeout for the request, including all the retries.\nctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)\ndefer cancel()\nclient.Builds.New(\n\tctx,\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\t// This sets the per-retry timeout\n\toption.WithRequestTimeout(20*time.Second),\n)\n```\n\n### File uploads\n\nRequest parameters that correspond to file uploads in multipart requests are typed as\n`param.Field[io.Reader]`. The contents of the `io.Reader` will by default be sent as a multipart form\npart with the file name of "anonymous_file" and content-type of "application/octet-stream".\n\nThe file name and content-type can be customized by implementing `Name() string` or `ContentType()\nstring` on the run-time type of `io.Reader`. Note that `os.File` implements `Name() string`, so a\nfile returned by `os.Open` will be sent with the file name on disk.\n\nWe also provide a helper `SDK_PackageName.FileParam(reader io.Reader, filename string, contentType string)`\nwhich can be used to wrap any `io.Reader` with the appropriate file name and content type.\n\n\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nWe retry by default all connection errors, 408 Request Timeout, 409 Conflict, 429 Rate Limit,\nand >=500 Internal errors.\n\nYou can use the `WithMaxRetries` option to configure or disable this:\n\n```go\n// Configure the default for all requests:\nclient := stainless.NewClient(\n\toption.WithMaxRetries(0), // default is 2\n)\n\n// Override per-request:\nclient.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithMaxRetries(5),\n)\n```\n\n\n### Accessing raw response data (e.g. response headers)\n\nYou can access the raw HTTP response data by using the `option.WithResponseInto()` request option. This is useful when\nyou need to examine response headers, status codes, or other details.\n\n```go\n// Create a variable to store the HTTP response\nvar response *http.Response\nbuild, err := client.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithResponseInto(&response),\n)\nif err != nil {\n\t// handle error\n}\nfmt.Printf("%+v\\n", build)\n\nfmt.Printf("Status Code: %d\\n", response.StatusCode)\nfmt.Printf("Headers: %+#v\\n", response.Header)\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.Get`, `client.Post`, and other HTTP verbs.\n`RequestOptions` on the client, such as retries, will be respected when making these requests.\n\n```go\nvar (\n // params can be an io.Reader, a []byte, an encoding/json serializable object,\n // or a "…Params" struct defined in this library.\n params map[string]interface{}\n\n // result can be an []byte, *http.Response, a encoding/json deserializable object,\n // or a model defined in this library.\n result *http.Response\n)\nerr := client.Post(context.Background(), "/unspecified", params, &result)\nif err != nil {\n …\n}\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use either the `SDK_PackageOptionName.WithQuerySet()`\nor the `SDK_PackageOptionName.WithJSONSet()` methods.\n\n```go\nparams := FooNewParams{\n ID: SDK_PackageName.F("id_xxxx"),\n Data: SDK_PackageName.F(FooNewParamsData{\n FirstName: SDK_PackageName.F("John"),\n }),\n}\nclient.Foo.New(context.Background(), params, SDK_PackageOptionName.WithJSONSet("data.last_name", "Doe"))\n```\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may either access the raw JSON of the response as a string\nwith `result.JSON.RawJSON()`, or get the raw JSON of a particular field on the result with\n`result.JSON.Foo.Raw()`.\n\nAny fields that are not present on the response struct will be saved and can be accessed by `result.JSON.ExtraFields()` which returns the extra fields as a `map[string]Field`.\n\n### Middleware\n\nWe provide `SDK_PackageOptionName.WithMiddleware` which applies the given\nmiddleware to requests.\n\n```go\nfunc Logger(req *http.Request, next SDK_PackageOptionName.MiddlewareNext) (res *http.Response, err error) {\n\t// Before the request\n\tstart := time.Now()\n\tLogReq(req)\n\n\t// Forward the request to the next handler\n\tres, err = next(req)\n\n\t// Handle stuff after the request\n\tend := time.Now()\n\tLogRes(res, err, start - end)\n\n return res, err\n}\n\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\tSDK_PackageOptionName.WithMiddleware(Logger),\n)\n```\n\nWhen multiple middlewares are provided as variadic arguments, the middlewares\nare applied left to right. If `SDK_PackageOptionName.WithMiddleware` is given\nmultiple times, for example first in the client then the method, the\nmiddleware in the client will run first and the middleware given in the method\nwill run next.\n\nYou may also replace the default `http.Client` with\n`SDK_PackageOptionName.WithHTTPClient(client)`. Only one http client is\naccepted (this overwrites any previous client) and receives requests after any\nmiddleware has been applied.\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-go/issues) with questions, bugs, or suggestions.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', }, { language: 'java', @@ -1541,19 +1536,24 @@ const EMBEDDED_READMES: { language: string; content: string }[] = [ '# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl("https://example.com")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`\'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from("Hello World!")\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n "Hello", "World"\n))\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n "a" to 1, "b" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n "a" to listOf(\n 1, 2\n ), "b" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get("secretProperty")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> "It\'s null!"\n is JsonBoolean -> "It\'s a boolean!"\n is JsonNumber -> "It\'s a number!"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> "It\'s something else!"\n}\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n', }, { - language: 'csharp', + language: 'php', content: - '# Stainless C# API Library\n\nThe Stainless C# SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in C#.\n\n## Installation\n\n```bash\ngit clone git@github.com:stainless-sdks/stainless-v0-csharp.git\ndotnet add reference stainless-v0-csharp/src/StainlessV0\n```\n\n## Requirements\n\nThis library requires .NET Standard 2.0 or later.\n\n## Usage\n\nSee the [`examples`](examples) directory for complete and runnable examples.\n\n```csharp\nStainlessClient client = new();\n\nBuildCreateParams parameters = new()\n{\n Project = "stainless",\n Revision = "main",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);\n```', + '# Stainless PHP API Library\n\nThe Stainless PHP library provides convenient access to the Stainless REST API from any PHP 8.1.0+ application.\n\n## Installation\n\nTo use this package, install via Composer by adding the following to your application\'s `composer.json`:\n\n```json\n{\n "repositories": [\n {\n "type": "vcs",\n "url": "git@github.com:stainless-sdks/stainless-v0-php.git"\n }\n ],\n "require": {\n "org-placeholder/stainless-v0": "dev-main"\n }\n}\n```\n\n## Usage\n\n```php\nbuilds->create(project: \'stainless\', revision: \'main\');\n\nvar_dump($build->id);\n```', }, { - language: 'cli', + language: 'python', content: - "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n\n## Linking different Go SDK versions\n\nYou can link the CLI against a different version of the Stainless Go SDK\nfor development purposes using the `./scripts/link` script.\n\nTo link to a specific version from a repository (version can be a branch,\ngit tag, or commit hash):\n\n~~~bash\n./scripts/link github.com/org/repo@version\n~~~\n\nTo link to a local copy of the SDK:\n\n~~~bash\n./scripts/link ../path/to/stainless-go\n~~~\n\nIf you run the link script without any arguments, it will default to `../stainless-go`.\n", + '# Stainless Python API library\n\n\n[![PyPI version](https://img.shields.io/pypi/v/stainless_v0.svg?label=pypi%20(stable))](https://pypi.org/project/stainless_v0/)\n\nThe Stainless Python library provides convenient access to the Stainless REST API from any Python 3.9+\napplication. The library includes type definitions for all request params and response fields,\nand offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\n## Installation\n\n```sh\n# install from this staging repo\npip install git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\n```\n> [!NOTE]\n> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install stainless_v0`\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```python\nimport os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nbuild = client.builds.create(\n project="stainless",\n revision="main",\n)\nprint(build.id)\n```\n\nWhile you can provide an `api_key` keyword argument,\nwe recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)\nto add `STAINLESS_API_KEY="My API Key"` to your `.env` file\nso that your API Key is not stored in source control.\n\n## Async usage\n\nSimply import `AsyncStainless` instead of `Stainless` and use `await` with each API call:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nasync def main() -> None:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\nFunctionality between the synchronous and asynchronous clients is otherwise identical.\n\n### With aiohttp\n\nBy default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.\n\nYou can enable this by installing `aiohttp`:\n\n```sh\n# install from this staging repo\npip install \'stainless_v0[aiohttp] @ git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\'\n```\n\nThen you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import DefaultAioHttpClient\nfrom stainless_v0 import AsyncStainless\n\nasync def main() -> None:\n async with AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n http_client=DefaultAioHttpClient(),\n) as client:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\n\n\n## Using types\n\nNested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:\n\n- Serializing back into JSON, `model.to_json()`\n- Converting to a dictionary, `model.to_dict()`\n\nTyped requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.\n\n## Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nall_builds = []\n# Automatically fetches more pages as needed.\nfor build in client.builds.list(\n project="stainless",\n):\n # Do something with build here\n all_builds.append(build)\nprint(all_builds)\n```\n\nOr, asynchronously:\n\n```python\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless()\n\nasync def main() -> None:\n all_builds = []\n # Iterate through items across all pages, issuing requests as needed.\n async for build in client.builds.list(\n project="stainless",\n):\n all_builds.append(build)\n print(all_builds)\n\nasyncio.run(main())\n```\n\nAlternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\nif first_page.has_next_page():\n print(f"will fetch next page using these details: {first_page.next_page_info()}")\n next_page = await first_page.get_next_page()\n print(f"number of items we just fetched: {len(next_page.data)}")\n\n# Remove `await` for non-async usage.\n```\n\nOr just work directly with the returned data:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\n\nprint(f"next page cursor: {first_page.next_cursor}") # => "next page cursor: ..."\nfor build in first_page.data:\n print(build.id)\n\n# Remove `await` for non-async usage.\n```\n\n## Nested params\n\nNested parameters are dictionaries, typed using `TypedDict`, for example:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nbuild = client.builds.create(\n project="project",\n revision="string",\n target_commit_messages={},\n)\nprint(build.target_commit_messages)\n```\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `stainless_v0.APIConnectionError` is raised.\n\nWhen the API returns a non-success status code (that is, 4xx or 5xx\nresponse), a subclass of `stainless_v0.APIStatusError` is raised, containing `status_code` and `response` properties.\n\nAll errors inherit from `stainless_v0.APIError`.\n\n```python\nimport stainless_v0\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\ntry:\n client.builds.create(\n project="stainless",\n revision="main",\n )\nexcept stainless_v0.APIConnectionError as e:\n print("The server could not be reached")\n print(e.__cause__) # an underlying Exception, likely raised within httpx.\nexcept stainless_v0.RateLimitError as e:\n print("A 429 status code was received; we should back off a bit.")\nexcept stainless_v0.APIStatusError as e:\n print("Another non-200-range status code was received")\n print(e.status_code)\n print(e.response)\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors are automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors are all retried by default.\n\nYou can use the `max_retries` option to configure or disable retry settings:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # default is 2\n max_retries=0,\n)\n\n# Or, configure per-request:\nclient.with_options(max_retries = 5).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\n### Timeouts\n\nBy default requests time out after 1 minute. You can configure this with a `timeout` option,\nwhich accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # 20 seconds (default is 1 minute)\n timeout=20.0,\n)\n\n# More granular control:\nclient = Stainless(\n timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),\n)\n\n# Override per-request:\nclient.with_options(timeout = 5.0).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\nOn timeout, an `APITimeoutError` is thrown.\n\nNote that requests that time out are [retried twice by default](#retries).\n\n\n\n## Advanced\n\n### Logging\n\nWe use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.\n\nYou can enable logging by setting the environment variable `STAINLESS_LOG` to `info`.\n\n```shell\n$ export STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging.\n\n### How to tell whether `None` means `null` or missing\n\nIn an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:\n\n```py\nif response.my_field is None:\n if \'my_field\' not in response.model_fields_set:\n print(\'Got json like {}, without a "my_field" key present at all.\')\n else:\n print(\'Got json like {"my_field": null}.\')\n```\n\n### Accessing raw response data (e.g. headers)\n\nThe "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,\n\n```py\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\nresponse = client.builds.with_raw_response.create(\n project="stainless",\n revision="main",\n)\nprint(response.headers.get(\'X-My-Header\'))\n\nbuild = response.parse() # get the object that `builds.create()` would have returned\nprint(build.id)\n```\n\nThese methods return an [`APIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) object.\n\nThe async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.\n\n#### `.with_streaming_response`\n\nThe above interface eagerly reads the full response body when you make the request, which may not always be what you want.\n\nTo stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.\n\n```python\nwith client.builds.with_streaming_response.create(\n project="stainless",\n revision="main",\n) as response :\n print(response.headers.get(\'X-My-Header\'))\n\n for line in response.iter_lines():\n print(line)\n```\n\nThe context manager is required so that the response will reliably be closed.\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API.\n\nIf you need to access undocumented endpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other\nhttp verbs. Options on the client will be respected (such as retries) when making this request.\n\n```py\nimport httpx\n\nresponse = client.post(\n "/foo",\n cast_to=httpx.Response,\n body={"my_param": True},\n)\n\nprint(response.headers.get("x-foo"))\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You\ncan also get all the extra fields on the Pydantic model as a dict with\n[`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).\n\n### Configuring the HTTP client\n\nYou can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:\n\n- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)\n- Custom [transports](https://www.python-httpx.org/advanced/transports/)\n- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality\n\n```python\nimport httpx\nfrom stainless_v0 import Stainless, DefaultHttpxClient\n\nclient = Stainless(\n # Or use the `STAINLESS_BASE_URL` env var\n base_url="http://my.test.server.example.com:8083",\n http_client=DefaultHttpxClient(proxy="http://my.test.proxy.example.com", transport=httpx.HTTPTransport(local_address="0.0.0.0")),\n)\n```\n\nYou can also customize the client on a per-request basis by using `with_options()`:\n\n```python\nclient.with_options(http_client=DefaultHttpxClient(...))\n```\n\n### Managing HTTP resources\n\nBy default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.\n\n```py\nfrom stainless_v0 import Stainless\n\nwith Stainless() as client:\n # make requests here\n ...\n\n# HTTP client is now closed\n```\n\n## Versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-python/issues) with questions, bugs, or suggestions.\n\n### Determining the installed version\n\nIf you\'ve upgraded to the latest version but aren\'t seeing any new features you were expecting then your python environment is likely still using an older version.\n\nYou can determine the version that is being used at runtime with:\n\n```py\nimport stainless_v0\nprint(stainless_v0.__version__)\n```\n\n## Requirements\n\nPython 3.9 or higher.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', }, { - language: 'php', + language: 'ruby', content: - '# Stainless PHP API Library\n\nThe Stainless PHP library provides convenient access to the Stainless REST API from any PHP 8.1.0+ application.\n\n## Installation\n\nTo use this package, install via Composer by adding the following to your application\'s `composer.json`:\n\n```json\n{\n "repositories": [\n {\n "type": "vcs",\n "url": "git@github.com:stainless-sdks/stainless-v0-php.git"\n }\n ],\n "require": {\n "org-placeholder/stainless-v0": "dev-main"\n }\n}\n```\n\n## Usage\n\n```php\nbuilds->create(project: \'stainless\', revision: \'main\');\n\nvar_dump($build->id);\n```', + '# Stainless Ruby API library\n\nThe Stainless Ruby library provides convenient access to the Stainless REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/stainless-sdks/stainless-v0-ruby#Sorbet) for usage with Sorbet. The standard library\'s `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nDocumentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/stainless-v0).\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\n## Installation\n\nTo use this gem, install via Bundler by adding the following to your application\'s `Gemfile`:\n\n```ruby\ngem "stainless-v0", "~> 0.0.1"\n```\n\n## Usage\n\n```ruby\nrequire "bundler/setup"\nrequire "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: ENV["STAINLESS_API_KEY"], # This is the default and can be omitted\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.create(project: "stainless", revision: "main")\n\nputs(build.id)\n```\n\n\n\n### Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```ruby\npage = stainless.builds.list(project: "stainless")\n\n# Fetch single item from page.\nbuild = page.data[0]\nputs(build.id)\n\n# Automatically fetches more pages as needed.\npage.auto_paging_each do |build|\n puts(build.id)\nend\n```\n\nAlternatively, you can use the `#next_page?` and `#next_page` methods for more granular control working with pages.\n\n```ruby\nif page.next_page?\n new_page = page.next_page\n puts(new_page.data[0].id)\nend\n```\n\n\n\n### Handling errors\n\nWhen the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `StainlessV0::Errors::APIError` will be thrown:\n\n```ruby\nbegin\n build = stainless.builds.create(project: "stainless", revision: "main")\nrescue StainlessV0::Errors::APIConnectionError => e\n puts("The server could not be reached")\n puts(e.cause) # an underlying Exception, likely raised within `net/http`\nrescue StainlessV0::Errors::RateLimitError => e\n puts("A 429 status code was received; we should back off a bit.")\nrescue StainlessV0::Errors::APIStatusError => e\n puts("Another non-200-range status code was received")\n puts(e.status)\nend\n```\n\nError codes are as follows:\n\n| Cause | Error Type |\n| ---------------- | -------------------------- |\n| HTTP 400 | `BadRequestError` |\n| HTTP 401 | `AuthenticationError` |\n| HTTP 403 | `PermissionDeniedError` |\n| HTTP 404 | `NotFoundError` |\n| HTTP 409 | `ConflictError` |\n| HTTP 422 | `UnprocessableEntityError` |\n| HTTP 429 | `RateLimitError` |\n| HTTP >= 500 | `InternalServerError` |\n| Other HTTP error | `APIStatusError` |\n| Timeout | `APITimeoutError` |\n| Network error | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\n\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.\n\nYou can use the `max_retries` option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n max_retries: 0 # default is 2\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {max_retries: 5})\n```\n\n### Timeouts\n\nBy default, requests will time out after 60 seconds. You can use the timeout option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n timeout: nil # default is 60\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {timeout: 5})\n```\n\nOn timeout, `StainlessV0::Errors::APITimeoutError` is raised.\n\nNote that requests that time out are retried by default.\n\n## Advanced concepts\n\n### BaseModel\n\nAll parameter and response objects inherit from `StainlessV0::Internal::Type::BaseModel`, which provides several conveniences, including:\n\n1. All fields, including unknown ones, are accessible with `obj[:prop]` syntax, and can be destructured with `obj => {prop: prop}` or pattern-matching syntax.\n\n2. Structural equivalence for equality; if two API calls return the same values, comparing the responses with == will return true.\n\n3. Both instances and the classes themselves can be pretty-printed.\n\n4. Helpers such as `#to_h`, `#deep_to_h`, `#to_json`, and `#to_yaml`.\n\n### Making custom or undocumented requests\n\n#### Undocumented properties\n\nYou can send undocumented parameters to any endpoint, and read undocumented response properties, like so:\n\nNote: the `extra_` parameters of the same name overrides the documented parameters.\n\n```ruby\nbuild =\n stainless.builds.create(\n project: "stainless",\n revision: "main",\n request_options: {\n extra_query: {my_query_parameter: value},\n extra_body: {my_body_parameter: value},\n extra_headers: {"my-header": value}\n }\n )\n\nputs(build[:my_undocumented_property])\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `client.request`, like so:\n\n```ruby\nresponse = client.request(\n method: :post,\n path: \'/undocumented/endpoint\',\n query: {"dog": "woof"},\n headers: {"useful-header": "interesting-value"},\n body: {"hello": "world"}\n)\n```\n\n### Concurrency & connection pooling\n\nThe `StainlessV0::Client` instances are threadsafe, but are only are fork-safe when there are no in-flight HTTP requests.\n\nEach instance of `StainlessV0::Client` has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings.\n\nWhen all available connections from the pool are checked out, requests wait for a new connection to become available, with queue time counting towards the request timeout.\n\nUnless otherwise specified, other classes in the SDK do not have locks protecting their underlying data structure.\n\n## Sorbet\n\nThis library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitions, and has no dependency on sorbet-runtime.\n\nYou can provide typesafe request parameters like so:\n\n```ruby\nstainless.builds.create(project: "stainless", revision: "main")\n```\n\nOr, equivalently:\n\n```ruby\n# Hashes work, but are not typesafe:\nstainless.builds.create(project: "stainless", revision: "main")\n\n# You can also splat a full Params class:\nparams = StainlessV0::BuildCreateParams.new(project: "stainless", revision: "main")\nstainless.builds.create(**params)\n```\n\n### Enums\n\nSince this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide "tagged symbols" instead, which is always a primitive at runtime:\n\n```ruby\n# :python\nputs(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n\n# Revealed type: `T.all(StainlessV0::ProjectGenerateCommitMessageParams::Target, Symbol)`\nT.reveal_type(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n```\n\nEnum parameters have a "relaxed" type, so you can either pass in enum constants or their literal value:\n\n```ruby\n# Using the enum constants preserves the tagged type information:\nstainless.projects.generate_commit_message(\n target: StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON,\n # …\n)\n\n# Literal values are also permissible:\nstainless.projects.generate_commit_message(\n target: :python,\n # …\n)\n```\n\n## Versioning\n\nThis package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.\n\nThis package considers improvements to the (non-runtime) `*.rbi` and `*.rbs` type definitions to be non-breaking changes.\n\n## Requirements\n\nRuby 3.2.0 or higher.\n\n## Contributing\n\nSee [the contributing documentation](https://github.com/stainless-sdks/stainless-v0-ruby/tree/main/CONTRIBUTING.md).\n', + }, + { + language: 'typescript', + content: + "# Stainless TypeScript API Library\n\n[![NPM version](https://img.shields.io/npm/v/@stainless-api/sdk.svg?label=npm%20(stable))](https://npmjs.org/package/@stainless-api/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@stainless-api/sdk)\n\nThis library provides convenient access to the Stainless REST API from server-side TypeScript or JavaScript.\n\n\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n```sh\nnpm install @stainless-api/sdk\n```\n\n\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n\n```js\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst build = await client.builds.create({ project: 'stainless', revision: 'main' });\n\nconsole.log(build.id);\n```\n\n\n\n### Request & Response types\n\nThis library includes TypeScript definitions for all request params and response fields. You may import and use them like so:\n\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst params: Stainless.BuildCreateParams = { project: 'stainless', revision: 'main' };\nconst build: Stainless.Build = await client.builds.create(params);\n```\n\nDocumentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.\n\n\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API,\nor if the API returns a non-success status code (i.e., 4xx or 5xx response),\na subclass of `APIError` will be thrown:\n\n\n```ts\nconst build = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .catch(async (err) => {\n if (err instanceof Stainless.APIError) {\n console.log(err.status); // 400\n console.log(err.name); // BadRequestError\n console.log(err.headers); // {server: 'nginx', ...}\n } else {\n throw err;\n }\n });\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors will all be retried by default.\n\nYou can use the `maxRetries` option to configure or disable this:\n\n\n```js\n// Configure the default for all requests:\nconst client = new Stainless({\n maxRetries: 0, // default is 2\n});\n\n// Or, configure per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n maxRetries: 5,\n});\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default. You can configure this with a `timeout` option:\n\n\n```ts\n// Configure the default for all requests:\nconst client = new Stainless({\n timeout: 20 * 1000, // 20 seconds (default is 1 minute)\n});\n\n// Override per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n timeout: 5 * 1000,\n});\n```\n\nOn timeout, an `APIConnectionTimeoutError` is thrown.\n\nNote that requests which time out will be [retried twice by default](#retries).\n\n## Auto-pagination\n\nList methods in the Stainless API are paginated.\nYou can use the `for await … of` syntax to iterate through items across all pages:\n\n```ts\nasync function fetchAllBuilds(params) {\n const allBuilds = [];\n // Automatically fetches more pages as needed.\n for await (const build of client.builds.list({ project: 'stainless' })) {\n allBuilds.push(build);\n }\n return allBuilds;\n}\n```\n\nAlternatively, you can request a single page at a time:\n\n```ts\nlet page = await client.builds.list({ project: 'stainless' });\nfor (const build of page.data) {\n console.log(build);\n}\n\n// Convenience methods are provided for manually paginating:\nwhile (page.hasNextPage()) {\n page = await page.getNextPage();\n // ...\n}\n```\n\n\n\n## Advanced Usage\n\n### Accessing raw Response data (e.g., headers)\n\nThe \"raw\" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.\nThis method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.\n\nYou can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.\nUnlike `.asResponse()` this method consumes the body, returning once it is parsed.\n\n\n```ts\nconst client = new Stainless();\n\nconst response = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .asResponse();\nconsole.log(response.headers.get('X-My-Header'));\nconsole.log(response.statusText); // access the underlying Response object\n\nconst { data: build, response: raw } = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .withResponse();\nconsole.log(raw.headers.get('X-My-Header'));\nconsole.log(build.id);\n```\n\n### Logging\n\n> [!IMPORTANT]\n> All log messages are intended for debugging only. The format and content of log messages\n> may change between releases.\n\n#### Log levels\n\nThe log level can be configured in two ways:\n\n1. Via the `STAINLESS_LOG` environment variable\n2. Using the `logLevel` client option (overrides the environment variable if set)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n logLevel: 'debug', // Show all log messages\n});\n```\n\nAvailable log levels, from most to least verbose:\n\n- `'debug'` - Show debug messages, info, warnings, and errors\n- `'info'` - Show info messages, warnings, and errors\n- `'warn'` - Show warnings and errors (default)\n- `'error'` - Show only errors\n- `'off'` - Disable all logging\n\nAt the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.\nSome authentication-related headers are redacted, but sensitive data in request and response bodies\nmay still be visible.\n\n#### Custom logger\n\nBy default, this library logs to `globalThis.console`. You can also provide a custom logger.\nMost logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.\n\nWhen providing a custom logger, the `logLevel` option still controls which messages are emitted, messages\nbelow the configured level will not be sent to your logger.\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport pino from 'pino';\n\nconst logger = pino();\n\nconst client = new Stainless({\n logger: logger.child({ name: 'Stainless' }),\n logLevel: 'debug', // Send all messages to pino, allowing it to filter\n});\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.\nOptions on the client, such as retries, will be respected when making these requests.\n\n```ts\nawait client.post('/some/path', {\n body: { some_prop: 'foo' },\n query: { some_query_arg: 'bar' },\n});\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented\nparameter. This library doesn't validate at runtime that the request matches the type, so any extra values you\nsend will be sent as-is.\n\n```ts\nclient.builds.create({\n // ...\n // @ts-expect-error baz is not yet public\n baz: 'undocumented option',\n});\n```\n\nFor requests with the `GET` verb, any extra params will be in the query, all other requests will send the\nextra param in the body.\n\nIf you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may access the response object with `// @ts-expect-error` on\nthe response object, or cast the response object to the requisite type. Like the request params, we do not\nvalidate or strip extra properties from the response from the API.\n\n### Customizing the fetch client\n\nBy default, this library expects a global `fetch` function is defined.\n\nIf you want to use a different `fetch` function, you can either polyfill the global:\n\n```ts\nimport fetch from 'my-fetch';\n\nglobalThis.fetch = fetch;\n```\n\nOr pass it to the client:\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport fetch from 'my-fetch';\n\nconst client = new Stainless({ fetch });\n```\n\n### Fetch options\n\nIf you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n // `RequestInit` options\n },\n});\n```\n\n#### Configuring proxies\n\nTo modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy\noptions to requests:\n\n **Node** [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport * as undici from 'undici';\n\nconst proxyAgent = new undici.ProxyAgent('http://localhost:8888');\nconst client = new Stainless({\n fetchOptions: {\n dispatcher: proxyAgent,\n },\n});\n```\n\n **Bun** [[docs](https://bun.sh/guides/http/proxy)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n proxy: 'http://localhost:8888',\n },\n});\n```\n\n **Deno** [[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]\n\n```ts\nimport Stainless from 'npm:@stainless-api/sdk';\n\nconst httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });\nconst client = new Stainless({\n fetchOptions: {\n client: httpClient,\n },\n});\n```\n\n## Frequently Asked Questions\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-typescript/issues) with questions, bugs, or suggestions.\n\n## Requirements\n\nTypeScript >= 4.9 is supported.\n\nThe following runtimes are supported:\n\n- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)\n- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.\n- Deno v1.28.0 or higher.\n- Bun 1.0 or later.\n- Cloudflare Workers.\n- Vercel Edge Runtime.\n- Jest 28 or greater with the `\"node\"` environment (`\"jsdom\"` is not supported at this time).\n- Nitro v2.6 or greater.\n\nNote that React Native is not supported at this time.\n\nIf you are interested in other runtime environments, please open or upvote an issue on GitHub.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n", }, ]; From 5b963c5b038db92be5948f505df0c09fc43f67d5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 02:14:09 +0000 Subject: [PATCH 55/69] chore(internal): more robust bootstrap script --- scripts/bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap b/scripts/bootstrap index 2bb3c941..3a8293a8 100755 --- a/scripts/bootstrap +++ b/scripts/bootstrap @@ -4,7 +4,7 @@ set -e cd "$(dirname "$0")/.." -if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then +if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "${SKIP_BREW:-}" != "1" ] && [ -t 0 ]; then brew bundle check >/dev/null 2>&1 || { echo -n "==> Install Homebrew dependencies? (y/N): " read -r response From 2bd2b1625b8a9743fe898c64cc95ca8c01410726 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 02:10:20 +0000 Subject: [PATCH 56/69] chore: restructure docs search code --- packages/mcp-server/src/local-docs-search.ts | 1122 +++++++++--------- 1 file changed, 561 insertions(+), 561 deletions(-) diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index 9a52ab44..512f443f 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -64,23 +64,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## retrieve\n\n`client.projects.retrieve(project: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects/{project}`\n\nRetrieve a project by name.\n\n### Parameters\n\n- `project: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project);\n```", perLanguage: { - cli: { - method: 'projects retrieve', - example: "stl projects retrieve \\\n --api-key 'My API Key' \\\n --project project", - }, - csharp: { - method: 'Projects.Retrieve', - example: - 'ProjectRetrieveParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Retrieve(parameters);\n\nConsole.WriteLine(project);', - }, - go: { - method: 'client.Projects.Get', + typescript: { + method: 'client.projects.retrieve', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Get(context.TODO(), stainless.ProjectGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project.config_repo);", }, - http: { + python: { + method: 'projects.retrieve', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.retrieve(\n project="project",\n)\nprint(project.config_repo)', }, java: { method: 'projects().retrieve', @@ -92,25 +84,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().retrieve()\n}', }, - php: { - method: 'projects->retrieve', - example: - "projects->retrieve(project: 'project');\n\nvar_dump($project);", - }, - python: { - method: 'projects.retrieve', + go: { + method: 'client.Projects.Get', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.retrieve(\n project="project",\n)\nprint(project.config_repo)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Get(context.TODO(), stainless.ProjectGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', }, ruby: { method: 'projects.retrieve', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.retrieve(project: "project")\n\nputs(project)', }, - typescript: { - method: 'client.projects.retrieve', + cli: { + method: 'projects retrieve', + example: "stl projects retrieve \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'projects->retrieve', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project.config_repo);", + "projects->retrieve(project: 'project');\n\nvar_dump($project);", + }, + csharp: { + method: 'Projects.Retrieve', + example: + 'ProjectRetrieveParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Retrieve(parameters);\n\nConsole.WriteLine(project);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -128,23 +128,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## update\n\n`client.projects.update(project: string, display_name?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**patch** `/v0/projects/{project}`\n\nUpdate a project's properties.\n\n### Parameters\n\n- `project: string`\n\n- `display_name?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project);\n```", perLanguage: { - cli: { - method: 'projects update', - example: "stl projects update \\\n --api-key 'My API Key' \\\n --project project", - }, - csharp: { - method: 'Projects.Update', - example: - 'ProjectUpdateParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Update(parameters);\n\nConsole.WriteLine(project);', - }, - go: { - method: 'client.Projects.Update', + typescript: { + method: 'client.projects.update', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Update(context.TODO(), stainless.ProjectUpdateParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project.config_repo);", }, - http: { + python: { + method: 'projects.update', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -X PATCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.update(\n project="project",\n)\nprint(project.config_repo)', }, java: { method: 'projects().update', @@ -156,25 +148,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectUpdateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().update()\n}', }, - php: { - method: 'projects->update', - example: - "projects->update(\n project: 'project', displayName: 'display_name'\n);\n\nvar_dump($project);", - }, - python: { - method: 'projects.update', + go: { + method: 'client.Projects.Update', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.update(\n project="project",\n)\nprint(project.config_repo)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Update(context.TODO(), stainless.ProjectUpdateParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', }, ruby: { method: 'projects.update', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.update(project: "project")\n\nputs(project)', }, - typescript: { - method: 'client.projects.update', + cli: { + method: 'projects update', + example: "stl projects update \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'projects->update', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project.config_repo);", + "projects->update(\n project: 'project', displayName: 'display_name'\n);\n\nvar_dump($project);", + }, + csharp: { + method: 'Projects.Update', + example: + 'ProjectUpdateParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Update(parameters);\n\nConsole.WriteLine(project);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -X PATCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -192,23 +192,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## list\n\n`client.projects.list(cursor?: string, limit?: number, org?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects`\n\nList projects in an organization, from oldest to newest.\n\n### Parameters\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of projects to return, defaults to 10 (maximum: 100).\n\n- `org?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project);\n}\n```", perLanguage: { - cli: { - method: 'projects list', - example: "stl projects list \\\n --api-key 'My API Key'", - }, - csharp: { - method: 'Projects.List', - example: - 'ProjectListParams parameters = new();\n\nvar page = await client.Projects.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', - }, - go: { - method: 'client.Projects.List', + typescript: { + method: 'client.projects.list', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.List(context.TODO(), stainless.ProjectListParams{})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project.config_repo);\n}", }, - http: { + python: { + method: 'projects.list', example: - 'curl https://api.stainless.com/v0/projects \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.list()\npage = page.data[0]\nprint(page.config_repo)', }, java: { method: 'projects().list', @@ -220,25 +212,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListPage\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: ProjectListPage = client.projects().list()\n}', }, - php: { - method: 'projects->list', - example: - "projects->list(cursor: 'cursor', limit: 1, org: 'org');\n\nvar_dump($page);", - }, - python: { - method: 'projects.list', + go: { + method: 'client.Projects.List', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.list()\npage = page.data[0]\nprint(page.config_repo)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.List(context.TODO(), stainless.ProjectListParams{})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', }, ruby: { method: 'projects.list', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.projects.list\n\nputs(page)', }, - typescript: { - method: 'client.projects.list', + cli: { + method: 'projects list', + example: "stl projects list \\\n --api-key 'My API Key'", + }, + php: { + method: 'projects->list', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project.config_repo);\n}", + "projects->list(cursor: 'cursor', limit: 1, org: 'org');\n\nvar_dump($page);", + }, + csharp: { + method: 'Projects.List', + example: + 'ProjectListParams parameters = new();\n\nvar page = await client.Projects.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -262,24 +262,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## create\n\n`client.projects.create(display_name: string, org: string, revision: object, slug: string, targets: string[]): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**post** `/v0/projects`\n\nCreate a new project.\n\n### Parameters\n\n- `display_name: string`\n Human-readable project name\n\n- `org: string`\n Organization name\n\n- `revision: object`\n File contents to commit\n\n- `slug: string`\n Project name/slug\n\n- `targets: string[]`\n Targets to generate for\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project);\n```", perLanguage: { - cli: { - method: 'projects create', - example: - "stl projects create \\\n --api-key 'My API Key' \\\n --display-name display_name \\\n --org org \\\n --revision '{foo: {content: content}}' \\\n --slug slug \\\n --target node", - }, - csharp: { - method: 'Projects.Create', - example: - 'ProjectCreateParams parameters = new()\n{\n DisplayName = "display_name",\n Org = "org",\n Revision = new Dictionary()\n {\n { "foo", new Content("content") }\n },\n Slug = "slug",\n Targets =\n [\n Target.Node\n ],\n};\n\nvar project = await client.Projects.Create(parameters);\n\nConsole.WriteLine(project);', - }, - go: { - method: 'client.Projects.New', + typescript: { + method: 'client.projects.create', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n\t"github.com/stainless-api/stainless-api-go/shared"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.New(context.TODO(), stainless.ProjectNewParams{\n\t\tDisplayName: "display_name",\n\t\tOrg: "org",\n\t\tRevision: map[string]shared.FileInputUnionParam{\n\t\t\t"foo": {\n\t\t\t\tOfFileInputContent: &shared.FileInputContentParam{\n\t\t\t\t\tContent: "content",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tSlug: "slug",\n\t\tTargets: []shared.Target{shared.TargetNode},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project.config_repo);", }, - http: { + python: { + method: 'projects.create', example: - 'curl https://api.stainless.com/v0/projects \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "display_name": "display_name",\n "org": "org",\n "revision": {\n "foo": {\n "content": "content"\n }\n },\n "slug": "slug",\n "targets": [\n "node"\n ]\n }\'', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.create(\n display_name="display_name",\n org="org",\n revision={\n "foo": {\n "content": "content"\n }\n },\n slug="slug",\n targets=["node"],\n)\nprint(project.config_repo)', }, java: { method: 'projects().create', @@ -291,25 +282,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.Target\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: ProjectCreateParams = ProjectCreateParams.builder()\n .displayName("display_name")\n .org("org")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty("foo", JsonValue.from(mapOf("content" to "content")))\n .build())\n .slug("slug")\n .addTarget(Target.NODE)\n .build()\n val project: Project = client.projects().create(params)\n}', }, - php: { - method: 'projects->create', - example: - "projects->create(\n displayName: 'display_name',\n org: 'org',\n revision: ['foo' => ['content' => 'content']],\n slug: 'slug',\n targets: [Target::NODE],\n);\n\nvar_dump($project);", - }, - python: { - method: 'projects.create', + go: { + method: 'client.Projects.New', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.create(\n display_name="display_name",\n org="org",\n revision={\n "foo": {\n "content": "content"\n }\n },\n slug="slug",\n targets=["node"],\n)\nprint(project.config_repo)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n\t"github.com/stainless-api/stainless-api-go/shared"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.New(context.TODO(), stainless.ProjectNewParams{\n\t\tDisplayName: "display_name",\n\t\tOrg: "org",\n\t\tRevision: map[string]shared.FileInputUnionParam{\n\t\t\t"foo": {\n\t\t\t\tOfFileInputContent: &shared.FileInputContentParam{\n\t\t\t\t\tContent: "content",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tSlug: "slug",\n\t\tTargets: []shared.Target{shared.TargetNode},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', }, ruby: { method: 'projects.create', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.create(\n display_name: "display_name",\n org: "org",\n revision: {foo: {content: "content"}},\n slug: "slug",\n targets: [:node]\n)\n\nputs(project)', }, - typescript: { - method: 'client.projects.create', + cli: { + method: 'projects create', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project.config_repo);", + "stl projects create \\\n --api-key 'My API Key' \\\n --display-name display_name \\\n --org org \\\n --revision '{foo: {content: content}}' \\\n --slug slug \\\n --target node", + }, + php: { + method: 'projects->create', + example: + "projects->create(\n displayName: 'display_name',\n org: 'org',\n revision: ['foo' => ['content' => 'content']],\n slug: 'slug',\n targets: [Target::NODE],\n);\n\nvar_dump($project);", + }, + csharp: { + method: 'Projects.Create', + example: + 'ProjectCreateParams parameters = new()\n{\n DisplayName = "display_name",\n Org = "org",\n Revision = new Dictionary()\n {\n { "foo", new Content("content") }\n },\n Slug = "slug",\n Targets =\n [\n Target.Node\n ],\n};\n\nvar project = await client.Projects.Create(parameters);\n\nConsole.WriteLine(project);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "display_name": "display_name",\n "org": "org",\n "revision": {\n "foo": {\n "content": "content"\n }\n },\n "slug": "slug",\n "targets": [\n "node"\n ]\n }\'', }, }, }, @@ -326,24 +326,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## generate_commit_message\n\n`client.projects.generateCommitMessage(project: string, target: string, base_ref: string, head_ref: string): { ai_commit_message: string; }`\n\n**post** `/v0/projects/{project}/generate_commit_message`\n\nGenerates an AI commit message by comparing two git refs in the SDK repository.\n\n### Parameters\n\n- `project: string`\n\n- `target: string`\n Language target\n\n- `base_ref: string`\n Base ref for comparison\n\n- `head_ref: string`\n Head ref for comparison\n\n### Returns\n\n- `{ ai_commit_message: string; }`\n\n - `ai_commit_message: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response);\n```", perLanguage: { - cli: { - method: 'projects generate_commit_message', - example: - "stl projects generate-commit-message \\\n --api-key 'My API Key' \\\n --project project \\\n --target python \\\n --base-ref base_ref \\\n --head-ref head_ref", - }, - csharp: { - method: 'Projects.GenerateCommitMessage', - example: - 'ProjectGenerateCommitMessageParams parameters = new()\n{\n Project = "project",\n Target = Target.Python,\n BaseRef = "base_ref",\n HeadRef = "head_ref",\n};\n\nvar response = await client.Projects.GenerateCommitMessage(parameters);\n\nConsole.WriteLine(response);', - }, - go: { - method: 'client.Projects.GenerateCommitMessage', + typescript: { + method: 'client.projects.generateCommitMessage', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.GenerateCommitMessage(context.TODO(), stainless.ProjectGenerateCommitMessageParams{\n\t\tProject: stainless.String("project"),\n\t\tTarget: stainless.ProjectGenerateCommitMessageParamsTargetPython,\n\t\tBaseRef: "base_ref",\n\t\tHeadRef: "head_ref",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.AICommitMessage)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response.ai_commit_message);", }, - http: { + python: { + method: 'projects.generate_commit_message', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/generate_commit_message \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base_ref": "base_ref",\n "head_ref": "head_ref"\n }\'', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.generate_commit_message(\n project="project",\n target="python",\n base_ref="base_ref",\n head_ref="head_ref",\n)\nprint(response.ai_commit_message)', }, java: { method: 'projects().generateCommitMessage', @@ -355,25 +346,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageParams\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ProjectGenerateCommitMessageParams = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef("base_ref")\n .headRef("head_ref")\n .build()\n val response: ProjectGenerateCommitMessageResponse = client.projects().generateCommitMessage(params)\n}', }, - php: { - method: 'projects->generateCommitMessage', - example: - "projects->generateCommitMessage(\n project: 'project', target: 'python', baseRef: 'base_ref', headRef: 'head_ref'\n);\n\nvar_dump($response);", - }, - python: { - method: 'projects.generate_commit_message', + go: { + method: 'client.Projects.GenerateCommitMessage', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.generate_commit_message(\n project="project",\n target="python",\n base_ref="base_ref",\n head_ref="head_ref",\n)\nprint(response.ai_commit_message)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.GenerateCommitMessage(context.TODO(), stainless.ProjectGenerateCommitMessageParams{\n\t\tProject: stainless.String("project"),\n\t\tTarget: stainless.ProjectGenerateCommitMessageParamsTargetPython,\n\t\tBaseRef: "base_ref",\n\t\tHeadRef: "head_ref",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.AICommitMessage)\n}\n', }, ruby: { method: 'projects.generate_commit_message', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.projects.generate_commit_message(\n project: "project",\n target: :python,\n base_ref: "base_ref",\n head_ref: "head_ref"\n)\n\nputs(response)', }, - typescript: { - method: 'client.projects.generateCommitMessage', + cli: { + method: 'projects generate_commit_message', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response.ai_commit_message);", + "stl projects generate-commit-message \\\n --api-key 'My API Key' \\\n --project project \\\n --target python \\\n --base-ref base_ref \\\n --head-ref head_ref", + }, + php: { + method: 'projects->generateCommitMessage', + example: + "projects->generateCommitMessage(\n project: 'project', target: 'python', baseRef: 'base_ref', headRef: 'head_ref'\n);\n\nvar_dump($response);", + }, + csharp: { + method: 'Projects.GenerateCommitMessage', + example: + 'ProjectGenerateCommitMessageParams parameters = new()\n{\n Project = "project",\n Target = Target.Python,\n BaseRef = "base_ref",\n HeadRef = "head_ref",\n};\n\nvar response = await client.Projects.GenerateCommitMessage(parameters);\n\nConsole.WriteLine(response);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/generate_commit_message \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base_ref": "base_ref",\n "head_ref": "head_ref"\n }\'', }, }, }, @@ -392,24 +392,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## create\n\n`client.projects.branches.create(project: string, branch: string, branch_from: string, force?: boolean): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**post** `/v0/projects/{project}/branches`\n\nCreate a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n Branch name\n\n- `branch_from: string`\n Branch or commit SHA to branch from\n\n- `force?: boolean`\n Whether to throw an error if the branch already exists. Defaults to false.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch);\n```", perLanguage: { - cli: { - method: 'branches create', - example: - "stl projects:branches create \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch \\\n --branch-from branch_from", - }, - csharp: { - method: 'Projects.Branches.Create', - example: - 'BranchCreateParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n BranchFrom = "branch_from",\n};\n\nvar projectBranch = await client.Projects.Branches.Create(parameters);\n\nConsole.WriteLine(projectBranch);', - }, - go: { - method: 'client.Projects.Branches.New', + typescript: { + method: 'client.projects.branches.create', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.New(context.TODO(), stainless.ProjectBranchNewParams{\n\t\tProject: stainless.String("project"),\n\t\tBranch: "branch",\n\t\tBranchFrom: "branch_from",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch.branch);", }, - http: { + python: { + method: 'projects.branches.create', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "branch": "branch",\n "branch_from": "branch_from"\n }\'', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.create(\n project="project",\n branch="branch",\n branch_from="branch_from",\n)\nprint(project_branch.branch)', }, java: { method: 'projects().branches().create', @@ -421,25 +412,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchCreateParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: BranchCreateParams = BranchCreateParams.builder()\n .branch("branch")\n .branchFrom("branch_from")\n .build()\n val projectBranch: ProjectBranch = client.projects().branches().create(params)\n}', }, - php: { - method: 'projects->branches->create', - example: - "projects->branches->create(\n project: 'project', branch: 'branch', branchFrom: 'branch_from', force: true\n);\n\nvar_dump($projectBranch);", - }, - python: { - method: 'projects.branches.create', + go: { + method: 'client.Projects.Branches.New', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.create(\n project="project",\n branch="branch",\n branch_from="branch_from",\n)\nprint(project_branch.branch)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.New(context.TODO(), stainless.ProjectBranchNewParams{\n\t\tProject: stainless.String("project"),\n\t\tBranch: "branch",\n\t\tBranchFrom: "branch_from",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', }, ruby: { method: 'projects.branches.create', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.create(project: "project", branch: "branch", branch_from: "branch_from")\n\nputs(project_branch)', }, - typescript: { - method: 'client.projects.branches.create', + cli: { + method: 'branches create', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch.branch);", + "stl projects:branches create \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch \\\n --branch-from branch_from", + }, + php: { + method: 'projects->branches->create', + example: + "projects->branches->create(\n project: 'project', branch: 'branch', branchFrom: 'branch_from', force: true\n);\n\nvar_dump($projectBranch);", + }, + csharp: { + method: 'Projects.Branches.Create', + example: + 'BranchCreateParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n BranchFrom = "branch_from",\n};\n\nvar projectBranch = await client.Projects.Branches.Create(parameters);\n\nConsole.WriteLine(projectBranch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "branch": "branch",\n "branch_from": "branch_from"\n }\'', }, }, }, @@ -457,24 +457,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## retrieve\n\n`client.projects.branches.retrieve(project: string, branch: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches/{branch}`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", perLanguage: { - cli: { - method: 'branches retrieve', - example: - "stl projects:branches retrieve \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", - }, - csharp: { - method: 'Projects.Branches.Retrieve', - example: - 'BranchRetrieveParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Retrieve(parameters);\n\nConsole.WriteLine(projectBranch);', - }, - go: { - method: 'client.Projects.Branches.Get', + typescript: { + method: 'client.projects.branches.retrieve', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Get(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchGetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", }, - http: { + python: { + method: 'projects.branches.retrieve', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.retrieve(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', }, java: { method: 'projects().branches().retrieve', @@ -486,25 +477,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().retrieve("branch")\n}', }, - php: { - method: 'projects->branches->retrieve', - example: - "projects->branches->retrieve(\n 'branch', project: 'project'\n);\n\nvar_dump($projectBranch);", - }, - python: { - method: 'projects.branches.retrieve', + go: { + method: 'client.Projects.Branches.Get', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.retrieve(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Get(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchGetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', }, ruby: { method: 'projects.branches.retrieve', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.retrieve("branch", project: "project")\n\nputs(project_branch)', }, - typescript: { - method: 'client.projects.branches.retrieve', + cli: { + method: 'branches retrieve', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", + "stl projects:branches retrieve \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + php: { + method: 'projects->branches->retrieve', + example: + "projects->branches->retrieve(\n 'branch', project: 'project'\n);\n\nvar_dump($projectBranch);", + }, + csharp: { + method: 'Projects.Branches.Retrieve', + example: + 'BranchRetrieveParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Retrieve(parameters);\n\nConsole.WriteLine(projectBranch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -522,23 +522,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## list\n\n`client.projects.branches.list(project: string, cursor?: string, limit?: number): { branch: string; config_commit: object; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of items to return, defaults to 10 (maximum: 100).\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build_id: string`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse);\n}\n```", perLanguage: { - cli: { - method: 'branches list', - example: "stl projects:branches list \\\n --api-key 'My API Key' \\\n --project project", - }, - csharp: { - method: 'Projects.Branches.List', - example: - 'BranchListParams parameters = new() { Project = "project" };\n\nvar page = await client.Projects.Branches.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', - }, - go: { - method: 'client.Projects.Branches.List', + typescript: { + method: 'client.projects.branches.list', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.Branches.List(context.TODO(), stainless.ProjectBranchListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse.latest_build_id);\n}", }, - http: { + python: { + method: 'projects.branches.list', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.branches.list(\n project="project",\n)\npage = page.data[0]\nprint(page.latest_build_id)', }, java: { method: 'projects().branches().list', @@ -550,25 +542,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListPage\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BranchListPage = client.projects().branches().list()\n}', }, - php: { - method: 'projects->branches->list', - example: - "projects->branches->list(\n project: 'project', cursor: 'cursor', limit: 1\n);\n\nvar_dump($page);", - }, - python: { - method: 'projects.branches.list', + go: { + method: 'client.Projects.Branches.List', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.branches.list(\n project="project",\n)\npage = page.data[0]\nprint(page.latest_build_id)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.Branches.List(context.TODO(), stainless.ProjectBranchListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', }, ruby: { method: 'projects.branches.list', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.projects.branches.list(project: "project")\n\nputs(page)', }, - typescript: { - method: 'client.projects.branches.list', + cli: { + method: 'branches list', + example: "stl projects:branches list \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'projects->branches->list', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse.latest_build_id);\n}", + "projects->branches->list(\n project: 'project', cursor: 'cursor', limit: 1\n);\n\nvar_dump($page);", + }, + csharp: { + method: 'Projects.Branches.List', + example: + 'BranchListParams parameters = new() { Project = "project" };\n\nvar page = await client.Projects.Branches.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -585,24 +585,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## delete\n\n`client.projects.branches.delete(project: string, branch: string): object`\n\n**delete** `/v0/projects/{project}/branches/{branch}`\n\nDelete a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `object`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);\n```", perLanguage: { - cli: { - method: 'branches delete', - example: - "stl projects:branches delete \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", - }, - csharp: { - method: 'Projects.Branches.Delete', - example: - 'BranchDeleteParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar branch = await client.Projects.Branches.Delete(parameters);\n\nConsole.WriteLine(branch);', - }, - go: { - method: 'client.Projects.Branches.Delete', + typescript: { + method: 'client.projects.branches.delete', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbranch, err := client.Projects.Branches.Delete(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchDeleteParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", branch)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);", }, - http: { + python: { + method: 'projects.branches.delete', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -X DELETE \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbranch = client.projects.branches.delete(\n branch="branch",\n project="project",\n)\nprint(branch)', }, java: { method: 'projects().branches().delete', @@ -614,25 +605,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val branch: BranchDeleteResponse = client.projects().branches().delete("branch")\n}', }, - php: { - method: 'projects->branches->delete', - example: - "projects->branches->delete('branch', project: 'project');\n\nvar_dump($branch);", - }, - python: { - method: 'projects.branches.delete', + go: { + method: 'client.Projects.Branches.Delete', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbranch = client.projects.branches.delete(\n branch="branch",\n project="project",\n)\nprint(branch)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbranch, err := client.Projects.Branches.Delete(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchDeleteParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", branch)\n}\n', }, ruby: { method: 'projects.branches.delete', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbranch = stainless.projects.branches.delete("branch", project: "project")\n\nputs(branch)', }, - typescript: { - method: 'client.projects.branches.delete', + cli: { + method: 'branches delete', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);", + "stl projects:branches delete \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + php: { + method: 'projects->branches->delete', + example: + "projects->branches->delete('branch', project: 'project');\n\nvar_dump($branch);", + }, + csharp: { + method: 'Projects.Branches.Delete', + example: + 'BranchDeleteParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar branch = await client.Projects.Branches.Delete(parameters);\n\nConsole.WriteLine(branch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -X DELETE \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -651,24 +651,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## rebase\n\n`client.projects.branches.rebase(project: string, branch: string, base?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/rebase`\n\nRebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `base?: string`\n The branch or commit SHA to rebase onto. Defaults to \"main\".\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", perLanguage: { - cli: { - method: 'branches rebase', - example: - "stl projects:branches rebase \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", - }, - csharp: { - method: 'Projects.Branches.Rebase', - example: - 'BranchRebaseParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Rebase(parameters);\n\nConsole.WriteLine(projectBranch);', - }, - go: { - method: 'client.Projects.Branches.Rebase', + typescript: { + method: 'client.projects.branches.rebase', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Rebase(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchRebaseParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", }, - http: { + python: { + method: 'projects.branches.rebase', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/rebase \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.rebase(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', }, java: { method: 'projects().branches().rebase', @@ -680,25 +671,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRebaseParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().rebase("branch")\n}', }, - php: { - method: 'projects->branches->rebase', - example: - "projects->branches->rebase(\n 'branch', project: 'project', base: 'base'\n);\n\nvar_dump($projectBranch);", - }, - python: { - method: 'projects.branches.rebase', + go: { + method: 'client.Projects.Branches.Rebase', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.rebase(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Rebase(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchRebaseParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', }, ruby: { method: 'projects.branches.rebase', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.rebase("branch", project: "project")\n\nputs(project_branch)', }, - typescript: { - method: 'client.projects.branches.rebase', + cli: { + method: 'branches rebase', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", + "stl projects:branches rebase \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + php: { + method: 'projects->branches->rebase', + example: + "projects->branches->rebase(\n 'branch', project: 'project', base: 'base'\n);\n\nvar_dump($projectBranch);", + }, + csharp: { + method: 'Projects.Branches.Rebase', + example: + 'BranchRebaseParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Rebase(parameters);\n\nConsole.WriteLine(projectBranch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/rebase \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -717,24 +717,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## reset\n\n`client.projects.branches.reset(project: string, branch: string, target_config_sha?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/reset`\n\nReset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `target_config_sha?: string`\n The commit SHA to reset the main branch to. Required if resetting the main branch; disallowed otherwise.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", perLanguage: { - cli: { - method: 'branches reset', - example: - "stl projects:branches reset \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", - }, - csharp: { - method: 'Projects.Branches.Reset', - example: - 'BranchResetParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Reset(parameters);\n\nConsole.WriteLine(projectBranch);', - }, - go: { - method: 'client.Projects.Branches.Reset', + typescript: { + method: 'client.projects.branches.reset', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Reset(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchResetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", }, - http: { + python: { + method: 'projects.branches.reset', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/reset \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.reset(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', }, java: { method: 'projects().branches().reset', @@ -746,25 +737,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchResetParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().reset("branch")\n}', }, - php: { - method: 'projects->branches->reset', - example: - "projects->branches->reset(\n 'branch', project: 'project', targetConfigSha: 'target_config_sha'\n);\n\nvar_dump($projectBranch);", - }, - python: { - method: 'projects.branches.reset', + go: { + method: 'client.Projects.Branches.Reset', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.reset(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Reset(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchResetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', }, ruby: { method: 'projects.branches.reset', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.reset("branch", project: "project")\n\nputs(project_branch)', }, - typescript: { - method: 'client.projects.branches.reset', + cli: { + method: 'branches reset', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", + "stl projects:branches reset \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + php: { + method: 'projects->branches->reset', + example: + "projects->branches->reset(\n 'branch', project: 'project', targetConfigSha: 'target_config_sha'\n);\n\nvar_dump($projectBranch);", + }, + csharp: { + method: 'Projects.Branches.Reset', + example: + 'BranchResetParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Reset(parameters);\n\nConsole.WriteLine(projectBranch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/reset \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -781,23 +781,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## retrieve\n\n`client.projects.configs.retrieve(project: string, branch?: string, include?: string): object`\n\n**get** `/v0/projects/{project}/configs`\n\n\n Retrieve the configuration files for a given project.\n\n### Parameters\n\n- `project: string`\n\n- `branch?: string`\n Branch name, defaults to \"main\".\n\n- `include?: string`\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);\n```", perLanguage: { - cli: { - method: 'configs retrieve', - example: "stl projects:configs retrieve \\\n --api-key 'My API Key' \\\n --project project", - }, - csharp: { - method: 'Projects.Configs.Retrieve', - example: - 'ConfigRetrieveParams parameters = new() { Project = "project" };\n\nvar config = await client.Projects.Configs.Retrieve(parameters);\n\nConsole.WriteLine(config);', - }, - go: { - method: 'client.Projects.Configs.Get', + typescript: { + method: 'client.projects.configs.retrieve', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tconfig, err := client.Projects.Configs.Get(context.TODO(), stainless.ProjectConfigGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", config)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);", }, - http: { + python: { + method: 'projects.configs.retrieve', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/configs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nconfig = client.projects.configs.retrieve(\n project="project",\n)\nprint(config)', }, java: { method: 'projects().configs().retrieve', @@ -809,25 +801,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val config: ConfigRetrieveResponse = client.projects().configs().retrieve()\n}', }, - php: { - method: 'projects->configs->retrieve', - example: - "projects->configs->retrieve(\n project: 'project', branch: 'branch', include: 'include'\n);\n\nvar_dump($config);", - }, - python: { - method: 'projects.configs.retrieve', + go: { + method: 'client.Projects.Configs.Get', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nconfig = client.projects.configs.retrieve(\n project="project",\n)\nprint(config)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tconfig, err := client.Projects.Configs.Get(context.TODO(), stainless.ProjectConfigGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", config)\n}\n', }, ruby: { method: 'projects.configs.retrieve', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nconfig = stainless.projects.configs.retrieve(project: "project")\n\nputs(config)', }, - typescript: { - method: 'client.projects.configs.retrieve', + cli: { + method: 'configs retrieve', + example: "stl projects:configs retrieve \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'projects->configs->retrieve', + example: + "projects->configs->retrieve(\n project: 'project', branch: 'branch', include: 'include'\n);\n\nvar_dump($config);", + }, + csharp: { + method: 'Projects.Configs.Retrieve', + example: + 'ConfigRetrieveParams parameters = new() { Project = "project" };\n\nvar config = await client.Projects.Configs.Retrieve(parameters);\n\nConsole.WriteLine(config);', + }, + http: { example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);", + 'curl https://api.stainless.com/v0/projects/$PROJECT/configs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -844,24 +844,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## guess\n\n`client.projects.configs.guess(project: string, spec: string, branch?: string): object`\n\n**post** `/v0/projects/{project}/configs/guess`\n\n\n Generate suggestions for changes to config files based on an OpenAPI spec.\n\n### Parameters\n\n- `project: string`\n\n- `spec: string`\n OpenAPI spec\n\n- `branch?: string`\n Branch name\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);\n```", perLanguage: { - cli: { - method: 'configs guess', - example: - "stl projects:configs guess \\\n --api-key 'My API Key' \\\n --project project \\\n --spec spec", - }, - csharp: { - method: 'Projects.Configs.Guess', - example: - 'ConfigGuessParams parameters = new()\n{\n Project = "project",\n Spec = "spec",\n};\n\nvar response = await client.Projects.Configs.Guess(parameters);\n\nConsole.WriteLine(response);', - }, - go: { - method: 'client.Projects.Configs.Guess', + typescript: { + method: 'client.projects.configs.guess', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.Configs.Guess(context.TODO(), stainless.ProjectConfigGuessParams{\n\t\tProject: stainless.String("project"),\n\t\tSpec: "spec",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);", }, - http: { + python: { + method: 'projects.configs.guess', example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/configs/guess \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "spec": "spec"\n }\'', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.configs.guess(\n project="project",\n spec="spec",\n)\nprint(response)', }, java: { method: 'projects().configs().guess', @@ -873,25 +864,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ConfigGuessParams = ConfigGuessParams.builder()\n .spec("spec")\n .build()\n val response: ConfigGuessResponse = client.projects().configs().guess(params)\n}', }, - php: { - method: 'projects->configs->guess', - example: - "projects->configs->guess(\n project: 'project', spec: 'spec', branch: 'branch'\n);\n\nvar_dump($response);", - }, - python: { - method: 'projects.configs.guess', + go: { + method: 'client.Projects.Configs.Guess', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.configs.guess(\n project="project",\n spec="spec",\n)\nprint(response)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.Configs.Guess(context.TODO(), stainless.ProjectConfigGuessParams{\n\t\tProject: stainless.String("project"),\n\t\tSpec: "spec",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response)\n}\n', }, ruby: { method: 'projects.configs.guess', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.projects.configs.guess(project: "project", spec: "spec")\n\nputs(response)', }, - typescript: { - method: 'client.projects.configs.guess', + cli: { + method: 'configs guess', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);", + "stl projects:configs guess \\\n --api-key 'My API Key' \\\n --project project \\\n --spec spec", + }, + php: { + method: 'projects->configs->guess', + example: + "projects->configs->guess(\n project: 'project', spec: 'spec', branch: 'branch'\n);\n\nvar_dump($response);", + }, + csharp: { + method: 'Projects.Configs.Guess', + example: + 'ConfigGuessParams parameters = new()\n{\n Project = "project",\n Spec = "spec",\n};\n\nvar response = await client.Projects.Configs.Guess(parameters);\n\nConsole.WriteLine(response);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/configs/guess \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "spec": "spec"\n }\'', }, }, }, @@ -916,23 +916,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", perLanguage: { - cli: { - method: 'builds list', - example: "stl builds list \\\n --api-key 'My API Key' \\\n --project project", - }, - csharp: { - method: 'Builds.List', - example: - 'BuildListParams parameters = new() { Project = "project" };\n\nvar page = await client.Builds.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', - }, - go: { - method: 'client.Builds.List', + typescript: { + method: 'client.builds.list', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build.id);\n}", }, - http: { + python: { + method: 'builds.list', example: - 'curl https://api.stainless.com/v0/builds \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.list(\n project="project",\n)\npage = page.data[0]\nprint(page.id)', }, java: { method: 'builds().list', @@ -944,25 +936,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\nimport com.configure_me_stainless_v0.api.models.builds.BuildListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BuildListPage = client.builds().list()\n}', }, - php: { - method: 'builds->list', - example: - "builds->list(\n project: 'project',\n branch: 'branch',\n cursor: 'cursor',\n limit: 1,\n revision: 'string',\n);\n\nvar_dump($page);", - }, - python: { - method: 'builds.list', + go: { + method: 'client.Builds.List', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.list(\n project="project",\n)\npage = page.data[0]\nprint(page.id)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', }, ruby: { method: 'builds.list', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.builds.list(project: "project")\n\nputs(page)', }, - typescript: { - method: 'client.builds.list', + cli: { + method: 'builds list', + example: "stl builds list \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'builds->list', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build.id);\n}", + "builds->list(\n project: 'project',\n branch: 'branch',\n cursor: 'cursor',\n limit: 1,\n revision: 'string',\n);\n\nvar_dump($page);", + }, + csharp: { + method: 'Builds.List', + example: + 'BuildListParams parameters = new() { Project = "project" };\n\nvar page = await client.Builds.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -990,24 +990,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## create\n\n`client.builds.create(project: string, revision: string | object, allow_empty?: boolean, branch?: string, commit_message?: string, enable_ai_commit_message?: boolean, target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }, targets?: string[]): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**post** `/v0/builds`\n\nCreate a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `revision: string | object`\n Specifies what to build: a branch name, commit SHA, merge command\n(\"base..head\"), or file contents.\n\n- `allow_empty?: boolean`\n Whether to allow empty commits (no changes). Defaults to false.\n\n- `branch?: string`\n The project branch to use for the build. If not specified, the\nbranch is inferred from the `revision`, and will 400 when that\nis not possible.\n\n- `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `enable_ai_commit_message?: boolean`\n Whether to generate AI-powered commit messages for the build.\nCannot be combined with `commit_message` or `target_commit_messages`.\n\n- `target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }`\n Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.\n - `cli?: string`\n - `csharp?: string`\n - `go?: string`\n - `java?: string`\n - `kotlin?: string`\n - `node?: string`\n - `openapi?: string`\n - `php?: string`\n - `python?: string`\n - `ruby?: string`\n - `sql?: string`\n - `terraform?: string`\n - `typescript?: string`\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build);\n```", perLanguage: { - cli: { - method: 'builds create', - example: - "stl builds create \\\n --api-key 'My API Key' \\\n --project project \\\n --revision string", - }, - csharp: { - method: 'Builds.Create', - example: - 'BuildCreateParams parameters = new()\n{\n Project = "project",\n Revision = "string",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);', - }, - go: { - method: 'client.Builds.New', + typescript: { + method: 'client.builds.create', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("project"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("string"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build.id);", }, - http: { + python: { + method: 'builds.create', example: - 'curl https://api.stainless.com/v0/builds \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "project": "project",\n "revision": "string"\n }\'', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.create(\n project="project",\n revision="string",\n)\nprint(build.id)', }, java: { method: 'builds().create', @@ -1019,25 +1010,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCreateParams = BuildCreateParams.builder()\n .project("project")\n .revision("string")\n .build()\n val build: Build = client.builds().create(params)\n}', }, - php: { - method: 'builds->create', - example: - "builds->create(\n project: 'project',\n revision: 'string',\n allowEmpty: true,\n branch: 'branch',\n commitMessage: 'commit_message',\n enableAICommitMessage: true,\n targetCommitMessages: [\n 'cli' => 'cli',\n 'csharp' => 'csharp',\n 'go' => 'go',\n 'java' => 'java',\n 'kotlin' => 'kotlin',\n 'node' => 'node',\n 'openAPI' => 'openapi',\n 'php' => 'php',\n 'python' => 'python',\n 'ruby' => 'ruby',\n 'sql' => 'sql',\n 'terraform' => 'terraform',\n 'typescript' => 'typescript',\n ],\n targets: [Target::NODE],\n);\n\nvar_dump($build);", - }, - python: { - method: 'builds.create', + go: { + method: 'client.Builds.New', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.create(\n project="project",\n revision="string",\n)\nprint(build.id)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("project"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("string"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', }, ruby: { method: 'builds.create', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.create(project: "project", revision: "string")\n\nputs(build)', }, - typescript: { - method: 'client.builds.create', + cli: { + method: 'builds create', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build.id);", + "stl builds create \\\n --api-key 'My API Key' \\\n --project project \\\n --revision string", + }, + php: { + method: 'builds->create', + example: + "builds->create(\n project: 'project',\n revision: 'string',\n allowEmpty: true,\n branch: 'branch',\n commitMessage: 'commit_message',\n enableAICommitMessage: true,\n targetCommitMessages: [\n 'cli' => 'cli',\n 'csharp' => 'csharp',\n 'go' => 'go',\n 'java' => 'java',\n 'kotlin' => 'kotlin',\n 'node' => 'node',\n 'openAPI' => 'openapi',\n 'php' => 'php',\n 'python' => 'python',\n 'ruby' => 'ruby',\n 'sql' => 'sql',\n 'terraform' => 'terraform',\n 'typescript' => 'typescript',\n ],\n targets: [Target::NODE],\n);\n\nvar_dump($build);", + }, + csharp: { + method: 'Builds.Create', + example: + 'BuildCreateParams parameters = new()\n{\n Project = "project",\n Revision = "string",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "project": "project",\n "revision": "string"\n }\'', }, }, }, @@ -1055,23 +1055,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## retrieve\n\n`client.builds.retrieve(buildId: string): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds/{buildId}`\n\nRetrieve a build by its ID.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build);\n```", perLanguage: { - cli: { - method: 'builds retrieve', - example: "stl builds retrieve \\\n --api-key 'My API Key' \\\n --build-id buildId", - }, - csharp: { - method: 'Builds.Retrieve', - example: - 'BuildRetrieveParams parameters = new() { BuildID = "buildId" };\n\nvar build = await client.Builds.Retrieve(parameters);\n\nConsole.WriteLine(build);', - }, - go: { - method: 'client.Builds.Get', + typescript: { + method: 'client.builds.retrieve', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.Get(context.TODO(), "buildId")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build.id);", }, - http: { + python: { + method: 'builds.retrieve', example: - 'curl https://api.stainless.com/v0/builds/$BUILD_ID \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.retrieve(\n "buildId",\n)\nprint(build.id)', }, java: { method: 'builds().retrieve', @@ -1083,25 +1075,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val build: Build = client.builds().retrieve("buildId")\n}', }, - php: { - method: 'builds->retrieve', - example: - "builds->retrieve('buildId');\n\nvar_dump($build);", - }, - python: { - method: 'builds.retrieve', + go: { + method: 'client.Builds.Get', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.retrieve(\n "buildId",\n)\nprint(build.id)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.Get(context.TODO(), "buildId")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', }, ruby: { method: 'builds.retrieve', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.retrieve("buildId")\n\nputs(build)', }, - typescript: { - method: 'client.builds.retrieve', + cli: { + method: 'builds retrieve', + example: "stl builds retrieve \\\n --api-key 'My API Key' \\\n --build-id buildId", + }, + php: { + method: 'builds->retrieve', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build.id);", + "builds->retrieve('buildId');\n\nvar_dump($build);", + }, + csharp: { + method: 'Builds.Retrieve', + example: + 'BuildRetrieveParams parameters = new() { BuildID = "buildId" };\n\nvar build = await client.Builds.Retrieve(parameters);\n\nConsole.WriteLine(build);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds/$BUILD_ID \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -1125,24 +1125,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## compare\n\n`client.builds.compare(base: { branch: string; revision: string | object; commit_message?: string; }, head: { branch: string; revision: string | object; commit_message?: string; }, project: string, targets?: string[]): { base: build; head: build; }`\n\n**post** `/v0/builds/compare`\n\nCreate two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.\n\n### Parameters\n\n- `base: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the base build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `head: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the head build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `project: string`\n Project name\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }`\n\n - `base: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `head: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response);\n```", perLanguage: { - cli: { - method: 'builds compare', - example: - "stl builds compare \\\n --api-key 'My API Key' \\\n --base '{branch: branch, revision: string}' \\\n --head '{branch: branch, revision: string}' \\\n --project project", - }, - csharp: { - method: 'Builds.Compare', - example: - 'BuildCompareParams parameters = new()\n{\n Base = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Head = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Project = "project",\n};\n\nvar response = await client.Builds.Compare(parameters);\n\nConsole.WriteLine(response);', - }, - go: { - method: 'client.Builds.Compare', + typescript: { + method: 'client.builds.compare', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Builds.Compare(context.TODO(), stainless.BuildCompareParams{\n\t\tBase: stainless.BuildCompareParamsBase{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsBaseRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tHead: stainless.BuildCompareParamsHead{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsHeadRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.Base)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response.base);", }, - http: { + python: { + method: 'builds.compare', example: - 'curl https://api.stainless.com/v0/builds/compare \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base": {\n "branch": "branch",\n "revision": "string"\n },\n "head": {\n "branch": "branch",\n "revision": "string"\n },\n "project": "project"\n }\'', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.builds.compare(\n base={\n "branch": "branch",\n "revision": "string",\n },\n head={\n "branch": "branch",\n "revision": "string",\n },\n project="project",\n)\nprint(response.base)', }, java: { method: 'builds().compare', @@ -1154,25 +1145,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareParams\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCompareParams = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch("branch")\n .revision("string")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch("branch")\n .revision("string")\n .build())\n .project("project")\n .build()\n val response: BuildCompareResponse = client.builds().compare(params)\n}', }, - php: { - method: 'builds->compare', - example: - "builds->compare(\n base: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n head: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n project: 'project',\n targets: [Target::NODE],\n);\n\nvar_dump($response);", - }, - python: { - method: 'builds.compare', + go: { + method: 'client.Builds.Compare', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.builds.compare(\n base={\n "branch": "branch",\n "revision": "string",\n },\n head={\n "branch": "branch",\n "revision": "string",\n },\n project="project",\n)\nprint(response.base)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Builds.Compare(context.TODO(), stainless.BuildCompareParams{\n\t\tBase: stainless.BuildCompareParamsBase{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsBaseRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tHead: stainless.BuildCompareParamsHead{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsHeadRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.Base)\n}\n', }, ruby: { method: 'builds.compare', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.builds.compare(\n base: {branch: "branch", revision: "string"},\n head: {branch: "branch", revision: "string"},\n project: "project"\n)\n\nputs(response)', }, - typescript: { - method: 'client.builds.compare', + cli: { + method: 'builds compare', + example: + "stl builds compare \\\n --api-key 'My API Key' \\\n --base '{branch: branch, revision: string}' \\\n --head '{branch: branch, revision: string}' \\\n --project project", + }, + php: { + method: 'builds->compare', + example: + "builds->compare(\n base: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n head: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n project: 'project',\n targets: [Target::NODE],\n);\n\nvar_dump($response);", + }, + csharp: { + method: 'Builds.Compare', + example: + 'BuildCompareParams parameters = new()\n{\n Base = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Head = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Project = "project",\n};\n\nvar response = await client.Builds.Compare(parameters);\n\nConsole.WriteLine(response);', + }, + http: { example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response.base);", + 'curl https://api.stainless.com/v0/builds/compare \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base": {\n "branch": "branch",\n "revision": "string"\n },\n "head": {\n "branch": "branch",\n "revision": "string"\n },\n "project": "project"\n }\'', }, }, }, @@ -1197,23 +1197,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## list\n\n`client.builds.diagnostics.list(buildId: string, cursor?: string, limit?: number, severity?: 'fatal' | 'error' | 'warning' | 'note', targets?: string): { code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: build_diagnostic_more; config_ref?: string; oas_ref?: string; }`\n\n**get** `/v0/builds/{buildId}/diagnostics`\n\nGet the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of diagnostics to return, defaults to 100 (maximum: 100)\n\n- `severity?: 'fatal' | 'error' | 'warning' | 'note'`\n Includes the given severity and above (fatal > error > warning > note).\n\n- `targets?: string`\n Optional comma-delimited list of language targets to filter diagnostics by\n\n### Returns\n\n- `{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }`\n\n - `code: string`\n - `ignored: boolean`\n - `level: 'fatal' | 'error' | 'warning' | 'note'`\n - `message: string`\n - `more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }`\n - `config_ref?: string`\n - `oas_ref?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic);\n}\n```", perLanguage: { - cli: { - method: 'diagnostics list', - example: "stl builds:diagnostics list \\\n --api-key 'My API Key' \\\n --build-id buildId", - }, - csharp: { - method: 'Builds.Diagnostics.List', - example: - 'DiagnosticListParams parameters = new() { BuildID = "buildId" };\n\nvar page = await client.Builds.Diagnostics.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', - }, - go: { - method: 'client.Builds.Diagnostics.List', + typescript: { + method: 'client.builds.diagnostics.list', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.Diagnostics.List(\n\t\tcontext.TODO(),\n\t\t"buildId",\n\t\tstainless.BuildDiagnosticListParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic.code);\n}", }, - http: { + python: { + method: 'builds.diagnostics.list', example: - 'curl https://api.stainless.com/v0/builds/$BUILD_ID/diagnostics \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.diagnostics.list(\n build_id="buildId",\n)\npage = page.data[0]\nprint(page.code)', }, java: { method: 'builds().diagnostics().list', @@ -1225,25 +1217,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListPage\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: DiagnosticListPage = client.builds().diagnostics().list("buildId")\n}', }, - php: { - method: 'builds->diagnostics->list', - example: - "builds->diagnostics->list(\n 'buildId', cursor: 'cursor', limit: 1, severity: 'fatal', targets: 'targets'\n);\n\nvar_dump($page);", - }, - python: { - method: 'builds.diagnostics.list', + go: { + method: 'client.Builds.Diagnostics.List', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.diagnostics.list(\n build_id="buildId",\n)\npage = page.data[0]\nprint(page.code)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.Diagnostics.List(\n\t\tcontext.TODO(),\n\t\t"buildId",\n\t\tstainless.BuildDiagnosticListParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', }, ruby: { method: 'builds.diagnostics.list', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.builds.diagnostics.list("buildId")\n\nputs(page)', }, - typescript: { - method: 'client.builds.diagnostics.list', + cli: { + method: 'diagnostics list', + example: "stl builds:diagnostics list \\\n --api-key 'My API Key' \\\n --build-id buildId", + }, + php: { + method: 'builds->diagnostics->list', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic.code);\n}", + "builds->diagnostics->list(\n 'buildId', cursor: 'cursor', limit: 1, severity: 'fatal', targets: 'targets'\n);\n\nvar_dump($page);", + }, + csharp: { + method: 'Builds.Diagnostics.List', + example: + 'DiagnosticListParams parameters = new() { BuildID = "buildId" };\n\nvar page = await client.Builds.Diagnostics.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds/$BUILD_ID/diagnostics \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -1268,24 +1268,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## retrieve\n\n`client.builds.targetOutputs.retrieve(build_id: string, target: string, type: string, output?: 'url' | 'git', path?: string): { output: 'url'; target: target; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: target; type: string; url: string; }`\n\n**get** `/v0/build_target_outputs`\n\nRetrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.\n\n### Parameters\n\n- `build_id: string`\n Build ID\n\n- `target: string`\n SDK language target name\n\n- `type: string`\n\n- `output?: 'url' | 'git'`\n Output format: url (download URL) or git (temporary access token).\n\n- `path?: string`\n The path of the file to get when used with \"type\": \"file\".\n\n### Returns\n\n- `{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);\n```", perLanguage: { - cli: { - method: 'target_outputs retrieve', - example: - "stl builds:target-outputs retrieve \\\n --api-key 'My API Key' \\\n --build-id build_id \\\n --target node \\\n --type source", - }, - csharp: { - method: 'Builds.TargetOutputs.Retrieve', - example: - 'TargetOutputRetrieveParams parameters = new()\n{\n BuildID = "build_id",\n Target = Target.Node,\n Type = Type.Source,\n};\n\nvar targetOutput = await client.Builds.TargetOutputs.Retrieve(parameters);\n\nConsole.WriteLine(targetOutput);', - }, - go: { - method: 'client.Builds.TargetOutputs.Get', + typescript: { + method: 'client.builds.targetOutputs.retrieve', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\ttargetOutput, err := client.Builds.TargetOutputs.Get(context.TODO(), stainless.BuildTargetOutputGetParams{\n\t\tBuildID: "build_id",\n\t\tTarget: stainless.BuildTargetOutputGetParamsTargetNode,\n\t\tType: stainless.BuildTargetOutputGetParamsTypeSource,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", targetOutput)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);", }, - http: { + python: { + method: 'builds.target_outputs.retrieve', example: - 'curl https://api.stainless.com/v0/build_target_outputs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\ntarget_output = client.builds.target_outputs.retrieve(\n build_id="build_id",\n target="node",\n type="source",\n)\nprint(target_output)', }, java: { method: 'builds().targetOutputs().retrieve', @@ -1297,25 +1288,34 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveParams\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: TargetOutputRetrieveParams = TargetOutputRetrieveParams.builder()\n .buildId("build_id")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build()\n val targetOutput: TargetOutputRetrieveResponse = client.builds().targetOutputs().retrieve(params)\n}', }, - php: { - method: 'builds->targetOutputs->retrieve', - example: - "builds->targetOutputs->retrieve(\n buildID: 'build_id',\n target: 'node',\n type: 'source',\n output: 'url',\n path: 'path',\n);\n\nvar_dump($targetOutput);", - }, - python: { - method: 'builds.target_outputs.retrieve', + go: { + method: 'client.Builds.TargetOutputs.Get', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\ntarget_output = client.builds.target_outputs.retrieve(\n build_id="build_id",\n target="node",\n type="source",\n)\nprint(target_output)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\ttargetOutput, err := client.Builds.TargetOutputs.Get(context.TODO(), stainless.BuildTargetOutputGetParams{\n\t\tBuildID: "build_id",\n\t\tTarget: stainless.BuildTargetOutputGetParamsTargetNode,\n\t\tType: stainless.BuildTargetOutputGetParamsTypeSource,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", targetOutput)\n}\n', }, ruby: { method: 'builds.target_outputs.retrieve', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\ntarget_output = stainless.builds.target_outputs.retrieve(build_id: "build_id", target: :node, type: :source)\n\nputs(target_output)', }, - typescript: { - method: 'client.builds.targetOutputs.retrieve', + cli: { + method: 'target_outputs retrieve', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);", + "stl builds:target-outputs retrieve \\\n --api-key 'My API Key' \\\n --build-id build_id \\\n --target node \\\n --type source", + }, + php: { + method: 'builds->targetOutputs->retrieve', + example: + "builds->targetOutputs->retrieve(\n buildID: 'build_id',\n target: 'node',\n type: 'source',\n output: 'url',\n path: 'path',\n);\n\nvar_dump($targetOutput);", + }, + csharp: { + method: 'Builds.TargetOutputs.Retrieve', + example: + 'TargetOutputRetrieveParams parameters = new()\n{\n BuildID = "build_id",\n Target = Target.Node,\n Type = Type.Source,\n};\n\nvar targetOutput = await client.Builds.TargetOutputs.Retrieve(parameters);\n\nConsole.WriteLine(targetOutput);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/build_target_outputs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -1332,23 +1332,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## list\n\n`client.orgs.list(): { data: org[]; has_more: boolean; next_cursor?: string; }`\n\n**get** `/v0/orgs`\n\nList organizations accessible to the current authentication method.\n\n### Returns\n\n- `{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }`\n\n - `data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]`\n - `has_more: boolean`\n - `next_cursor?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs);\n```", perLanguage: { - cli: { - method: 'orgs list', - example: "stl orgs list \\\n --api-key 'My API Key'", - }, - csharp: { - method: 'Orgs.List', - example: - 'OrgListParams parameters = new();\n\nvar orgs = await client.Orgs.List(parameters);\n\nConsole.WriteLine(orgs);', - }, - go: { - method: 'client.Orgs.List', + typescript: { + method: 'client.orgs.list', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torgs, err := client.Orgs.List(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", orgs.Data)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs.data);", }, - http: { + python: { + method: 'orgs.list', example: - 'curl https://api.stainless.com/v0/orgs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norgs = client.orgs.list()\nprint(orgs.data)', }, java: { method: 'orgs().list', @@ -1360,25 +1352,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListParams\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val orgs: OrgListResponse = client.orgs().list()\n}', }, - php: { - method: 'orgs->list', - example: - "orgs->list();\n\nvar_dump($orgs);", - }, - python: { - method: 'orgs.list', + go: { + method: 'client.Orgs.List', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norgs = client.orgs.list()\nprint(orgs.data)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torgs, err := client.Orgs.List(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", orgs.Data)\n}\n', }, ruby: { method: 'orgs.list', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\norgs = stainless.orgs.list\n\nputs(orgs)', }, - typescript: { - method: 'client.orgs.list', + cli: { + method: 'orgs list', + example: "stl orgs list \\\n --api-key 'My API Key'", + }, + php: { + method: 'orgs->list', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs.data);", + "orgs->list();\n\nvar_dump($orgs);", + }, + csharp: { + method: 'Orgs.List', + example: + 'OrgListParams parameters = new();\n\nvar orgs = await client.Orgs.List(parameters);\n\nConsole.WriteLine(orgs);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/orgs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -1395,23 +1395,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## retrieve\n\n`client.orgs.retrieve(org: string): { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n**get** `/v0/orgs/{org}`\n\nRetrieve an organization by name.\n\n### Parameters\n\n- `org: string`\n\n### Returns\n\n- `{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n - `display_name: string`\n - `enable_ai_commit_messages: boolean`\n - `object: 'org'`\n - `slug: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org);\n```", perLanguage: { - cli: { - method: 'orgs retrieve', - example: "stl orgs retrieve \\\n --api-key 'My API Key' \\\n --org org", - }, - csharp: { - method: 'Orgs.Retrieve', - example: - 'OrgRetrieveParams parameters = new() { Org = "org" };\n\nvar org = await client.Orgs.Retrieve(parameters);\n\nConsole.WriteLine(org);', - }, - go: { - method: 'client.Orgs.Get', + typescript: { + method: 'client.orgs.retrieve', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torg, err := client.Orgs.Get(context.TODO(), "org")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", org.DisplayName)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org.display_name);", }, - http: { + python: { + method: 'orgs.retrieve', example: - 'curl https://api.stainless.com/v0/orgs/$ORG \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norg = client.orgs.retrieve(\n "org",\n)\nprint(org.display_name)', }, java: { method: 'orgs().retrieve', @@ -1423,25 +1415,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.Org\nimport com.configure_me_stainless_v0.api.models.orgs.OrgRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val org: Org = client.orgs().retrieve("org")\n}', }, - php: { - method: 'orgs->retrieve', - example: - "orgs->retrieve('org');\n\nvar_dump($org);", - }, - python: { - method: 'orgs.retrieve', + go: { + method: 'client.Orgs.Get', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norg = client.orgs.retrieve(\n "org",\n)\nprint(org.display_name)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torg, err := client.Orgs.Get(context.TODO(), "org")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", org.DisplayName)\n}\n', }, ruby: { method: 'orgs.retrieve', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\norg = stainless.orgs.retrieve("org")\n\nputs(org)', }, - typescript: { - method: 'client.orgs.retrieve', + cli: { + method: 'orgs retrieve', + example: "stl orgs retrieve \\\n --api-key 'My API Key' \\\n --org org", + }, + php: { + method: 'orgs->retrieve', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org.display_name);", + "orgs->retrieve('org');\n\nvar_dump($org);", + }, + csharp: { + method: 'Orgs.Retrieve', + example: + 'OrgRetrieveParams parameters = new() { Org = "org" };\n\nvar org = await client.Orgs.Retrieve(parameters);\n\nConsole.WriteLine(org);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/orgs/$ORG \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, @@ -1457,23 +1457,15 @@ const EMBEDDED_METHODS: MethodEntry[] = [ markdown: "## retrieve\n\n`client.user.retrieve(): { id: string; email: string; github: object; name: string; object: 'user'; }`\n\n**get** `/v0/user`\n\nRetrieve the currently authenticated user's information.\n\n### Returns\n\n- `{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }`\n\n - `id: string`\n - `email: string`\n - `github: { username: string; }`\n - `name: string`\n - `object: 'user'`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst user = await client.user.retrieve();\n\nconsole.log(user);\n```", perLanguage: { - cli: { - method: 'user retrieve', - example: "stl user retrieve \\\n --api-key 'My API Key'", - }, - csharp: { - method: 'User.Retrieve', - example: - 'UserRetrieveParams parameters = new();\n\nvar user = await client.User.Retrieve(parameters);\n\nConsole.WriteLine(user);', - }, - go: { - method: 'client.User.Get', + typescript: { + method: 'client.user.retrieve', example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tuser, err := client.User.Get(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", user.ID)\n}\n', + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst user = await client.user.retrieve();\n\nconsole.log(user.id);", }, - http: { + python: { + method: 'user.retrieve', example: - 'curl https://api.stainless.com/v0/user \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nuser = client.user.retrieve()\nprint(user.id)', }, java: { method: 'user().retrieve', @@ -1485,25 +1477,33 @@ const EMBEDDED_METHODS: MethodEntry[] = [ example: 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveParams\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val user: UserRetrieveResponse = client.user().retrieve()\n}', }, - php: { - method: 'user->retrieve', - example: - "user->retrieve();\n\nvar_dump($user);", - }, - python: { - method: 'user.retrieve', + go: { + method: 'client.User.Get', example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nuser = client.user.retrieve()\nprint(user.id)', + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tuser, err := client.User.Get(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", user.ID)\n}\n', }, ruby: { method: 'user.retrieve', example: 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nuser = stainless.user.retrieve\n\nputs(user)', }, - typescript: { - method: 'client.user.retrieve', + cli: { + method: 'user retrieve', + example: "stl user retrieve \\\n --api-key 'My API Key'", + }, + php: { + method: 'user->retrieve', example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst user = await client.user.retrieve();\n\nconsole.log(user.id);", + "user->retrieve();\n\nvar_dump($user);", + }, + csharp: { + method: 'User.Retrieve', + example: + 'UserRetrieveParams parameters = new();\n\nvar user = await client.User.Retrieve(parameters);\n\nConsole.WriteLine(user);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/user \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', }, }, }, From 18c0ff09d24b6bc67f49c7a48ef1695997f23682 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 02:11:02 +0000 Subject: [PATCH 57/69] chore(formatter): run prettier and eslint separately --- eslint.config.mjs | 3 - package.json | 1 - packages/mcp-server/jest.config.ts | 4 +- packages/mcp-server/src/auth.ts | 46 +- packages/mcp-server/src/code-tool-types.ts | 2 +- packages/mcp-server/src/code-tool-worker.ts | 62 +- packages/mcp-server/src/code-tool.ts | 143 +- packages/mcp-server/src/docs-search-tool.ts | 55 +- packages/mcp-server/src/http.ts | 68 +- packages/mcp-server/src/index.ts | 2 +- packages/mcp-server/src/instructions.ts | 20 +- packages/mcp-server/src/local-docs-search.ts | 2668 ++++++++--------- packages/mcp-server/src/methods.ts | 273 +- packages/mcp-server/src/options.ts | 47 +- packages/mcp-server/src/server.ts | 108 +- packages/mcp-server/src/types.ts | 80 +- pnpm-lock.yaml | 3 - scripts/fast-format | 6 +- scripts/format | 3 +- scripts/lint | 3 + src/api-promise.ts | 2 +- src/client.ts | 281 +- src/core/api-promise.ts | 9 +- src/core/error.ts | 46 +- src/core/pagination.ts | 5 +- src/error.ts | 2 +- src/index.ts | 16 +- src/internal/builtin-types.ts | 23 +- src/internal/detect-platform.ts | 6 +- src/internal/errors.ts | 14 +- src/internal/headers.ts | 4 +- src/internal/parse.ts | 12 +- src/internal/qs/utils.ts | 5 +- src/internal/request-options.ts | 6 +- src/internal/shim-types.ts | 4 +- src/internal/shims.ts | 4 +- src/internal/to-file.ts | 14 +- src/internal/types.ts | 50 +- src/internal/utils/log.ts | 37 +- src/internal/utils/query.ts | 2 +- src/internal/utils/uuid.ts | 8 +- src/pagination.ts | 2 +- src/resource.ts | 2 +- src/resources/builds/builds.ts | 78 +- src/resources/builds/diagnostics.ts | 17 +- src/resources/builds/index.ts | 26 +- src/resources/builds/target-outputs.ts | 55 +- src/resources/index.ts | 30 +- src/resources/orgs.ts | 5 +- src/resources/projects/branches.ts | 62 +- src/resources/projects/configs.ts | 15 +- src/resources/projects/index.ts | 34 +- src/resources/projects/projects.ts | 72 +- src/resources/shared.ts | 18 +- src/resources/user.ts | 4 +- src/uploads.ts | 2 +- src/version.ts | 2 +- tests/api-resources/builds/builds.test.ts | 97 +- .../api-resources/builds/diagnostics.test.ts | 25 +- .../builds/target-outputs.test.ts | 25 +- tests/api-resources/orgs.test.ts | 5 +- tests/api-resources/projects/branches.test.ts | 36 +- tests/api-resources/projects/configs.test.ts | 21 +- tests/api-resources/projects/projects.test.ts | 66 +- tests/api-resources/user.test.ts | 5 +- tests/index.test.ts | 511 ++-- tests/qs/utils.test.ts | 2 +- tests/stringifyQuery.test.ts | 32 +- 68 files changed, 2314 insertions(+), 3082 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 1aecb0bb..191d510c 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,7 +1,6 @@ // @ts-check import tseslint from 'typescript-eslint'; import unusedImports from 'eslint-plugin-unused-imports'; -import prettier from 'eslint-plugin-prettier'; export default tseslint.config( { @@ -14,11 +13,9 @@ export default tseslint.config( plugins: { '@typescript-eslint': tseslint.plugin, 'unused-imports': unusedImports, - prettier, }, rules: { 'no-unused-vars': 'off', - 'prettier/prettier': 'error', 'unused-imports/no-unused-imports': 'error', 'no-restricted-imports': [ 'error', diff --git a/package.json b/package.json index 897df356..646fbbf7 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "@typescript-eslint/eslint-plugin": "8.31.1", "@typescript-eslint/parser": "8.31.1", "eslint": "^9.39.1", - "eslint-plugin-prettier": "^5.4.1", "eslint-plugin-unused-imports": "^4.1.4", "iconv-lite": "^0.6.3", "jest": "^29.4.0", diff --git a/packages/mcp-server/jest.config.ts b/packages/mcp-server/jest.config.ts index 57523f31..82714a3c 100644 --- a/packages/mcp-server/jest.config.ts +++ b/packages/mcp-server/jest.config.ts @@ -10,7 +10,9 @@ const config: JestConfigWithTsJest = { '^@stainless-api/sdk-mcp$': '/src/index.ts', '^@stainless-api/sdk-mcp/(.*)$': '/src/$1', }, - modulePathIgnorePatterns: ['/dist/'], + modulePathIgnorePatterns: [ + '/dist/', + ], testPathIgnorePatterns: ['scripts'], }; diff --git a/packages/mcp-server/src/auth.ts b/packages/mcp-server/src/auth.ts index 7b9cdb4b..f8fd2c37 100644 --- a/packages/mcp-server/src/auth.ts +++ b/packages/mcp-server/src/auth.ts @@ -1,42 +1,34 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { IncomingMessage } from 'node:http'; -import { ClientOptions } from '@stainless-api/sdk'; +import { IncomingMessage } from 'node:http' +import { ClientOptions } from '@stainless-api/sdk' import { McpOptions } from './options'; -export const parseClientAuthHeaders = (req: IncomingMessage, required?: boolean): Partial => { - if (req.headers.authorization) { - const scheme = req.headers.authorization.split(' ')[0]!; - const value = req.headers.authorization.slice(scheme.length + 1); - switch (scheme) { - case 'Bearer': - return { apiKey: req.headers.authorization.slice('Bearer '.length) }; - default: - throw new Error( - 'Unsupported authorization scheme. Expected the "Authorization" header to be a supported scheme (Bearer).', - ); - } - } else if (required) { - throw new Error('Missing required Authorization header; see WWW-Authenticate header for details.'); +export const parseClientAuthHeaders = (req: IncomingMessage, required?: boolean): Partial => { if (req.headers.authorization) { + const scheme = req.headers.authorization.split(" ")[0]!; + const value = req.headers.authorization.slice(scheme.length + 1); + switch (scheme) { + case 'Bearer': + return { apiKey: req.headers.authorization.slice("Bearer ".length) }; + default: + throw new Error('Unsupported authorization scheme. Expected the "Authorization" header to be a supported scheme (Bearer).'); } +} else if (required) { + throw new Error('Missing required Authorization header; see WWW-Authenticate header for details.'); +} - const apiKey = - Array.isArray(req.headers['x-stainless-api-key']) ? - req.headers['x-stainless-api-key'][0] - : req.headers['x-stainless-api-key']; - return { apiKey }; -}; +const apiKey = Array.isArray(req.headers['x-stainless-api-key']) ? req.headers['x-stainless-api-key'][0] : req.headers['x-stainless-api-key'] +return {apiKey}; } export const getStainlessApiKey = (req: IncomingMessage, mcpOptions: McpOptions): string | undefined => { // Try to get the key from the x-stainless-api-key header - const headerKey = - Array.isArray(req.headers['x-stainless-api-key']) ? - req.headers['x-stainless-api-key'][0] - : req.headers['x-stainless-api-key']; + const headerKey = Array.isArray(req.headers['x-stainless-api-key']) ? + req.headers['x-stainless-api-key'][0] + : req.headers['x-stainless-api-key']; if (headerKey && typeof headerKey === 'string') { return headerKey; } // Fall back to value set in the mcpOptions (e.g. from environment variable), if provided return mcpOptions.stainlessApiKey; -}; +} diff --git a/packages/mcp-server/src/code-tool-types.ts b/packages/mcp-server/src/code-tool-types.ts index 465f44c0..c0e15d1e 100644 --- a/packages/mcp-server/src/code-tool-types.ts +++ b/packages/mcp-server/src/code-tool-types.ts @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { ClientOptions } from '@stainless-api/sdk'; +import { ClientOptions } from '@stainless-api/sdk' export type WorkerInput = { project_name: string; diff --git a/packages/mcp-server/src/code-tool-worker.ts b/packages/mcp-server/src/code-tool-worker.ts index ec2c8354..f81c7ac6 100644 --- a/packages/mcp-server/src/code-tool-worker.ts +++ b/packages/mcp-server/src/code-tool-worker.ts @@ -59,8 +59,8 @@ function getTSDiagnostics(code: string): string[] { const codeWithImport = [ 'import { Stainless } from "@stainless-api/sdk";', functionSource.type === 'declaration' ? - `async function run(${functionSource.client}: Stainless)` - : `const run: (${functionSource.client}: Stainless) => Promise =`, + `async function run(${functionSource.client}: Stainless)` : + `const run: (${functionSource.client}: Stainless) => Promise =`, functionSource.code, ].join('\n'); const sourcePath = path.resolve('code.ts'); @@ -108,28 +108,28 @@ function getTSDiagnostics(code: string): string[] { const fuse = new Fuse( [ - 'client.projects.create', - 'client.projects.generateCommitMessage', - 'client.projects.list', - 'client.projects.retrieve', - 'client.projects.update', - 'client.projects.branches.create', - 'client.projects.branches.delete', - 'client.projects.branches.list', - 'client.projects.branches.rebase', - 'client.projects.branches.reset', - 'client.projects.branches.retrieve', - 'client.projects.configs.guess', - 'client.projects.configs.retrieve', - 'client.builds.compare', - 'client.builds.create', - 'client.builds.list', - 'client.builds.retrieve', - 'client.builds.diagnostics.list', - 'client.builds.targetOutputs.retrieve', - 'client.orgs.list', - 'client.orgs.retrieve', - 'client.user.retrieve', + "client.projects.create", + "client.projects.generateCommitMessage", + "client.projects.list", + "client.projects.retrieve", + "client.projects.update", + "client.projects.branches.create", + "client.projects.branches.delete", + "client.projects.branches.list", + "client.projects.branches.rebase", + "client.projects.branches.reset", + "client.projects.branches.retrieve", + "client.projects.configs.guess", + "client.projects.configs.retrieve", + "client.builds.compare", + "client.builds.create", + "client.builds.list", + "client.builds.retrieve", + "client.builds.diagnostics.list", + "client.builds.targetOutputs.retrieve", + "client.orgs.list", + "client.orgs.retrieve", + "client.user.retrieve" ], { threshold: 1, shouldSort: true }, ); @@ -212,12 +212,7 @@ function parseError(code: string, error: unknown): string | undefined { // Deno uses V8; the first ":LINE:COLUMN" is the top of stack. const lineNumber = error.stack?.match(/:([0-9]+):[0-9]+/)?.[1]; // -1 for the zero-based indexing - const line = - lineNumber && - code - .split('\n') - .at(parseInt(lineNumber, 10) - 1) - ?.trim(); + const line = lineNumber && code.split('\n').at(parseInt(lineNumber, 10) - 1)?.trim(); return line ? `${message}\n at line ${lineNumber}\n ${line}` : message; } catch { return message; @@ -229,9 +224,8 @@ const fetch = async (req: Request): Promise => { const runFunctionSource = code ? getRunFunctionSource(code) : null; if (!runFunctionSource) { - const message = - code ? - 'The code is missing a top-level `run` function.' + const message = code + ? 'The code is missing a top-level `run` function.' : 'The code argument is missing. Provide one containing a top-level `run` function.'; return Response.json( { @@ -276,7 +270,7 @@ const fetch = async (req: Request): Promise => { try { let run_ = async (client: any) => {}; run_ = (await tseval(`${code}\nexport default run;`)).default; - const result = await run_(makeSdkProxy(client, { path: ['client'] })); + const result = await run_(makeSdkProxy(client, { path: ["client"] })); return Response.json({ is_error: false, result, diff --git a/packages/mcp-server/src/code-tool.ts b/packages/mcp-server/src/code-tool.ts index 3d75dca2..21cd895a 100644 --- a/packages/mcp-server/src/code-tool.ts +++ b/packages/mcp-server/src/code-tool.ts @@ -1,16 +1,8 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { - ContentBlock, - McpRequestContext, - McpTool, - Metadata, - ToolCallResult, - asErrorResult, - asTextContentResult, -} from './types'; +import { ContentBlock, McpRequestContext, McpTool, Metadata, ToolCallResult, asErrorResult, asTextContentResult } from './types'; import { Tool } from '@modelcontextprotocol/sdk/types.js'; -import { readEnv } from './util'; +import { readEnv } from "./util"; import { WorkerInput, WorkerOutput } from './code-tool-types'; import { getLogger } from './logger'; import { SdkMethod } from './methods'; @@ -52,13 +44,10 @@ Always type dynamic key-value stores explicitly as Record * @param codeExecutionMode - Whether to execute code in a local Deno environment or in a remote * sandbox environment hosted by Stainless. */ -export function codeTool({ - blockedMethods, - codeExecutionMode, -}: { - blockedMethods: SdkMethod[] | undefined; - codeExecutionMode: McpCodeExecutionMode; -}): McpTool { +export function codeTool( + {blockedMethods, codeExecutionMode}: + {blockedMethods: SdkMethod[] | undefined, codeExecutionMode: McpCodeExecutionMode}, +): McpTool { const metadata: Metadata = { resource: 'all', operation: 'write', tags: [] }; const tool: Tool = { name: 'execute', @@ -81,13 +70,10 @@ export function codeTool({ const logger = getLogger(); - const handler = async ({ - reqContext, - args, - }: { - reqContext: McpRequestContext; - args: any; - }): Promise => { + const handler = async ( + {reqContext, args}: + {reqContext: McpRequestContext, args: any}, + ): Promise => { const code = args.code as string; // Do very basic blocking of code that includes forbidden method names. // @@ -97,11 +83,7 @@ export function codeTool({ if (blockedMethods) { const blockedMatches = blockedMethods.filter((method) => code.includes(method.fullyQualifiedName)); if (blockedMatches.length > 0) { - return asErrorResult( - `The following methods have been blocked by the MCP server and cannot be used in code execution: ${blockedMatches - .map((m) => m.fullyQualifiedName) - .join(', ')}`, - ); + return asErrorResult(`The following methods have been blocked by the MCP server and cannot be used in code execution: ${blockedMatches.map((m) => m.fullyQualifiedName).join(', ')}`); } } @@ -126,67 +108,49 @@ export function codeTool({ 'Got code tool execution result', ); return result; - }; + } return { metadata, tool, handler }; } -const remoteStainlessHandler = async ({ - reqContext, - args, -}: { - reqContext: McpRequestContext; - args: any; -}): Promise => { +const remoteStainlessHandler = async ( + {reqContext, args}: + {reqContext: McpRequestContext, args: any}, +): Promise => { const code = args.code as string; const intent = args.intent as string | undefined; const client = reqContext.client; - const codeModeEndpoint = readEnv('CODE_MODE_ENDPOINT_URL') ?? 'https://api.stainless.com/api/ai/code-tool'; + const codeModeEndpoint = readEnv("CODE_MODE_ENDPOINT_URL") ?? "https://api.stainless.com/api/ai/code-tool"; - const localClientEnvs = { - STAINLESS_API_KEY: readEnv('STAINLESS_API_KEY') ?? client.apiKey ?? undefined, - STAINLESS_BASE_URL: - readEnv('STAINLESS_BASE_URL') ?? readEnv('STAINLESS_ENVIRONMENT') ? - undefined - : client.baseURL ?? undefined, - }; + const localClientEnvs = { STAINLESS_API_KEY: readEnv('STAINLESS_API_KEY') ?? client.apiKey ?? undefined, STAINLESS_BASE_URL: readEnv('STAINLESS_BASE_URL') ?? readEnv('STAINLESS_ENVIRONMENT') ? undefined : client.baseURL ?? undefined }; // Merge any upstream client envs from the request header, with upstream values taking precedence. const mergedClientEnvs = { ...localClientEnvs, ...reqContext.upstreamClientEnvs }; // Setting a Stainless API key authenticates requests to the code tool endpoint. const res = await fetch(codeModeEndpoint, { - method: 'POST', + method: "POST", headers: { - ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), - 'Content-Type': 'application/json', - 'x-stainless-mcp-client-envs': JSON.stringify(mergedClientEnvs), + ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey, }), + "Content-Type": "application/json", + "x-stainless-mcp-client-envs": JSON.stringify(mergedClientEnvs), }, body: JSON.stringify({ - project_name: 'stainless-v0', + project_name: "stainless-v0", code, intent, - client_opts: { - project: readEnv('STAINLESS_PROJECT'), - environment: (readEnv('STAINLESS_ENVIRONMENT') || undefined) as any, - }, + client_opts: { project: readEnv('STAINLESS_PROJECT'), environment: (readEnv('STAINLESS_ENVIRONMENT') || undefined) as any }, } satisfies WorkerInput), }); if (!res.ok) { if (res.status === 404 && !reqContext.stainlessApiKey) { - throw new Error( - 'Could not access code tool for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.', - ); + throw new Error('Could not access code tool for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.'); } - throw new Error( - `${res.status}: ${ - res.statusText - } error when trying to contact Code Tool server. Details: ${await res.text()}`, - ); + throw new Error(`${res.status}: ${res.statusText} error when trying to contact Code Tool server. Details: ${await res.text()}`); } - const { is_error, result, log_lines, err_lines } = (await res.json()) as WorkerOutput; + const { is_error, result, log_lines, err_lines } = await res.json() as WorkerOutput; const hasLogs = log_lines.length > 0 || err_lines.length > 0; const output = { result, @@ -194,18 +158,17 @@ const remoteStainlessHandler = async ({ ...(err_lines.length > 0 && { err_lines }), }; if (is_error) { - return asErrorResult(typeof result === 'string' && !hasLogs ? result : JSON.stringify(output, null, 2)); + return asErrorResult( + typeof result === 'string' && !hasLogs ? result : JSON.stringify(output, null, 2), + ); } return asTextContentResult(output); }; -const localDenoHandler = async ({ - reqContext, - args, -}: { - reqContext: McpRequestContext; - args: unknown; -}): Promise => { +const localDenoHandler = async ( + {reqContext, args} : + {reqContext: McpRequestContext, args: unknown}, +): Promise => { const fs = await import('node:fs'); const path = await import('node:path'); const url = await import('node:url'); @@ -230,20 +193,24 @@ const localDenoHandler = async ({ } catch { try { // Use deno binary in node_modules if it's found - const denoNodeModulesPath = path.resolve(packageNodeModulesPath, 'deno', 'bin.cjs'); + const denoNodeModulesPath = path.resolve( + packageNodeModulesPath, + 'deno', + 'bin.cjs', + ); await fs.promises.access(denoNodeModulesPath, fs.constants.X_OK); denoPath = denoNodeModulesPath; } catch { return asErrorResult( 'Deno is required for code execution but was not found. ' + - 'Install it from https://deno.land or run: npm install deno', + 'Install it from https://deno.land or run: npm install deno', ); } } const allowReadPaths = [ 'code-tool-worker.mjs', - `${workerPath.replace(/([\/\\]node_modules)[\/\\].+$/, '$1')}/`, + `${workerPath.replace(/([\/\\]node_modules)[\/\\].+$/, "$1")}/`, packageRoot, ]; @@ -277,7 +244,7 @@ const localDenoHandler = async ({ // Merge any upstream client envs into the Deno subprocess environment, // with the upstream env vars taking precedence. env: { ...process.env, ...reqContext.upstreamClientEnvs }, - }, + } }); try { @@ -289,12 +256,12 @@ const localDenoHandler = async ({ // Strip null/undefined values so that the worker SDK client can fall back to // reading from environment variables (including any upstreamClientEnvs). const opts = { - ...(client.baseURL != null ? { baseURL: client.baseURL } : undefined), - ...(client.apiKey != null ? { apiKey: client.apiKey } : undefined), - ...(client.project != null ? { project: client.project } : undefined), - defaultHeaders: { - 'X-Stainless-MCP': 'true', - }, + ...(client.baseURL != null ? { baseURL: client.baseURL } : undefined), + ...(client.apiKey != null ? { apiKey: client.apiKey } : undefined), + ...(client.project != null ? { project: client.project } : undefined), + defaultHeaders: { + 'X-Stainless-MCP': 'true', + }, } satisfies Partial as ClientOptions; const req = worker.request( @@ -341,12 +308,11 @@ const localDenoHandler = async ({ if (resp.status === 200) { const { result, log_lines, err_lines } = (await resp.json()) as WorkerOutput; const returnOutput: ContentBlock | null = - result == null ? null : ( - { + result == null ? null + : { type: 'text', text: typeof result === 'string' ? result : JSON.stringify(result), - } - ); + }; const logOutput: ContentBlock | null = log_lines.length === 0 ? null @@ -367,12 +333,11 @@ const localDenoHandler = async ({ } else { const { result, log_lines, err_lines } = (await resp.json()) as WorkerOutput; const messageOutput: ContentBlock | null = - result == null ? null : ( - { + result == null ? null + : { type: 'text', text: typeof result === 'string' ? result : JSON.stringify(result), - } - ); + }; const logOutput: ContentBlock | null = log_lines.length === 0 ? null diff --git a/packages/mcp-server/src/docs-search-tool.ts b/packages/mcp-server/src/docs-search-tool.ts index 8434ec28..e118222c 100644 --- a/packages/mcp-server/src/docs-search-tool.ts +++ b/packages/mcp-server/src/docs-search-tool.ts @@ -14,8 +14,7 @@ export const metadata: Metadata = { export const tool: Tool = { name: 'search_docs', - description: - 'Search SDK documentation to find methods, parameters, and usage examples for interacting with the API. Use this before writing code when you need to discover the right approach.', + description: 'Search SDK documentation to find methods, parameters, and usage examples for interacting with the API. Use this before writing code when you need to discover the right approach.', inputSchema: { type: 'object', properties: { @@ -32,7 +31,7 @@ export const tool: Tool = { type: 'string', description: 'The amount of detail to return.', enum: ['default', 'verbose'], - }, + } }, required: ['query', 'language'], }, @@ -41,8 +40,7 @@ export const tool: Tool = { }, }; -const docsSearchURL = - process.env['DOCS_SEARCH_URL'] || 'https://api.stainless.com/api/projects/stainless-v0/docs/search'; +const docsSearchURL = process.env['DOCS_SEARCH_URL'] || 'https://api.stainless.com/api/projects/stainless-v0/docs/search' let _localSearch: LocalDocsSearch | undefined; @@ -67,27 +65,30 @@ async function searchLocal(args: Record): Promise { }).results; } -async function searchRemote(args: Record, reqContext: McpRequestContext): Promise { +async function searchRemote( + args: Record, + reqContext: McpRequestContext, +): Promise { const body = args as any; const query = new URLSearchParams(body).toString(); const startTime = Date.now(); - const result = await fetch(`${docsSearchURL}?${query}`, { - headers: { - ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), - ...(reqContext.mcpSessionId && { 'x-stainless-mcp-session-id': reqContext.mcpSessionId }), - ...(reqContext.mcpClientInfo && { - 'x-stainless-mcp-client-info': JSON.stringify(reqContext.mcpClientInfo), - }), + const result = await fetch( + `${docsSearchURL}?${query}`, + { + headers: { + ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), + ...(reqContext.mcpSessionId && { 'x-stainless-mcp-session-id': reqContext.mcpSessionId }), + ...(reqContext.mcpClientInfo && { 'x-stainless-mcp-client-info': JSON.stringify(reqContext.mcpClientInfo) }), + }, }, - }); + ); const logger = getLogger(); if (!result.ok) { const errorText = await result.text(); - logger.warn( - { + logger.warn({ durationMs: Date.now() - startTime, query: body.query, status: result.status, @@ -98,19 +99,14 @@ async function searchRemote(args: Record, reqContext: McpReques ); if (result.status === 404 && !reqContext.stainlessApiKey) { - throw new Error( - 'Could not find docs for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.', - ); + throw new Error('Could not find docs for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.'); } - throw new Error( - `${result.status}: ${result.statusText} when using doc search tool. Details: ${errorText}`, - ); + throw new Error(`${result.status}: ${result.statusText} when using doc search tool. Details: ${errorText}`); } const resultBody = await result.json(); - logger.info( - { + logger.info({ durationMs: Date.now() - startTime, query: body.query, }, @@ -119,13 +115,10 @@ async function searchRemote(args: Record, reqContext: McpReques return resultBody; } -export const handler = async ({ - reqContext, - args, -}: { - reqContext: McpRequestContext; - args: Record | undefined; -}) => { +export const handler = async ( + { reqContext, args }: + { reqContext: McpRequestContext; args: Record | undefined }, +) => { const body = args ?? {}; if (_localSearch) { diff --git a/packages/mcp-server/src/http.ts b/packages/mcp-server/src/http.ts index 6912daca..06447b75 100644 --- a/packages/mcp-server/src/http.ts +++ b/packages/mcp-server/src/http.ts @@ -1,7 +1,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { McpServer } from '@modelcontextprotocol/sdk/server/mcp'; -import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js'; +import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js' import { ClientOptions } from '@stainless-api/sdk'; import express from 'express'; import pino from 'pino'; @@ -24,7 +24,7 @@ const newServer = async ({ }): Promise => { const stainlessApiKey = getStainlessApiKey(req, mcpOptions); const customInstructionsPath = mcpOptions.customInstructionsPath; - const server = await newMcpServer({ stainlessApiKey, customInstructionsPath }); + const server = await newMcpServer({stainlessApiKey, customInstructionsPath}); const authOptions = parseClientAuthHeaders(req, false); @@ -65,13 +65,15 @@ const newServer = async ({ ); } } catch (error) { - getLogger().warn({ error }, 'Failed to parse x-stainless-mcp-client-permissions header'); + getLogger().warn( + { error }, + 'Failed to parse x-stainless-mcp-client-permissions header', + ); } } - const mcpClientInfo = - typeof req.body?.params?.clientInfo?.name === 'string' ? - { name: req.body.params.clientInfo.name, version: String(req.body.params.clientInfo.version ?? '') } + const mcpClientInfo = typeof req.body?.params?.clientInfo?.name === 'string' + ? { name: req.body.params.clientInfo.name, version: String(req.body.params.clientInfo.version ?? '') } : undefined; await initMcpServer({ @@ -88,7 +90,10 @@ const newServer = async ({ }); if (mcpClientInfo) { - getLogger().info({ mcpSessionId: (req as any).mcpSessionId, mcpClientInfo }, 'MCP client connected'); + getLogger().info( + { mcpSessionId: (req as any).mcpSessionId, mcpClientInfo }, + 'MCP client connected', + ); } return server; @@ -128,7 +133,7 @@ const del = async (req: express.Request, res: express.Response) => { const redactHeaders = (headers: Record) => { const hiddenHeaders = /auth|cookie|key|token|x-stainless-mcp-client-envs/i; const filtered = { ...headers }; - Object.keys(filtered).forEach((key) => { + Object.keys(filtered).forEach(key => { if (hiddenHeaders.test(key)) { filtered[key] = '[REDACTED]'; } @@ -181,17 +186,17 @@ export const streamableHTTPApp = ({ req: pino.stdSerializers.wrapRequestSerializer((req) => { return { ...req, - headers: redactHeaders(req.raw.headers), + headers: redactHeaders(req.raw.headers) }; }), res: pino.stdSerializers.wrapResponseSerializer((res) => { return { ...res, - headers: redactHeaders(res.headers), + headers: redactHeaders(res.headers) }; }), - }, - }), + } + }) ); app.get('/health', async (req: express.Request, res: express.Response) => { @@ -204,24 +209,23 @@ export const streamableHTTPApp = ({ return app; }; -export const launchStreamableHTTPServer = async ({ - mcpOptions, - port, -}: { - mcpOptions: McpOptions; - port: number | string | undefined; -}) => { - const app = streamableHTTPApp({ mcpOptions }); - const server = app.listen(port); - const address = server.address(); - - const logger = getLogger(); - - if (typeof address === 'string') { - logger.info(`MCP Server running on streamable HTTP at ${address}`); - } else if (address !== null) { - logger.info(`MCP Server running on streamable HTTP on port ${address.port}`); - } else { - logger.info(`MCP Server running on streamable HTTP on port ${port}`); +export const launchStreamableHTTPServer = async( + {mcpOptions, port}: { + mcpOptions: McpOptions, + port: number | string | undefined, + } +) => { + const app = streamableHTTPApp({ mcpOptions }); + const server = app.listen(port); + const address = server.address(); + + const logger = getLogger(); + + if (typeof address === 'string') { + logger.info(`MCP Server running on streamable HTTP at ${address}`); + } else if (address !== null) { + logger.info(`MCP Server running on streamable HTTP on port ${address.port}`); + } else { + logger.info(`MCP Server running on streamable HTTP on port ${port}`); + } } -}; diff --git a/packages/mcp-server/src/index.ts b/packages/mcp-server/src/index.ts index 5bca4a60..6306dc26 100644 --- a/packages/mcp-server/src/index.ts +++ b/packages/mcp-server/src/index.ts @@ -17,7 +17,7 @@ async function main() { const selectedTools = await selectToolsOrError(options); getLogger().info( - { tools: selectedTools.map((e) => e.tool.name) }, + {tools: selectedTools.map((e) => e.tool.name)}, `MCP Server starting with ${selectedTools.length} tools`, ); diff --git a/packages/mcp-server/src/instructions.ts b/packages/mcp-server/src/instructions.ts index 3735f97b..00492047 100644 --- a/packages/mcp-server/src/instructions.ts +++ b/packages/mcp-server/src/instructions.ts @@ -60,24 +60,24 @@ async function fetchLatestInstructionsFromApi(stainlessApiKey: string | undefine // Setting the stainless API key is optional, but may be required // to authenticate requests to the Stainless API. const response = await fetch( - readEnv('CODE_MODE_INSTRUCTIONS_URL') ?? 'https://api.stainless.com/api/ai/instructions/stainless-v0', + readEnv("CODE_MODE_INSTRUCTIONS_URL") ?? + 'https://api.stainless.com/api/ai/instructions/stainless-v0', { - method: 'GET', - headers: { ...(stainlessApiKey && { Authorization: stainlessApiKey }) }, - }, - ); + method: "GET", + headers: { ...( stainlessApiKey && { Authorization: stainlessApiKey } ) } + } + ) let instructions: string | undefined; if (!response.ok) { getLogger().warn( - 'Warning: failed to retrieve MCP server instructions. Proceeding with default instructions...', - ); + "Warning: failed to retrieve MCP server instructions. Proceeding with default instructions..." + ) - instructions = - '\n This is the stainless-v0 MCP server.\n\n Available tools:\n - search_docs: Search SDK documentation to find the right methods and parameters.\n - execute: Run TypeScript code against a pre-authenticated SDK client. Define an async run(client) function.\n\n Workflow:\n - If unsure about the API, call search_docs first.\n - Write complete solutions in a single execute call when possible. For large datasets, use API filters to narrow results or paginate within a single execute block.\n - If execute returns an error, read the error and fix your code rather than retrying the same approach.\n - Variables do not persist between execute calls. Return or log all data you need.\n - Individual HTTP requests to the API have a 30-second timeout. If a request times out, try a smaller query or add filters.\n - Code execution has a total timeout of approximately 5 minutes. If your code times out, simplify it or break it into smaller steps.\n '; + instructions = "\n This is the stainless-v0 MCP server.\n\n Available tools:\n - search_docs: Search SDK documentation to find the right methods and parameters.\n - execute: Run TypeScript code against a pre-authenticated SDK client. Define an async run(client) function.\n\n Workflow:\n - If unsure about the API, call search_docs first.\n - Write complete solutions in a single execute call when possible. For large datasets, use API filters to narrow results or paginate within a single execute block.\n - If execute returns an error, read the error and fix your code rather than retrying the same approach.\n - Variables do not persist between execute calls. Return or log all data you need.\n - Individual HTTP requests to the API have a 30-second timeout. If a request times out, try a smaller query or add filters.\n - Code execution has a total timeout of approximately 5 minutes. If your code times out, simplify it or break it into smaller steps.\n "; } - instructions ??= ((await response.json()) as { instructions: string }).instructions; + instructions ??= (await response.json() as { instructions: string }).instructions; instructions += '\nYou are a nice, friendly bot who really likes to help customers!\n'; return instructions; diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index 512f443f..bf787ea4 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -51,1510 +51,1295 @@ type SearchResult = { const EMBEDDED_METHODS: MethodEntry[] = [ { - name: 'retrieve', - endpoint: '/v0/projects/{project}', - httpMethod: 'get', - summary: 'Retrieve project', - description: 'Retrieve a project by name.', - stainlessPath: '(resource) projects > (method) retrieve', - qualified: 'client.projects.retrieve', - params: ['project: string;'], - response: - "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", - markdown: - "## retrieve\n\n`client.projects.retrieve(project: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects/{project}`\n\nRetrieve a project by name.\n\n### Parameters\n\n- `project: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project);\n```", - perLanguage: { - typescript: { - method: 'client.projects.retrieve', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project.config_repo);", - }, - python: { - method: 'projects.retrieve', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.retrieve(\n project="project",\n)\nprint(project.config_repo)', - }, - java: { - method: 'projects().retrieve', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n Project project = client.projects().retrieve();\n }\n}', - }, - kotlin: { - method: 'projects().retrieve', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().retrieve()\n}', - }, - go: { - method: 'client.Projects.Get', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Get(context.TODO(), stainless.ProjectGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', - }, - ruby: { - method: 'projects.retrieve', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.retrieve(project: "project")\n\nputs(project)', - }, - cli: { - method: 'projects retrieve', - example: "stl projects retrieve \\\n --api-key 'My API Key' \\\n --project project", - }, - php: { - method: 'projects->retrieve', - example: - "projects->retrieve(project: 'project');\n\nvar_dump($project);", - }, - csharp: { - method: 'Projects.Retrieve', - example: - 'ProjectRetrieveParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Retrieve(parameters);\n\nConsole.WriteLine(project);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "retrieve", + "endpoint": "/v0/projects/{project}", + "httpMethod": "get", + "summary": "Retrieve project", + "description": "Retrieve a project by name.", + "stainlessPath": "(resource) projects > (method) retrieve", + "qualified": "client.projects.retrieve", + "params": [ + "project: string;" + ], + "response": "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + "markdown": "## retrieve\n\n`client.projects.retrieve(project: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects/{project}`\n\nRetrieve a project by name.\n\n### Parameters\n\n- `project: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.retrieve", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project.config_repo);" + }, + "python": { + "method": "projects.retrieve", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject = client.projects.retrieve(\n project=\"project\",\n)\nprint(project.config_repo)" + }, + "java": { + "method": "projects().retrieve", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n Project project = client.projects().retrieve();\n }\n}" + }, + "kotlin": { + "method": "projects().retrieve", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val project: Project = client.projects().retrieve()\n}" + }, + "go": { + "method": "client.Projects.Get", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tproject, err := client.Projects.Get(context.TODO(), stainless.ProjectGetParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", project.ConfigRepo)\n}\n" + }, + "ruby": { + "method": "projects.retrieve", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject = stainless.projects.retrieve(project: \"project\")\n\nputs(project)" + }, + "cli": { + "method": "projects retrieve", + "example": "stl projects retrieve \\\n --api-key 'My API Key' \\\n --project project" + }, + "php": { + "method": "projects->retrieve", + "example": "projects->retrieve(project: 'project');\n\nvar_dump($project);" + }, + "csharp": { + "method": "Projects.Retrieve", + "example": "ProjectRetrieveParams parameters = new() { Project = \"project\" };\n\nvar project = await client.Projects.Retrieve(parameters);\n\nConsole.WriteLine(project);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'update', - endpoint: '/v0/projects/{project}', - httpMethod: 'patch', - summary: 'Update project', - description: "Update a project's properties.", - stainlessPath: '(resource) projects > (method) update', - qualified: 'client.projects.update', - params: ['project: string;', 'display_name?: string;'], - response: - "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", - markdown: - "## update\n\n`client.projects.update(project: string, display_name?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**patch** `/v0/projects/{project}`\n\nUpdate a project's properties.\n\n### Parameters\n\n- `project: string`\n\n- `display_name?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project);\n```", - perLanguage: { - typescript: { - method: 'client.projects.update', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project.config_repo);", - }, - python: { - method: 'projects.update', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.update(\n project="project",\n)\nprint(project.config_repo)', - }, - java: { - method: 'projects().update', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectUpdateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n Project project = client.projects().update();\n }\n}', - }, - kotlin: { - method: 'projects().update', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectUpdateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().update()\n}', - }, - go: { - method: 'client.Projects.Update', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Update(context.TODO(), stainless.ProjectUpdateParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', - }, - ruby: { - method: 'projects.update', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.update(project: "project")\n\nputs(project)', - }, - cli: { - method: 'projects update', - example: "stl projects update \\\n --api-key 'My API Key' \\\n --project project", - }, - php: { - method: 'projects->update', - example: - "projects->update(\n project: 'project', displayName: 'display_name'\n);\n\nvar_dump($project);", - }, - csharp: { - method: 'Projects.Update', - example: - 'ProjectUpdateParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Update(parameters);\n\nConsole.WriteLine(project);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -X PATCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "update", + "endpoint": "/v0/projects/{project}", + "httpMethod": "patch", + "summary": "Update project", + "description": "Update a project's properties.", + "stainlessPath": "(resource) projects > (method) update", + "qualified": "client.projects.update", + "params": [ + "project: string;", + "display_name?: string;" + ], + "response": "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + "markdown": "## update\n\n`client.projects.update(project: string, display_name?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**patch** `/v0/projects/{project}`\n\nUpdate a project's properties.\n\n### Parameters\n\n- `project: string`\n\n- `display_name?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.update", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project.config_repo);" + }, + "python": { + "method": "projects.update", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject = client.projects.update(\n project=\"project\",\n)\nprint(project.config_repo)" + }, + "java": { + "method": "projects().update", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectUpdateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n Project project = client.projects().update();\n }\n}" + }, + "kotlin": { + "method": "projects().update", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectUpdateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val project: Project = client.projects().update()\n}" + }, + "go": { + "method": "client.Projects.Update", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tproject, err := client.Projects.Update(context.TODO(), stainless.ProjectUpdateParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", project.ConfigRepo)\n}\n" + }, + "ruby": { + "method": "projects.update", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject = stainless.projects.update(project: \"project\")\n\nputs(project)" + }, + "cli": { + "method": "projects update", + "example": "stl projects update \\\n --api-key 'My API Key' \\\n --project project" + }, + "php": { + "method": "projects->update", + "example": "projects->update(\n project: 'project', displayName: 'display_name'\n);\n\nvar_dump($project);" + }, + "csharp": { + "method": "Projects.Update", + "example": "ProjectUpdateParams parameters = new() { Project = \"project\" };\n\nvar project = await client.Projects.Update(parameters);\n\nConsole.WriteLine(project);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT \\\n -X PATCH \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'list', - endpoint: '/v0/projects', - httpMethod: 'get', - summary: 'List projects', - description: 'List projects in an organization, from oldest to newest.', - stainlessPath: '(resource) projects > (method) list', - qualified: 'client.projects.list', - params: ['cursor?: string;', 'limit?: number;', 'org?: string;'], - response: - "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", - markdown: - "## list\n\n`client.projects.list(cursor?: string, limit?: number, org?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects`\n\nList projects in an organization, from oldest to newest.\n\n### Parameters\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of projects to return, defaults to 10 (maximum: 100).\n\n- `org?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project);\n}\n```", - perLanguage: { - typescript: { - method: 'client.projects.list', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project.config_repo);\n}", - }, - python: { - method: 'projects.list', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.list()\npage = page.data[0]\nprint(page.config_repo)', - }, - java: { - method: 'projects().list', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectListPage;\nimport com.stainless.api.models.projects.ProjectListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectListPage page = client.projects().list();\n }\n}', - }, - kotlin: { - method: 'projects().list', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListPage\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: ProjectListPage = client.projects().list()\n}', - }, - go: { - method: 'client.Projects.List', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.List(context.TODO(), stainless.ProjectListParams{})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', - }, - ruby: { - method: 'projects.list', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.projects.list\n\nputs(page)', - }, - cli: { - method: 'projects list', - example: "stl projects list \\\n --api-key 'My API Key'", - }, - php: { - method: 'projects->list', - example: - "projects->list(cursor: 'cursor', limit: 1, org: 'org');\n\nvar_dump($page);", - }, - csharp: { - method: 'Projects.List', - example: - 'ProjectListParams parameters = new();\n\nvar page = await client.Projects.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "list", + "endpoint": "/v0/projects", + "httpMethod": "get", + "summary": "List projects", + "description": "List projects in an organization, from oldest to newest.", + "stainlessPath": "(resource) projects > (method) list", + "qualified": "client.projects.list", + "params": [ + "cursor?: string;", + "limit?: number;", + "org?: string;" + ], + "response": "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + "markdown": "## list\n\n`client.projects.list(cursor?: string, limit?: number, org?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects`\n\nList projects in an organization, from oldest to newest.\n\n### Parameters\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of projects to return, defaults to 10 (maximum: 100).\n\n- `org?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project);\n}\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.list", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project.config_repo);\n}" + }, + "python": { + "method": "projects.list", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\npage = client.projects.list()\npage = page.data[0]\nprint(page.config_repo)" + }, + "java": { + "method": "projects().list", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectListPage;\nimport com.stainless.api.models.projects.ProjectListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectListPage page = client.projects().list();\n }\n}" + }, + "kotlin": { + "method": "projects().list", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListPage\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: ProjectListPage = client.projects().list()\n}" + }, + "go": { + "method": "client.Projects.List", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpage, err := client.Projects.List(context.TODO(), stainless.ProjectListParams{})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" + }, + "ruby": { + "method": "projects.list", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\npage = stainless.projects.list\n\nputs(page)" + }, + "cli": { + "method": "projects list", + "example": "stl projects list \\\n --api-key 'My API Key'" + }, + "php": { + "method": "projects->list", + "example": "projects->list(cursor: 'cursor', limit: 1, org: 'org');\n\nvar_dump($page);" + }, + "csharp": { + "method": "Projects.List", + "example": "ProjectListParams parameters = new();\n\nvar page = await client.Projects.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'create', - endpoint: '/v0/projects', - httpMethod: 'post', - summary: 'Create project', - description: 'Create a new project.', - stainlessPath: '(resource) projects > (method) create', - qualified: 'client.projects.create', - params: [ - 'display_name: string;', - 'org: string;', - 'revision: object;', - 'slug: string;', - 'targets: string[];', + "name": "create", + "endpoint": "/v0/projects", + "httpMethod": "post", + "summary": "Create project", + "description": "Create a new project.", + "stainlessPath": "(resource) projects > (method) create", + "qualified": "client.projects.create", + "params": [ + "display_name: string;", + "org: string;", + "revision: object;", + "slug: string;", + "targets: string[];" ], - response: - "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", - markdown: - "## create\n\n`client.projects.create(display_name: string, org: string, revision: object, slug: string, targets: string[]): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**post** `/v0/projects`\n\nCreate a new project.\n\n### Parameters\n\n- `display_name: string`\n Human-readable project name\n\n- `org: string`\n Organization name\n\n- `revision: object`\n File contents to commit\n\n- `slug: string`\n Project name/slug\n\n- `targets: string[]`\n Targets to generate for\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project);\n```", - perLanguage: { - typescript: { - method: 'client.projects.create', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project.config_repo);", - }, - python: { - method: 'projects.create', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.create(\n display_name="display_name",\n org="org",\n revision={\n "foo": {\n "content": "content"\n }\n },\n slug="slug",\n targets=["node"],\n)\nprint(project.config_repo)', - }, - java: { - method: 'projects().create', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.Target;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectCreateParams;\nimport java.util.Map;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectCreateParams params = ProjectCreateParams.builder()\n .displayName("display_name")\n .org("org")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty("foo", JsonValue.from(Map.of(\n "content", "content"\n )))\n .build())\n .slug("slug")\n .addTarget(Target.NODE)\n .build();\n Project project = client.projects().create(params);\n }\n}', - }, - kotlin: { - method: 'projects().create', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.Target\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: ProjectCreateParams = ProjectCreateParams.builder()\n .displayName("display_name")\n .org("org")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty("foo", JsonValue.from(mapOf("content" to "content")))\n .build())\n .slug("slug")\n .addTarget(Target.NODE)\n .build()\n val project: Project = client.projects().create(params)\n}', - }, - go: { - method: 'client.Projects.New', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n\t"github.com/stainless-api/stainless-api-go/shared"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.New(context.TODO(), stainless.ProjectNewParams{\n\t\tDisplayName: "display_name",\n\t\tOrg: "org",\n\t\tRevision: map[string]shared.FileInputUnionParam{\n\t\t\t"foo": {\n\t\t\t\tOfFileInputContent: &shared.FileInputContentParam{\n\t\t\t\t\tContent: "content",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tSlug: "slug",\n\t\tTargets: []shared.Target{shared.TargetNode},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', - }, - ruby: { - method: 'projects.create', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.create(\n display_name: "display_name",\n org: "org",\n revision: {foo: {content: "content"}},\n slug: "slug",\n targets: [:node]\n)\n\nputs(project)', - }, - cli: { - method: 'projects create', - example: - "stl projects create \\\n --api-key 'My API Key' \\\n --display-name display_name \\\n --org org \\\n --revision '{foo: {content: content}}' \\\n --slug slug \\\n --target node", - }, - php: { - method: 'projects->create', - example: - "projects->create(\n displayName: 'display_name',\n org: 'org',\n revision: ['foo' => ['content' => 'content']],\n slug: 'slug',\n targets: [Target::NODE],\n);\n\nvar_dump($project);", - }, - csharp: { - method: 'Projects.Create', - example: - 'ProjectCreateParams parameters = new()\n{\n DisplayName = "display_name",\n Org = "org",\n Revision = new Dictionary()\n {\n { "foo", new Content("content") }\n },\n Slug = "slug",\n Targets =\n [\n Target.Node\n ],\n};\n\nvar project = await client.Projects.Create(parameters);\n\nConsole.WriteLine(project);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "display_name": "display_name",\n "org": "org",\n "revision": {\n "foo": {\n "content": "content"\n }\n },\n "slug": "slug",\n "targets": [\n "node"\n ]\n }\'', - }, - }, + "response": "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + "markdown": "## create\n\n`client.projects.create(display_name: string, org: string, revision: object, slug: string, targets: string[]): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**post** `/v0/projects`\n\nCreate a new project.\n\n### Parameters\n\n- `display_name: string`\n Human-readable project name\n\n- `org: string`\n Organization name\n\n- `revision: object`\n File contents to commit\n\n- `slug: string`\n Project name/slug\n\n- `targets: string[]`\n Targets to generate for\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.create", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project.config_repo);" + }, + "python": { + "method": "projects.create", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject = client.projects.create(\n display_name=\"display_name\",\n org=\"org\",\n revision={\n \"foo\": {\n \"content\": \"content\"\n }\n },\n slug=\"slug\",\n targets=[\"node\"],\n)\nprint(project.config_repo)" + }, + "java": { + "method": "projects().create", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.Target;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectCreateParams;\nimport java.util.Map;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectCreateParams params = ProjectCreateParams.builder()\n .displayName(\"display_name\")\n .org(\"org\")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty(\"foo\", JsonValue.from(Map.of(\n \"content\", \"content\"\n )))\n .build())\n .slug(\"slug\")\n .addTarget(Target.NODE)\n .build();\n Project project = client.projects().create(params);\n }\n}" + }, + "kotlin": { + "method": "projects().create", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.Target\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: ProjectCreateParams = ProjectCreateParams.builder()\n .displayName(\"display_name\")\n .org(\"org\")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty(\"foo\", JsonValue.from(mapOf(\"content\" to \"content\")))\n .build())\n .slug(\"slug\")\n .addTarget(Target.NODE)\n .build()\n val project: Project = client.projects().create(params)\n}" + }, + "go": { + "method": "client.Projects.New", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n\t\"github.com/stainless-api/stainless-api-go/shared\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tproject, err := client.Projects.New(context.TODO(), stainless.ProjectNewParams{\n\t\tDisplayName: \"display_name\",\n\t\tOrg: \"org\",\n\t\tRevision: map[string]shared.FileInputUnionParam{\n\t\t\t\"foo\": {\n\t\t\t\tOfFileInputContent: &shared.FileInputContentParam{\n\t\t\t\t\tContent: \"content\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tSlug: \"slug\",\n\t\tTargets: []shared.Target{shared.TargetNode},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", project.ConfigRepo)\n}\n" + }, + "ruby": { + "method": "projects.create", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject = stainless.projects.create(\n display_name: \"display_name\",\n org: \"org\",\n revision: {foo: {content: \"content\"}},\n slug: \"slug\",\n targets: [:node]\n)\n\nputs(project)" + }, + "cli": { + "method": "projects create", + "example": "stl projects create \\\n --api-key 'My API Key' \\\n --display-name display_name \\\n --org org \\\n --revision '{foo: {content: content}}' \\\n --slug slug \\\n --target node" + }, + "php": { + "method": "projects->create", + "example": "projects->create(\n displayName: 'display_name',\n org: 'org',\n revision: ['foo' => ['content' => 'content']],\n slug: 'slug',\n targets: [Target::NODE],\n);\n\nvar_dump($project);" + }, + "csharp": { + "method": "Projects.Create", + "example": "ProjectCreateParams parameters = new()\n{\n DisplayName = \"display_name\",\n Org = \"org\",\n Revision = new Dictionary()\n {\n { \"foo\", new Content(\"content\") }\n },\n Slug = \"slug\",\n Targets =\n [\n Target.Node\n ],\n};\n\nvar project = await client.Projects.Create(parameters);\n\nConsole.WriteLine(project);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"display_name\": \"display_name\",\n \"org\": \"org\",\n \"revision\": {\n \"foo\": {\n \"content\": \"content\"\n }\n },\n \"slug\": \"slug\",\n \"targets\": [\n \"node\"\n ]\n }'" + } + } }, { - name: 'generate_commit_message', - endpoint: '/v0/projects/{project}/generate_commit_message', - httpMethod: 'post', - summary: 'Generate an AI commit message for a specific SDK', - description: 'Generates an AI commit message by comparing two git refs in the SDK repository.', - stainlessPath: '(resource) projects > (method) generate_commit_message', - qualified: 'client.projects.generateCommitMessage', - params: ['project: string;', 'target: string;', 'base_ref: string;', 'head_ref: string;'], - response: '{ ai_commit_message: string; }', - markdown: - "## generate_commit_message\n\n`client.projects.generateCommitMessage(project: string, target: string, base_ref: string, head_ref: string): { ai_commit_message: string; }`\n\n**post** `/v0/projects/{project}/generate_commit_message`\n\nGenerates an AI commit message by comparing two git refs in the SDK repository.\n\n### Parameters\n\n- `project: string`\n\n- `target: string`\n Language target\n\n- `base_ref: string`\n Base ref for comparison\n\n- `head_ref: string`\n Head ref for comparison\n\n### Returns\n\n- `{ ai_commit_message: string; }`\n\n - `ai_commit_message: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response);\n```", - perLanguage: { - typescript: { - method: 'client.projects.generateCommitMessage', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response.ai_commit_message);", - }, - python: { - method: 'projects.generate_commit_message', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.generate_commit_message(\n project="project",\n target="python",\n base_ref="base_ref",\n head_ref="head_ref",\n)\nprint(response.ai_commit_message)', - }, - java: { - method: 'projects().generateCommitMessage', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageParams;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectGenerateCommitMessageParams params = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef("base_ref")\n .headRef("head_ref")\n .build();\n ProjectGenerateCommitMessageResponse response = client.projects().generateCommitMessage(params);\n }\n}', - }, - kotlin: { - method: 'projects().generateCommitMessage', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageParams\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ProjectGenerateCommitMessageParams = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef("base_ref")\n .headRef("head_ref")\n .build()\n val response: ProjectGenerateCommitMessageResponse = client.projects().generateCommitMessage(params)\n}', - }, - go: { - method: 'client.Projects.GenerateCommitMessage', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.GenerateCommitMessage(context.TODO(), stainless.ProjectGenerateCommitMessageParams{\n\t\tProject: stainless.String("project"),\n\t\tTarget: stainless.ProjectGenerateCommitMessageParamsTargetPython,\n\t\tBaseRef: "base_ref",\n\t\tHeadRef: "head_ref",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.AICommitMessage)\n}\n', - }, - ruby: { - method: 'projects.generate_commit_message', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.projects.generate_commit_message(\n project: "project",\n target: :python,\n base_ref: "base_ref",\n head_ref: "head_ref"\n)\n\nputs(response)', - }, - cli: { - method: 'projects generate_commit_message', - example: - "stl projects generate-commit-message \\\n --api-key 'My API Key' \\\n --project project \\\n --target python \\\n --base-ref base_ref \\\n --head-ref head_ref", - }, - php: { - method: 'projects->generateCommitMessage', - example: - "projects->generateCommitMessage(\n project: 'project', target: 'python', baseRef: 'base_ref', headRef: 'head_ref'\n);\n\nvar_dump($response);", - }, - csharp: { - method: 'Projects.GenerateCommitMessage', - example: - 'ProjectGenerateCommitMessageParams parameters = new()\n{\n Project = "project",\n Target = Target.Python,\n BaseRef = "base_ref",\n HeadRef = "head_ref",\n};\n\nvar response = await client.Projects.GenerateCommitMessage(parameters);\n\nConsole.WriteLine(response);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/generate_commit_message \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base_ref": "base_ref",\n "head_ref": "head_ref"\n }\'', - }, - }, + "name": "generate_commit_message", + "endpoint": "/v0/projects/{project}/generate_commit_message", + "httpMethod": "post", + "summary": "Generate an AI commit message for a specific SDK", + "description": "Generates an AI commit message by comparing two git refs in the SDK repository.", + "stainlessPath": "(resource) projects > (method) generate_commit_message", + "qualified": "client.projects.generateCommitMessage", + "params": [ + "project: string;", + "target: string;", + "base_ref: string;", + "head_ref: string;" + ], + "response": "{ ai_commit_message: string; }", + "markdown": "## generate_commit_message\n\n`client.projects.generateCommitMessage(project: string, target: string, base_ref: string, head_ref: string): { ai_commit_message: string; }`\n\n**post** `/v0/projects/{project}/generate_commit_message`\n\nGenerates an AI commit message by comparing two git refs in the SDK repository.\n\n### Parameters\n\n- `project: string`\n\n- `target: string`\n Language target\n\n- `base_ref: string`\n Base ref for comparison\n\n- `head_ref: string`\n Head ref for comparison\n\n### Returns\n\n- `{ ai_commit_message: string; }`\n\n - `ai_commit_message: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.generateCommitMessage", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response.ai_commit_message);" + }, + "python": { + "method": "projects.generate_commit_message", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nresponse = client.projects.generate_commit_message(\n project=\"project\",\n target=\"python\",\n base_ref=\"base_ref\",\n head_ref=\"head_ref\",\n)\nprint(response.ai_commit_message)" + }, + "java": { + "method": "projects().generateCommitMessage", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageParams;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ProjectGenerateCommitMessageParams params = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef(\"base_ref\")\n .headRef(\"head_ref\")\n .build();\n ProjectGenerateCommitMessageResponse response = client.projects().generateCommitMessage(params);\n }\n}" + }, + "kotlin": { + "method": "projects().generateCommitMessage", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageParams\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val params: ProjectGenerateCommitMessageParams = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef(\"base_ref\")\n .headRef(\"head_ref\")\n .build()\n val response: ProjectGenerateCommitMessageResponse = client.projects().generateCommitMessage(params)\n}" + }, + "go": { + "method": "client.Projects.GenerateCommitMessage", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Projects.GenerateCommitMessage(context.TODO(), stainless.ProjectGenerateCommitMessageParams{\n\t\tProject: stainless.String(\"project\"),\n\t\tTarget: stainless.ProjectGenerateCommitMessageParamsTargetPython,\n\t\tBaseRef: \"base_ref\",\n\t\tHeadRef: \"head_ref\",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response.AICommitMessage)\n}\n" + }, + "ruby": { + "method": "projects.generate_commit_message", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nresponse = stainless.projects.generate_commit_message(\n project: \"project\",\n target: :python,\n base_ref: \"base_ref\",\n head_ref: \"head_ref\"\n)\n\nputs(response)" + }, + "cli": { + "method": "projects generate_commit_message", + "example": "stl projects generate-commit-message \\\n --api-key 'My API Key' \\\n --project project \\\n --target python \\\n --base-ref base_ref \\\n --head-ref head_ref" + }, + "php": { + "method": "projects->generateCommitMessage", + "example": "projects->generateCommitMessage(\n project: 'project', target: 'python', baseRef: 'base_ref', headRef: 'head_ref'\n);\n\nvar_dump($response);" + }, + "csharp": { + "method": "Projects.GenerateCommitMessage", + "example": "ProjectGenerateCommitMessageParams parameters = new()\n{\n Project = \"project\",\n Target = Target.Python,\n BaseRef = \"base_ref\",\n HeadRef = \"head_ref\",\n};\n\nvar response = await client.Projects.GenerateCommitMessage(parameters);\n\nConsole.WriteLine(response);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT/generate_commit_message \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"base_ref\": \"base_ref\",\n \"head_ref\": \"head_ref\"\n }'" + } + } }, { - name: 'create', - endpoint: '/v0/projects/{project}/branches', - httpMethod: 'post', - summary: 'Create a new project branch', - description: - 'Create a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.', - stainlessPath: '(resource) projects.branches > (method) create', - qualified: 'client.projects.branches.create', - params: ['project: string;', 'branch: string;', 'branch_from: string;', 'force?: boolean;'], - response: - "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", - markdown: - "## create\n\n`client.projects.branches.create(project: string, branch: string, branch_from: string, force?: boolean): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**post** `/v0/projects/{project}/branches`\n\nCreate a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n Branch name\n\n- `branch_from: string`\n Branch or commit SHA to branch from\n\n- `force?: boolean`\n Whether to throw an error if the branch already exists. Defaults to false.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch);\n```", - perLanguage: { - typescript: { - method: 'client.projects.branches.create', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch.branch);", - }, - python: { - method: 'projects.branches.create', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.create(\n project="project",\n branch="branch",\n branch_from="branch_from",\n)\nprint(project_branch.branch)', - }, - java: { - method: 'projects().branches().create', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchCreateParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BranchCreateParams params = BranchCreateParams.builder()\n .branch("branch")\n .branchFrom("branch_from")\n .build();\n ProjectBranch projectBranch = client.projects().branches().create(params);\n }\n}', - }, - kotlin: { - method: 'projects().branches().create', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchCreateParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: BranchCreateParams = BranchCreateParams.builder()\n .branch("branch")\n .branchFrom("branch_from")\n .build()\n val projectBranch: ProjectBranch = client.projects().branches().create(params)\n}', - }, - go: { - method: 'client.Projects.Branches.New', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.New(context.TODO(), stainless.ProjectBranchNewParams{\n\t\tProject: stainless.String("project"),\n\t\tBranch: "branch",\n\t\tBranchFrom: "branch_from",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', - }, - ruby: { - method: 'projects.branches.create', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.create(project: "project", branch: "branch", branch_from: "branch_from")\n\nputs(project_branch)', - }, - cli: { - method: 'branches create', - example: - "stl projects:branches create \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch \\\n --branch-from branch_from", - }, - php: { - method: 'projects->branches->create', - example: - "projects->branches->create(\n project: 'project', branch: 'branch', branchFrom: 'branch_from', force: true\n);\n\nvar_dump($projectBranch);", - }, - csharp: { - method: 'Projects.Branches.Create', - example: - 'BranchCreateParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n BranchFrom = "branch_from",\n};\n\nvar projectBranch = await client.Projects.Branches.Create(parameters);\n\nConsole.WriteLine(projectBranch);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "branch": "branch",\n "branch_from": "branch_from"\n }\'', - }, - }, + "name": "create", + "endpoint": "/v0/projects/{project}/branches", + "httpMethod": "post", + "summary": "Create a new project branch", + "description": "Create a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.", + "stainlessPath": "(resource) projects.branches > (method) create", + "qualified": "client.projects.branches.create", + "params": [ + "project: string;", + "branch: string;", + "branch_from: string;", + "force?: boolean;" + ], + "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + "markdown": "## create\n\n`client.projects.branches.create(project: string, branch: string, branch_from: string, force?: boolean): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**post** `/v0/projects/{project}/branches`\n\nCreate a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n Branch name\n\n- `branch_from: string`\n Branch or commit SHA to branch from\n\n- `force?: boolean`\n Whether to throw an error if the branch already exists. Defaults to false.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.branches.create", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch.branch);" + }, + "python": { + "method": "projects.branches.create", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.create(\n project=\"project\",\n branch=\"branch\",\n branch_from=\"branch_from\",\n)\nprint(project_branch.branch)" + }, + "java": { + "method": "projects().branches().create", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchCreateParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n BranchCreateParams params = BranchCreateParams.builder()\n .branch(\"branch\")\n .branchFrom(\"branch_from\")\n .build();\n ProjectBranch projectBranch = client.projects().branches().create(params);\n }\n}" + }, + "kotlin": { + "method": "projects().branches().create", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchCreateParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val params: BranchCreateParams = BranchCreateParams.builder()\n .branch(\"branch\")\n .branchFrom(\"branch_from\")\n .build()\n val projectBranch: ProjectBranch = client.projects().branches().create(params)\n}" + }, + "go": { + "method": "client.Projects.Branches.New", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.New(context.TODO(), stainless.ProjectBranchNewParams{\n\t\tProject: stainless.String(\"project\"),\n\t\tBranch: \"branch\",\n\t\tBranchFrom: \"branch_from\",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectBranch.Branch)\n}\n" + }, + "ruby": { + "method": "projects.branches.create", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject_branch = stainless.projects.branches.create(project: \"project\", branch: \"branch\", branch_from: \"branch_from\")\n\nputs(project_branch)" + }, + "cli": { + "method": "branches create", + "example": "stl projects:branches create \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch \\\n --branch-from branch_from" + }, + "php": { + "method": "projects->branches->create", + "example": "projects->branches->create(\n project: 'project', branch: 'branch', branchFrom: 'branch_from', force: true\n);\n\nvar_dump($projectBranch);" + }, + "csharp": { + "method": "Projects.Branches.Create", + "example": "BranchCreateParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n BranchFrom = \"branch_from\",\n};\n\nvar projectBranch = await client.Projects.Branches.Create(parameters);\n\nConsole.WriteLine(projectBranch);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"branch\": \"branch\",\n \"branch_from\": \"branch_from\"\n }'" + } + } }, { - name: 'retrieve', - endpoint: '/v0/projects/{project}/branches/{branch}', - httpMethod: 'get', - summary: 'Retrieve a project branch', - description: 'Retrieve a project branch by name.', - stainlessPath: '(resource) projects.branches > (method) retrieve', - qualified: 'client.projects.branches.retrieve', - params: ['project: string;', 'branch: string;'], - response: - "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", - markdown: - "## retrieve\n\n`client.projects.branches.retrieve(project: string, branch: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches/{branch}`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", - perLanguage: { - typescript: { - method: 'client.projects.branches.retrieve', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", - }, - python: { - method: 'projects.branches.retrieve', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.retrieve(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', - }, - java: { - method: 'projects().branches().retrieve', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRetrieveParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().retrieve("branch");\n }\n}', - }, - kotlin: { - method: 'projects().branches().retrieve', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().retrieve("branch")\n}', - }, - go: { - method: 'client.Projects.Branches.Get', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Get(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchGetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', - }, - ruby: { - method: 'projects.branches.retrieve', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.retrieve("branch", project: "project")\n\nputs(project_branch)', - }, - cli: { - method: 'branches retrieve', - example: - "stl projects:branches retrieve \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", - }, - php: { - method: 'projects->branches->retrieve', - example: - "projects->branches->retrieve(\n 'branch', project: 'project'\n);\n\nvar_dump($projectBranch);", - }, - csharp: { - method: 'Projects.Branches.Retrieve', - example: - 'BranchRetrieveParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Retrieve(parameters);\n\nConsole.WriteLine(projectBranch);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "retrieve", + "endpoint": "/v0/projects/{project}/branches/{branch}", + "httpMethod": "get", + "summary": "Retrieve a project branch", + "description": "Retrieve a project branch by name.", + "stainlessPath": "(resource) projects.branches > (method) retrieve", + "qualified": "client.projects.branches.retrieve", + "params": [ + "project: string;", + "branch: string;" + ], + "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + "markdown": "## retrieve\n\n`client.projects.branches.retrieve(project: string, branch: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches/{branch}`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.branches.retrieve", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);" + }, + "python": { + "method": "projects.branches.retrieve", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.retrieve(\n branch=\"branch\",\n project=\"project\",\n)\nprint(project_branch.branch)" + }, + "java": { + "method": "projects().branches().retrieve", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRetrieveParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().retrieve(\"branch\");\n }\n}" + }, + "kotlin": { + "method": "projects().branches().retrieve", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().retrieve(\"branch\")\n}" + }, + "go": { + "method": "client.Projects.Branches.Get", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Get(\n\t\tcontext.TODO(),\n\t\t\"branch\",\n\t\tstainless.ProjectBranchGetParams{\n\t\t\tProject: stainless.String(\"project\"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectBranch.Branch)\n}\n" + }, + "ruby": { + "method": "projects.branches.retrieve", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject_branch = stainless.projects.branches.retrieve(\"branch\", project: \"project\")\n\nputs(project_branch)" + }, + "cli": { + "method": "branches retrieve", + "example": "stl projects:branches retrieve \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch" + }, + "php": { + "method": "projects->branches->retrieve", + "example": "projects->branches->retrieve(\n 'branch', project: 'project'\n);\n\nvar_dump($projectBranch);" + }, + "csharp": { + "method": "Projects.Branches.Retrieve", + "example": "BranchRetrieveParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n};\n\nvar projectBranch = await client.Projects.Branches.Retrieve(parameters);\n\nConsole.WriteLine(projectBranch);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'list', - endpoint: '/v0/projects/{project}/branches', - httpMethod: 'get', - summary: 'List project branches', - description: 'Retrieve a project branch by name.', - stainlessPath: '(resource) projects.branches > (method) list', - qualified: 'client.projects.branches.list', - params: ['project: string;', 'cursor?: string;', 'limit?: number;'], - response: - "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }", - markdown: - "## list\n\n`client.projects.branches.list(project: string, cursor?: string, limit?: number): { branch: string; config_commit: object; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of items to return, defaults to 10 (maximum: 100).\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build_id: string`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse);\n}\n```", - perLanguage: { - typescript: { - method: 'client.projects.branches.list', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse.latest_build_id);\n}", - }, - python: { - method: 'projects.branches.list', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.branches.list(\n project="project",\n)\npage = page.data[0]\nprint(page.latest_build_id)', - }, - java: { - method: 'projects().branches().list', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchListPage;\nimport com.stainless.api.models.projects.branches.BranchListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BranchListPage page = client.projects().branches().list();\n }\n}', - }, - kotlin: { - method: 'projects().branches().list', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListPage\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BranchListPage = client.projects().branches().list()\n}', - }, - go: { - method: 'client.Projects.Branches.List', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.Branches.List(context.TODO(), stainless.ProjectBranchListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', - }, - ruby: { - method: 'projects.branches.list', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.projects.branches.list(project: "project")\n\nputs(page)', - }, - cli: { - method: 'branches list', - example: "stl projects:branches list \\\n --api-key 'My API Key' \\\n --project project", - }, - php: { - method: 'projects->branches->list', - example: - "projects->branches->list(\n project: 'project', cursor: 'cursor', limit: 1\n);\n\nvar_dump($page);", - }, - csharp: { - method: 'Projects.Branches.List', - example: - 'BranchListParams parameters = new() { Project = "project" };\n\nvar page = await client.Projects.Branches.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "list", + "endpoint": "/v0/projects/{project}/branches", + "httpMethod": "get", + "summary": "List project branches", + "description": "Retrieve a project branch by name.", + "stainlessPath": "(resource) projects.branches > (method) list", + "qualified": "client.projects.branches.list", + "params": [ + "project: string;", + "cursor?: string;", + "limit?: number;" + ], + "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }", + "markdown": "## list\n\n`client.projects.branches.list(project: string, cursor?: string, limit?: number): { branch: string; config_commit: object; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of items to return, defaults to 10 (maximum: 100).\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build_id: string`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse);\n}\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.branches.list", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse.latest_build_id);\n}" + }, + "python": { + "method": "projects.branches.list", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\npage = client.projects.branches.list(\n project=\"project\",\n)\npage = page.data[0]\nprint(page.latest_build_id)" + }, + "java": { + "method": "projects().branches().list", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchListPage;\nimport com.stainless.api.models.projects.branches.BranchListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n BranchListPage page = client.projects().branches().list();\n }\n}" + }, + "kotlin": { + "method": "projects().branches().list", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListPage\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val page: BranchListPage = client.projects().branches().list()\n}" + }, + "go": { + "method": "client.Projects.Branches.List", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpage, err := client.Projects.Branches.List(context.TODO(), stainless.ProjectBranchListParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" + }, + "ruby": { + "method": "projects.branches.list", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\npage = stainless.projects.branches.list(project: \"project\")\n\nputs(page)" + }, + "cli": { + "method": "branches list", + "example": "stl projects:branches list \\\n --api-key 'My API Key' \\\n --project project" + }, + "php": { + "method": "projects->branches->list", + "example": "projects->branches->list(\n project: 'project', cursor: 'cursor', limit: 1\n);\n\nvar_dump($page);" + }, + "csharp": { + "method": "Projects.Branches.List", + "example": "BranchListParams parameters = new() { Project = \"project\" };\n\nvar page = await client.Projects.Branches.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'delete', - endpoint: '/v0/projects/{project}/branches/{branch}', - httpMethod: 'delete', - summary: 'Delete a project branch', - description: 'Delete a project branch by name.', - stainlessPath: '(resource) projects.branches > (method) delete', - qualified: 'client.projects.branches.delete', - params: ['project: string;', 'branch: string;'], - response: 'object', - markdown: - "## delete\n\n`client.projects.branches.delete(project: string, branch: string): object`\n\n**delete** `/v0/projects/{project}/branches/{branch}`\n\nDelete a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `object`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);\n```", - perLanguage: { - typescript: { - method: 'client.projects.branches.delete', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);", - }, - python: { - method: 'projects.branches.delete', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbranch = client.projects.branches.delete(\n branch="branch",\n project="project",\n)\nprint(branch)', - }, - java: { - method: 'projects().branches().delete', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchDeleteParams;\nimport com.stainless.api.models.projects.branches.BranchDeleteResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BranchDeleteResponse branch = client.projects().branches().delete("branch");\n }\n}', - }, - kotlin: { - method: 'projects().branches().delete', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val branch: BranchDeleteResponse = client.projects().branches().delete("branch")\n}', - }, - go: { - method: 'client.Projects.Branches.Delete', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbranch, err := client.Projects.Branches.Delete(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchDeleteParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", branch)\n}\n', - }, - ruby: { - method: 'projects.branches.delete', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbranch = stainless.projects.branches.delete("branch", project: "project")\n\nputs(branch)', - }, - cli: { - method: 'branches delete', - example: - "stl projects:branches delete \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", - }, - php: { - method: 'projects->branches->delete', - example: - "projects->branches->delete('branch', project: 'project');\n\nvar_dump($branch);", - }, - csharp: { - method: 'Projects.Branches.Delete', - example: - 'BranchDeleteParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar branch = await client.Projects.Branches.Delete(parameters);\n\nConsole.WriteLine(branch);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -X DELETE \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "delete", + "endpoint": "/v0/projects/{project}/branches/{branch}", + "httpMethod": "delete", + "summary": "Delete a project branch", + "description": "Delete a project branch by name.", + "stainlessPath": "(resource) projects.branches > (method) delete", + "qualified": "client.projects.branches.delete", + "params": [ + "project: string;", + "branch: string;" + ], + "response": "object", + "markdown": "## delete\n\n`client.projects.branches.delete(project: string, branch: string): object`\n\n**delete** `/v0/projects/{project}/branches/{branch}`\n\nDelete a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `object`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.branches.delete", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);" + }, + "python": { + "method": "projects.branches.delete", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nbranch = client.projects.branches.delete(\n branch=\"branch\",\n project=\"project\",\n)\nprint(branch)" + }, + "java": { + "method": "projects().branches().delete", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchDeleteParams;\nimport com.stainless.api.models.projects.branches.BranchDeleteResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n BranchDeleteResponse branch = client.projects().branches().delete(\"branch\");\n }\n}" + }, + "kotlin": { + "method": "projects().branches().delete", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val branch: BranchDeleteResponse = client.projects().branches().delete(\"branch\")\n}" + }, + "go": { + "method": "client.Projects.Branches.Delete", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tbranch, err := client.Projects.Branches.Delete(\n\t\tcontext.TODO(),\n\t\t\"branch\",\n\t\tstainless.ProjectBranchDeleteParams{\n\t\t\tProject: stainless.String(\"project\"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", branch)\n}\n" + }, + "ruby": { + "method": "projects.branches.delete", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nbranch = stainless.projects.branches.delete(\"branch\", project: \"project\")\n\nputs(branch)" + }, + "cli": { + "method": "branches delete", + "example": "stl projects:branches delete \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch" + }, + "php": { + "method": "projects->branches->delete", + "example": "projects->branches->delete('branch', project: 'project');\n\nvar_dump($branch);" + }, + "csharp": { + "method": "Projects.Branches.Delete", + "example": "BranchDeleteParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n};\n\nvar branch = await client.Projects.Branches.Delete(parameters);\n\nConsole.WriteLine(branch);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -X DELETE \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'rebase', - endpoint: '/v0/projects/{project}/branches/{branch}/rebase', - httpMethod: 'put', - summary: 'Rebase a project branch', - description: - 'Rebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.', - stainlessPath: '(resource) projects.branches > (method) rebase', - qualified: 'client.projects.branches.rebase', - params: ['project: string;', 'branch: string;', 'base?: string;'], - response: - "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", - markdown: - "## rebase\n\n`client.projects.branches.rebase(project: string, branch: string, base?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/rebase`\n\nRebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `base?: string`\n The branch or commit SHA to rebase onto. Defaults to \"main\".\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", - perLanguage: { - typescript: { - method: 'client.projects.branches.rebase', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", - }, - python: { - method: 'projects.branches.rebase', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.rebase(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', - }, - java: { - method: 'projects().branches().rebase', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRebaseParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().rebase("branch");\n }\n}', - }, - kotlin: { - method: 'projects().branches().rebase', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRebaseParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().rebase("branch")\n}', - }, - go: { - method: 'client.Projects.Branches.Rebase', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Rebase(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchRebaseParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', - }, - ruby: { - method: 'projects.branches.rebase', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.rebase("branch", project: "project")\n\nputs(project_branch)', - }, - cli: { - method: 'branches rebase', - example: - "stl projects:branches rebase \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", - }, - php: { - method: 'projects->branches->rebase', - example: - "projects->branches->rebase(\n 'branch', project: 'project', base: 'base'\n);\n\nvar_dump($projectBranch);", - }, - csharp: { - method: 'Projects.Branches.Rebase', - example: - 'BranchRebaseParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Rebase(parameters);\n\nConsole.WriteLine(projectBranch);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/rebase \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "rebase", + "endpoint": "/v0/projects/{project}/branches/{branch}/rebase", + "httpMethod": "put", + "summary": "Rebase a project branch", + "description": "Rebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.", + "stainlessPath": "(resource) projects.branches > (method) rebase", + "qualified": "client.projects.branches.rebase", + "params": [ + "project: string;", + "branch: string;", + "base?: string;" + ], + "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + "markdown": "## rebase\n\n`client.projects.branches.rebase(project: string, branch: string, base?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/rebase`\n\nRebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `base?: string`\n The branch or commit SHA to rebase onto. Defaults to \"main\".\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.branches.rebase", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);" + }, + "python": { + "method": "projects.branches.rebase", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.rebase(\n branch=\"branch\",\n project=\"project\",\n)\nprint(project_branch.branch)" + }, + "java": { + "method": "projects().branches().rebase", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRebaseParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().rebase(\"branch\");\n }\n}" + }, + "kotlin": { + "method": "projects().branches().rebase", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRebaseParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().rebase(\"branch\")\n}" + }, + "go": { + "method": "client.Projects.Branches.Rebase", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Rebase(\n\t\tcontext.TODO(),\n\t\t\"branch\",\n\t\tstainless.ProjectBranchRebaseParams{\n\t\t\tProject: stainless.String(\"project\"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectBranch.Branch)\n}\n" + }, + "ruby": { + "method": "projects.branches.rebase", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject_branch = stainless.projects.branches.rebase(\"branch\", project: \"project\")\n\nputs(project_branch)" + }, + "cli": { + "method": "branches rebase", + "example": "stl projects:branches rebase \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch" + }, + "php": { + "method": "projects->branches->rebase", + "example": "projects->branches->rebase(\n 'branch', project: 'project', base: 'base'\n);\n\nvar_dump($projectBranch);" + }, + "csharp": { + "method": "Projects.Branches.Rebase", + "example": "BranchRebaseParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n};\n\nvar projectBranch = await client.Projects.Branches.Rebase(parameters);\n\nConsole.WriteLine(projectBranch);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/rebase \\\n -X PUT \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'reset', - endpoint: '/v0/projects/{project}/branches/{branch}/reset', - httpMethod: 'put', - summary: '', - description: - 'Reset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.', - stainlessPath: '(resource) projects.branches > (method) reset', - qualified: 'client.projects.branches.reset', - params: ['project: string;', 'branch: string;', 'target_config_sha?: string;'], - response: - "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", - markdown: - "## reset\n\n`client.projects.branches.reset(project: string, branch: string, target_config_sha?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/reset`\n\nReset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `target_config_sha?: string`\n The commit SHA to reset the main branch to. Required if resetting the main branch; disallowed otherwise.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", - perLanguage: { - typescript: { - method: 'client.projects.branches.reset', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", - }, - python: { - method: 'projects.branches.reset', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.reset(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', - }, - java: { - method: 'projects().branches().reset', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchResetParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().reset("branch");\n }\n}', - }, - kotlin: { - method: 'projects().branches().reset', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchResetParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().reset("branch")\n}', - }, - go: { - method: 'client.Projects.Branches.Reset', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Reset(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchResetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', - }, - ruby: { - method: 'projects.branches.reset', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.reset("branch", project: "project")\n\nputs(project_branch)', - }, - cli: { - method: 'branches reset', - example: - "stl projects:branches reset \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", - }, - php: { - method: 'projects->branches->reset', - example: - "projects->branches->reset(\n 'branch', project: 'project', targetConfigSha: 'target_config_sha'\n);\n\nvar_dump($projectBranch);", - }, - csharp: { - method: 'Projects.Branches.Reset', - example: - 'BranchResetParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Reset(parameters);\n\nConsole.WriteLine(projectBranch);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/reset \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "reset", + "endpoint": "/v0/projects/{project}/branches/{branch}/reset", + "httpMethod": "put", + "summary": "", + "description": "Reset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.", + "stainlessPath": "(resource) projects.branches > (method) reset", + "qualified": "client.projects.branches.reset", + "params": [ + "project: string;", + "branch: string;", + "target_config_sha?: string;" + ], + "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + "markdown": "## reset\n\n`client.projects.branches.reset(project: string, branch: string, target_config_sha?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/reset`\n\nReset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `target_config_sha?: string`\n The commit SHA to reset the main branch to. Required if resetting the main branch; disallowed otherwise.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.branches.reset", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);" + }, + "python": { + "method": "projects.branches.reset", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.reset(\n branch=\"branch\",\n project=\"project\",\n)\nprint(project_branch.branch)" + }, + "java": { + "method": "projects().branches().reset", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchResetParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().reset(\"branch\");\n }\n}" + }, + "kotlin": { + "method": "projects().branches().reset", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchResetParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().reset(\"branch\")\n}" + }, + "go": { + "method": "client.Projects.Branches.Reset", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Reset(\n\t\tcontext.TODO(),\n\t\t\"branch\",\n\t\tstainless.ProjectBranchResetParams{\n\t\t\tProject: stainless.String(\"project\"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectBranch.Branch)\n}\n" + }, + "ruby": { + "method": "projects.branches.reset", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject_branch = stainless.projects.branches.reset(\"branch\", project: \"project\")\n\nputs(project_branch)" + }, + "cli": { + "method": "branches reset", + "example": "stl projects:branches reset \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch" + }, + "php": { + "method": "projects->branches->reset", + "example": "projects->branches->reset(\n 'branch', project: 'project', targetConfigSha: 'target_config_sha'\n);\n\nvar_dump($projectBranch);" + }, + "csharp": { + "method": "Projects.Branches.Reset", + "example": "BranchResetParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n};\n\nvar projectBranch = await client.Projects.Branches.Reset(parameters);\n\nConsole.WriteLine(projectBranch);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/reset \\\n -X PUT \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'retrieve', - endpoint: '/v0/projects/{project}/configs', - httpMethod: 'get', - summary: 'Retrieve configuration files', - description: '\n Retrieve the configuration files for a given project.', - stainlessPath: '(resource) projects.configs > (method) retrieve', - qualified: 'client.projects.configs.retrieve', - params: ['project: string;', 'branch?: string;', 'include?: string;'], - response: 'object', - markdown: - "## retrieve\n\n`client.projects.configs.retrieve(project: string, branch?: string, include?: string): object`\n\n**get** `/v0/projects/{project}/configs`\n\n\n Retrieve the configuration files for a given project.\n\n### Parameters\n\n- `project: string`\n\n- `branch?: string`\n Branch name, defaults to \"main\".\n\n- `include?: string`\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);\n```", - perLanguage: { - typescript: { - method: 'client.projects.configs.retrieve', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);", - }, - python: { - method: 'projects.configs.retrieve', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nconfig = client.projects.configs.retrieve(\n project="project",\n)\nprint(config)', - }, - java: { - method: 'projects().configs().retrieve', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveParams;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ConfigRetrieveResponse config = client.projects().configs().retrieve();\n }\n}', - }, - kotlin: { - method: 'projects().configs().retrieve', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val config: ConfigRetrieveResponse = client.projects().configs().retrieve()\n}', - }, - go: { - method: 'client.Projects.Configs.Get', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tconfig, err := client.Projects.Configs.Get(context.TODO(), stainless.ProjectConfigGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", config)\n}\n', - }, - ruby: { - method: 'projects.configs.retrieve', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nconfig = stainless.projects.configs.retrieve(project: "project")\n\nputs(config)', - }, - cli: { - method: 'configs retrieve', - example: "stl projects:configs retrieve \\\n --api-key 'My API Key' \\\n --project project", - }, - php: { - method: 'projects->configs->retrieve', - example: - "projects->configs->retrieve(\n project: 'project', branch: 'branch', include: 'include'\n);\n\nvar_dump($config);", - }, - csharp: { - method: 'Projects.Configs.Retrieve', - example: - 'ConfigRetrieveParams parameters = new() { Project = "project" };\n\nvar config = await client.Projects.Configs.Retrieve(parameters);\n\nConsole.WriteLine(config);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/configs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "retrieve", + "endpoint": "/v0/projects/{project}/configs", + "httpMethod": "get", + "summary": "Retrieve configuration files", + "description": "\n Retrieve the configuration files for a given project.", + "stainlessPath": "(resource) projects.configs > (method) retrieve", + "qualified": "client.projects.configs.retrieve", + "params": [ + "project: string;", + "branch?: string;", + "include?: string;" + ], + "response": "object", + "markdown": "## retrieve\n\n`client.projects.configs.retrieve(project: string, branch?: string, include?: string): object`\n\n**get** `/v0/projects/{project}/configs`\n\n\n Retrieve the configuration files for a given project.\n\n### Parameters\n\n- `project: string`\n\n- `branch?: string`\n Branch name, defaults to \"main\".\n\n- `include?: string`\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.configs.retrieve", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);" + }, + "python": { + "method": "projects.configs.retrieve", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nconfig = client.projects.configs.retrieve(\n project=\"project\",\n)\nprint(config)" + }, + "java": { + "method": "projects().configs().retrieve", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveParams;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ConfigRetrieveResponse config = client.projects().configs().retrieve();\n }\n}" + }, + "kotlin": { + "method": "projects().configs().retrieve", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val config: ConfigRetrieveResponse = client.projects().configs().retrieve()\n}" + }, + "go": { + "method": "client.Projects.Configs.Get", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tconfig, err := client.Projects.Configs.Get(context.TODO(), stainless.ProjectConfigGetParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", config)\n}\n" + }, + "ruby": { + "method": "projects.configs.retrieve", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nconfig = stainless.projects.configs.retrieve(project: \"project\")\n\nputs(config)" + }, + "cli": { + "method": "configs retrieve", + "example": "stl projects:configs retrieve \\\n --api-key 'My API Key' \\\n --project project" + }, + "php": { + "method": "projects->configs->retrieve", + "example": "projects->configs->retrieve(\n project: 'project', branch: 'branch', include: 'include'\n);\n\nvar_dump($config);" + }, + "csharp": { + "method": "Projects.Configs.Retrieve", + "example": "ConfigRetrieveParams parameters = new() { Project = \"project\" };\n\nvar config = await client.Projects.Configs.Retrieve(parameters);\n\nConsole.WriteLine(config);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT/configs \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'guess', - endpoint: '/v0/projects/{project}/configs/guess', - httpMethod: 'post', - summary: 'Generate config suggestions', - description: '\n Generate suggestions for changes to config files based on an OpenAPI spec.', - stainlessPath: '(resource) projects.configs > (method) guess', - qualified: 'client.projects.configs.guess', - params: ['project: string;', 'spec: string;', 'branch?: string;'], - response: 'object', - markdown: - "## guess\n\n`client.projects.configs.guess(project: string, spec: string, branch?: string): object`\n\n**post** `/v0/projects/{project}/configs/guess`\n\n\n Generate suggestions for changes to config files based on an OpenAPI spec.\n\n### Parameters\n\n- `project: string`\n\n- `spec: string`\n OpenAPI spec\n\n- `branch?: string`\n Branch name\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);\n```", - perLanguage: { - typescript: { - method: 'client.projects.configs.guess', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);", - }, - python: { - method: 'projects.configs.guess', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.configs.guess(\n project="project",\n spec="spec",\n)\nprint(response)', - }, - java: { - method: 'projects().configs().guess', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigGuessParams;\nimport com.stainless.api.models.projects.configs.ConfigGuessResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ConfigGuessParams params = ConfigGuessParams.builder()\n .spec("spec")\n .build();\n ConfigGuessResponse response = client.projects().configs().guess(params);\n }\n}', - }, - kotlin: { - method: 'projects().configs().guess', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ConfigGuessParams = ConfigGuessParams.builder()\n .spec("spec")\n .build()\n val response: ConfigGuessResponse = client.projects().configs().guess(params)\n}', - }, - go: { - method: 'client.Projects.Configs.Guess', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.Configs.Guess(context.TODO(), stainless.ProjectConfigGuessParams{\n\t\tProject: stainless.String("project"),\n\t\tSpec: "spec",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response)\n}\n', - }, - ruby: { - method: 'projects.configs.guess', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.projects.configs.guess(project: "project", spec: "spec")\n\nputs(response)', - }, - cli: { - method: 'configs guess', - example: - "stl projects:configs guess \\\n --api-key 'My API Key' \\\n --project project \\\n --spec spec", - }, - php: { - method: 'projects->configs->guess', - example: - "projects->configs->guess(\n project: 'project', spec: 'spec', branch: 'branch'\n);\n\nvar_dump($response);", - }, - csharp: { - method: 'Projects.Configs.Guess', - example: - 'ConfigGuessParams parameters = new()\n{\n Project = "project",\n Spec = "spec",\n};\n\nvar response = await client.Projects.Configs.Guess(parameters);\n\nConsole.WriteLine(response);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/projects/$PROJECT/configs/guess \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "spec": "spec"\n }\'', - }, - }, + "name": "guess", + "endpoint": "/v0/projects/{project}/configs/guess", + "httpMethod": "post", + "summary": "Generate config suggestions", + "description": "\n Generate suggestions for changes to config files based on an OpenAPI spec.", + "stainlessPath": "(resource) projects.configs > (method) guess", + "qualified": "client.projects.configs.guess", + "params": [ + "project: string;", + "spec: string;", + "branch?: string;" + ], + "response": "object", + "markdown": "## guess\n\n`client.projects.configs.guess(project: string, spec: string, branch?: string): object`\n\n**post** `/v0/projects/{project}/configs/guess`\n\n\n Generate suggestions for changes to config files based on an OpenAPI spec.\n\n### Parameters\n\n- `project: string`\n\n- `spec: string`\n OpenAPI spec\n\n- `branch?: string`\n Branch name\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);\n```", + "perLanguage": { + "typescript": { + "method": "client.projects.configs.guess", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);" + }, + "python": { + "method": "projects.configs.guess", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nresponse = client.projects.configs.guess(\n project=\"project\",\n spec=\"spec\",\n)\nprint(response)" + }, + "java": { + "method": "projects().configs().guess", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigGuessParams;\nimport com.stainless.api.models.projects.configs.ConfigGuessResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ConfigGuessParams params = ConfigGuessParams.builder()\n .spec(\"spec\")\n .build();\n ConfigGuessResponse response = client.projects().configs().guess(params);\n }\n}" + }, + "kotlin": { + "method": "projects().configs().guess", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val params: ConfigGuessParams = ConfigGuessParams.builder()\n .spec(\"spec\")\n .build()\n val response: ConfigGuessResponse = client.projects().configs().guess(params)\n}" + }, + "go": { + "method": "client.Projects.Configs.Guess", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Projects.Configs.Guess(context.TODO(), stainless.ProjectConfigGuessParams{\n\t\tProject: stainless.String(\"project\"),\n\t\tSpec: \"spec\",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response)\n}\n" + }, + "ruby": { + "method": "projects.configs.guess", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nresponse = stainless.projects.configs.guess(project: \"project\", spec: \"spec\")\n\nputs(response)" + }, + "cli": { + "method": "configs guess", + "example": "stl projects:configs guess \\\n --api-key 'My API Key' \\\n --project project \\\n --spec spec" + }, + "php": { + "method": "projects->configs->guess", + "example": "projects->configs->guess(\n project: 'project', spec: 'spec', branch: 'branch'\n);\n\nvar_dump($response);" + }, + "csharp": { + "method": "Projects.Configs.Guess", + "example": "ConfigGuessParams parameters = new()\n{\n Project = \"project\",\n Spec = \"spec\",\n};\n\nvar response = await client.Projects.Configs.Guess(parameters);\n\nConsole.WriteLine(response);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/projects/$PROJECT/configs/guess \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"spec\": \"spec\"\n }'" + } + } }, { - name: 'list', - endpoint: '/v0/builds', - httpMethod: 'get', - summary: 'List project builds', - description: - 'List user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.', - stainlessPath: '(resource) builds > (method) list', - qualified: 'client.builds.list', - params: [ - 'project: string;', - 'branch?: string;', - 'cursor?: string;', - 'limit?: number;', - 'revision?: string | object;', + "name": "list", + "endpoint": "/v0/builds", + "httpMethod": "get", + "summary": "List project builds", + "description": "List user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.", + "stainlessPath": "(resource) builds > (method) list", + "qualified": "client.builds.list", + "params": [ + "project: string;", + "branch?: string;", + "cursor?: string;", + "limit?: number;", + "revision?: string | object;" ], - response: - "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", - markdown: - "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", - perLanguage: { - typescript: { - method: 'client.builds.list', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build.id);\n}", - }, - python: { - method: 'builds.list', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.list(\n project="project",\n)\npage = page.data[0]\nprint(page.id)', - }, - java: { - method: 'builds().list', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildListPage;\nimport com.stainless.api.models.builds.BuildListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BuildListPage page = client.builds().list();\n }\n}', - }, - kotlin: { - method: 'builds().list', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\nimport com.configure_me_stainless_v0.api.models.builds.BuildListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BuildListPage = client.builds().list()\n}', - }, - go: { - method: 'client.Builds.List', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', - }, - ruby: { - method: 'builds.list', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.builds.list(project: "project")\n\nputs(page)', - }, - cli: { - method: 'builds list', - example: "stl builds list \\\n --api-key 'My API Key' \\\n --project project", - }, - php: { - method: 'builds->list', - example: - "builds->list(\n project: 'project',\n branch: 'branch',\n cursor: 'cursor',\n limit: 1,\n revision: 'string',\n);\n\nvar_dump($page);", - }, - csharp: { - method: 'Builds.List', - example: - 'BuildListParams parameters = new() { Project = "project" };\n\nvar page = await client.Builds.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', - }, - http: { - example: - 'curl https://api.stainless.com/v0/builds \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "response": "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + "markdown": "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", + "perLanguage": { + "typescript": { + "method": "client.builds.list", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build.id);\n}" + }, + "python": { + "method": "builds.list", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\npage = client.builds.list(\n project=\"project\",\n)\npage = page.data[0]\nprint(page.id)" + }, + "java": { + "method": "builds().list", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildListPage;\nimport com.stainless.api.models.builds.BuildListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n BuildListPage page = client.builds().list();\n }\n}" + }, + "kotlin": { + "method": "builds().list", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\nimport com.configure_me_stainless_v0.api.models.builds.BuildListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val page: BuildListPage = client.builds().list()\n}" + }, + "go": { + "method": "client.Builds.List", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" + }, + "ruby": { + "method": "builds.list", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\npage = stainless.builds.list(project: \"project\")\n\nputs(page)" + }, + "cli": { + "method": "builds list", + "example": "stl builds list \\\n --api-key 'My API Key' \\\n --project project" + }, + "php": { + "method": "builds->list", + "example": "builds->list(\n project: 'project',\n branch: 'branch',\n cursor: 'cursor',\n limit: 1,\n revision: 'string',\n);\n\nvar_dump($page);" + }, + "csharp": { + "method": "Builds.List", + "example": "BuildListParams parameters = new() { Project = \"project\" };\n\nvar page = await client.Builds.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}" + }, + "http": { + "example": "curl https://api.stainless.com/v0/builds \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'create', - endpoint: '/v0/builds', - httpMethod: 'post', - summary: 'Create build', - description: - 'Create a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.', - stainlessPath: '(resource) builds > (method) create', - qualified: 'client.builds.create', - params: [ - 'project: string;', - 'revision: string | object;', - 'allow_empty?: boolean;', - 'branch?: string;', - 'commit_message?: string;', - 'enable_ai_commit_message?: boolean;', - 'target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; };', - 'targets?: string[];', + "name": "create", + "endpoint": "/v0/builds", + "httpMethod": "post", + "summary": "Create build", + "description": "Create a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.", + "stainlessPath": "(resource) builds > (method) create", + "qualified": "client.builds.create", + "params": [ + "project: string;", + "revision: string | object;", + "allow_empty?: boolean;", + "branch?: string;", + "commit_message?: string;", + "enable_ai_commit_message?: boolean;", + "target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; };", + "targets?: string[];" ], - response: - "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", - markdown: - "## create\n\n`client.builds.create(project: string, revision: string | object, allow_empty?: boolean, branch?: string, commit_message?: string, enable_ai_commit_message?: boolean, target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }, targets?: string[]): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**post** `/v0/builds`\n\nCreate a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `revision: string | object`\n Specifies what to build: a branch name, commit SHA, merge command\n(\"base..head\"), or file contents.\n\n- `allow_empty?: boolean`\n Whether to allow empty commits (no changes). Defaults to false.\n\n- `branch?: string`\n The project branch to use for the build. If not specified, the\nbranch is inferred from the `revision`, and will 400 when that\nis not possible.\n\n- `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `enable_ai_commit_message?: boolean`\n Whether to generate AI-powered commit messages for the build.\nCannot be combined with `commit_message` or `target_commit_messages`.\n\n- `target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }`\n Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.\n - `cli?: string`\n - `csharp?: string`\n - `go?: string`\n - `java?: string`\n - `kotlin?: string`\n - `node?: string`\n - `openapi?: string`\n - `php?: string`\n - `python?: string`\n - `ruby?: string`\n - `sql?: string`\n - `terraform?: string`\n - `typescript?: string`\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build);\n```", - perLanguage: { - typescript: { - method: 'client.builds.create', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build.id);", - }, - python: { - method: 'builds.create', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.create(\n project="project",\n revision="string",\n)\nprint(build.id)', - }, - java: { - method: 'builds().create', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCreateParams params = BuildCreateParams.builder()\n .project("project")\n .revision("string")\n .build();\n Build build = client.builds().create(params);\n }\n}', - }, - kotlin: { - method: 'builds().create', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCreateParams = BuildCreateParams.builder()\n .project("project")\n .revision("string")\n .build()\n val build: Build = client.builds().create(params)\n}', - }, - go: { - method: 'client.Builds.New', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("project"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("string"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', - }, - ruby: { - method: 'builds.create', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.create(project: "project", revision: "string")\n\nputs(build)', - }, - cli: { - method: 'builds create', - example: - "stl builds create \\\n --api-key 'My API Key' \\\n --project project \\\n --revision string", - }, - php: { - method: 'builds->create', - example: - "builds->create(\n project: 'project',\n revision: 'string',\n allowEmpty: true,\n branch: 'branch',\n commitMessage: 'commit_message',\n enableAICommitMessage: true,\n targetCommitMessages: [\n 'cli' => 'cli',\n 'csharp' => 'csharp',\n 'go' => 'go',\n 'java' => 'java',\n 'kotlin' => 'kotlin',\n 'node' => 'node',\n 'openAPI' => 'openapi',\n 'php' => 'php',\n 'python' => 'python',\n 'ruby' => 'ruby',\n 'sql' => 'sql',\n 'terraform' => 'terraform',\n 'typescript' => 'typescript',\n ],\n targets: [Target::NODE],\n);\n\nvar_dump($build);", - }, - csharp: { - method: 'Builds.Create', - example: - 'BuildCreateParams parameters = new()\n{\n Project = "project",\n Revision = "string",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/builds \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "project": "project",\n "revision": "string"\n }\'', - }, - }, + "response": "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + "markdown": "## create\n\n`client.builds.create(project: string, revision: string | object, allow_empty?: boolean, branch?: string, commit_message?: string, enable_ai_commit_message?: boolean, target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }, targets?: string[]): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**post** `/v0/builds`\n\nCreate a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `revision: string | object`\n Specifies what to build: a branch name, commit SHA, merge command\n(\"base..head\"), or file contents.\n\n- `allow_empty?: boolean`\n Whether to allow empty commits (no changes). Defaults to false.\n\n- `branch?: string`\n The project branch to use for the build. If not specified, the\nbranch is inferred from the `revision`, and will 400 when that\nis not possible.\n\n- `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `enable_ai_commit_message?: boolean`\n Whether to generate AI-powered commit messages for the build.\nCannot be combined with `commit_message` or `target_commit_messages`.\n\n- `target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }`\n Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.\n - `cli?: string`\n - `csharp?: string`\n - `go?: string`\n - `java?: string`\n - `kotlin?: string`\n - `node?: string`\n - `openapi?: string`\n - `php?: string`\n - `python?: string`\n - `ruby?: string`\n - `sql?: string`\n - `terraform?: string`\n - `typescript?: string`\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build);\n```", + "perLanguage": { + "typescript": { + "method": "client.builds.create", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build.id);" + }, + "python": { + "method": "builds.create", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nbuild = client.builds.create(\n project=\"project\",\n revision=\"string\",\n)\nprint(build.id)" + }, + "java": { + "method": "builds().create", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCreateParams params = BuildCreateParams.builder()\n .project(\"project\")\n .revision(\"string\")\n .build();\n Build build = client.builds().create(params);\n }\n}" + }, + "kotlin": { + "method": "builds().create", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"project\")\n .revision(\"string\")\n .build()\n val build: Build = client.builds().create(params)\n}" + }, + "go": { + "method": "client.Builds.New", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String(\"project\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"string\"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", build.ID)\n}\n" + }, + "ruby": { + "method": "builds.create", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nbuild = stainless.builds.create(project: \"project\", revision: \"string\")\n\nputs(build)" + }, + "cli": { + "method": "builds create", + "example": "stl builds create \\\n --api-key 'My API Key' \\\n --project project \\\n --revision string" + }, + "php": { + "method": "builds->create", + "example": "builds->create(\n project: 'project',\n revision: 'string',\n allowEmpty: true,\n branch: 'branch',\n commitMessage: 'commit_message',\n enableAICommitMessage: true,\n targetCommitMessages: [\n 'cli' => 'cli',\n 'csharp' => 'csharp',\n 'go' => 'go',\n 'java' => 'java',\n 'kotlin' => 'kotlin',\n 'node' => 'node',\n 'openAPI' => 'openapi',\n 'php' => 'php',\n 'python' => 'python',\n 'ruby' => 'ruby',\n 'sql' => 'sql',\n 'terraform' => 'terraform',\n 'typescript' => 'typescript',\n ],\n targets: [Target::NODE],\n);\n\nvar_dump($build);" + }, + "csharp": { + "method": "Builds.Create", + "example": "BuildCreateParams parameters = new()\n{\n Project = \"project\",\n Revision = \"string\",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/builds \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"project\": \"project\",\n \"revision\": \"string\"\n }'" + } + } }, { - name: 'retrieve', - endpoint: '/v0/builds/{buildId}', - httpMethod: 'get', - summary: 'Retrieve build', - description: 'Retrieve a build by its ID.', - stainlessPath: '(resource) builds > (method) retrieve', - qualified: 'client.builds.retrieve', - params: ['buildId: string;'], - response: - "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", - markdown: - "## retrieve\n\n`client.builds.retrieve(buildId: string): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds/{buildId}`\n\nRetrieve a build by its ID.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build);\n```", - perLanguage: { - typescript: { - method: 'client.builds.retrieve', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build.id);", - }, - python: { - method: 'builds.retrieve', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.retrieve(\n "buildId",\n)\nprint(build.id)', - }, - java: { - method: 'builds().retrieve', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Build build = client.builds().retrieve("buildId");\n }\n}', - }, - kotlin: { - method: 'builds().retrieve', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val build: Build = client.builds().retrieve("buildId")\n}', - }, - go: { - method: 'client.Builds.Get', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.Get(context.TODO(), "buildId")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', - }, - ruby: { - method: 'builds.retrieve', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.retrieve("buildId")\n\nputs(build)', - }, - cli: { - method: 'builds retrieve', - example: "stl builds retrieve \\\n --api-key 'My API Key' \\\n --build-id buildId", - }, - php: { - method: 'builds->retrieve', - example: - "builds->retrieve('buildId');\n\nvar_dump($build);", - }, - csharp: { - method: 'Builds.Retrieve', - example: - 'BuildRetrieveParams parameters = new() { BuildID = "buildId" };\n\nvar build = await client.Builds.Retrieve(parameters);\n\nConsole.WriteLine(build);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/builds/$BUILD_ID \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "retrieve", + "endpoint": "/v0/builds/{buildId}", + "httpMethod": "get", + "summary": "Retrieve build", + "description": "Retrieve a build by its ID.", + "stainlessPath": "(resource) builds > (method) retrieve", + "qualified": "client.builds.retrieve", + "params": [ + "buildId: string;" + ], + "response": "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + "markdown": "## retrieve\n\n`client.builds.retrieve(buildId: string): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds/{buildId}`\n\nRetrieve a build by its ID.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build);\n```", + "perLanguage": { + "typescript": { + "method": "client.builds.retrieve", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build.id);" + }, + "python": { + "method": "builds.retrieve", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nbuild = client.builds.retrieve(\n \"buildId\",\n)\nprint(build.id)" + }, + "java": { + "method": "builds().retrieve", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Build build = client.builds().retrieve(\"buildId\");\n }\n}" + }, + "kotlin": { + "method": "builds().retrieve", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val build: Build = client.builds().retrieve(\"buildId\")\n}" + }, + "go": { + "method": "client.Builds.Get", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tbuild, err := client.Builds.Get(context.TODO(), \"buildId\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", build.ID)\n}\n" + }, + "ruby": { + "method": "builds.retrieve", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nbuild = stainless.builds.retrieve(\"buildId\")\n\nputs(build)" + }, + "cli": { + "method": "builds retrieve", + "example": "stl builds retrieve \\\n --api-key 'My API Key' \\\n --build-id buildId" + }, + "php": { + "method": "builds->retrieve", + "example": "builds->retrieve('buildId');\n\nvar_dump($build);" + }, + "csharp": { + "method": "Builds.Retrieve", + "example": "BuildRetrieveParams parameters = new() { BuildID = \"buildId\" };\n\nvar build = await client.Builds.Retrieve(parameters);\n\nConsole.WriteLine(build);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/builds/$BUILD_ID \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'compare', - endpoint: '/v0/builds/compare', - httpMethod: 'post', - summary: 'Creates two comparable builds', - description: - 'Create two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.', - stainlessPath: '(resource) builds > (method) compare', - qualified: 'client.builds.compare', - params: [ - 'base: { branch: string; revision: string | object; commit_message?: string; };', - 'head: { branch: string; revision: string | object; commit_message?: string; };', - 'project: string;', - 'targets?: string[];', + "name": "compare", + "endpoint": "/v0/builds/compare", + "httpMethod": "post", + "summary": "Creates two comparable builds", + "description": "Create two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.", + "stainlessPath": "(resource) builds > (method) compare", + "qualified": "client.builds.compare", + "params": [ + "base: { branch: string; revision: string | object; commit_message?: string; };", + "head: { branch: string; revision: string | object; commit_message?: string; };", + "project: string;", + "targets?: string[];" ], - response: - "{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }", - markdown: - "## compare\n\n`client.builds.compare(base: { branch: string; revision: string | object; commit_message?: string; }, head: { branch: string; revision: string | object; commit_message?: string; }, project: string, targets?: string[]): { base: build; head: build; }`\n\n**post** `/v0/builds/compare`\n\nCreate two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.\n\n### Parameters\n\n- `base: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the base build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `head: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the head build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `project: string`\n Project name\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }`\n\n - `base: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `head: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response);\n```", - perLanguage: { - typescript: { - method: 'client.builds.compare', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response.base);", - }, - python: { - method: 'builds.compare', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.builds.compare(\n base={\n "branch": "branch",\n "revision": "string",\n },\n head={\n "branch": "branch",\n "revision": "string",\n },\n project="project",\n)\nprint(response.base)', - }, - java: { - method: 'builds().compare', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildCompareParams;\nimport com.stainless.api.models.builds.BuildCompareResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCompareParams params = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch("branch")\n .revision("string")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch("branch")\n .revision("string")\n .build())\n .project("project")\n .build();\n BuildCompareResponse response = client.builds().compare(params);\n }\n}', - }, - kotlin: { - method: 'builds().compare', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareParams\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCompareParams = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch("branch")\n .revision("string")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch("branch")\n .revision("string")\n .build())\n .project("project")\n .build()\n val response: BuildCompareResponse = client.builds().compare(params)\n}', - }, - go: { - method: 'client.Builds.Compare', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Builds.Compare(context.TODO(), stainless.BuildCompareParams{\n\t\tBase: stainless.BuildCompareParamsBase{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsBaseRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tHead: stainless.BuildCompareParamsHead{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsHeadRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.Base)\n}\n', - }, - ruby: { - method: 'builds.compare', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.builds.compare(\n base: {branch: "branch", revision: "string"},\n head: {branch: "branch", revision: "string"},\n project: "project"\n)\n\nputs(response)', - }, - cli: { - method: 'builds compare', - example: - "stl builds compare \\\n --api-key 'My API Key' \\\n --base '{branch: branch, revision: string}' \\\n --head '{branch: branch, revision: string}' \\\n --project project", - }, - php: { - method: 'builds->compare', - example: - "builds->compare(\n base: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n head: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n project: 'project',\n targets: [Target::NODE],\n);\n\nvar_dump($response);", - }, - csharp: { - method: 'Builds.Compare', - example: - 'BuildCompareParams parameters = new()\n{\n Base = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Head = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Project = "project",\n};\n\nvar response = await client.Builds.Compare(parameters);\n\nConsole.WriteLine(response);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/builds/compare \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base": {\n "branch": "branch",\n "revision": "string"\n },\n "head": {\n "branch": "branch",\n "revision": "string"\n },\n "project": "project"\n }\'', - }, - }, + "response": "{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }", + "markdown": "## compare\n\n`client.builds.compare(base: { branch: string; revision: string | object; commit_message?: string; }, head: { branch: string; revision: string | object; commit_message?: string; }, project: string, targets?: string[]): { base: build; head: build; }`\n\n**post** `/v0/builds/compare`\n\nCreate two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.\n\n### Parameters\n\n- `base: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the base build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `head: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the head build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `project: string`\n Project name\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }`\n\n - `base: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `head: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response);\n```", + "perLanguage": { + "typescript": { + "method": "client.builds.compare", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response.base);" + }, + "python": { + "method": "builds.compare", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nresponse = client.builds.compare(\n base={\n \"branch\": \"branch\",\n \"revision\": \"string\",\n },\n head={\n \"branch\": \"branch\",\n \"revision\": \"string\",\n },\n project=\"project\",\n)\nprint(response.base)" + }, + "java": { + "method": "builds().compare", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildCompareParams;\nimport com.stainless.api.models.builds.BuildCompareResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCompareParams params = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch(\"branch\")\n .revision(\"string\")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch(\"branch\")\n .revision(\"string\")\n .build())\n .project(\"project\")\n .build();\n BuildCompareResponse response = client.builds().compare(params);\n }\n}" + }, + "kotlin": { + "method": "builds().compare", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareParams\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCompareParams = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch(\"branch\")\n .revision(\"string\")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch(\"branch\")\n .revision(\"string\")\n .build())\n .project(\"project\")\n .build()\n val response: BuildCompareResponse = client.builds().compare(params)\n}" + }, + "go": { + "method": "client.Builds.Compare", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Builds.Compare(context.TODO(), stainless.BuildCompareParams{\n\t\tBase: stainless.BuildCompareParamsBase{\n\t\t\tBranch: \"branch\",\n\t\t\tRevision: stainless.BuildCompareParamsBaseRevisionUnion{\n\t\t\t\tOfString: stainless.String(\"string\"),\n\t\t\t},\n\t\t},\n\t\tHead: stainless.BuildCompareParamsHead{\n\t\t\tBranch: \"branch\",\n\t\t\tRevision: stainless.BuildCompareParamsHeadRevisionUnion{\n\t\t\t\tOfString: stainless.String(\"string\"),\n\t\t\t},\n\t\t},\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response.Base)\n}\n" + }, + "ruby": { + "method": "builds.compare", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nresponse = stainless.builds.compare(\n base: {branch: \"branch\", revision: \"string\"},\n head: {branch: \"branch\", revision: \"string\"},\n project: \"project\"\n)\n\nputs(response)" + }, + "cli": { + "method": "builds compare", + "example": "stl builds compare \\\n --api-key 'My API Key' \\\n --base '{branch: branch, revision: string}' \\\n --head '{branch: branch, revision: string}' \\\n --project project" + }, + "php": { + "method": "builds->compare", + "example": "builds->compare(\n base: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n head: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n project: 'project',\n targets: [Target::NODE],\n);\n\nvar_dump($response);" + }, + "csharp": { + "method": "Builds.Compare", + "example": "BuildCompareParams parameters = new()\n{\n Base = new()\n {\n Branch = \"branch\",\n Revision = \"string\",\n CommitMessage = \"commit_message\",\n },\n Head = new()\n {\n Branch = \"branch\",\n Revision = \"string\",\n CommitMessage = \"commit_message\",\n },\n Project = \"project\",\n};\n\nvar response = await client.Builds.Compare(parameters);\n\nConsole.WriteLine(response);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/builds/compare \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"base\": {\n \"branch\": \"branch\",\n \"revision\": \"string\"\n },\n \"head\": {\n \"branch\": \"branch\",\n \"revision\": \"string\"\n },\n \"project\": \"project\"\n }'" + } + } }, { - name: 'list', - endpoint: '/v0/builds/{buildId}/diagnostics', - httpMethod: 'get', - summary: 'Get diagnostics for a build', - description: - 'Get the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.', - stainlessPath: '(resource) builds.diagnostics > (method) list', - qualified: 'client.builds.diagnostics.list', - params: [ - 'buildId: string;', - 'cursor?: string;', - 'limit?: number;', + "name": "list", + "endpoint": "/v0/builds/{buildId}/diagnostics", + "httpMethod": "get", + "summary": "Get diagnostics for a build", + "description": "Get the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.", + "stainlessPath": "(resource) builds.diagnostics > (method) list", + "qualified": "client.builds.diagnostics.list", + "params": [ + "buildId: string;", + "cursor?: string;", + "limit?: number;", "severity?: 'fatal' | 'error' | 'warning' | 'note';", - 'targets?: string;', + "targets?: string;" ], - response: - "{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }", - markdown: - "## list\n\n`client.builds.diagnostics.list(buildId: string, cursor?: string, limit?: number, severity?: 'fatal' | 'error' | 'warning' | 'note', targets?: string): { code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: build_diagnostic_more; config_ref?: string; oas_ref?: string; }`\n\n**get** `/v0/builds/{buildId}/diagnostics`\n\nGet the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of diagnostics to return, defaults to 100 (maximum: 100)\n\n- `severity?: 'fatal' | 'error' | 'warning' | 'note'`\n Includes the given severity and above (fatal > error > warning > note).\n\n- `targets?: string`\n Optional comma-delimited list of language targets to filter diagnostics by\n\n### Returns\n\n- `{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }`\n\n - `code: string`\n - `ignored: boolean`\n - `level: 'fatal' | 'error' | 'warning' | 'note'`\n - `message: string`\n - `more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }`\n - `config_ref?: string`\n - `oas_ref?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic);\n}\n```", - perLanguage: { - typescript: { - method: 'client.builds.diagnostics.list', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic.code);\n}", - }, - python: { - method: 'builds.diagnostics.list', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.diagnostics.list(\n build_id="buildId",\n)\npage = page.data[0]\nprint(page.code)', - }, - java: { - method: 'builds().diagnostics().list', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListPage;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n DiagnosticListPage page = client.builds().diagnostics().list("buildId");\n }\n}', - }, - kotlin: { - method: 'builds().diagnostics().list', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListPage\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: DiagnosticListPage = client.builds().diagnostics().list("buildId")\n}', - }, - go: { - method: 'client.Builds.Diagnostics.List', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.Diagnostics.List(\n\t\tcontext.TODO(),\n\t\t"buildId",\n\t\tstainless.BuildDiagnosticListParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', - }, - ruby: { - method: 'builds.diagnostics.list', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.builds.diagnostics.list("buildId")\n\nputs(page)', - }, - cli: { - method: 'diagnostics list', - example: "stl builds:diagnostics list \\\n --api-key 'My API Key' \\\n --build-id buildId", - }, - php: { - method: 'builds->diagnostics->list', - example: - "builds->diagnostics->list(\n 'buildId', cursor: 'cursor', limit: 1, severity: 'fatal', targets: 'targets'\n);\n\nvar_dump($page);", - }, - csharp: { - method: 'Builds.Diagnostics.List', - example: - 'DiagnosticListParams parameters = new() { BuildID = "buildId" };\n\nvar page = await client.Builds.Diagnostics.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', - }, - http: { - example: - 'curl https://api.stainless.com/v0/builds/$BUILD_ID/diagnostics \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "response": "{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }", + "markdown": "## list\n\n`client.builds.diagnostics.list(buildId: string, cursor?: string, limit?: number, severity?: 'fatal' | 'error' | 'warning' | 'note', targets?: string): { code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: build_diagnostic_more; config_ref?: string; oas_ref?: string; }`\n\n**get** `/v0/builds/{buildId}/diagnostics`\n\nGet the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of diagnostics to return, defaults to 100 (maximum: 100)\n\n- `severity?: 'fatal' | 'error' | 'warning' | 'note'`\n Includes the given severity and above (fatal > error > warning > note).\n\n- `targets?: string`\n Optional comma-delimited list of language targets to filter diagnostics by\n\n### Returns\n\n- `{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }`\n\n - `code: string`\n - `ignored: boolean`\n - `level: 'fatal' | 'error' | 'warning' | 'note'`\n - `message: string`\n - `more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }`\n - `config_ref?: string`\n - `oas_ref?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic);\n}\n```", + "perLanguage": { + "typescript": { + "method": "client.builds.diagnostics.list", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic.code);\n}" + }, + "python": { + "method": "builds.diagnostics.list", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\npage = client.builds.diagnostics.list(\n build_id=\"buildId\",\n)\npage = page.data[0]\nprint(page.code)" + }, + "java": { + "method": "builds().diagnostics().list", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListPage;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n DiagnosticListPage page = client.builds().diagnostics().list(\"buildId\");\n }\n}" + }, + "kotlin": { + "method": "builds().diagnostics().list", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListPage\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: DiagnosticListPage = client.builds().diagnostics().list(\"buildId\")\n}" + }, + "go": { + "method": "client.Builds.Diagnostics.List", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpage, err := client.Builds.Diagnostics.List(\n\t\tcontext.TODO(),\n\t\t\"buildId\",\n\t\tstainless.BuildDiagnosticListParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" + }, + "ruby": { + "method": "builds.diagnostics.list", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\npage = stainless.builds.diagnostics.list(\"buildId\")\n\nputs(page)" + }, + "cli": { + "method": "diagnostics list", + "example": "stl builds:diagnostics list \\\n --api-key 'My API Key' \\\n --build-id buildId" + }, + "php": { + "method": "builds->diagnostics->list", + "example": "builds->diagnostics->list(\n 'buildId', cursor: 'cursor', limit: 1, severity: 'fatal', targets: 'targets'\n);\n\nvar_dump($page);" + }, + "csharp": { + "method": "Builds.Diagnostics.List", + "example": "DiagnosticListParams parameters = new() { BuildID = \"buildId\" };\n\nvar page = await client.Builds.Diagnostics.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}" + }, + "http": { + "example": "curl https://api.stainless.com/v0/builds/$BUILD_ID/diagnostics \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'retrieve', - endpoint: '/v0/build_target_outputs', - httpMethod: 'get', - summary: 'Download build target output', - description: - 'Retrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.', - stainlessPath: '(resource) builds.target_outputs > (method) retrieve', - qualified: 'client.builds.targetOutputs.retrieve', - params: [ - 'build_id: string;', - 'target: string;', - 'type: string;', + "name": "retrieve", + "endpoint": "/v0/build_target_outputs", + "httpMethod": "get", + "summary": "Download build target output", + "description": "Retrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.", + "stainlessPath": "(resource) builds.target_outputs > (method) retrieve", + "qualified": "client.builds.targetOutputs.retrieve", + "params": [ + "build_id: string;", + "target: string;", + "type: string;", "output?: 'url' | 'git';", - 'path?: string;', + "path?: string;" ], - response: - "{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }", - markdown: - "## retrieve\n\n`client.builds.targetOutputs.retrieve(build_id: string, target: string, type: string, output?: 'url' | 'git', path?: string): { output: 'url'; target: target; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: target; type: string; url: string; }`\n\n**get** `/v0/build_target_outputs`\n\nRetrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.\n\n### Parameters\n\n- `build_id: string`\n Build ID\n\n- `target: string`\n SDK language target name\n\n- `type: string`\n\n- `output?: 'url' | 'git'`\n Output format: url (download URL) or git (temporary access token).\n\n- `path?: string`\n The path of the file to get when used with \"type\": \"file\".\n\n### Returns\n\n- `{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);\n```", - perLanguage: { - typescript: { - method: 'client.builds.targetOutputs.retrieve', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);", - }, - python: { - method: 'builds.target_outputs.retrieve', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\ntarget_output = client.builds.target_outputs.retrieve(\n build_id="build_id",\n target="node",\n type="source",\n)\nprint(target_output)', - }, - java: { - method: 'builds().targetOutputs().retrieve', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveParams;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n TargetOutputRetrieveParams params = TargetOutputRetrieveParams.builder()\n .buildId("build_id")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build();\n TargetOutputRetrieveResponse targetOutput = client.builds().targetOutputs().retrieve(params);\n }\n}', - }, - kotlin: { - method: 'builds().targetOutputs().retrieve', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveParams\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: TargetOutputRetrieveParams = TargetOutputRetrieveParams.builder()\n .buildId("build_id")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build()\n val targetOutput: TargetOutputRetrieveResponse = client.builds().targetOutputs().retrieve(params)\n}', - }, - go: { - method: 'client.Builds.TargetOutputs.Get', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\ttargetOutput, err := client.Builds.TargetOutputs.Get(context.TODO(), stainless.BuildTargetOutputGetParams{\n\t\tBuildID: "build_id",\n\t\tTarget: stainless.BuildTargetOutputGetParamsTargetNode,\n\t\tType: stainless.BuildTargetOutputGetParamsTypeSource,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", targetOutput)\n}\n', - }, - ruby: { - method: 'builds.target_outputs.retrieve', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\ntarget_output = stainless.builds.target_outputs.retrieve(build_id: "build_id", target: :node, type: :source)\n\nputs(target_output)', - }, - cli: { - method: 'target_outputs retrieve', - example: - "stl builds:target-outputs retrieve \\\n --api-key 'My API Key' \\\n --build-id build_id \\\n --target node \\\n --type source", - }, - php: { - method: 'builds->targetOutputs->retrieve', - example: - "builds->targetOutputs->retrieve(\n buildID: 'build_id',\n target: 'node',\n type: 'source',\n output: 'url',\n path: 'path',\n);\n\nvar_dump($targetOutput);", - }, - csharp: { - method: 'Builds.TargetOutputs.Retrieve', - example: - 'TargetOutputRetrieveParams parameters = new()\n{\n BuildID = "build_id",\n Target = Target.Node,\n Type = Type.Source,\n};\n\nvar targetOutput = await client.Builds.TargetOutputs.Retrieve(parameters);\n\nConsole.WriteLine(targetOutput);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/build_target_outputs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "response": "{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }", + "markdown": "## retrieve\n\n`client.builds.targetOutputs.retrieve(build_id: string, target: string, type: string, output?: 'url' | 'git', path?: string): { output: 'url'; target: target; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: target; type: string; url: string; }`\n\n**get** `/v0/build_target_outputs`\n\nRetrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.\n\n### Parameters\n\n- `build_id: string`\n Build ID\n\n- `target: string`\n SDK language target name\n\n- `type: string`\n\n- `output?: 'url' | 'git'`\n Output format: url (download URL) or git (temporary access token).\n\n- `path?: string`\n The path of the file to get when used with \"type\": \"file\".\n\n### Returns\n\n- `{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);\n```", + "perLanguage": { + "typescript": { + "method": "client.builds.targetOutputs.retrieve", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);" + }, + "python": { + "method": "builds.target_outputs.retrieve", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\ntarget_output = client.builds.target_outputs.retrieve(\n build_id=\"build_id\",\n target=\"node\",\n type=\"source\",\n)\nprint(target_output)" + }, + "java": { + "method": "builds().targetOutputs().retrieve", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveParams;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n TargetOutputRetrieveParams params = TargetOutputRetrieveParams.builder()\n .buildId(\"build_id\")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build();\n TargetOutputRetrieveResponse targetOutput = client.builds().targetOutputs().retrieve(params);\n }\n}" + }, + "kotlin": { + "method": "builds().targetOutputs().retrieve", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveParams\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: TargetOutputRetrieveParams = TargetOutputRetrieveParams.builder()\n .buildId(\"build_id\")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build()\n val targetOutput: TargetOutputRetrieveResponse = client.builds().targetOutputs().retrieve(params)\n}" + }, + "go": { + "method": "client.Builds.TargetOutputs.Get", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\ttargetOutput, err := client.Builds.TargetOutputs.Get(context.TODO(), stainless.BuildTargetOutputGetParams{\n\t\tBuildID: \"build_id\",\n\t\tTarget: stainless.BuildTargetOutputGetParamsTargetNode,\n\t\tType: stainless.BuildTargetOutputGetParamsTypeSource,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", targetOutput)\n}\n" + }, + "ruby": { + "method": "builds.target_outputs.retrieve", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\ntarget_output = stainless.builds.target_outputs.retrieve(build_id: \"build_id\", target: :node, type: :source)\n\nputs(target_output)" + }, + "cli": { + "method": "target_outputs retrieve", + "example": "stl builds:target-outputs retrieve \\\n --api-key 'My API Key' \\\n --build-id build_id \\\n --target node \\\n --type source" + }, + "php": { + "method": "builds->targetOutputs->retrieve", + "example": "builds->targetOutputs->retrieve(\n buildID: 'build_id',\n target: 'node',\n type: 'source',\n output: 'url',\n path: 'path',\n);\n\nvar_dump($targetOutput);" + }, + "csharp": { + "method": "Builds.TargetOutputs.Retrieve", + "example": "TargetOutputRetrieveParams parameters = new()\n{\n BuildID = \"build_id\",\n Target = Target.Node,\n Type = Type.Source,\n};\n\nvar targetOutput = await client.Builds.TargetOutputs.Retrieve(parameters);\n\nConsole.WriteLine(targetOutput);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/build_target_outputs \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'list', - endpoint: '/v0/orgs', - httpMethod: 'get', - summary: 'List organizations', - description: 'List organizations accessible to the current authentication method.', - stainlessPath: '(resource) orgs > (method) list', - qualified: 'client.orgs.list', - response: - "{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }", - markdown: - "## list\n\n`client.orgs.list(): { data: org[]; has_more: boolean; next_cursor?: string; }`\n\n**get** `/v0/orgs`\n\nList organizations accessible to the current authentication method.\n\n### Returns\n\n- `{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }`\n\n - `data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]`\n - `has_more: boolean`\n - `next_cursor?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs);\n```", - perLanguage: { - typescript: { - method: 'client.orgs.list', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs.data);", - }, - python: { - method: 'orgs.list', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norgs = client.orgs.list()\nprint(orgs.data)', - }, - java: { - method: 'orgs().list', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.OrgListParams;\nimport com.stainless.api.models.orgs.OrgListResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n OrgListResponse orgs = client.orgs().list();\n }\n}', - }, - kotlin: { - method: 'orgs().list', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListParams\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val orgs: OrgListResponse = client.orgs().list()\n}', - }, - go: { - method: 'client.Orgs.List', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torgs, err := client.Orgs.List(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", orgs.Data)\n}\n', - }, - ruby: { - method: 'orgs.list', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\norgs = stainless.orgs.list\n\nputs(orgs)', - }, - cli: { - method: 'orgs list', - example: "stl orgs list \\\n --api-key 'My API Key'", - }, - php: { - method: 'orgs->list', - example: - "orgs->list();\n\nvar_dump($orgs);", - }, - csharp: { - method: 'Orgs.List', - example: - 'OrgListParams parameters = new();\n\nvar orgs = await client.Orgs.List(parameters);\n\nConsole.WriteLine(orgs);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/orgs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "list", + "endpoint": "/v0/orgs", + "httpMethod": "get", + "summary": "List organizations", + "description": "List organizations accessible to the current authentication method.", + "stainlessPath": "(resource) orgs > (method) list", + "qualified": "client.orgs.list", + "response": "{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }", + "markdown": "## list\n\n`client.orgs.list(): { data: org[]; has_more: boolean; next_cursor?: string; }`\n\n**get** `/v0/orgs`\n\nList organizations accessible to the current authentication method.\n\n### Returns\n\n- `{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }`\n\n - `data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]`\n - `has_more: boolean`\n - `next_cursor?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs);\n```", + "perLanguage": { + "typescript": { + "method": "client.orgs.list", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs.data);" + }, + "python": { + "method": "orgs.list", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\norgs = client.orgs.list()\nprint(orgs.data)" + }, + "java": { + "method": "orgs().list", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.OrgListParams;\nimport com.stainless.api.models.orgs.OrgListResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n OrgListResponse orgs = client.orgs().list();\n }\n}" + }, + "kotlin": { + "method": "orgs().list", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListParams\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val orgs: OrgListResponse = client.orgs().list()\n}" + }, + "go": { + "method": "client.Orgs.List", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\torgs, err := client.Orgs.List(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", orgs.Data)\n}\n" + }, + "ruby": { + "method": "orgs.list", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\norgs = stainless.orgs.list\n\nputs(orgs)" + }, + "cli": { + "method": "orgs list", + "example": "stl orgs list \\\n --api-key 'My API Key'" + }, + "php": { + "method": "orgs->list", + "example": "orgs->list();\n\nvar_dump($orgs);" + }, + "csharp": { + "method": "Orgs.List", + "example": "OrgListParams parameters = new();\n\nvar orgs = await client.Orgs.List(parameters);\n\nConsole.WriteLine(orgs);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/orgs \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'retrieve', - endpoint: '/v0/orgs/{org}', - httpMethod: 'get', - summary: 'Retrieve an organization', - description: 'Retrieve an organization by name.', - stainlessPath: '(resource) orgs > (method) retrieve', - qualified: 'client.orgs.retrieve', - params: ['org: string;'], - response: "{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }", - markdown: - "## retrieve\n\n`client.orgs.retrieve(org: string): { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n**get** `/v0/orgs/{org}`\n\nRetrieve an organization by name.\n\n### Parameters\n\n- `org: string`\n\n### Returns\n\n- `{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n - `display_name: string`\n - `enable_ai_commit_messages: boolean`\n - `object: 'org'`\n - `slug: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org);\n```", - perLanguage: { - typescript: { - method: 'client.orgs.retrieve', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org.display_name);", - }, - python: { - method: 'orgs.retrieve', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norg = client.orgs.retrieve(\n "org",\n)\nprint(org.display_name)', - }, - java: { - method: 'orgs().retrieve', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.Org;\nimport com.stainless.api.models.orgs.OrgRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Org org = client.orgs().retrieve("org");\n }\n}', - }, - kotlin: { - method: 'orgs().retrieve', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.Org\nimport com.configure_me_stainless_v0.api.models.orgs.OrgRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val org: Org = client.orgs().retrieve("org")\n}', - }, - go: { - method: 'client.Orgs.Get', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torg, err := client.Orgs.Get(context.TODO(), "org")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", org.DisplayName)\n}\n', - }, - ruby: { - method: 'orgs.retrieve', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\norg = stainless.orgs.retrieve("org")\n\nputs(org)', - }, - cli: { - method: 'orgs retrieve', - example: "stl orgs retrieve \\\n --api-key 'My API Key' \\\n --org org", - }, - php: { - method: 'orgs->retrieve', - example: - "orgs->retrieve('org');\n\nvar_dump($org);", - }, - csharp: { - method: 'Orgs.Retrieve', - example: - 'OrgRetrieveParams parameters = new() { Org = "org" };\n\nvar org = await client.Orgs.Retrieve(parameters);\n\nConsole.WriteLine(org);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/orgs/$ORG \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, + "name": "retrieve", + "endpoint": "/v0/orgs/{org}", + "httpMethod": "get", + "summary": "Retrieve an organization", + "description": "Retrieve an organization by name.", + "stainlessPath": "(resource) orgs > (method) retrieve", + "qualified": "client.orgs.retrieve", + "params": [ + "org: string;" + ], + "response": "{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }", + "markdown": "## retrieve\n\n`client.orgs.retrieve(org: string): { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n**get** `/v0/orgs/{org}`\n\nRetrieve an organization by name.\n\n### Parameters\n\n- `org: string`\n\n### Returns\n\n- `{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n - `display_name: string`\n - `enable_ai_commit_messages: boolean`\n - `object: 'org'`\n - `slug: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org);\n```", + "perLanguage": { + "typescript": { + "method": "client.orgs.retrieve", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org.display_name);" + }, + "python": { + "method": "orgs.retrieve", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\norg = client.orgs.retrieve(\n \"org\",\n)\nprint(org.display_name)" + }, + "java": { + "method": "orgs().retrieve", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.Org;\nimport com.stainless.api.models.orgs.OrgRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Org org = client.orgs().retrieve(\"org\");\n }\n}" + }, + "kotlin": { + "method": "orgs().retrieve", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.Org\nimport com.configure_me_stainless_v0.api.models.orgs.OrgRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val org: Org = client.orgs().retrieve(\"org\")\n}" + }, + "go": { + "method": "client.Orgs.Get", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\torg, err := client.Orgs.Get(context.TODO(), \"org\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", org.DisplayName)\n}\n" + }, + "ruby": { + "method": "orgs.retrieve", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\norg = stainless.orgs.retrieve(\"org\")\n\nputs(org)" + }, + "cli": { + "method": "orgs retrieve", + "example": "stl orgs retrieve \\\n --api-key 'My API Key' \\\n --org org" + }, + "php": { + "method": "orgs->retrieve", + "example": "orgs->retrieve('org');\n\nvar_dump($org);" + }, + "csharp": { + "method": "Orgs.Retrieve", + "example": "OrgRetrieveParams parameters = new() { Org = \"org\" };\n\nvar org = await client.Orgs.Retrieve(parameters);\n\nConsole.WriteLine(org);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/orgs/$ORG \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } }, { - name: 'retrieve', - endpoint: '/v0/user', - httpMethod: 'get', - summary: 'Retrieve the current user', - description: "Retrieve the currently authenticated user's information.", - stainlessPath: '(resource) user > (method) retrieve', - qualified: 'client.user.retrieve', - response: "{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }", - markdown: - "## retrieve\n\n`client.user.retrieve(): { id: string; email: string; github: object; name: string; object: 'user'; }`\n\n**get** `/v0/user`\n\nRetrieve the currently authenticated user's information.\n\n### Returns\n\n- `{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }`\n\n - `id: string`\n - `email: string`\n - `github: { username: string; }`\n - `name: string`\n - `object: 'user'`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst user = await client.user.retrieve();\n\nconsole.log(user);\n```", - perLanguage: { - typescript: { - method: 'client.user.retrieve', - example: - "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst user = await client.user.retrieve();\n\nconsole.log(user.id);", - }, - python: { - method: 'user.retrieve', - example: - 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nuser = client.user.retrieve()\nprint(user.id)', - }, - java: { - method: 'user().retrieve', - example: - 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.user.UserRetrieveParams;\nimport com.stainless.api.models.user.UserRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n UserRetrieveResponse user = client.user().retrieve();\n }\n}', - }, - kotlin: { - method: 'user().retrieve', - example: - 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveParams\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val user: UserRetrieveResponse = client.user().retrieve()\n}', - }, - go: { - method: 'client.User.Get', - example: - 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tuser, err := client.User.Get(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", user.ID)\n}\n', - }, - ruby: { - method: 'user.retrieve', - example: - 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nuser = stainless.user.retrieve\n\nputs(user)', - }, - cli: { - method: 'user retrieve', - example: "stl user retrieve \\\n --api-key 'My API Key'", - }, - php: { - method: 'user->retrieve', - example: - "user->retrieve();\n\nvar_dump($user);", - }, - csharp: { - method: 'User.Retrieve', - example: - 'UserRetrieveParams parameters = new();\n\nvar user = await client.User.Retrieve(parameters);\n\nConsole.WriteLine(user);', - }, - http: { - example: - 'curl https://api.stainless.com/v0/user \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', - }, - }, - }, + "name": "retrieve", + "endpoint": "/v0/user", + "httpMethod": "get", + "summary": "Retrieve the current user", + "description": "Retrieve the currently authenticated user's information.", + "stainlessPath": "(resource) user > (method) retrieve", + "qualified": "client.user.retrieve", + "response": "{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }", + "markdown": "## retrieve\n\n`client.user.retrieve(): { id: string; email: string; github: object; name: string; object: 'user'; }`\n\n**get** `/v0/user`\n\nRetrieve the currently authenticated user's information.\n\n### Returns\n\n- `{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }`\n\n - `id: string`\n - `email: string`\n - `github: { username: string; }`\n - `name: string`\n - `object: 'user'`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst user = await client.user.retrieve();\n\nconsole.log(user);\n```", + "perLanguage": { + "typescript": { + "method": "client.user.retrieve", + "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst user = await client.user.retrieve();\n\nconsole.log(user.id);" + }, + "python": { + "method": "user.retrieve", + "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nuser = client.user.retrieve()\nprint(user.id)" + }, + "java": { + "method": "user().retrieve", + "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.user.UserRetrieveParams;\nimport com.stainless.api.models.user.UserRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n UserRetrieveResponse user = client.user().retrieve();\n }\n}" + }, + "kotlin": { + "method": "user().retrieve", + "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveParams\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val user: UserRetrieveResponse = client.user().retrieve()\n}" + }, + "go": { + "method": "client.User.Get", + "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tuser, err := client.User.Get(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", user.ID)\n}\n" + }, + "ruby": { + "method": "user.retrieve", + "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nuser = stainless.user.retrieve\n\nputs(user)" + }, + "cli": { + "method": "user retrieve", + "example": "stl user retrieve \\\n --api-key 'My API Key'" + }, + "php": { + "method": "user->retrieve", + "example": "user->retrieve();\n\nvar_dump($user);" + }, + "csharp": { + "method": "User.Retrieve", + "example": "UserRetrieveParams parameters = new();\n\nvar user = await client.User.Retrieve(parameters);\n\nConsole.WriteLine(user);" + }, + "http": { + "example": "curl https://api.stainless.com/v0/user \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" + } + } + } ]; const EMBEDDED_READMES: { language: string; content: string }[] = [ { - language: 'cli', - content: - "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n\n## Linking different Go SDK versions\n\nYou can link the CLI against a different version of the Stainless Go SDK\nfor development purposes using the `./scripts/link` script.\n\nTo link to a specific version from a repository (version can be a branch,\ngit tag, or commit hash):\n\n~~~bash\n./scripts/link github.com/org/repo@version\n~~~\n\nTo link to a local copy of the SDK:\n\n~~~bash\n./scripts/link ../path/to/stainless-go\n~~~\n\nIf you run the link script without any arguments, it will default to `../stainless-go`.\n", + "language": "cli", + "content": "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n\n## Linking different Go SDK versions\n\nYou can link the CLI against a different version of the Stainless Go SDK\nfor development purposes using the `./scripts/link` script.\n\nTo link to a specific version from a repository (version can be a branch,\ngit tag, or commit hash):\n\n~~~bash\n./scripts/link github.com/org/repo@version\n~~~\n\nTo link to a local copy of the SDK:\n\n~~~bash\n./scripts/link ../path/to/stainless-go\n~~~\n\nIf you run the link script without any arguments, it will default to `../stainless-go`.\n" }, { - language: 'csharp', - content: - '# Stainless C# API Library\n\nThe Stainless C# SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in C#.\n\n## Installation\n\n```bash\ngit clone git@github.com:stainless-sdks/stainless-v0-csharp.git\ndotnet add reference stainless-v0-csharp/src/StainlessV0\n```\n\n## Requirements\n\nThis library requires .NET Standard 2.0 or later.\n\n## Usage\n\nSee the [`examples`](examples) directory for complete and runnable examples.\n\n```csharp\nStainlessClient client = new();\n\nBuildCreateParams parameters = new()\n{\n Project = "stainless",\n Revision = "main",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);\n```', + "language": "csharp", + "content": "# Stainless C# API Library\n\nThe Stainless C# SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in C#.\n\n## Installation\n\n```bash\ngit clone git@github.com:stainless-sdks/stainless-v0-csharp.git\ndotnet add reference stainless-v0-csharp/src/StainlessV0\n```\n\n## Requirements\n\nThis library requires .NET Standard 2.0 or later.\n\n## Usage\n\nSee the [`examples`](examples) directory for complete and runnable examples.\n\n```csharp\nStainlessClient client = new();\n\nBuildCreateParams parameters = new()\n{\n Project = \"stainless\",\n Revision = \"main\",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);\n```" }, { - language: 'go', - content: - '# Stainless Go API Library\n\nGo Reference\n\nThe Stainless Go library provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli)\nfrom applications written in Go.\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n\n\n```go\nimport (\n\t"github.com/stainless-api/stainless-api-go" // imported as SDK_PackageName\n)\n```\n\n\n\nOr to pin the version:\n\n\n\n```sh\ngo get -u \'github.com/stainless-api/stainless-api-go@v0.0.1\'\n```\n\n\n\n## Requirements\n\nThis library requires Go 1.22+.\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```go\npackage main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"), // defaults to os.LookupEnv("STAINLESS_API_KEY")\n\t\toption.WithEnvironmentStaging(), // defaults to option.WithEnvironmentProduction()\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n\n```\n\n### Request fields\n\nAll request parameters are wrapped in a generic `Field` type,\nwhich we use to distinguish zero values from null or omitted fields.\n\nThis prevents accidentally sending a zero value if you forget a required parameter,\nand enables explicitly sending `null`, `false`, `\'\'`, or `0` on optional parameters.\nAny field not specified is not sent.\n\nTo construct fields with values, use the helpers `String()`, `Int()`, `Float()`, or most commonly, the generic `F[T]()`.\nTo send a null, use `Null[T]()`, and to send a nonconforming value, use `Raw[T](any)`. For example:\n\n```go\nparams := FooParams{\n\tName: SDK_PackageName.F("hello"),\n\n\t// Explicitly send `"description": null`\n\tDescription: SDK_PackageName.Null[string](),\n\n\tPoint: SDK_PackageName.F(SDK_PackageName.Point{\n\t\tX: SDK_PackageName.Int(0),\n\t\tY: SDK_PackageName.Int(1),\n\n\t\t// In cases where the API specifies a given type,\n\t\t// but you want to send something else, use `Raw`:\n\t\tZ: SDK_PackageName.Raw[int64](0.01), // sends a float\n\t}),\n}\n```\n\n### Response objects\n\nAll fields in response structs are value types (not pointers or wrappers).\n\nIf a given field is `null`, not present, or invalid, the corresponding field\nwill simply be its zero value.\n\nAll response structs also include a special `JSON` field, containing more detailed\ninformation about each property, which you can use like so:\n\n```go\nif res.Name == "" {\n\t// true if `"name"` is either not present or explicitly null\n\tres.JSON.Name.IsNull()\n\n\t// true if the `"name"` key was not present in the response JSON at all\n\tres.JSON.Name.IsMissing()\n\n\t// When the API returns data that cannot be coerced to the expected type:\n\tif res.JSON.Name.IsInvalid() {\n\t\traw := res.JSON.Name.Raw()\n\n\t\tlegacyName := struct{\n\t\t\tFirst string `json:"first"`\n\t\t\tLast string `json:"last"`\n\t\t}{}\n\t\tjson.Unmarshal([]byte(raw), &legacyName)\n\t\tname = legacyName.First + " " + legacyName.Last\n\t}\n}\n```\n\nThese `.JSON` structs also include an `Extras` map containing\nany properties in the json response that were not specified\nin the struct. This can be useful for API features not yet\npresent in the SDK.\n\n```go\nbody := res.JSON.ExtraFields["my_unexpected_field"].Raw()\n```\n\n### RequestOptions\n\nThis library uses the functional options pattern. Functions defined in the\n`SDK_PackageOptionName` package return a `RequestOption`, which is a closure that mutates a\n`RequestConfig`. These options can be supplied to the client or at individual\nrequests. For example:\n\n```go\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\t// Adds a header to every request made by the client\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "custom_header_info"),\n)\n\nclient.Builds.New(context.TODO(), ...,\n\t// Override the header\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "some_other_custom_header_info"),\n\t// Add an undocumented field to the request body, using sjson syntax\n\tSDK_PackageOptionName.WithJSONSet("some.json.path", map[string]string{"my": "object"}),\n)\n```\n\nSee the [full list of request options](https://pkg.go.dev/github.com/stainless-api/stainless-api-go/SDK_PackageOptionName).\n\n### Pagination\n\nThis library provides some conveniences for working with paginated list endpoints.\n\nYou can use `.ListAutoPaging()` methods to iterate through items across all pages:\n\n```go\niter := client.Builds.ListAutoPaging(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\n// Automatically fetches more pages as needed.\nfor iter.Next() {\n\tbuild := iter.Current()\n\tfmt.Printf("%+v\\n", build)\n}\nif err := iter.Err(); err != nil {\n\tpanic(err.Error())\n}\n```\n\nOr you can use simple `.List()` methods to fetch a single page and receive a standard response object\nwith additional helper methods like `.GetNextPage()`, e.g.:\n\n```go\npage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\nfor page != nil {\n\tfor _, build := range page.Data {\n\t\tfmt.Printf("%+v\\n", build)\n\t}\n\tpage, err = page.GetNextPage()\n}\nif err != nil {\n\tpanic(err.Error())\n}\n```\n\n### Errors\n\nWhen the API returns a non-success status code, we return an error with type\n`*SDK_PackageName.Error`. This contains the `StatusCode`, `*http.Request`, and\n`*http.Response` values of the request, as well as the JSON of the error body\n(much like other response objects in the SDK).\n\nTo handle errors, we recommend that you use the `errors.As` pattern:\n\n```go\n_, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\tProject: stainless.String("stainless"),\n\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\tOfString: stainless.String("main"),\n\t},\n})\nif err != nil {\n\tvar apierr *stainless.Error\n\tif errors.As(err, &apierr) {\n\t\tprintln(string(apierr.DumpRequest(true))) // Prints the serialized HTTP request\n\t\tprintln(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response\n\t}\n\tpanic(err.Error()) // GET "/v0/builds": 400 Bad Request { ... }\n}\n```\n\nWhen other errors occur, they are returned unwrapped; for example,\nif HTTP transport fails, you might receive `*url.Error` wrapping `*net.OpError`.\n\n### Timeouts\n\nRequests do not time out by default; use context to configure a timeout for a request lifecycle.\n\nNote that if a request is [retried](#retries), the context timeout does not start over.\nTo set a per-retry timeout, use `SDK_PackageOptionName.WithRequestTimeout()`.\n\n```go\n// This sets the timeout for the request, including all the retries.\nctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)\ndefer cancel()\nclient.Builds.New(\n\tctx,\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\t// This sets the per-retry timeout\n\toption.WithRequestTimeout(20*time.Second),\n)\n```\n\n### File uploads\n\nRequest parameters that correspond to file uploads in multipart requests are typed as\n`param.Field[io.Reader]`. The contents of the `io.Reader` will by default be sent as a multipart form\npart with the file name of "anonymous_file" and content-type of "application/octet-stream".\n\nThe file name and content-type can be customized by implementing `Name() string` or `ContentType()\nstring` on the run-time type of `io.Reader`. Note that `os.File` implements `Name() string`, so a\nfile returned by `os.Open` will be sent with the file name on disk.\n\nWe also provide a helper `SDK_PackageName.FileParam(reader io.Reader, filename string, contentType string)`\nwhich can be used to wrap any `io.Reader` with the appropriate file name and content type.\n\n\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nWe retry by default all connection errors, 408 Request Timeout, 409 Conflict, 429 Rate Limit,\nand >=500 Internal errors.\n\nYou can use the `WithMaxRetries` option to configure or disable this:\n\n```go\n// Configure the default for all requests:\nclient := stainless.NewClient(\n\toption.WithMaxRetries(0), // default is 2\n)\n\n// Override per-request:\nclient.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithMaxRetries(5),\n)\n```\n\n\n### Accessing raw response data (e.g. response headers)\n\nYou can access the raw HTTP response data by using the `option.WithResponseInto()` request option. This is useful when\nyou need to examine response headers, status codes, or other details.\n\n```go\n// Create a variable to store the HTTP response\nvar response *http.Response\nbuild, err := client.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithResponseInto(&response),\n)\nif err != nil {\n\t// handle error\n}\nfmt.Printf("%+v\\n", build)\n\nfmt.Printf("Status Code: %d\\n", response.StatusCode)\nfmt.Printf("Headers: %+#v\\n", response.Header)\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.Get`, `client.Post`, and other HTTP verbs.\n`RequestOptions` on the client, such as retries, will be respected when making these requests.\n\n```go\nvar (\n // params can be an io.Reader, a []byte, an encoding/json serializable object,\n // or a "…Params" struct defined in this library.\n params map[string]interface{}\n\n // result can be an []byte, *http.Response, a encoding/json deserializable object,\n // or a model defined in this library.\n result *http.Response\n)\nerr := client.Post(context.Background(), "/unspecified", params, &result)\nif err != nil {\n …\n}\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use either the `SDK_PackageOptionName.WithQuerySet()`\nor the `SDK_PackageOptionName.WithJSONSet()` methods.\n\n```go\nparams := FooNewParams{\n ID: SDK_PackageName.F("id_xxxx"),\n Data: SDK_PackageName.F(FooNewParamsData{\n FirstName: SDK_PackageName.F("John"),\n }),\n}\nclient.Foo.New(context.Background(), params, SDK_PackageOptionName.WithJSONSet("data.last_name", "Doe"))\n```\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may either access the raw JSON of the response as a string\nwith `result.JSON.RawJSON()`, or get the raw JSON of a particular field on the result with\n`result.JSON.Foo.Raw()`.\n\nAny fields that are not present on the response struct will be saved and can be accessed by `result.JSON.ExtraFields()` which returns the extra fields as a `map[string]Field`.\n\n### Middleware\n\nWe provide `SDK_PackageOptionName.WithMiddleware` which applies the given\nmiddleware to requests.\n\n```go\nfunc Logger(req *http.Request, next SDK_PackageOptionName.MiddlewareNext) (res *http.Response, err error) {\n\t// Before the request\n\tstart := time.Now()\n\tLogReq(req)\n\n\t// Forward the request to the next handler\n\tres, err = next(req)\n\n\t// Handle stuff after the request\n\tend := time.Now()\n\tLogRes(res, err, start - end)\n\n return res, err\n}\n\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\tSDK_PackageOptionName.WithMiddleware(Logger),\n)\n```\n\nWhen multiple middlewares are provided as variadic arguments, the middlewares\nare applied left to right. If `SDK_PackageOptionName.WithMiddleware` is given\nmultiple times, for example first in the client then the method, the\nmiddleware in the client will run first and the middleware given in the method\nwill run next.\n\nYou may also replace the default `http.Client` with\n`SDK_PackageOptionName.WithHTTPClient(client)`. Only one http client is\naccepted (this overwrites any previous client) and receives requests after any\nmiddleware has been applied.\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-go/issues) with questions, bugs, or suggestions.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', + "language": "go", + "content": "# Stainless Go API Library\n\n\"Go\n\nThe Stainless Go library provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli)\nfrom applications written in Go.\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n\n\n```go\nimport (\n\t\"github.com/stainless-api/stainless-api-go\" // imported as SDK_PackageName\n)\n```\n\n\n\nOr to pin the version:\n\n\n\n```sh\ngo get -u 'github.com/stainless-api/stainless-api-go@v0.0.1'\n```\n\n\n\n## Requirements\n\nThis library requires Go 1.22+.\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"), // defaults to os.LookupEnv(\"STAINLESS_API_KEY\")\n\t\toption.WithEnvironmentStaging(), // defaults to option.WithEnvironmentProduction()\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String(\"stainless\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"main\"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", build.ID)\n}\n\n```\n\n### Request fields\n\nAll request parameters are wrapped in a generic `Field` type,\nwhich we use to distinguish zero values from null or omitted fields.\n\nThis prevents accidentally sending a zero value if you forget a required parameter,\nand enables explicitly sending `null`, `false`, `''`, or `0` on optional parameters.\nAny field not specified is not sent.\n\nTo construct fields with values, use the helpers `String()`, `Int()`, `Float()`, or most commonly, the generic `F[T]()`.\nTo send a null, use `Null[T]()`, and to send a nonconforming value, use `Raw[T](any)`. For example:\n\n```go\nparams := FooParams{\n\tName: SDK_PackageName.F(\"hello\"),\n\n\t// Explicitly send `\"description\": null`\n\tDescription: SDK_PackageName.Null[string](),\n\n\tPoint: SDK_PackageName.F(SDK_PackageName.Point{\n\t\tX: SDK_PackageName.Int(0),\n\t\tY: SDK_PackageName.Int(1),\n\n\t\t// In cases where the API specifies a given type,\n\t\t// but you want to send something else, use `Raw`:\n\t\tZ: SDK_PackageName.Raw[int64](0.01), // sends a float\n\t}),\n}\n```\n\n### Response objects\n\nAll fields in response structs are value types (not pointers or wrappers).\n\nIf a given field is `null`, not present, or invalid, the corresponding field\nwill simply be its zero value.\n\nAll response structs also include a special `JSON` field, containing more detailed\ninformation about each property, which you can use like so:\n\n```go\nif res.Name == \"\" {\n\t// true if `\"name\"` is either not present or explicitly null\n\tres.JSON.Name.IsNull()\n\n\t// true if the `\"name\"` key was not present in the response JSON at all\n\tres.JSON.Name.IsMissing()\n\n\t// When the API returns data that cannot be coerced to the expected type:\n\tif res.JSON.Name.IsInvalid() {\n\t\traw := res.JSON.Name.Raw()\n\n\t\tlegacyName := struct{\n\t\t\tFirst string `json:\"first\"`\n\t\t\tLast string `json:\"last\"`\n\t\t}{}\n\t\tjson.Unmarshal([]byte(raw), &legacyName)\n\t\tname = legacyName.First + \" \" + legacyName.Last\n\t}\n}\n```\n\nThese `.JSON` structs also include an `Extras` map containing\nany properties in the json response that were not specified\nin the struct. This can be useful for API features not yet\npresent in the SDK.\n\n```go\nbody := res.JSON.ExtraFields[\"my_unexpected_field\"].Raw()\n```\n\n### RequestOptions\n\nThis library uses the functional options pattern. Functions defined in the\n`SDK_PackageOptionName` package return a `RequestOption`, which is a closure that mutates a\n`RequestConfig`. These options can be supplied to the client or at individual\nrequests. For example:\n\n```go\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\t// Adds a header to every request made by the client\n\tSDK_PackageOptionName.WithHeader(\"X-Some-Header\", \"custom_header_info\"),\n)\n\nclient.Builds.New(context.TODO(), ...,\n\t// Override the header\n\tSDK_PackageOptionName.WithHeader(\"X-Some-Header\", \"some_other_custom_header_info\"),\n\t// Add an undocumented field to the request body, using sjson syntax\n\tSDK_PackageOptionName.WithJSONSet(\"some.json.path\", map[string]string{\"my\": \"object\"}),\n)\n```\n\nSee the [full list of request options](https://pkg.go.dev/github.com/stainless-api/stainless-api-go/SDK_PackageOptionName).\n\n### Pagination\n\nThis library provides some conveniences for working with paginated list endpoints.\n\nYou can use `.ListAutoPaging()` methods to iterate through items across all pages:\n\n```go\niter := client.Builds.ListAutoPaging(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String(\"stainless\"),\n})\n// Automatically fetches more pages as needed.\nfor iter.Next() {\n\tbuild := iter.Current()\n\tfmt.Printf(\"%+v\\n\", build)\n}\nif err := iter.Err(); err != nil {\n\tpanic(err.Error())\n}\n```\n\nOr you can use simple `.List()` methods to fetch a single page and receive a standard response object\nwith additional helper methods like `.GetNextPage()`, e.g.:\n\n```go\npage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String(\"stainless\"),\n})\nfor page != nil {\n\tfor _, build := range page.Data {\n\t\tfmt.Printf(\"%+v\\n\", build)\n\t}\n\tpage, err = page.GetNextPage()\n}\nif err != nil {\n\tpanic(err.Error())\n}\n```\n\n### Errors\n\nWhen the API returns a non-success status code, we return an error with type\n`*SDK_PackageName.Error`. This contains the `StatusCode`, `*http.Request`, and\n`*http.Response` values of the request, as well as the JSON of the error body\n(much like other response objects in the SDK).\n\nTo handle errors, we recommend that you use the `errors.As` pattern:\n\n```go\n_, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\tProject: stainless.String(\"stainless\"),\n\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\tOfString: stainless.String(\"main\"),\n\t},\n})\nif err != nil {\n\tvar apierr *stainless.Error\n\tif errors.As(err, &apierr) {\n\t\tprintln(string(apierr.DumpRequest(true))) // Prints the serialized HTTP request\n\t\tprintln(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response\n\t}\n\tpanic(err.Error()) // GET \"/v0/builds\": 400 Bad Request { ... }\n}\n```\n\nWhen other errors occur, they are returned unwrapped; for example,\nif HTTP transport fails, you might receive `*url.Error` wrapping `*net.OpError`.\n\n### Timeouts\n\nRequests do not time out by default; use context to configure a timeout for a request lifecycle.\n\nNote that if a request is [retried](#retries), the context timeout does not start over.\nTo set a per-retry timeout, use `SDK_PackageOptionName.WithRequestTimeout()`.\n\n```go\n// This sets the timeout for the request, including all the retries.\nctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)\ndefer cancel()\nclient.Builds.New(\n\tctx,\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String(\"stainless\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"main\"),\n\t\t},\n\t},\n\t// This sets the per-retry timeout\n\toption.WithRequestTimeout(20*time.Second),\n)\n```\n\n### File uploads\n\nRequest parameters that correspond to file uploads in multipart requests are typed as\n`param.Field[io.Reader]`. The contents of the `io.Reader` will by default be sent as a multipart form\npart with the file name of \"anonymous_file\" and content-type of \"application/octet-stream\".\n\nThe file name and content-type can be customized by implementing `Name() string` or `ContentType()\nstring` on the run-time type of `io.Reader`. Note that `os.File` implements `Name() string`, so a\nfile returned by `os.Open` will be sent with the file name on disk.\n\nWe also provide a helper `SDK_PackageName.FileParam(reader io.Reader, filename string, contentType string)`\nwhich can be used to wrap any `io.Reader` with the appropriate file name and content type.\n\n\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nWe retry by default all connection errors, 408 Request Timeout, 409 Conflict, 429 Rate Limit,\nand >=500 Internal errors.\n\nYou can use the `WithMaxRetries` option to configure or disable this:\n\n```go\n// Configure the default for all requests:\nclient := stainless.NewClient(\n\toption.WithMaxRetries(0), // default is 2\n)\n\n// Override per-request:\nclient.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String(\"stainless\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"main\"),\n\t\t},\n\t},\n\toption.WithMaxRetries(5),\n)\n```\n\n\n### Accessing raw response data (e.g. response headers)\n\nYou can access the raw HTTP response data by using the `option.WithResponseInto()` request option. This is useful when\nyou need to examine response headers, status codes, or other details.\n\n```go\n// Create a variable to store the HTTP response\nvar response *http.Response\nbuild, err := client.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String(\"stainless\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"main\"),\n\t\t},\n\t},\n\toption.WithResponseInto(&response),\n)\nif err != nil {\n\t// handle error\n}\nfmt.Printf(\"%+v\\n\", build)\n\nfmt.Printf(\"Status Code: %d\\n\", response.StatusCode)\nfmt.Printf(\"Headers: %+#v\\n\", response.Header)\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.Get`, `client.Post`, and other HTTP verbs.\n`RequestOptions` on the client, such as retries, will be respected when making these requests.\n\n```go\nvar (\n // params can be an io.Reader, a []byte, an encoding/json serializable object,\n // or a \"…Params\" struct defined in this library.\n params map[string]interface{}\n\n // result can be an []byte, *http.Response, a encoding/json deserializable object,\n // or a model defined in this library.\n result *http.Response\n)\nerr := client.Post(context.Background(), \"/unspecified\", params, &result)\nif err != nil {\n …\n}\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use either the `SDK_PackageOptionName.WithQuerySet()`\nor the `SDK_PackageOptionName.WithJSONSet()` methods.\n\n```go\nparams := FooNewParams{\n ID: SDK_PackageName.F(\"id_xxxx\"),\n Data: SDK_PackageName.F(FooNewParamsData{\n FirstName: SDK_PackageName.F(\"John\"),\n }),\n}\nclient.Foo.New(context.Background(), params, SDK_PackageOptionName.WithJSONSet(\"data.last_name\", \"Doe\"))\n```\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may either access the raw JSON of the response as a string\nwith `result.JSON.RawJSON()`, or get the raw JSON of a particular field on the result with\n`result.JSON.Foo.Raw()`.\n\nAny fields that are not present on the response struct will be saved and can be accessed by `result.JSON.ExtraFields()` which returns the extra fields as a `map[string]Field`.\n\n### Middleware\n\nWe provide `SDK_PackageOptionName.WithMiddleware` which applies the given\nmiddleware to requests.\n\n```go\nfunc Logger(req *http.Request, next SDK_PackageOptionName.MiddlewareNext) (res *http.Response, err error) {\n\t// Before the request\n\tstart := time.Now()\n\tLogReq(req)\n\n\t// Forward the request to the next handler\n\tres, err = next(req)\n\n\t// Handle stuff after the request\n\tend := time.Now()\n\tLogRes(res, err, start - end)\n\n return res, err\n}\n\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\tSDK_PackageOptionName.WithMiddleware(Logger),\n)\n```\n\nWhen multiple middlewares are provided as variadic arguments, the middlewares\nare applied left to right. If `SDK_PackageOptionName.WithMiddleware` is given\nmultiple times, for example first in the client then the method, the\nmiddleware in the client will run first and the middleware given in the method\nwill run next.\n\nYou may also replace the default `http.Client` with\n`SDK_PackageOptionName.WithHTTPClient(client)`. Only one http client is\naccepted (this overwrites any previous client) and receives requests after any\nmiddleware has been applied.\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-go/issues) with questions, bugs, or suggestions.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n" }, { - language: 'java', - content: - '# Stainless Java API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.stainless.api/stainless-java)](https://central.sonatype.com/artifact/com.stainless.api/stainless-java/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.stainless.api/stainless-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1)\n\n\nThe Stainless Java SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Java.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.stainless.api:stainless-java:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.stainless.api\n stainless-java\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nBuild build = client.builds().create(params);\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n```\n\nOr manually:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build();\n```\n\nOr using a combination of the two approaches:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build();\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```java\nimport com.stainless.api.client.StainlessClient;\n\nStainlessClient clientWithOptions = client.withOptions(optionsBuilder -> {\n optionsBuilder.baseUrl("https://example.com");\n optionsBuilder.maxRetries(42);\n});\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Java class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.async().builds().create(params);\n```\n\nOr create an asynchronous client from the beginning:\n\n```java\nimport com.stainless.api.client.StainlessClientAsync;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClientAsync;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClientAsync client = StainlessOkHttpClientAsync.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.builds().create(params);\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods return `CompletableFuture`s.\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Java classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```java\nimport com.stainless.api.core.http.Headers;\nimport com.stainless.api.core.http.HttpResponseFor;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nHttpResponseFor build = client.builds().withRawResponse().create(params);\n\nint statusCode = build.statusCode();\nHeaders headers = build.headers();\n```\n\nYou can still deserialize the response into an instance of a Java class if needed:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild parsedBuild = build.parse();\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns an [`Iterable`](https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html)\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\n\n// Process as an Iterable\nfor (Build build : page.autoPager()) {\n System.out.println(build);\n}\n\n// Process as a Stream\npage.autoPager()\n .stream()\n .limit(50)\n .forEach(build -> System.out.println(build));\n```\n\nWhen using the asynchronous client, the method returns an [`AsyncStreamResponse`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/AsyncStreamResponse.kt):\n\n```java\nimport com.stainless.api.core.http.AsyncStreamResponse;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPageAsync;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\n\nCompletableFuture pageFuture = client.async().builds().list();\n\npageFuture.thenRun(page -> page.autoPager().subscribe(build -> {\n System.out.println(build);\n}));\n\n// If you need to handle errors or completion of the stream\npageFuture.thenRun(page -> page.autoPager().subscribe(new AsyncStreamResponse.Handler<>() {\n @Override\n public void onNext(Build build) {\n System.out.println(build);\n }\n\n @Override\n public void onComplete(Optional error) {\n if (error.isPresent()) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error.get());\n } else {\n System.out.println("No more!");\n }\n }\n}));\n\n// Or use futures\npageFuture.thenRun(page -> page.autoPager()\n .subscribe(build -> {\n System.out.println(build);\n })\n .onCompleteFuture()\n .whenComplete((unused, error) -> {\n if (error != null) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error);\n } else {\n System.out.println("No more!");\n }\n }));\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\nwhile (true) {\n for (Build build : page.items()) {\n System.out.println(build);\n }\n\n if (!page.hasNextPage()) {\n break;\n }\n\n page = page.nextPage();\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-java-core` is published with a [configuration file](stainless-java-core/src/main/resources/META-INF/proguard/stainless-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build();\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build();\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.net.InetSocketAddress;\nimport java.net.Proxy;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(new Proxy(\n Proxy.Type.HTTP, new InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build();\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build();\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build();\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build();\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-java-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-java-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-java`\n - Depends on and exposes the APIs of both `stainless-java-core` and `stainless-java-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Copy `stainless-java-client-okhttp`\'s [`OkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Write a class that implements the [`HttpClient`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build();\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build();\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) object to its setter:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build();\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) is using its `from(...)` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.List;\nimport java.util.Map;\n\n// Create primitive JSON values\nJsonValue nullValue = JsonValue.from(null);\nJsonValue booleanValue = JsonValue.from(true);\nJsonValue numberValue = JsonValue.from(42);\nJsonValue stringValue = JsonValue.from("Hello World!");\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nJsonValue arrayValue = JsonValue.from(List.of(\n "Hello", "World"\n));\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nJsonValue objectValue = JsonValue.from(Map.of(\n "a", 1,\n "b", 2\n));\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nJsonValue complexValue = JsonValue.from(Map.of(\n "a", List.of(\n 1, 2\n ),\n "b", List.of(\n 3, 4\n )\n));\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt):\n\n```java\nimport com.stainless.api.core.JsonMissing;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build();\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.Map;\n\nMap additionalProperties = client.builds().create(params)._additionalProperties();\nJsonValue secretPropertyValue = additionalProperties.get("secretProperty");\n\nString result = secretPropertyValue.accept(new JsonValue.Visitor<>() {\n @Override\n public String visitNull() {\n return "It\'s null!";\n }\n\n @Override\n public String visitBoolean(boolean value) {\n return "It\'s a boolean!";\n }\n\n @Override\n public String visitNumber(Number value) {\n return "It\'s a number!";\n }\n\n // Other methods include `visitMissing`, `visitString`, `visitArray`, and `visitObject`\n // The default implementation of each unimplemented method delegates to `visitDefault`, which throws by default, but can also be overridden\n});\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```java\nimport com.stainless.api.core.JsonField;\nimport java.util.Optional;\n\nJsonField project = client.builds().create(params)._project();\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n Optional jsonString = project.asString();\n\n // Try to deserialize into a custom type\n MyClass myObject = project.asUnknown().orElseThrow().convert(MyClass.class);\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(params).validate();\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build();\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nJava `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-java/issues) with questions, bugs, or suggestions.\n', + "language": "java", + "content": "# Stainless Java API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.stainless.api/stainless-java)](https://central.sonatype.com/artifact/com.stainless.api/stainless-java/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.stainless.api/stainless-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1)\n\n\nThe Stainless Java SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Java.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation(\"com.stainless.api:stainless-java:0.0.1\")\n~~~\n\n### Maven\n\n~~~xml\n\n com.stainless.api\n stainless-java\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build();\nBuild build = client.builds().create(params);\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n```\n\nOr manually:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .apiKey(\"My API Key\")\n .build();\n```\n\nOr using a combination of the two approaches:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project(\"example-project\")\n .build();\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `\"https://api.stainless.com\"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don't create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```java\nimport com.stainless.api.client.StainlessClient;\n\nStainlessClient clientWithOptions = client.withOptions(optionsBuilder -> {\n optionsBuilder.baseUrl(\"https://example.com\");\n optionsBuilder.maxRetries(42);\n});\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Java class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build();\nCompletableFuture build = client.async().builds().create(params);\n```\n\nOr create an asynchronous client from the beginning:\n\n```java\nimport com.stainless.api.client.StainlessClientAsync;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClientAsync;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClientAsync client = StainlessOkHttpClientAsync.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build();\nCompletableFuture build = client.builds().create(params);\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods return `CompletableFuture`s.\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Java classes. However, these methods don't provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```java\nimport com.stainless.api.core.http.Headers;\nimport com.stainless.api.core.http.HttpResponseFor;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build();\nHttpResponseFor build = client.builds().withRawResponse().create(params);\n\nint statusCode = build.statusCode();\nHeaders headers = build.headers();\n```\n\nYou can still deserialize the response into an instance of a Java class if needed:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild parsedBuild = build.parse();\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that's supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns an [`Iterable`](https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html)\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\n\n// Process as an Iterable\nfor (Build build : page.autoPager()) {\n System.out.println(build);\n}\n\n// Process as a Stream\npage.autoPager()\n .stream()\n .limit(50)\n .forEach(build -> System.out.println(build));\n```\n\nWhen using the asynchronous client, the method returns an [`AsyncStreamResponse`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/AsyncStreamResponse.kt):\n\n```java\nimport com.stainless.api.core.http.AsyncStreamResponse;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPageAsync;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\n\nCompletableFuture pageFuture = client.async().builds().list();\n\npageFuture.thenRun(page -> page.autoPager().subscribe(build -> {\n System.out.println(build);\n}));\n\n// If you need to handle errors or completion of the stream\npageFuture.thenRun(page -> page.autoPager().subscribe(new AsyncStreamResponse.Handler<>() {\n @Override\n public void onNext(Build build) {\n System.out.println(build);\n }\n\n @Override\n public void onComplete(Optional error) {\n if (error.isPresent()) {\n System.out.println(\"Something went wrong!\");\n throw new RuntimeException(error.get());\n } else {\n System.out.println(\"No more!\");\n }\n }\n}));\n\n// Or use futures\npageFuture.thenRun(page -> page.autoPager()\n .subscribe(build -> {\n System.out.println(build);\n })\n .onCompleteFuture()\n .whenComplete((unused, error) -> {\n if (error != null) {\n System.out.println(\"Something went wrong!\");\n throw new RuntimeException(error);\n } else {\n System.out.println(\"No more!\");\n }\n }));\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\nwhile (true) {\n for (Build build : page.items()) {\n System.out.println(build);\n }\n\n if (!page.hasNextPage()) {\n break;\n }\n\n page = page.nextPage();\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-java-core` is published with a [configuration file](stainless-java-core/src/main/resources/META-INF/proguard/stainless-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you're _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don't work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build();\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build();\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.net.InetSocketAddress;\nimport java.net.Proxy;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(new Proxy(\n Proxy.Type.HTTP, new InetSocketAddress(\n \"https://example.com\", 8080\n )\n ))\n .build();\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build();\n```\n\nIf both options are unset, OkHttp's default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build();\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build();\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-java-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-java-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-java`\n - Depends on and exposes the APIs of both `stainless-java-core` and `stainless-java-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK's default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Copy `stainless-java-client-okhttp`'s [`OkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Write a class that implements the [`HttpClient`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .putAdditionalHeader(\"Secret-Header\", \"42\")\n .putAdditionalQueryParam(\"secret_query_param\", \"42\")\n .putAdditionalBodyProperty(\"secretProperty\", JsonValue.from(\"42\"))\n .build();\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty(\"secretProperty\", JsonValue.from(\"42\"))\n .build())\n .build();\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) object to its setter:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision(\"main\")\n .build();\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) is using its `from(...)` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.List;\nimport java.util.Map;\n\n// Create primitive JSON values\nJsonValue nullValue = JsonValue.from(null);\nJsonValue booleanValue = JsonValue.from(true);\nJsonValue numberValue = JsonValue.from(42);\nJsonValue stringValue = JsonValue.from(\"Hello World!\");\n\n// Create a JSON array value equivalent to `[\"Hello\", \"World\"]`\nJsonValue arrayValue = JsonValue.from(List.of(\n \"Hello\", \"World\"\n));\n\n// Create a JSON object value equivalent to `{ \"a\": 1, \"b\": 2 }`\nJsonValue objectValue = JsonValue.from(Map.of(\n \"a\", 1,\n \"b\", 2\n));\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// \"a\": [1, 2],\n// \"b\": [3, 4]\n// }\nJsonValue complexValue = JsonValue.from(Map.of(\n \"a\", List.of(\n 1, 2\n ),\n \"b\", List.of(\n 3, 4\n )\n));\n```\n\nNormally a `Builder` class's `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt):\n\n```java\nimport com.stainless.api.core.JsonMissing;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .revision(\"string\")\n .project(JsonMissing.of())\n .build();\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.Map;\n\nMap additionalProperties = client.builds().create(params)._additionalProperties();\nJsonValue secretPropertyValue = additionalProperties.get(\"secretProperty\");\n\nString result = secretPropertyValue.accept(new JsonValue.Visitor<>() {\n @Override\n public String visitNull() {\n return \"It's null!\";\n }\n\n @Override\n public String visitBoolean(boolean value) {\n return \"It's a boolean!\";\n }\n\n @Override\n public String visitNumber(Number value) {\n return \"It's a number!\";\n }\n\n // Other methods include `visitMissing`, `visitString`, `visitArray`, and `visitObject`\n // The default implementation of each unimplemented method delegates to `visitDefault`, which throws by default, but can also be overridden\n});\n```\n\nTo access a property's raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```java\nimport com.stainless.api.core.JsonField;\nimport java.util.Optional;\n\nJsonField project = client.builds().create(params)._project();\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n Optional jsonString = project.asString();\n\n // Try to deserialize into a custom type\n MyClass myObject = project.asUnknown().orElseThrow().convert(MyClass.class);\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn't match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(params).validate();\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build();\n```\n\n## FAQ\n\n### Why don't you use plain `enum` classes?\n\nJava `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don't you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don't want to introduce a breaking change every time we add a field to a class.\n\n### Why don't you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don't play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-java/issues) with questions, bugs, or suggestions.\n" }, { - language: 'kotlin', - content: - '# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl("https://example.com")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`\'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from("Hello World!")\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n "Hello", "World"\n))\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n "a" to 1, "b" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n "a" to listOf(\n 1, 2\n ), "b" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get("secretProperty")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> "It\'s null!"\n is JsonBoolean -> "It\'s a boolean!"\n is JsonNumber -> "It\'s a number!"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> "It\'s something else!"\n}\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n', + "language": "kotlin", + "content": "# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation(\"com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1\")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey(\"My API Key\")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project(\"example-project\")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `\"https://api.stainless.com\"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don't create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl(\"https://example.com\")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don't provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that's supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you're _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don't work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n \"https://example.com\", 8080\n )\n ))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp's default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK's default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader(\"Secret-Header\", \"42\")\n .putAdditionalQueryParam(\"secret_query_param\", \"42\")\n .putAdditionalBodyProperty(\"secretProperty\", JsonValue.from(\"42\"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty(\"secretProperty\", JsonValue.from(\"42\"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision(\"main\")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from(\"Hello World!\")\n\n// Create a JSON array value equivalent to `[\"Hello\", \"World\"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n \"Hello\", \"World\"\n))\n\n// Create a JSON object value equivalent to `{ \"a\": 1, \"b\": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n \"a\" to 1, \"b\" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// \"a\": [1, 2],\n// \"b\": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n \"a\" to listOf(\n 1, 2\n ), \"b\" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class's `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision(\"string\")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get(\"secretProperty\")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> \"It's null!\"\n is JsonBoolean -> \"It's a boolean!\"\n is JsonNumber -> \"It's a number!\"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> \"It's something else!\"\n}\n```\n\nTo access a property's raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn't match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don't you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don't you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don't want to introduce a breaking change every time we add a field to a class.\n\n### Why don't you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don't play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n" }, { - language: 'php', - content: - '# Stainless PHP API Library\n\nThe Stainless PHP library provides convenient access to the Stainless REST API from any PHP 8.1.0+ application.\n\n## Installation\n\nTo use this package, install via Composer by adding the following to your application\'s `composer.json`:\n\n```json\n{\n "repositories": [\n {\n "type": "vcs",\n "url": "git@github.com:stainless-sdks/stainless-v0-php.git"\n }\n ],\n "require": {\n "org-placeholder/stainless-v0": "dev-main"\n }\n}\n```\n\n## Usage\n\n```php\nbuilds->create(project: \'stainless\', revision: \'main\');\n\nvar_dump($build->id);\n```', + "language": "php", + "content": "# Stainless PHP API Library\n\nThe Stainless PHP library provides convenient access to the Stainless REST API from any PHP 8.1.0+ application.\n\n## Installation\n\nTo use this package, install via Composer by adding the following to your application's `composer.json`:\n\n```json\n{\n \"repositories\": [\n {\n \"type\": \"vcs\",\n \"url\": \"git@github.com:stainless-sdks/stainless-v0-php.git\"\n }\n ],\n \"require\": {\n \"org-placeholder/stainless-v0\": \"dev-main\"\n }\n}\n```\n\n## Usage\n\n```php\nbuilds->create(project: 'stainless', revision: 'main');\n\nvar_dump($build->id);\n```" }, { - language: 'python', - content: - '# Stainless Python API library\n\n\n[![PyPI version](https://img.shields.io/pypi/v/stainless_v0.svg?label=pypi%20(stable))](https://pypi.org/project/stainless_v0/)\n\nThe Stainless Python library provides convenient access to the Stainless REST API from any Python 3.9+\napplication. The library includes type definitions for all request params and response fields,\nand offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\n## Installation\n\n```sh\n# install from this staging repo\npip install git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\n```\n> [!NOTE]\n> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install stainless_v0`\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```python\nimport os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nbuild = client.builds.create(\n project="stainless",\n revision="main",\n)\nprint(build.id)\n```\n\nWhile you can provide an `api_key` keyword argument,\nwe recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)\nto add `STAINLESS_API_KEY="My API Key"` to your `.env` file\nso that your API Key is not stored in source control.\n\n## Async usage\n\nSimply import `AsyncStainless` instead of `Stainless` and use `await` with each API call:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nasync def main() -> None:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\nFunctionality between the synchronous and asynchronous clients is otherwise identical.\n\n### With aiohttp\n\nBy default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.\n\nYou can enable this by installing `aiohttp`:\n\n```sh\n# install from this staging repo\npip install \'stainless_v0[aiohttp] @ git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\'\n```\n\nThen you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import DefaultAioHttpClient\nfrom stainless_v0 import AsyncStainless\n\nasync def main() -> None:\n async with AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n http_client=DefaultAioHttpClient(),\n) as client:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\n\n\n## Using types\n\nNested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:\n\n- Serializing back into JSON, `model.to_json()`\n- Converting to a dictionary, `model.to_dict()`\n\nTyped requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.\n\n## Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nall_builds = []\n# Automatically fetches more pages as needed.\nfor build in client.builds.list(\n project="stainless",\n):\n # Do something with build here\n all_builds.append(build)\nprint(all_builds)\n```\n\nOr, asynchronously:\n\n```python\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless()\n\nasync def main() -> None:\n all_builds = []\n # Iterate through items across all pages, issuing requests as needed.\n async for build in client.builds.list(\n project="stainless",\n):\n all_builds.append(build)\n print(all_builds)\n\nasyncio.run(main())\n```\n\nAlternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\nif first_page.has_next_page():\n print(f"will fetch next page using these details: {first_page.next_page_info()}")\n next_page = await first_page.get_next_page()\n print(f"number of items we just fetched: {len(next_page.data)}")\n\n# Remove `await` for non-async usage.\n```\n\nOr just work directly with the returned data:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\n\nprint(f"next page cursor: {first_page.next_cursor}") # => "next page cursor: ..."\nfor build in first_page.data:\n print(build.id)\n\n# Remove `await` for non-async usage.\n```\n\n## Nested params\n\nNested parameters are dictionaries, typed using `TypedDict`, for example:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nbuild = client.builds.create(\n project="project",\n revision="string",\n target_commit_messages={},\n)\nprint(build.target_commit_messages)\n```\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `stainless_v0.APIConnectionError` is raised.\n\nWhen the API returns a non-success status code (that is, 4xx or 5xx\nresponse), a subclass of `stainless_v0.APIStatusError` is raised, containing `status_code` and `response` properties.\n\nAll errors inherit from `stainless_v0.APIError`.\n\n```python\nimport stainless_v0\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\ntry:\n client.builds.create(\n project="stainless",\n revision="main",\n )\nexcept stainless_v0.APIConnectionError as e:\n print("The server could not be reached")\n print(e.__cause__) # an underlying Exception, likely raised within httpx.\nexcept stainless_v0.RateLimitError as e:\n print("A 429 status code was received; we should back off a bit.")\nexcept stainless_v0.APIStatusError as e:\n print("Another non-200-range status code was received")\n print(e.status_code)\n print(e.response)\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors are automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors are all retried by default.\n\nYou can use the `max_retries` option to configure or disable retry settings:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # default is 2\n max_retries=0,\n)\n\n# Or, configure per-request:\nclient.with_options(max_retries = 5).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\n### Timeouts\n\nBy default requests time out after 1 minute. You can configure this with a `timeout` option,\nwhich accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # 20 seconds (default is 1 minute)\n timeout=20.0,\n)\n\n# More granular control:\nclient = Stainless(\n timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),\n)\n\n# Override per-request:\nclient.with_options(timeout = 5.0).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\nOn timeout, an `APITimeoutError` is thrown.\n\nNote that requests that time out are [retried twice by default](#retries).\n\n\n\n## Advanced\n\n### Logging\n\nWe use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.\n\nYou can enable logging by setting the environment variable `STAINLESS_LOG` to `info`.\n\n```shell\n$ export STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging.\n\n### How to tell whether `None` means `null` or missing\n\nIn an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:\n\n```py\nif response.my_field is None:\n if \'my_field\' not in response.model_fields_set:\n print(\'Got json like {}, without a "my_field" key present at all.\')\n else:\n print(\'Got json like {"my_field": null}.\')\n```\n\n### Accessing raw response data (e.g. headers)\n\nThe "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,\n\n```py\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\nresponse = client.builds.with_raw_response.create(\n project="stainless",\n revision="main",\n)\nprint(response.headers.get(\'X-My-Header\'))\n\nbuild = response.parse() # get the object that `builds.create()` would have returned\nprint(build.id)\n```\n\nThese methods return an [`APIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) object.\n\nThe async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.\n\n#### `.with_streaming_response`\n\nThe above interface eagerly reads the full response body when you make the request, which may not always be what you want.\n\nTo stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.\n\n```python\nwith client.builds.with_streaming_response.create(\n project="stainless",\n revision="main",\n) as response :\n print(response.headers.get(\'X-My-Header\'))\n\n for line in response.iter_lines():\n print(line)\n```\n\nThe context manager is required so that the response will reliably be closed.\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API.\n\nIf you need to access undocumented endpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other\nhttp verbs. Options on the client will be respected (such as retries) when making this request.\n\n```py\nimport httpx\n\nresponse = client.post(\n "/foo",\n cast_to=httpx.Response,\n body={"my_param": True},\n)\n\nprint(response.headers.get("x-foo"))\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You\ncan also get all the extra fields on the Pydantic model as a dict with\n[`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).\n\n### Configuring the HTTP client\n\nYou can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:\n\n- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)\n- Custom [transports](https://www.python-httpx.org/advanced/transports/)\n- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality\n\n```python\nimport httpx\nfrom stainless_v0 import Stainless, DefaultHttpxClient\n\nclient = Stainless(\n # Or use the `STAINLESS_BASE_URL` env var\n base_url="http://my.test.server.example.com:8083",\n http_client=DefaultHttpxClient(proxy="http://my.test.proxy.example.com", transport=httpx.HTTPTransport(local_address="0.0.0.0")),\n)\n```\n\nYou can also customize the client on a per-request basis by using `with_options()`:\n\n```python\nclient.with_options(http_client=DefaultHttpxClient(...))\n```\n\n### Managing HTTP resources\n\nBy default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.\n\n```py\nfrom stainless_v0 import Stainless\n\nwith Stainless() as client:\n # make requests here\n ...\n\n# HTTP client is now closed\n```\n\n## Versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-python/issues) with questions, bugs, or suggestions.\n\n### Determining the installed version\n\nIf you\'ve upgraded to the latest version but aren\'t seeing any new features you were expecting then your python environment is likely still using an older version.\n\nYou can determine the version that is being used at runtime with:\n\n```py\nimport stainless_v0\nprint(stainless_v0.__version__)\n```\n\n## Requirements\n\nPython 3.9 or higher.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', + "language": "python", + "content": "# Stainless Python API library\n\n\n[![PyPI version](https://img.shields.io/pypi/v/stainless_v0.svg?label=pypi%20(stable))](https://pypi.org/project/stainless_v0/)\n\nThe Stainless Python library provides convenient access to the Stainless REST API from any Python 3.9+\napplication. The library includes type definitions for all request params and response fields,\nand offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\n## Installation\n\n```sh\n# install from this staging repo\npip install git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\n```\n> [!NOTE]\n> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install stainless_v0`\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```python\nimport os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n # defaults to \"production\".\n environment=\"staging\",\n)\n\nbuild = client.builds.create(\n project=\"stainless\",\n revision=\"main\",\n)\nprint(build.id)\n```\n\nWhile you can provide an `api_key` keyword argument,\nwe recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)\nto add `STAINLESS_API_KEY=\"My API Key\"` to your `.env` file\nso that your API Key is not stored in source control.\n\n## Async usage\n\nSimply import `AsyncStainless` instead of `Stainless` and use `await` with each API call:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n # defaults to \"production\".\n environment=\"staging\",\n)\n\nasync def main() -> None:\n build = await client.builds.create(\n project=\"stainless\",\n revision=\"main\",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\nFunctionality between the synchronous and asynchronous clients is otherwise identical.\n\n### With aiohttp\n\nBy default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.\n\nYou can enable this by installing `aiohttp`:\n\n```sh\n# install from this staging repo\npip install 'stainless_v0[aiohttp] @ git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git'\n```\n\nThen you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import DefaultAioHttpClient\nfrom stainless_v0 import AsyncStainless\n\nasync def main() -> None:\n async with AsyncStainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n http_client=DefaultAioHttpClient(),\n) as client:\n build = await client.builds.create(\n project=\"stainless\",\n revision=\"main\",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\n\n\n## Using types\n\nNested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:\n\n- Serializing back into JSON, `model.to_json()`\n- Converting to a dictionary, `model.to_dict()`\n\nTyped requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.\n\n## Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nall_builds = []\n# Automatically fetches more pages as needed.\nfor build in client.builds.list(\n project=\"stainless\",\n):\n # Do something with build here\n all_builds.append(build)\nprint(all_builds)\n```\n\nOr, asynchronously:\n\n```python\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless()\n\nasync def main() -> None:\n all_builds = []\n # Iterate through items across all pages, issuing requests as needed.\n async for build in client.builds.list(\n project=\"stainless\",\n):\n all_builds.append(build)\n print(all_builds)\n\nasyncio.run(main())\n```\n\nAlternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:\n\n```python\nfirst_page = await client.builds.list(\n project=\"stainless\",\n)\nif first_page.has_next_page():\n print(f\"will fetch next page using these details: {first_page.next_page_info()}\")\n next_page = await first_page.get_next_page()\n print(f\"number of items we just fetched: {len(next_page.data)}\")\n\n# Remove `await` for non-async usage.\n```\n\nOr just work directly with the returned data:\n\n```python\nfirst_page = await client.builds.list(\n project=\"stainless\",\n)\n\nprint(f\"next page cursor: {first_page.next_cursor}\") # => \"next page cursor: ...\"\nfor build in first_page.data:\n print(build.id)\n\n# Remove `await` for non-async usage.\n```\n\n## Nested params\n\nNested parameters are dictionaries, typed using `TypedDict`, for example:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nbuild = client.builds.create(\n project=\"project\",\n revision=\"string\",\n target_commit_messages={},\n)\nprint(build.target_commit_messages)\n```\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `stainless_v0.APIConnectionError` is raised.\n\nWhen the API returns a non-success status code (that is, 4xx or 5xx\nresponse), a subclass of `stainless_v0.APIStatusError` is raised, containing `status_code` and `response` properties.\n\nAll errors inherit from `stainless_v0.APIError`.\n\n```python\nimport stainless_v0\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\ntry:\n client.builds.create(\n project=\"stainless\",\n revision=\"main\",\n )\nexcept stainless_v0.APIConnectionError as e:\n print(\"The server could not be reached\")\n print(e.__cause__) # an underlying Exception, likely raised within httpx.\nexcept stainless_v0.RateLimitError as e:\n print(\"A 429 status code was received; we should back off a bit.\")\nexcept stainless_v0.APIStatusError as e:\n print(\"Another non-200-range status code was received\")\n print(e.status_code)\n print(e.response)\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors are automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors are all retried by default.\n\nYou can use the `max_retries` option to configure or disable retry settings:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # default is 2\n max_retries=0,\n)\n\n# Or, configure per-request:\nclient.with_options(max_retries = 5).builds.create(\n project=\"stainless\",\n revision=\"main\",\n)\n```\n\n### Timeouts\n\nBy default requests time out after 1 minute. You can configure this with a `timeout` option,\nwhich accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # 20 seconds (default is 1 minute)\n timeout=20.0,\n)\n\n# More granular control:\nclient = Stainless(\n timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),\n)\n\n# Override per-request:\nclient.with_options(timeout = 5.0).builds.create(\n project=\"stainless\",\n revision=\"main\",\n)\n```\n\nOn timeout, an `APITimeoutError` is thrown.\n\nNote that requests that time out are [retried twice by default](#retries).\n\n\n\n## Advanced\n\n### Logging\n\nWe use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.\n\nYou can enable logging by setting the environment variable `STAINLESS_LOG` to `info`.\n\n```shell\n$ export STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging.\n\n### How to tell whether `None` means `null` or missing\n\nIn an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:\n\n```py\nif response.my_field is None:\n if 'my_field' not in response.model_fields_set:\n print('Got json like {}, without a \"my_field\" key present at all.')\n else:\n print('Got json like {\"my_field\": null}.')\n```\n\n### Accessing raw response data (e.g. headers)\n\nThe \"raw\" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,\n\n```py\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\nresponse = client.builds.with_raw_response.create(\n project=\"stainless\",\n revision=\"main\",\n)\nprint(response.headers.get('X-My-Header'))\n\nbuild = response.parse() # get the object that `builds.create()` would have returned\nprint(build.id)\n```\n\nThese methods return an [`APIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) object.\n\nThe async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.\n\n#### `.with_streaming_response`\n\nThe above interface eagerly reads the full response body when you make the request, which may not always be what you want.\n\nTo stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.\n\n```python\nwith client.builds.with_streaming_response.create(\n project=\"stainless\",\n revision=\"main\",\n) as response :\n print(response.headers.get('X-My-Header'))\n\n for line in response.iter_lines():\n print(line)\n```\n\nThe context manager is required so that the response will reliably be closed.\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API.\n\nIf you need to access undocumented endpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other\nhttp verbs. Options on the client will be respected (such as retries) when making this request.\n\n```py\nimport httpx\n\nresponse = client.post(\n \"/foo\",\n cast_to=httpx.Response,\n body={\"my_param\": True},\n)\n\nprint(response.headers.get(\"x-foo\"))\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You\ncan also get all the extra fields on the Pydantic model as a dict with\n[`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).\n\n### Configuring the HTTP client\n\nYou can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:\n\n- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)\n- Custom [transports](https://www.python-httpx.org/advanced/transports/)\n- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality\n\n```python\nimport httpx\nfrom stainless_v0 import Stainless, DefaultHttpxClient\n\nclient = Stainless(\n # Or use the `STAINLESS_BASE_URL` env var\n base_url=\"http://my.test.server.example.com:8083\",\n http_client=DefaultHttpxClient(proxy=\"http://my.test.proxy.example.com\", transport=httpx.HTTPTransport(local_address=\"0.0.0.0\")),\n)\n```\n\nYou can also customize the client on a per-request basis by using `with_options()`:\n\n```python\nclient.with_options(http_client=DefaultHttpxClient(...))\n```\n\n### Managing HTTP resources\n\nBy default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.\n\n```py\nfrom stainless_v0 import Stainless\n\nwith Stainless() as client:\n # make requests here\n ...\n\n# HTTP client is now closed\n```\n\n## Versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-python/issues) with questions, bugs, or suggestions.\n\n### Determining the installed version\n\nIf you've upgraded to the latest version but aren't seeing any new features you were expecting then your python environment is likely still using an older version.\n\nYou can determine the version that is being used at runtime with:\n\n```py\nimport stainless_v0\nprint(stainless_v0.__version__)\n```\n\n## Requirements\n\nPython 3.9 or higher.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n" }, { - language: 'ruby', - content: - '# Stainless Ruby API library\n\nThe Stainless Ruby library provides convenient access to the Stainless REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/stainless-sdks/stainless-v0-ruby#Sorbet) for usage with Sorbet. The standard library\'s `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nDocumentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/stainless-v0).\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\n## Installation\n\nTo use this gem, install via Bundler by adding the following to your application\'s `Gemfile`:\n\n```ruby\ngem "stainless-v0", "~> 0.0.1"\n```\n\n## Usage\n\n```ruby\nrequire "bundler/setup"\nrequire "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: ENV["STAINLESS_API_KEY"], # This is the default and can be omitted\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.create(project: "stainless", revision: "main")\n\nputs(build.id)\n```\n\n\n\n### Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```ruby\npage = stainless.builds.list(project: "stainless")\n\n# Fetch single item from page.\nbuild = page.data[0]\nputs(build.id)\n\n# Automatically fetches more pages as needed.\npage.auto_paging_each do |build|\n puts(build.id)\nend\n```\n\nAlternatively, you can use the `#next_page?` and `#next_page` methods for more granular control working with pages.\n\n```ruby\nif page.next_page?\n new_page = page.next_page\n puts(new_page.data[0].id)\nend\n```\n\n\n\n### Handling errors\n\nWhen the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `StainlessV0::Errors::APIError` will be thrown:\n\n```ruby\nbegin\n build = stainless.builds.create(project: "stainless", revision: "main")\nrescue StainlessV0::Errors::APIConnectionError => e\n puts("The server could not be reached")\n puts(e.cause) # an underlying Exception, likely raised within `net/http`\nrescue StainlessV0::Errors::RateLimitError => e\n puts("A 429 status code was received; we should back off a bit.")\nrescue StainlessV0::Errors::APIStatusError => e\n puts("Another non-200-range status code was received")\n puts(e.status)\nend\n```\n\nError codes are as follows:\n\n| Cause | Error Type |\n| ---------------- | -------------------------- |\n| HTTP 400 | `BadRequestError` |\n| HTTP 401 | `AuthenticationError` |\n| HTTP 403 | `PermissionDeniedError` |\n| HTTP 404 | `NotFoundError` |\n| HTTP 409 | `ConflictError` |\n| HTTP 422 | `UnprocessableEntityError` |\n| HTTP 429 | `RateLimitError` |\n| HTTP >= 500 | `InternalServerError` |\n| Other HTTP error | `APIStatusError` |\n| Timeout | `APITimeoutError` |\n| Network error | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\n\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.\n\nYou can use the `max_retries` option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n max_retries: 0 # default is 2\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {max_retries: 5})\n```\n\n### Timeouts\n\nBy default, requests will time out after 60 seconds. You can use the timeout option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n timeout: nil # default is 60\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {timeout: 5})\n```\n\nOn timeout, `StainlessV0::Errors::APITimeoutError` is raised.\n\nNote that requests that time out are retried by default.\n\n## Advanced concepts\n\n### BaseModel\n\nAll parameter and response objects inherit from `StainlessV0::Internal::Type::BaseModel`, which provides several conveniences, including:\n\n1. All fields, including unknown ones, are accessible with `obj[:prop]` syntax, and can be destructured with `obj => {prop: prop}` or pattern-matching syntax.\n\n2. Structural equivalence for equality; if two API calls return the same values, comparing the responses with == will return true.\n\n3. Both instances and the classes themselves can be pretty-printed.\n\n4. Helpers such as `#to_h`, `#deep_to_h`, `#to_json`, and `#to_yaml`.\n\n### Making custom or undocumented requests\n\n#### Undocumented properties\n\nYou can send undocumented parameters to any endpoint, and read undocumented response properties, like so:\n\nNote: the `extra_` parameters of the same name overrides the documented parameters.\n\n```ruby\nbuild =\n stainless.builds.create(\n project: "stainless",\n revision: "main",\n request_options: {\n extra_query: {my_query_parameter: value},\n extra_body: {my_body_parameter: value},\n extra_headers: {"my-header": value}\n }\n )\n\nputs(build[:my_undocumented_property])\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `client.request`, like so:\n\n```ruby\nresponse = client.request(\n method: :post,\n path: \'/undocumented/endpoint\',\n query: {"dog": "woof"},\n headers: {"useful-header": "interesting-value"},\n body: {"hello": "world"}\n)\n```\n\n### Concurrency & connection pooling\n\nThe `StainlessV0::Client` instances are threadsafe, but are only are fork-safe when there are no in-flight HTTP requests.\n\nEach instance of `StainlessV0::Client` has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings.\n\nWhen all available connections from the pool are checked out, requests wait for a new connection to become available, with queue time counting towards the request timeout.\n\nUnless otherwise specified, other classes in the SDK do not have locks protecting their underlying data structure.\n\n## Sorbet\n\nThis library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitions, and has no dependency on sorbet-runtime.\n\nYou can provide typesafe request parameters like so:\n\n```ruby\nstainless.builds.create(project: "stainless", revision: "main")\n```\n\nOr, equivalently:\n\n```ruby\n# Hashes work, but are not typesafe:\nstainless.builds.create(project: "stainless", revision: "main")\n\n# You can also splat a full Params class:\nparams = StainlessV0::BuildCreateParams.new(project: "stainless", revision: "main")\nstainless.builds.create(**params)\n```\n\n### Enums\n\nSince this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide "tagged symbols" instead, which is always a primitive at runtime:\n\n```ruby\n# :python\nputs(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n\n# Revealed type: `T.all(StainlessV0::ProjectGenerateCommitMessageParams::Target, Symbol)`\nT.reveal_type(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n```\n\nEnum parameters have a "relaxed" type, so you can either pass in enum constants or their literal value:\n\n```ruby\n# Using the enum constants preserves the tagged type information:\nstainless.projects.generate_commit_message(\n target: StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON,\n # …\n)\n\n# Literal values are also permissible:\nstainless.projects.generate_commit_message(\n target: :python,\n # …\n)\n```\n\n## Versioning\n\nThis package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.\n\nThis package considers improvements to the (non-runtime) `*.rbi` and `*.rbs` type definitions to be non-breaking changes.\n\n## Requirements\n\nRuby 3.2.0 or higher.\n\n## Contributing\n\nSee [the contributing documentation](https://github.com/stainless-sdks/stainless-v0-ruby/tree/main/CONTRIBUTING.md).\n', + "language": "ruby", + "content": "# Stainless Ruby API library\n\nThe Stainless Ruby library provides convenient access to the Stainless REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/stainless-sdks/stainless-v0-ruby#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nDocumentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/stainless-v0).\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\n## Installation\n\nTo use this gem, install via Bundler by adding the following to your application's `Gemfile`:\n\n```ruby\ngem \"stainless-v0\", \"~> 0.0.1\"\n```\n\n## Usage\n\n```ruby\nrequire \"bundler/setup\"\nrequire \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: ENV[\"STAINLESS_API_KEY\"], # This is the default and can be omitted\n environment: \"staging\" # defaults to \"production\"\n)\n\nbuild = stainless.builds.create(project: \"stainless\", revision: \"main\")\n\nputs(build.id)\n```\n\n\n\n### Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```ruby\npage = stainless.builds.list(project: \"stainless\")\n\n# Fetch single item from page.\nbuild = page.data[0]\nputs(build.id)\n\n# Automatically fetches more pages as needed.\npage.auto_paging_each do |build|\n puts(build.id)\nend\n```\n\nAlternatively, you can use the `#next_page?` and `#next_page` methods for more granular control working with pages.\n\n```ruby\nif page.next_page?\n new_page = page.next_page\n puts(new_page.data[0].id)\nend\n```\n\n\n\n### Handling errors\n\nWhen the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `StainlessV0::Errors::APIError` will be thrown:\n\n```ruby\nbegin\n build = stainless.builds.create(project: \"stainless\", revision: \"main\")\nrescue StainlessV0::Errors::APIConnectionError => e\n puts(\"The server could not be reached\")\n puts(e.cause) # an underlying Exception, likely raised within `net/http`\nrescue StainlessV0::Errors::RateLimitError => e\n puts(\"A 429 status code was received; we should back off a bit.\")\nrescue StainlessV0::Errors::APIStatusError => e\n puts(\"Another non-200-range status code was received\")\n puts(e.status)\nend\n```\n\nError codes are as follows:\n\n| Cause | Error Type |\n| ---------------- | -------------------------- |\n| HTTP 400 | `BadRequestError` |\n| HTTP 401 | `AuthenticationError` |\n| HTTP 403 | `PermissionDeniedError` |\n| HTTP 404 | `NotFoundError` |\n| HTTP 409 | `ConflictError` |\n| HTTP 422 | `UnprocessableEntityError` |\n| HTTP 429 | `RateLimitError` |\n| HTTP >= 500 | `InternalServerError` |\n| Other HTTP error | `APIStatusError` |\n| Timeout | `APITimeoutError` |\n| Network error | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\n\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.\n\nYou can use the `max_retries` option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n max_retries: 0 # default is 2\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: \"stainless\", revision: \"main\", request_options: {max_retries: 5})\n```\n\n### Timeouts\n\nBy default, requests will time out after 60 seconds. You can use the timeout option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n timeout: nil # default is 60\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: \"stainless\", revision: \"main\", request_options: {timeout: 5})\n```\n\nOn timeout, `StainlessV0::Errors::APITimeoutError` is raised.\n\nNote that requests that time out are retried by default.\n\n## Advanced concepts\n\n### BaseModel\n\nAll parameter and response objects inherit from `StainlessV0::Internal::Type::BaseModel`, which provides several conveniences, including:\n\n1. All fields, including unknown ones, are accessible with `obj[:prop]` syntax, and can be destructured with `obj => {prop: prop}` or pattern-matching syntax.\n\n2. Structural equivalence for equality; if two API calls return the same values, comparing the responses with == will return true.\n\n3. Both instances and the classes themselves can be pretty-printed.\n\n4. Helpers such as `#to_h`, `#deep_to_h`, `#to_json`, and `#to_yaml`.\n\n### Making custom or undocumented requests\n\n#### Undocumented properties\n\nYou can send undocumented parameters to any endpoint, and read undocumented response properties, like so:\n\nNote: the `extra_` parameters of the same name overrides the documented parameters.\n\n```ruby\nbuild =\n stainless.builds.create(\n project: \"stainless\",\n revision: \"main\",\n request_options: {\n extra_query: {my_query_parameter: value},\n extra_body: {my_body_parameter: value},\n extra_headers: {\"my-header\": value}\n }\n )\n\nputs(build[:my_undocumented_property])\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `client.request`, like so:\n\n```ruby\nresponse = client.request(\n method: :post,\n path: '/undocumented/endpoint',\n query: {\"dog\": \"woof\"},\n headers: {\"useful-header\": \"interesting-value\"},\n body: {\"hello\": \"world\"}\n)\n```\n\n### Concurrency & connection pooling\n\nThe `StainlessV0::Client` instances are threadsafe, but are only are fork-safe when there are no in-flight HTTP requests.\n\nEach instance of `StainlessV0::Client` has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings.\n\nWhen all available connections from the pool are checked out, requests wait for a new connection to become available, with queue time counting towards the request timeout.\n\nUnless otherwise specified, other classes in the SDK do not have locks protecting their underlying data structure.\n\n## Sorbet\n\nThis library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitions, and has no dependency on sorbet-runtime.\n\nYou can provide typesafe request parameters like so:\n\n```ruby\nstainless.builds.create(project: \"stainless\", revision: \"main\")\n```\n\nOr, equivalently:\n\n```ruby\n# Hashes work, but are not typesafe:\nstainless.builds.create(project: \"stainless\", revision: \"main\")\n\n# You can also splat a full Params class:\nparams = StainlessV0::BuildCreateParams.new(project: \"stainless\", revision: \"main\")\nstainless.builds.create(**params)\n```\n\n### Enums\n\nSince this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide \"tagged symbols\" instead, which is always a primitive at runtime:\n\n```ruby\n# :python\nputs(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n\n# Revealed type: `T.all(StainlessV0::ProjectGenerateCommitMessageParams::Target, Symbol)`\nT.reveal_type(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n```\n\nEnum parameters have a \"relaxed\" type, so you can either pass in enum constants or their literal value:\n\n```ruby\n# Using the enum constants preserves the tagged type information:\nstainless.projects.generate_commit_message(\n target: StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON,\n # …\n)\n\n# Literal values are also permissible:\nstainless.projects.generate_commit_message(\n target: :python,\n # …\n)\n```\n\n## Versioning\n\nThis package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.\n\nThis package considers improvements to the (non-runtime) `*.rbi` and `*.rbs` type definitions to be non-breaking changes.\n\n## Requirements\n\nRuby 3.2.0 or higher.\n\n## Contributing\n\nSee [the contributing documentation](https://github.com/stainless-sdks/stainless-v0-ruby/tree/main/CONTRIBUTING.md).\n" }, { - language: 'typescript', - content: - "# Stainless TypeScript API Library\n\n[![NPM version](https://img.shields.io/npm/v/@stainless-api/sdk.svg?label=npm%20(stable))](https://npmjs.org/package/@stainless-api/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@stainless-api/sdk)\n\nThis library provides convenient access to the Stainless REST API from server-side TypeScript or JavaScript.\n\n\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n```sh\nnpm install @stainless-api/sdk\n```\n\n\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n\n```js\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst build = await client.builds.create({ project: 'stainless', revision: 'main' });\n\nconsole.log(build.id);\n```\n\n\n\n### Request & Response types\n\nThis library includes TypeScript definitions for all request params and response fields. You may import and use them like so:\n\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst params: Stainless.BuildCreateParams = { project: 'stainless', revision: 'main' };\nconst build: Stainless.Build = await client.builds.create(params);\n```\n\nDocumentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.\n\n\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API,\nor if the API returns a non-success status code (i.e., 4xx or 5xx response),\na subclass of `APIError` will be thrown:\n\n\n```ts\nconst build = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .catch(async (err) => {\n if (err instanceof Stainless.APIError) {\n console.log(err.status); // 400\n console.log(err.name); // BadRequestError\n console.log(err.headers); // {server: 'nginx', ...}\n } else {\n throw err;\n }\n });\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors will all be retried by default.\n\nYou can use the `maxRetries` option to configure or disable this:\n\n\n```js\n// Configure the default for all requests:\nconst client = new Stainless({\n maxRetries: 0, // default is 2\n});\n\n// Or, configure per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n maxRetries: 5,\n});\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default. You can configure this with a `timeout` option:\n\n\n```ts\n// Configure the default for all requests:\nconst client = new Stainless({\n timeout: 20 * 1000, // 20 seconds (default is 1 minute)\n});\n\n// Override per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n timeout: 5 * 1000,\n});\n```\n\nOn timeout, an `APIConnectionTimeoutError` is thrown.\n\nNote that requests which time out will be [retried twice by default](#retries).\n\n## Auto-pagination\n\nList methods in the Stainless API are paginated.\nYou can use the `for await … of` syntax to iterate through items across all pages:\n\n```ts\nasync function fetchAllBuilds(params) {\n const allBuilds = [];\n // Automatically fetches more pages as needed.\n for await (const build of client.builds.list({ project: 'stainless' })) {\n allBuilds.push(build);\n }\n return allBuilds;\n}\n```\n\nAlternatively, you can request a single page at a time:\n\n```ts\nlet page = await client.builds.list({ project: 'stainless' });\nfor (const build of page.data) {\n console.log(build);\n}\n\n// Convenience methods are provided for manually paginating:\nwhile (page.hasNextPage()) {\n page = await page.getNextPage();\n // ...\n}\n```\n\n\n\n## Advanced Usage\n\n### Accessing raw Response data (e.g., headers)\n\nThe \"raw\" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.\nThis method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.\n\nYou can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.\nUnlike `.asResponse()` this method consumes the body, returning once it is parsed.\n\n\n```ts\nconst client = new Stainless();\n\nconst response = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .asResponse();\nconsole.log(response.headers.get('X-My-Header'));\nconsole.log(response.statusText); // access the underlying Response object\n\nconst { data: build, response: raw } = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .withResponse();\nconsole.log(raw.headers.get('X-My-Header'));\nconsole.log(build.id);\n```\n\n### Logging\n\n> [!IMPORTANT]\n> All log messages are intended for debugging only. The format and content of log messages\n> may change between releases.\n\n#### Log levels\n\nThe log level can be configured in two ways:\n\n1. Via the `STAINLESS_LOG` environment variable\n2. Using the `logLevel` client option (overrides the environment variable if set)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n logLevel: 'debug', // Show all log messages\n});\n```\n\nAvailable log levels, from most to least verbose:\n\n- `'debug'` - Show debug messages, info, warnings, and errors\n- `'info'` - Show info messages, warnings, and errors\n- `'warn'` - Show warnings and errors (default)\n- `'error'` - Show only errors\n- `'off'` - Disable all logging\n\nAt the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.\nSome authentication-related headers are redacted, but sensitive data in request and response bodies\nmay still be visible.\n\n#### Custom logger\n\nBy default, this library logs to `globalThis.console`. You can also provide a custom logger.\nMost logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.\n\nWhen providing a custom logger, the `logLevel` option still controls which messages are emitted, messages\nbelow the configured level will not be sent to your logger.\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport pino from 'pino';\n\nconst logger = pino();\n\nconst client = new Stainless({\n logger: logger.child({ name: 'Stainless' }),\n logLevel: 'debug', // Send all messages to pino, allowing it to filter\n});\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.\nOptions on the client, such as retries, will be respected when making these requests.\n\n```ts\nawait client.post('/some/path', {\n body: { some_prop: 'foo' },\n query: { some_query_arg: 'bar' },\n});\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented\nparameter. This library doesn't validate at runtime that the request matches the type, so any extra values you\nsend will be sent as-is.\n\n```ts\nclient.builds.create({\n // ...\n // @ts-expect-error baz is not yet public\n baz: 'undocumented option',\n});\n```\n\nFor requests with the `GET` verb, any extra params will be in the query, all other requests will send the\nextra param in the body.\n\nIf you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may access the response object with `// @ts-expect-error` on\nthe response object, or cast the response object to the requisite type. Like the request params, we do not\nvalidate or strip extra properties from the response from the API.\n\n### Customizing the fetch client\n\nBy default, this library expects a global `fetch` function is defined.\n\nIf you want to use a different `fetch` function, you can either polyfill the global:\n\n```ts\nimport fetch from 'my-fetch';\n\nglobalThis.fetch = fetch;\n```\n\nOr pass it to the client:\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport fetch from 'my-fetch';\n\nconst client = new Stainless({ fetch });\n```\n\n### Fetch options\n\nIf you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n // `RequestInit` options\n },\n});\n```\n\n#### Configuring proxies\n\nTo modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy\noptions to requests:\n\n **Node** [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport * as undici from 'undici';\n\nconst proxyAgent = new undici.ProxyAgent('http://localhost:8888');\nconst client = new Stainless({\n fetchOptions: {\n dispatcher: proxyAgent,\n },\n});\n```\n\n **Bun** [[docs](https://bun.sh/guides/http/proxy)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n proxy: 'http://localhost:8888',\n },\n});\n```\n\n **Deno** [[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]\n\n```ts\nimport Stainless from 'npm:@stainless-api/sdk';\n\nconst httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });\nconst client = new Stainless({\n fetchOptions: {\n client: httpClient,\n },\n});\n```\n\n## Frequently Asked Questions\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-typescript/issues) with questions, bugs, or suggestions.\n\n## Requirements\n\nTypeScript >= 4.9 is supported.\n\nThe following runtimes are supported:\n\n- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)\n- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.\n- Deno v1.28.0 or higher.\n- Bun 1.0 or later.\n- Cloudflare Workers.\n- Vercel Edge Runtime.\n- Jest 28 or greater with the `\"node\"` environment (`\"jsdom\"` is not supported at this time).\n- Nitro v2.6 or greater.\n\nNote that React Native is not supported at this time.\n\nIf you are interested in other runtime environments, please open or upvote an issue on GitHub.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n", - }, + "language": "typescript", + "content": "# Stainless TypeScript API Library\n\n[![NPM version](https://img.shields.io/npm/v/@stainless-api/sdk.svg?label=npm%20(stable))](https://npmjs.org/package/@stainless-api/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@stainless-api/sdk)\n\nThis library provides convenient access to the Stainless REST API from server-side TypeScript or JavaScript.\n\n\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n```sh\nnpm install @stainless-api/sdk\n```\n\n\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n\n```js\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst build = await client.builds.create({ project: 'stainless', revision: 'main' });\n\nconsole.log(build.id);\n```\n\n\n\n### Request & Response types\n\nThis library includes TypeScript definitions for all request params and response fields. You may import and use them like so:\n\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst params: Stainless.BuildCreateParams = { project: 'stainless', revision: 'main' };\nconst build: Stainless.Build = await client.builds.create(params);\n```\n\nDocumentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.\n\n\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API,\nor if the API returns a non-success status code (i.e., 4xx or 5xx response),\na subclass of `APIError` will be thrown:\n\n\n```ts\nconst build = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .catch(async (err) => {\n if (err instanceof Stainless.APIError) {\n console.log(err.status); // 400\n console.log(err.name); // BadRequestError\n console.log(err.headers); // {server: 'nginx', ...}\n } else {\n throw err;\n }\n });\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors will all be retried by default.\n\nYou can use the `maxRetries` option to configure or disable this:\n\n\n```js\n// Configure the default for all requests:\nconst client = new Stainless({\n maxRetries: 0, // default is 2\n});\n\n// Or, configure per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n maxRetries: 5,\n});\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default. You can configure this with a `timeout` option:\n\n\n```ts\n// Configure the default for all requests:\nconst client = new Stainless({\n timeout: 20 * 1000, // 20 seconds (default is 1 minute)\n});\n\n// Override per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n timeout: 5 * 1000,\n});\n```\n\nOn timeout, an `APIConnectionTimeoutError` is thrown.\n\nNote that requests which time out will be [retried twice by default](#retries).\n\n## Auto-pagination\n\nList methods in the Stainless API are paginated.\nYou can use the `for await … of` syntax to iterate through items across all pages:\n\n```ts\nasync function fetchAllBuilds(params) {\n const allBuilds = [];\n // Automatically fetches more pages as needed.\n for await (const build of client.builds.list({ project: 'stainless' })) {\n allBuilds.push(build);\n }\n return allBuilds;\n}\n```\n\nAlternatively, you can request a single page at a time:\n\n```ts\nlet page = await client.builds.list({ project: 'stainless' });\nfor (const build of page.data) {\n console.log(build);\n}\n\n// Convenience methods are provided for manually paginating:\nwhile (page.hasNextPage()) {\n page = await page.getNextPage();\n // ...\n}\n```\n\n\n\n## Advanced Usage\n\n### Accessing raw Response data (e.g., headers)\n\nThe \"raw\" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.\nThis method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.\n\nYou can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.\nUnlike `.asResponse()` this method consumes the body, returning once it is parsed.\n\n\n```ts\nconst client = new Stainless();\n\nconst response = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .asResponse();\nconsole.log(response.headers.get('X-My-Header'));\nconsole.log(response.statusText); // access the underlying Response object\n\nconst { data: build, response: raw } = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .withResponse();\nconsole.log(raw.headers.get('X-My-Header'));\nconsole.log(build.id);\n```\n\n### Logging\n\n> [!IMPORTANT]\n> All log messages are intended for debugging only. The format and content of log messages\n> may change between releases.\n\n#### Log levels\n\nThe log level can be configured in two ways:\n\n1. Via the `STAINLESS_LOG` environment variable\n2. Using the `logLevel` client option (overrides the environment variable if set)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n logLevel: 'debug', // Show all log messages\n});\n```\n\nAvailable log levels, from most to least verbose:\n\n- `'debug'` - Show debug messages, info, warnings, and errors\n- `'info'` - Show info messages, warnings, and errors\n- `'warn'` - Show warnings and errors (default)\n- `'error'` - Show only errors\n- `'off'` - Disable all logging\n\nAt the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.\nSome authentication-related headers are redacted, but sensitive data in request and response bodies\nmay still be visible.\n\n#### Custom logger\n\nBy default, this library logs to `globalThis.console`. You can also provide a custom logger.\nMost logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.\n\nWhen providing a custom logger, the `logLevel` option still controls which messages are emitted, messages\nbelow the configured level will not be sent to your logger.\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport pino from 'pino';\n\nconst logger = pino();\n\nconst client = new Stainless({\n logger: logger.child({ name: 'Stainless' }),\n logLevel: 'debug', // Send all messages to pino, allowing it to filter\n});\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.\nOptions on the client, such as retries, will be respected when making these requests.\n\n```ts\nawait client.post('/some/path', {\n body: { some_prop: 'foo' },\n query: { some_query_arg: 'bar' },\n});\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented\nparameter. This library doesn't validate at runtime that the request matches the type, so any extra values you\nsend will be sent as-is.\n\n```ts\nclient.builds.create({\n // ...\n // @ts-expect-error baz is not yet public\n baz: 'undocumented option',\n});\n```\n\nFor requests with the `GET` verb, any extra params will be in the query, all other requests will send the\nextra param in the body.\n\nIf you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may access the response object with `// @ts-expect-error` on\nthe response object, or cast the response object to the requisite type. Like the request params, we do not\nvalidate or strip extra properties from the response from the API.\n\n### Customizing the fetch client\n\nBy default, this library expects a global `fetch` function is defined.\n\nIf you want to use a different `fetch` function, you can either polyfill the global:\n\n```ts\nimport fetch from 'my-fetch';\n\nglobalThis.fetch = fetch;\n```\n\nOr pass it to the client:\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport fetch from 'my-fetch';\n\nconst client = new Stainless({ fetch });\n```\n\n### Fetch options\n\nIf you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n // `RequestInit` options\n },\n});\n```\n\n#### Configuring proxies\n\nTo modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy\noptions to requests:\n\n **Node** [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport * as undici from 'undici';\n\nconst proxyAgent = new undici.ProxyAgent('http://localhost:8888');\nconst client = new Stainless({\n fetchOptions: {\n dispatcher: proxyAgent,\n },\n});\n```\n\n **Bun** [[docs](https://bun.sh/guides/http/proxy)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n proxy: 'http://localhost:8888',\n },\n});\n```\n\n **Deno** [[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]\n\n```ts\nimport Stainless from 'npm:@stainless-api/sdk';\n\nconst httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });\nconst client = new Stainless({\n fetchOptions: {\n client: httpClient,\n },\n});\n```\n\n## Frequently Asked Questions\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-typescript/issues) with questions, bugs, or suggestions.\n\n## Requirements\n\nTypeScript >= 4.9 is supported.\n\nThe following runtimes are supported:\n\n- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)\n- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.\n- Deno v1.28.0 or higher.\n- Bun 1.0 or later.\n- Cloudflare Workers.\n- Vercel Edge Runtime.\n- Jest 28 or greater with the `\"node\"` environment (`\"jsdom\"` is not supported at this time).\n- Nitro v2.6 or greater.\n\nNote that React Native is not supported at this time.\n\nIf you are interested in other runtime environments, please open or upvote an issue on GitHub.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n" + } ]; const INDEX_OPTIONS = { @@ -1617,18 +1402,21 @@ export class LocalDocsSearch { maxResults?: number; maxLength?: number; }): SearchResult { - const { query, language = 'typescript', detail = 'default', maxResults = 5, maxLength = 100_000 } = props; + const { + query, + language = 'typescript', + detail = 'default', + maxResults = 5, + maxLength = 100_000, + } = props; const useMarkdown = detail === 'verbose' || detail === 'high'; // Search both indices and merge results by score. // Filter prose hits so language-tagged content (READMEs and docs with // frontmatter) only matches the requested language. - const methodHits = this.methodIndex - .search(query) - .map((hit) => ({ ...hit, _kind: 'http_method' as const })); - const proseHits = this.proseIndex - .search(query) + const methodHits = this.methodIndex.search(query).map((hit) => ({ ...hit, _kind: 'http_method' as const })); + const proseHits = this.proseIndex.search(query) .filter((hit) => { const source = ((hit as Record)['_original'] as ProseChunk | undefined)?.source; if (!source) return true; diff --git a/packages/mcp-server/src/methods.ts b/packages/mcp-server/src/methods.ts index f29990af..a17f799a 100644 --- a/packages/mcp-server/src/methods.ts +++ b/packages/mcp-server/src/methods.ts @@ -7,142 +7,119 @@ export type SdkMethod = { fullyQualifiedName: string; httpMethod?: 'get' | 'post' | 'put' | 'patch' | 'delete' | 'query'; httpPath?: string; -}; - -export const sdkMethods: SdkMethod[] = [ - { - clientCallName: 'client.projects.create', - fullyQualifiedName: 'projects.create', - httpMethod: 'post', - httpPath: '/v0/projects', - }, - { - clientCallName: 'client.projects.retrieve', - fullyQualifiedName: 'projects.retrieve', - httpMethod: 'get', - httpPath: '/v0/projects/{project}', - }, - { - clientCallName: 'client.projects.update', - fullyQualifiedName: 'projects.update', - httpMethod: 'patch', - httpPath: '/v0/projects/{project}', - }, - { - clientCallName: 'client.projects.list', - fullyQualifiedName: 'projects.list', - httpMethod: 'get', - httpPath: '/v0/projects', - }, - { - clientCallName: 'client.projects.generateCommitMessage', - fullyQualifiedName: 'projects.generateCommitMessage', - httpMethod: 'post', - httpPath: '/v0/projects/{project}/generate_commit_message', - }, - { - clientCallName: 'client.projects.branches.create', - fullyQualifiedName: 'projects.branches.create', - httpMethod: 'post', - httpPath: '/v0/projects/{project}/branches', - }, - { - clientCallName: 'client.projects.branches.retrieve', - fullyQualifiedName: 'projects.branches.retrieve', - httpMethod: 'get', - httpPath: '/v0/projects/{project}/branches/{branch}', - }, - { - clientCallName: 'client.projects.branches.list', - fullyQualifiedName: 'projects.branches.list', - httpMethod: 'get', - httpPath: '/v0/projects/{project}/branches', - }, - { - clientCallName: 'client.projects.branches.delete', - fullyQualifiedName: 'projects.branches.delete', - httpMethod: 'delete', - httpPath: '/v0/projects/{project}/branches/{branch}', - }, - { - clientCallName: 'client.projects.branches.rebase', - fullyQualifiedName: 'projects.branches.rebase', - httpMethod: 'put', - httpPath: '/v0/projects/{project}/branches/{branch}/rebase', - }, - { - clientCallName: 'client.projects.branches.reset', - fullyQualifiedName: 'projects.branches.reset', - httpMethod: 'put', - httpPath: '/v0/projects/{project}/branches/{branch}/reset', - }, - { - clientCallName: 'client.projects.configs.retrieve', - fullyQualifiedName: 'projects.configs.retrieve', - httpMethod: 'get', - httpPath: '/v0/projects/{project}/configs', - }, - { - clientCallName: 'client.projects.configs.guess', - fullyQualifiedName: 'projects.configs.guess', - httpMethod: 'post', - httpPath: '/v0/projects/{project}/configs/guess', - }, - { - clientCallName: 'client.builds.create', - fullyQualifiedName: 'builds.create', - httpMethod: 'post', - httpPath: '/v0/builds', - }, - { - clientCallName: 'client.builds.retrieve', - fullyQualifiedName: 'builds.retrieve', - httpMethod: 'get', - httpPath: '/v0/builds/{buildId}', - }, - { - clientCallName: 'client.builds.list', - fullyQualifiedName: 'builds.list', - httpMethod: 'get', - httpPath: '/v0/builds', - }, - { - clientCallName: 'client.builds.compare', - fullyQualifiedName: 'builds.compare', - httpMethod: 'post', - httpPath: '/v0/builds/compare', - }, - { - clientCallName: 'client.builds.diagnostics.list', - fullyQualifiedName: 'builds.diagnostics.list', - httpMethod: 'get', - httpPath: '/v0/builds/{buildId}/diagnostics', - }, - { - clientCallName: 'client.builds.targetOutputs.retrieve', - fullyQualifiedName: 'builds.targetOutputs.retrieve', - httpMethod: 'get', - httpPath: '/v0/build_target_outputs', - }, - { - clientCallName: 'client.orgs.retrieve', - fullyQualifiedName: 'orgs.retrieve', - httpMethod: 'get', - httpPath: '/v0/orgs/{org}', - }, - { - clientCallName: 'client.orgs.list', - fullyQualifiedName: 'orgs.list', - httpMethod: 'get', - httpPath: '/v0/orgs', - }, - { - clientCallName: 'client.user.retrieve', - fullyQualifiedName: 'user.retrieve', - httpMethod: 'get', - httpPath: '/v0/user', - }, -]; +} + +export const sdkMethods: SdkMethod[] = [{ + clientCallName: 'client.projects.create', + fullyQualifiedName: 'projects.create', + httpMethod: 'post', + httpPath: '/v0/projects', +},{ + clientCallName: 'client.projects.retrieve', + fullyQualifiedName: 'projects.retrieve', + httpMethod: 'get', + httpPath: '/v0/projects/{project}', +},{ + clientCallName: 'client.projects.update', + fullyQualifiedName: 'projects.update', + httpMethod: 'patch', + httpPath: '/v0/projects/{project}', +},{ + clientCallName: 'client.projects.list', + fullyQualifiedName: 'projects.list', + httpMethod: 'get', + httpPath: '/v0/projects', +},{ + clientCallName: 'client.projects.generateCommitMessage', + fullyQualifiedName: 'projects.generateCommitMessage', + httpMethod: 'post', + httpPath: '/v0/projects/{project}/generate_commit_message', +},{ + clientCallName: 'client.projects.branches.create', + fullyQualifiedName: 'projects.branches.create', + httpMethod: 'post', + httpPath: '/v0/projects/{project}/branches', +},{ + clientCallName: 'client.projects.branches.retrieve', + fullyQualifiedName: 'projects.branches.retrieve', + httpMethod: 'get', + httpPath: '/v0/projects/{project}/branches/{branch}', +},{ + clientCallName: 'client.projects.branches.list', + fullyQualifiedName: 'projects.branches.list', + httpMethod: 'get', + httpPath: '/v0/projects/{project}/branches', +},{ + clientCallName: 'client.projects.branches.delete', + fullyQualifiedName: 'projects.branches.delete', + httpMethod: 'delete', + httpPath: '/v0/projects/{project}/branches/{branch}', +},{ + clientCallName: 'client.projects.branches.rebase', + fullyQualifiedName: 'projects.branches.rebase', + httpMethod: 'put', + httpPath: '/v0/projects/{project}/branches/{branch}/rebase', +},{ + clientCallName: 'client.projects.branches.reset', + fullyQualifiedName: 'projects.branches.reset', + httpMethod: 'put', + httpPath: '/v0/projects/{project}/branches/{branch}/reset', +},{ + clientCallName: 'client.projects.configs.retrieve', + fullyQualifiedName: 'projects.configs.retrieve', + httpMethod: 'get', + httpPath: '/v0/projects/{project}/configs', +},{ + clientCallName: 'client.projects.configs.guess', + fullyQualifiedName: 'projects.configs.guess', + httpMethod: 'post', + httpPath: '/v0/projects/{project}/configs/guess', +},{ + clientCallName: 'client.builds.create', + fullyQualifiedName: 'builds.create', + httpMethod: 'post', + httpPath: '/v0/builds', +},{ + clientCallName: 'client.builds.retrieve', + fullyQualifiedName: 'builds.retrieve', + httpMethod: 'get', + httpPath: '/v0/builds/{buildId}', +},{ + clientCallName: 'client.builds.list', + fullyQualifiedName: 'builds.list', + httpMethod: 'get', + httpPath: '/v0/builds', +},{ + clientCallName: 'client.builds.compare', + fullyQualifiedName: 'builds.compare', + httpMethod: 'post', + httpPath: '/v0/builds/compare', +},{ + clientCallName: 'client.builds.diagnostics.list', + fullyQualifiedName: 'builds.diagnostics.list', + httpMethod: 'get', + httpPath: '/v0/builds/{buildId}/diagnostics', +},{ + clientCallName: 'client.builds.targetOutputs.retrieve', + fullyQualifiedName: 'builds.targetOutputs.retrieve', + httpMethod: 'get', + httpPath: '/v0/build_target_outputs', +},{ + clientCallName: 'client.orgs.retrieve', + fullyQualifiedName: 'orgs.retrieve', + httpMethod: 'get', + httpPath: '/v0/orgs/{org}', +},{ + clientCallName: 'client.orgs.list', + fullyQualifiedName: 'orgs.list', + httpMethod: 'get', + httpPath: '/v0/orgs', +},{ + clientCallName: 'client.user.retrieve', + fullyQualifiedName: 'user.retrieve', + httpMethod: 'get', + httpPath: '/v0/user', +}]; function allowedMethodsForCodeTool(options: McpOptions | undefined): SdkMethod[] | undefined { if (!options) { @@ -157,9 +134,9 @@ function allowedMethodsForCodeTool(options: McpOptions | undefined): SdkMethod[] if (options.codeAllowHttpGets) { // Add all methods that map to an HTTP GET - sdkMethods - .filter((method) => method.httpMethod === 'get') - .forEach((method) => allowedMethodsSet.add(method)); + sdkMethods.filter((method) => method.httpMethod === 'get').forEach( + (method) => allowedMethodsSet.add(method) + ); } if (options.codeAllowedMethods) { @@ -168,15 +145,13 @@ function allowedMethodsForCodeTool(options: McpOptions | undefined): SdkMethod[] try { return new RegExp(pattern); } catch (e) { - throw new Error( - `Invalid regex pattern for allowed method: "${pattern}": ${e instanceof Error ? e.message : e}`, - ); + throw new Error(`Invalid regex pattern for allowed method: "${pattern}": ${e instanceof Error ? e.message : e}`); } }); - sdkMethods - .filter((method) => allowedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName))) - .forEach((method) => allowedMethodsSet.add(method)); + sdkMethods.filter((method) => + allowedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)) + ).forEach((method) => allowedMethodsSet.add(method)); } allowedMethods = Array.from(allowedMethodsSet); @@ -191,14 +166,12 @@ function allowedMethodsForCodeTool(options: McpOptions | undefined): SdkMethod[] try { return new RegExp(pattern); } catch (e) { - throw new Error( - `Invalid regex pattern for blocked method: "${pattern}": ${e instanceof Error ? e.message : e}`, - ); + throw new Error(`Invalid regex pattern for blocked method: "${pattern}": ${e instanceof Error ? e.message : e}`); } }); - allowedMethods = allowedMethods.filter( - (method) => !blockedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)), + allowedMethods = allowedMethods.filter((method) => + !blockedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)) ); } diff --git a/packages/mcp-server/src/options.ts b/packages/mcp-server/src/options.ts index f1518764..873ab8e8 100644 --- a/packages/mcp-server/src/options.ts +++ b/packages/mcp-server/src/options.ts @@ -31,46 +31,31 @@ export type McpCodeExecutionMode = 'stainless-sandbox' | 'local'; export function parseCLIOptions(): CLIOptions { const opts = yargs(hideBin(process.argv)) - .option('code-allow-http-gets', { - type: 'boolean', - description: - 'Allow all code tool methods that map to HTTP GET operations. If all code-allow-* flags are unset, then everything is allowed.', - }) + .option('code-allow-http-gets', { type: 'boolean', description: 'Allow all code tool methods that map to HTTP GET operations. If all code-allow-* flags are unset, then everything is allowed.' }) .option('code-allowed-methods', { type: 'string', array: true, - description: - 'Methods to explicitly allow for code tool. Evaluated as regular expressions against method fully qualified names. If all code-allow-* flags are unset, then everything is allowed.', + description: 'Methods to explicitly allow for code tool. Evaluated as regular expressions against method fully qualified names. If all code-allow-* flags are unset, then everything is allowed.', }) .option('code-blocked-methods', { type: 'string', array: true, - description: - 'Methods to explicitly block for code tool. Evaluated as regular expressions against method fully qualified names. If all code-allow-* flags are unset, then everything is allowed.', + description: 'Methods to explicitly block for code tool. Evaluated as regular expressions against method fully qualified names. If all code-allow-* flags are unset, then everything is allowed.', }) .option('code-execution-mode', { type: 'string', choices: ['stainless-sandbox', 'local'], default: 'stainless-sandbox', - description: - "Where to run code execution in code tool; 'stainless-sandbox' will execute code in Stainless-hosted sandboxes whereas 'local' will execute code locally on the MCP server machine.", - }) - .option('custom-instructions-path', { - type: 'string', - description: 'Path to custom instructions for the MCP server', + description: 'Where to run code execution in code tool; \'stainless-sandbox\' will execute code in Stainless-hosted sandboxes whereas \'local\' will execute code locally on the MCP server machine.', }) + .option('custom-instructions-path', { type: 'string', description: 'Path to custom instructions for the MCP server' }) .option('debug', { type: 'boolean', description: 'Enable debug logging' }) - .option('docs-dir', { - type: 'string', - description: - 'Path to a directory of local documentation files (markdown/JSON) to include in local docs search.', - }) + .option('docs-dir', { type: 'string', description: 'Path to a directory of local documentation files (markdown/JSON) to include in local docs search.' }) .option('docs-search-mode', { type: 'string', choices: ['stainless-api', 'local'], default: 'stainless-api', - description: - "Where to search documentation; 'stainless-api' uses the Stainless-hosted search API whereas 'local' uses an in-memory search index built from embedded SDK method data and optional local docs files.", + description: 'Where to search documentation; \'stainless-api\' uses the Stainless-hosted search API whereas \'local\' uses an in-memory search index built from embedded SDK method data and optional local docs files.', }) .option('log-format', { type: 'string', @@ -92,8 +77,7 @@ export function parseCLIOptions(): CLIOptions { .option('stainless-api-key', { type: 'string', default: readEnv('STAINLESS_API_KEY'), - description: - 'API key for Stainless. Used to authenticate requests to Stainless-hosted tools endpoints.', + description: 'API key for Stainless. Used to authenticate requests to Stainless-hosted tools endpoints.', }) .option('tools', { type: 'string', @@ -114,18 +98,15 @@ export function parseCLIOptions(): CLIOptions { const argv = opts.parseSync(); const shouldIncludeToolType = (toolType: 'code' | 'docs') => - argv.noTools?.includes(toolType) ? false - : argv.tools?.includes(toolType) ? true - : undefined; + argv.noTools?.includes(toolType) ? false + : argv.tools?.includes(toolType) ? true + : undefined; const includeCodeTool = shouldIncludeToolType('code'); const includeDocsTools = shouldIncludeToolType('docs'); const transport = argv.transport as 'stdio' | 'http'; - const logFormat = - argv.logFormat ? (argv.logFormat as 'json' | 'pretty') - : process.stderr.isTTY ? 'pretty' - : 'json'; + const logFormat = argv.logFormat ? argv.logFormat as 'json' | 'pretty' : (process.stderr.isTTY ? 'pretty' : 'json'); return { ...(includeCodeTool !== undefined && { includeCodeTool }), @@ -166,8 +147,8 @@ export function parseQueryOptions(defaultOptions: McpOptions, query: unknown): M const queryOptions = QueryOptions.parse(queryObject); let codeTool: boolean | undefined = - queryOptions.no_tools && queryOptions.no_tools?.includes('code') ? false - : queryOptions.tools?.includes('code') ? true + queryOptions.no_tools && queryOptions.no_tools?.includes("code") ? false + : queryOptions.tools?.includes("code") ? true : defaultOptions.includeCodeTool; let docsTools: boolean | undefined = diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index b3716eff..2a62a09c 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -3,9 +3,7 @@ import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { - CallToolRequestSchema, - ListToolsRequestSchema, - SetLevelRequestSchema, + CallToolRequestSchema,ListToolsRequestSchema,SetLevelRequestSchema } from '@modelcontextprotocol/sdk/types.js'; import { ClientOptions } from '@stainless-api/sdk'; import Stainless from '@stainless-api/sdk'; @@ -16,26 +14,25 @@ import { LocalDocsSearch } from './local-docs-search'; import { getInstructions } from './instructions'; import { McpOptions } from './options'; import { blockedMethodsForCodeTool } from './methods'; -import { HandlerFunction, McpRequestContext, ToolCallResult, McpTool } from './types'; +import { HandlerFunction, McpRequestContext, ToolCallResult, McpTool } from "./types" import { readEnv } from './util'; export const newMcpServer = async ({ stainlessApiKey, customInstructionsPath, }: { - stainlessApiKey?: string | undefined; - customInstructionsPath?: string | undefined; -}) => - new McpServer( - { - name: 'stainless_api_sdk_api', - version: '0.5.0', - }, - { - instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }), - capabilities: { tools: {}, logging: {} }, - }, - ); + stainlessApiKey?: string | undefined, + customInstructionsPath?: string | undefined, +}) => new McpServer( + { + name: 'stainless_api_sdk_api', + version: '0.5.0', + }, + { + instructions: await getInstructions({stainlessApiKey, customInstructionsPath}), + capabilities: { tools: {}, logging: {} }, + } +); /** * Initializes the provided MCP Server with the given tools and handlers. @@ -57,15 +54,15 @@ export async function initMcpServer(params: { (message: string, ...rest: unknown[]) => { void server.sendLoggingMessage({ level, - data: { message, rest }, + data: {message, rest}, }); - }; + } const logger = { - debug: logAtLevel('debug'), - info: logAtLevel('info'), - warn: logAtLevel('warning'), - error: logAtLevel('error'), - }; + debug: logAtLevel("debug"), + info: logAtLevel("info"), + warn: logAtLevel("warning"), + error: logAtLevel("error"), + } if (params.mcpOptions?.docsSearchMode === 'local') { const docsDir = params.mcpOptions?.docsDir; @@ -82,17 +79,14 @@ export async function initMcpServer(params: { if (!_client) { try { _client = new Stainless({ - ...{ - project: readEnv('STAINLESS_PROJECT'), - environment: (readEnv('STAINLESS_ENVIRONMENT') || undefined) as any, - }, - logger, - ...params.clientOptions, - defaultHeaders: { - ...params.clientOptions?.defaultHeaders, - 'X-Stainless-MCP': 'true', - }, - }); + ...({ project: readEnv('STAINLESS_PROJECT'), environment: (readEnv('STAINLESS_ENVIRONMENT') || undefined) as any }), + logger, + ...params.clientOptions, + defaultHeaders: { + ...params.clientOptions?.defaultHeaders, + 'X-Stainless-MCP': 'true', + }, +}); if (_logLevel) { _client = _client.withOptions({ logLevel: _logLevel }); } @@ -125,12 +119,10 @@ export async function initMcpServer(params: { client = getClient(); } catch (error) { return { - content: [ - { - type: 'text' as const, - text: `Failed to initialize client: ${error instanceof Error ? error.message : String(error)}`, - }, - ], + content: [{ + type: 'text' as const, + text: `Failed to initialize client: ${error instanceof Error ? error.message : String(error)}`, + }], isError: true, }; } @@ -180,16 +172,17 @@ export async function initMcpServer(params: { /** * Selects the tools to include in the MCP Server based on the provided options. */ -export function selectTools(options?: McpOptions): McpTool[] { +export function selectTools( + options?: McpOptions +): McpTool[] { + const includedTools = []; if (options?.includeCodeTool ?? true) { - includedTools.push( - codeTool({ - blockedMethods: blockedMethodsForCodeTool(options), - codeExecutionMode: options?.codeExecutionMode ?? 'stainless-sandbox', - }), - ); + includedTools.push(codeTool({ + blockedMethods: blockedMethodsForCodeTool(options), + codeExecutionMode: options?.codeExecutionMode ?? 'stainless-sandbox', + })); } if (options?.includeDocsTools ?? true) { includedTools.push(docsSearchTool); @@ -200,14 +193,13 @@ export function selectTools(options?: McpOptions): McpTool[] { /** * Runs the provided handler with the given client and arguments. */ -export async function executeHandler({ - handler, - reqContext, - args, -}: { - handler: HandlerFunction; - reqContext: McpRequestContext; - args: Record | undefined; -}): Promise { - return await handler({ reqContext, args: args || {} }); +export async function executeHandler( + {handler, reqContext, args}: + { + handler: HandlerFunction; + reqContext: McpRequestContext; + args: Record | undefined; + } +): Promise { + return await handler({reqContext, args: args || {}}); } diff --git a/packages/mcp-server/src/types.ts b/packages/mcp-server/src/types.ts index b26edeb7..6c68dafa 100644 --- a/packages/mcp-server/src/types.ts +++ b/packages/mcp-server/src/types.ts @@ -4,43 +4,41 @@ import Stainless from '@stainless-api/sdk'; import { Tool } from '@modelcontextprotocol/sdk/types.js'; type TextContentBlock = { - type: 'text'; - text: string; -}; + type: "text", + text: string +} type ImageContentBlock = { - type: 'image'; - data: string; - mimeType: string; -}; + type: "image", + data: string, + mimeType: string +} type AudioContentBlock = { - type: 'audio'; - data: string; - mimeType: string; -}; + type: "audio", + data: string, + mimeType: string +} type ResourceContentBlock = { - type: 'resource'; - resource: - | { - uri: string; - mimeType: string; - text: string; - } - | { - uri: string; - mimeType: string; - blob: string; - }; -}; + type: "resource", + resource: { + uri: string, + mimeType: string, + text: string + } | { + uri: string, + mimeType: string, + blob: string + } +} export type ContentBlock = TextContentBlock | ImageContentBlock | AudioContentBlock | ResourceContentBlock; export type ToolCallResult = { content: ContentBlock[]; isError?: boolean; -}; +} export type McpRequestContext = { client: Stainless; @@ -48,7 +46,7 @@ export type McpRequestContext = { upstreamClientEnvs?: Record | undefined; mcpSessionId?: string | undefined; mcpClientInfo?: { name: string; version: string } | undefined; -}; +} export type HandlerFunction = ({ reqContext, @@ -58,7 +56,9 @@ export type HandlerFunction = ({ args: Record | undefined; }) => Promise; -export function asTextContentResult(result: unknown): ToolCallResult { +export function asTextContentResult( + result: unknown, +): ToolCallResult { return { content: [ { @@ -69,18 +69,24 @@ export function asTextContentResult(result: unknown): ToolCallResult { }; } -export async function asBinaryContentResult(response: Response): Promise { +export async function asBinaryContentResult( + response: Response, +): Promise { const blob = await response.blob(); const mimeType = blob.type; const data = Buffer.from(await blob.arrayBuffer()).toString('base64'); if (mimeType.startsWith('image/')) { return { - content: [{ type: 'image', mimeType, data }], - }; + content: [ + {type: 'image', mimeType, data} + ] + } } else if (mimeType.startsWith('audio/')) { return { - content: [{ type: 'audio', mimeType, data }], - }; + content: [ + {type: 'audio', mimeType, data} + ] + } } else { return { content: [ @@ -98,7 +104,9 @@ export async function asBinaryContentResult(response: Response): Promise Running prettier --write" -# format things eslint didn't -PRETTIER_FILES="$(grep '\.\(js\|json\)$' "$FILE_LIST" || true)" +PRETTIER_FILES="$(grep '\.\([mc]?tsx?\|[mc]?jsx?\|json\)$' "$FILE_LIST" || true)" if ! [ -z "$PRETTIER_FILES" ]; then echo "$PRETTIER_FILES" | xargs ./node_modules/.bin/prettier \ - --write --cache --cache-strategy metadata --no-error-on-unmatched-pattern \ - '!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs' + --write --cache --cache-strategy metadata --no-error-on-unmatched-pattern fi diff --git a/scripts/format b/scripts/format index 7a756401..b1b2c17a 100755 --- a/scripts/format +++ b/scripts/format @@ -8,5 +8,4 @@ echo "==> Running eslint --fix" ./node_modules/.bin/eslint --fix . echo "==> Running prettier --write" -# format things eslint didn't -./node_modules/.bin/prettier --write --cache --cache-strategy metadata . '!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs' +./node_modules/.bin/prettier --write --cache --cache-strategy metadata . diff --git a/scripts/lint b/scripts/lint index 3ffb78a6..1f532548 100755 --- a/scripts/lint +++ b/scripts/lint @@ -4,6 +4,9 @@ set -e cd "$(dirname "$0")/.." +echo "==> Running prettier --check" +./node_modules/.bin/prettier --check . + echo "==> Running eslint" ./node_modules/.bin/eslint . diff --git a/src/api-promise.ts b/src/api-promise.ts index 8c775ee6..4e701286 100644 --- a/src/api-promise.ts +++ b/src/api-promise.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/api-promise instead */ -export * from './core/api-promise'; +export * from "./core/api-promise" \ No newline at end of file diff --git a/src/client.ts b/src/client.ts index f873fe53..fedfd38c 100644 --- a/src/client.ts +++ b/src/client.ts @@ -21,39 +21,13 @@ import * as API from './resources/index'; import { APIPromise } from './core/api-promise'; import { Org, OrgListResponse, Orgs } from './resources/orgs'; import { User, UserRetrieveResponse } from './resources/user'; -import { - Build, - BuildCompareParams, - BuildCompareResponse, - BuildCreateParams, - BuildListParams, - BuildTarget, - Builds, - BuildsPage, - CheckStep, -} from './resources/builds/builds'; -import { - Project, - ProjectCreateParams, - ProjectGenerateCommitMessageParams, - ProjectGenerateCommitMessageResponse, - ProjectListParams, - ProjectRetrieveParams, - ProjectUpdateParams, - Projects, - ProjectsPage, -} from './resources/projects/projects'; +import { Build, BuildCompareParams, BuildCompareResponse, BuildCreateParams, BuildListParams, BuildTarget, Builds, BuildsPage, CheckStep } from './resources/builds/builds'; +import { Project, ProjectCreateParams, ProjectGenerateCommitMessageParams, ProjectGenerateCommitMessageResponse, ProjectListParams, ProjectRetrieveParams, ProjectUpdateParams, Projects, ProjectsPage } from './resources/projects/projects'; import { type Fetch } from './internal/builtin-types'; import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers'; import { FinalRequestOptions, RequestOptions } from './internal/request-options'; import { readEnv } from './internal/utils/env'; -import { - type LogLevel, - type Logger, - formatRequestDetails, - loggerFor, - parseLogLevel, -} from './internal/utils/log'; +import { type LogLevel, type Logger, formatRequestDetails, loggerFor, parseLogLevel } from './internal/utils/log'; import { isEmptyObj } from './internal/utils/values'; import { unwrapFile } from './lib/unwrap'; @@ -150,7 +124,7 @@ export interface ClientOptions { } /** - * API Client for interfacing with the Stainless API. + * API Client for interfacing with the Stainless API. */ export class Stainless { apiKey: string | null; @@ -188,6 +162,7 @@ export class Stainless { project = null, ...opts }: ClientOptions = {}) { + const options: ClientOptions = { apiKey, project, @@ -198,8 +173,8 @@ export class Stainless { if (baseURL && opts.environment) { throw new Errors.StainlessError( - 'Ambiguous URL; The `baseURL` option (or STAINLESS_BASE_URL env var) and the `environment` option are given. If you want to use the environment you must pass baseURL: null', - ); + 'Ambiguous URL; The `baseURL` option (or STAINLESS_BASE_URL env var) and the `environment` option are given. If you want to use the environment you must pass baseURL: null' + ) } this.baseURL = options.baseURL || environments[options.environment || 'production']; @@ -208,10 +183,7 @@ export class Stainless { const defaultLogLevel = 'warn'; // Set default logLevel early so that we can log a warning in parseLogLevel. this.logLevel = defaultLogLevel; - this.logLevel = - parseLogLevel(options.logLevel, 'ClientOptions.logLevel', this) ?? - parseLogLevel(readEnv('STAINLESS_LOG'), "process.env['STAINLESS_LOG']", this) ?? - defaultLogLevel; + this.logLevel = parseLogLevel(options.logLevel, 'ClientOptions.logLevel', this) ?? parseLogLevel(readEnv('STAINLESS_LOG'), 'process.env[\'STAINLESS_LOG\']', this) ?? defaultLogLevel; this.fetchOptions = options.fetchOptions; this.maxRetries = options.maxRetries ?? 2; this.fetch = options.fetch ?? Shims.getDefaultFetch(); @@ -239,7 +211,7 @@ export class Stainless { fetchOptions: this.fetchOptions, apiKey: this.apiKey, project: this.project, - ...options, + ...options }); return client; } @@ -252,7 +224,7 @@ export class Stainless { } protected defaultQuery(): Record | undefined { - return this._options.defaultQuery; + return this._options.defaultQuery } protected validateHeaders({ values, nulls }: NullableHeaders) { @@ -263,9 +235,7 @@ export class Stainless { return; } - throw new Error( - 'Could not resolve authentication method. Expected the apiKey to be set. Or for the "Authorization" headers to be explicitly omitted', - ); + throw new Error('Could not resolve authentication method. Expected the apiKey to be set. Or for the "Authorization" headers to be explicitly omitted') } protected async authHeaders(opts: FinalRequestOptions): Promise { @@ -296,11 +266,7 @@ export class Stainless { return Errors.APIError.generate(status, error, message, headers); } - buildURL( - path: string, - query: Record | null | undefined, - defaultBaseURL?: string | undefined, - ): string { + buildURL(path: string, query: Record | null | undefined, defaultBaseURL?: string | undefined): string { const baseURL = (!this.#baseURLOverridden() && defaultBaseURL) || this.baseURL; const url = isAbsoluteURL(path) ? @@ -388,9 +354,7 @@ export class Stainless { await this.prepareOptions(options); - const { req, url, timeout } = await this.buildRequest(options, { - retryCount: maxRetries - retriesRemaining, - }); + const { req, url, timeout } = await this.buildRequest(options, { retryCount: maxRetries - retriesRemaining }); await this.prepareRequest(req, { url, options }); @@ -399,16 +363,7 @@ export class Stainless { const retryLogStr = retryOfRequestLogID === undefined ? '' : `, retryOf: ${retryOfRequestLogID}`; const startTime = Date.now(); - loggerFor(this).debug( - `[${requestLogID}] sending request`, - formatRequestDetails({ - retryOfRequestLogID, - method: options.method, - url, - options, - headers: req.headers, - }), - ); + loggerFor(this).debug(`[${requestLogID}] sending request`, formatRequestDetails({ retryOfRequestLogID, method: options.method, url, options, headers: req.headers })); if (options.signal?.aborted) { throw new Errors.APIUserAbortError(); @@ -427,45 +382,21 @@ export class Stainless { // deno throws "TypeError: error sending request for url (https://example/): client error (Connect): tcp connect error: Operation timed out (os error 60): Operation timed out (os error 60)" // undici throws "TypeError: fetch failed" with cause "ConnectTimeoutError: Connect Timeout Error (attempted address: example:443, timeout: 1ms)" // others do not provide enough information to distinguish timeouts from other connection errors - const isTimeout = - isAbortError(response) || - /timed? ?out/i.test(String(response) + ('cause' in response ? String(response.cause) : '')); + const isTimeout = isAbortError(response) || /timed? ?out/i.test(String(response) + ('cause' in response ? String(response.cause) : '')) if (retriesRemaining) { - loggerFor(this).info( - `[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - ${retryMessage}`, - ); - loggerFor(this).debug( - `[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (${retryMessage})`, - formatRequestDetails({ - retryOfRequestLogID, - url, - durationMs: headersTime - startTime, - message: response.message, - }), - ); + loggerFor(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - ${retryMessage}`) + loggerFor(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (${retryMessage})`, formatRequestDetails({ retryOfRequestLogID, url, durationMs: headersTime - startTime, message: response.message })); return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID); } - loggerFor(this).info( - `[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - error; no more retries left`, - ); - loggerFor(this).debug( - `[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (error; no more retries left)`, - formatRequestDetails({ - retryOfRequestLogID, - url, - durationMs: headersTime - startTime, - message: response.message, - }), - ); + loggerFor(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - error; no more retries left`) + loggerFor(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (error; no more retries left)`, formatRequestDetails({ retryOfRequestLogID, url, durationMs: headersTime - startTime, message: response.message })); if (isTimeout) { throw new Errors.APIConnectionTimeoutError(); } throw new Errors.APIConnectionError({ cause: response }); } - const responseInfo = `[${requestLogID}${retryLogStr}] ${req.method} ${url} ${ - response.ok ? 'succeeded' : 'failed' - } with status ${response.status} in ${headersTime - startTime}ms`; + const responseInfo = `[${requestLogID}${retryLogStr}] ${req.method} ${url} ${response.ok ? 'succeeded' : 'failed'} with status ${response.status} in ${headersTime - startTime}ms`; if (!response.ok) { const shouldRetry = await this.shouldRetry(response); @@ -474,60 +405,27 @@ export class Stainless { // We don't need the body of this response. await Shims.CancelReadableStream(response.body); - loggerFor(this).info(`${responseInfo} - ${retryMessage}`); - loggerFor(this).debug( - `[${requestLogID}] response error (${retryMessage})`, - formatRequestDetails({ - retryOfRequestLogID, - url: response.url, - status: response.status, - headers: response.headers, - durationMs: headersTime - startTime, - }), - ); - return this.retryRequest( - options, - retriesRemaining, - retryOfRequestLogID ?? requestLogID, - response.headers, - ); + loggerFor(this).info(`${responseInfo} - ${retryMessage}`) + loggerFor(this).debug(`[${requestLogID}] response error (${retryMessage})`, formatRequestDetails({ retryOfRequestLogID, url: response.url, status: response.status, headers: response.headers, durationMs: headersTime - startTime })); + return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID, response.headers); } const retryMessage = shouldRetry ? `error; no more retries left` : `error; not retryable`; - loggerFor(this).info(`${responseInfo} - ${retryMessage}`); + loggerFor(this).info(`${responseInfo} - ${retryMessage}`) const errText = await response.text().catch((err: any) => castToError(err).message); const errJSON = safeJSON(errText) as any; const errMessage = errJSON ? undefined : errText; - loggerFor(this).debug( - `[${requestLogID}] response error (${retryMessage})`, - formatRequestDetails({ - retryOfRequestLogID, - url: response.url, - status: response.status, - headers: response.headers, - message: errMessage, - durationMs: Date.now() - startTime, - }), - ); + loggerFor(this).debug(`[${requestLogID}] response error (${retryMessage})`, formatRequestDetails({ retryOfRequestLogID, url: response.url, status: response.status, headers: response.headers, message: errMessage, durationMs: Date.now() - startTime })); const err = this.makeStatusError(response.status, errJSON, errMessage, response.headers); throw err; } - loggerFor(this).info(responseInfo); - loggerFor(this).debug( - `[${requestLogID}] response start`, - formatRequestDetails({ - retryOfRequestLogID, - url: response.url, - status: response.status, - headers: response.headers, - durationMs: headersTime - startTime, - }), - ); + loggerFor(this).info(responseInfo) + loggerFor(this).debug(`[${requestLogID}] response start`, formatRequestDetails({ retryOfRequestLogID, url: response.url, status: response.status, headers: response.headers, durationMs: headersTime - startTime })); return { response, options, controller, requestLogID, retryOfRequestLogID, startTime }; } @@ -545,10 +443,7 @@ export class Stainless { ); } - requestAPIList< - Item = unknown, - PageClass extends Pagination.AbstractPage = Pagination.AbstractPage, - >( + requestAPIList = Pagination.AbstractPage>( Page: new (...args: ConstructorParameters) => PageClass, options: PromiseOrValue, ): Pagination.PagePromise { @@ -568,9 +463,7 @@ export class Stainless { const timeout = setTimeout(abort, ms); - const isReadableBody = - ((globalThis as any).ReadableStream && options.body instanceof (globalThis as any).ReadableStream) || - (typeof options.body === 'object' && options.body !== null && Symbol.asyncIterator in options.body); + const isReadableBody = ((globalThis as any).ReadableStream && options.body instanceof (globalThis as any).ReadableStream) || (typeof options.body === "object" && options.body !== null && Symbol.asyncIterator in options.body); const fetchOptions: RequestInit = { signal: controller.signal as any, @@ -585,6 +478,7 @@ export class Stainless { } try { + // use undefined this binding; fetch errors if bound to something else in browser/cloudflare return await this.fetch.call(undefined, url, fetchOptions); } finally { @@ -685,12 +579,11 @@ export class Stainless { const req: FinalizedRequestInit = { method, headers: reqHeaders, - ...(options.signal && { signal: options.signal }), - ...((globalThis as any).ReadableStream && - body instanceof (globalThis as any).ReadableStream && { duplex: 'half' }), + ...(options.signal && { signal: options.signal}), + ...((globalThis as any).ReadableStream && body instanceof (globalThis as any).ReadableStream && { duplex: "half" }), ...(body && { body }), - ...((this.fetchOptions as any) ?? {}), - ...((options.fetchOptions as any) ?? {}), + ...(this.fetchOptions as any ?? {}), + ...(options.fetchOptions as any ?? {}), }; return { req, url, timeout: options.timeout }; @@ -715,17 +608,15 @@ export class Stainless { const headers = buildHeaders([ idempotencyHeaders, - { - Accept: 'application/json', - 'User-Agent': this.getUserAgent(), - 'X-Stainless-Retry-Count': String(retryCount), - ...(options.timeout ? { 'X-Stainless-Timeout': String(Math.trunc(options.timeout / 1000)) } : {}), - ...getPlatformHeaders(), - }, + {Accept: 'application/json', + 'User-Agent': this.getUserAgent(), + 'X-Stainless-Retry-Count': String(retryCount), + ...(options.timeout ? { 'X-Stainless-Timeout': String(Math.trunc(options.timeout / 1000)) } : {}), + ...getPlatformHeaders()}, await this.authHeaders(options), this._options.defaultHeaders, bodyHeaders, - options.headers, + options.headers ]); this.validateHeaders(headers); @@ -752,9 +643,11 @@ export class Stainless { ArrayBuffer.isView(body) || body instanceof ArrayBuffer || body instanceof DataView || - (typeof body === 'string' && + ( + typeof body === 'string' && // Preserve legacy string encoding behavior for now - headers.values.has('content-type')) || + headers.values.has('content-type') + ) || // `Blob` is superset of `File` ((globalThis as any).Blob && body instanceof (globalThis as any).Blob) || // `FormData` -> `multipart/form-data` @@ -785,7 +678,7 @@ export class Stainless { } static Stainless = this; - static DEFAULT_TIMEOUT = 60000; // 1 minute + static DEFAULT_TIMEOUT = 60000 // 1 minute static StainlessError = Errors.StainlessError; static APIError = Errors.APIError; @@ -816,40 +709,50 @@ Stainless.Orgs = Orgs; Stainless.User = User; export declare namespace Stainless { - export type RequestOptions = Opts.RequestOptions; - - export import Page = Pagination.Page; - export { type PageParams as PageParams, type PageResponse as PageResponse }; - - export { - Projects as Projects, - type Project as Project, - type ProjectGenerateCommitMessageResponse as ProjectGenerateCommitMessageResponse, - type ProjectsPage as ProjectsPage, - type ProjectCreateParams as ProjectCreateParams, - type ProjectRetrieveParams as ProjectRetrieveParams, - type ProjectUpdateParams as ProjectUpdateParams, - type ProjectListParams as ProjectListParams, - type ProjectGenerateCommitMessageParams as ProjectGenerateCommitMessageParams, - }; - - export { - Builds as Builds, - type Build as Build, - type BuildTarget as BuildTarget, - type CheckStep as CheckStep, - type BuildCompareResponse as BuildCompareResponse, - type BuildsPage as BuildsPage, - type BuildCreateParams as BuildCreateParams, - type BuildListParams as BuildListParams, - type BuildCompareParams as BuildCompareParams, - }; - - export { Orgs as Orgs, type Org as Org, type OrgListResponse as OrgListResponse }; - - export { User as User, type UserRetrieveResponse as UserRetrieveResponse }; - - export type Commit = API.Commit; - export type FileInput = API.FileInput; - export type Target = API.Target; -} + export type RequestOptions = Opts.RequestOptions; + + export import Page = Pagination.Page; +export { + type PageParams as PageParams, + type PageResponse as PageResponse +}; + +export { + Projects as Projects, + type Project as Project, + type ProjectGenerateCommitMessageResponse as ProjectGenerateCommitMessageResponse, + type ProjectsPage as ProjectsPage, + type ProjectCreateParams as ProjectCreateParams, + type ProjectRetrieveParams as ProjectRetrieveParams, + type ProjectUpdateParams as ProjectUpdateParams, + type ProjectListParams as ProjectListParams, + type ProjectGenerateCommitMessageParams as ProjectGenerateCommitMessageParams +}; + +export { + Builds as Builds, + type Build as Build, + type BuildTarget as BuildTarget, + type CheckStep as CheckStep, + type BuildCompareResponse as BuildCompareResponse, + type BuildsPage as BuildsPage, + type BuildCreateParams as BuildCreateParams, + type BuildListParams as BuildListParams, + type BuildCompareParams as BuildCompareParams +}; + +export { + Orgs as Orgs, + type Org as Org, + type OrgListResponse as OrgListResponse +}; + +export { + User as User, + type UserRetrieveResponse as UserRetrieveResponse +}; + +export type Commit = API.Commit; +export type FileInput = API.FileInput; +export type Target = API.Target; + } diff --git a/src/core/api-promise.ts b/src/core/api-promise.ts index 538567a4..625c60af 100644 --- a/src/core/api-promise.ts +++ b/src/core/api-promise.ts @@ -16,10 +16,7 @@ export class APIPromise extends Promise { constructor( client: Stainless, private responsePromise: Promise, - private parseResponse: ( - client: Stainless, - props: APIResponseProps, - ) => PromiseOrValue = defaultParseResponse, + private parseResponse: (client: Stainless, props: APIResponseProps) => PromiseOrValue = defaultParseResponse, ) { super((resolve) => { // this is maybe a bit weird but this has to be a no-op to not implicitly @@ -31,9 +28,7 @@ export class APIPromise extends Promise { } _thenUnwrap(transform: (data: T, props: APIResponseProps) => U): APIPromise { - return new APIPromise(this.#client, this.responsePromise, async (client, props) => - transform(await this.parseResponse(client, props), props), - ); + return new APIPromise(this.#client, this.responsePromise, async (client, props) => transform(await this.parseResponse(client, props), props)); } /** diff --git a/src/core/error.ts b/src/core/error.ts index 606035f6..a7ee6096 100644 --- a/src/core/error.ts +++ b/src/core/error.ts @@ -2,13 +2,10 @@ import { castToError } from '../internal/errors'; -export class StainlessError extends Error {} +export class StainlessError extends Error { +} -export class APIError< - TStatus extends number | undefined = number | undefined, - THeaders extends Headers | undefined = Headers | undefined, - TError extends Object | undefined = Object | undefined, -> extends StainlessError { +export class APIError extends StainlessError { /** HTTP status for the response that caused the error */ readonly status: TStatus; /** HTTP headers for the response that caused the error */ @@ -16,6 +13,9 @@ export class APIError< /** JSON body of the response that caused the error */ readonly error: TError; + + ; + constructor(status: TStatus, error: TError, message: string | undefined, headers: THeaders) { super(`${APIError.makeMessage(status, error, message)}`); this.status = status; @@ -26,8 +26,7 @@ export class APIError< private static makeMessage(status: number | undefined, error: any, message: string | undefined) { const msg = error?.message ? - typeof error.message === 'string' ? - error.message + typeof error.message === 'string' ? error.message : JSON.stringify(error.message) : error ? JSON.stringify(error) : message; @@ -44,12 +43,7 @@ export class APIError< return '(no status code or body)'; } - static generate( - status: number | undefined, - errorResponse: Object | undefined, - message: string | undefined, - headers: Headers | undefined, - ): APIError { + static generate(status: number | undefined, errorResponse: Object | undefined, message: string | undefined, headers: Headers | undefined): APIError { if (!status || !headers) { return new APIConnectionError({ message, cause: castToError(errorResponse) }); } @@ -113,18 +107,26 @@ export class APIConnectionTimeoutError extends APIConnectionError { } } -export class BadRequestError extends APIError<400, Headers> {} +export class BadRequestError extends APIError<400, Headers> { +} -export class AuthenticationError extends APIError<401, Headers> {} +export class AuthenticationError extends APIError<401, Headers> { +} -export class PermissionDeniedError extends APIError<403, Headers> {} +export class PermissionDeniedError extends APIError<403, Headers> { +} -export class NotFoundError extends APIError<404, Headers> {} +export class NotFoundError extends APIError<404, Headers> { +} -export class ConflictError extends APIError<409, Headers> {} +export class ConflictError extends APIError<409, Headers> { +} -export class UnprocessableEntityError extends APIError<422, Headers> {} +export class UnprocessableEntityError extends APIError<422, Headers> { +} -export class RateLimitError extends APIError<429, Headers> {} +export class RateLimitError extends APIError<429, Headers> { +} -export class InternalServerError extends APIError {} +export class InternalServerError extends APIError { +} diff --git a/src/core/pagination.ts b/src/core/pagination.ts index 0d6cf111..3ca246ad 100644 --- a/src/core/pagination.ts +++ b/src/core/pagination.ts @@ -87,8 +87,7 @@ export class PagePromise< super( client, request, - async (client, props) => - new Page(client, props.response, await defaultParseResponse(client, props), props.options), + async (client, props) => new Page(client, props.response, await defaultParseResponse(client, props), props.options) ); } @@ -134,7 +133,7 @@ export class Page extends AbstractPage implements PageResponse } nextPageRequestOptions(): PageRequestOptions | null { - const cursor = this.next_cursor; + const cursor = this.next_cursor if (!cursor) { return null; } diff --git a/src/error.ts b/src/error.ts index fc55f46c..d0832d34 100644 --- a/src/error.ts +++ b/src/error.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/error instead */ -export * from './core/error'; +export * from "./core/error" \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 16f9548a..14a4817e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,18 +6,4 @@ export { type Uploadable, toFile } from './core/uploads'; export { APIPromise } from './core/api-promise'; export { Stainless, type ClientOptions } from './client'; export { PagePromise } from './core/pagination'; -export { - StainlessError, - APIError, - APIConnectionError, - APIConnectionTimeoutError, - APIUserAbortError, - NotFoundError, - ConflictError, - RateLimitError, - BadRequestError, - AuthenticationError, - InternalServerError, - PermissionDeniedError, - UnprocessableEntityError, -} from './core/error'; +export { StainlessError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError } from './core/error'; diff --git a/src/internal/builtin-types.ts b/src/internal/builtin-types.ts index c23d3bde..6059d5db 100644 --- a/src/internal/builtin-types.ts +++ b/src/internal/builtin-types.ts @@ -1,20 +1,23 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -export type Fetch = (input: string | URL | Request, init?: RequestInit) => Promise; +export type Fetch = ( + input: string | URL | Request, + init?: RequestInit, +) => Promise /** * An alias to the builtin `RequestInit` type so we can * easily alias it in import statements if there are name clashes. - * - * https://developer.mozilla.org/docs/Web/API/RequestInit + * + * https://developer.mozilla.org/docs/Web/API/RequestInit */ type _RequestInit = RequestInit; /** * An alias to the builtin `Response` type so we can * easily alias it in import statements if there are name clashes. - * - * https://developer.mozilla.org/docs/Web/API/Response + * + * https://developer.mozilla.org/docs/Web/API/Response */ type _Response = Response; @@ -51,15 +54,7 @@ type _Array = Array; */ type _Record = Record; -export type { - _Array as Array, - _BodyInit as BodyInit, - _HeadersInit as HeadersInit, - _Record as Record, - _RequestInfo as RequestInfo, - _RequestInit as RequestInit, - _Response as Response, -}; +export type { _Array as Array, _BodyInit as BodyInit, _HeadersInit as HeadersInit, _Record as Record, _RequestInfo as RequestInfo, _RequestInit as RequestInit, _Response as Response }; /** * A copy of the builtin `EndingType` type as it isn't fully supported in certain diff --git a/src/internal/detect-platform.ts b/src/internal/detect-platform.ts index e82d95c9..394ede88 100644 --- a/src/internal/detect-platform.ts +++ b/src/internal/detect-platform.ts @@ -25,11 +25,7 @@ function getDetectedPlatform(): DetectedPlatform { if (typeof EdgeRuntime !== 'undefined') { return 'edge'; } - if ( - Object.prototype.toString.call( - typeof (globalThis as any).process !== 'undefined' ? (globalThis as any).process : 0, - ) === '[object process]' - ) { + if (Object.prototype.toString.call(typeof (globalThis as any).process !== 'undefined' ? (globalThis as any).process : 0) === '[object process]') { return 'node'; } return 'unknown'; diff --git a/src/internal/errors.ts b/src/internal/errors.ts index 82c7b14d..c14a742b 100644 --- a/src/internal/errors.ts +++ b/src/internal/errors.ts @@ -2,12 +2,12 @@ export function isAbortError(err: unknown) { return ( - typeof err === 'object' && - err !== null && - // Spec-compliant fetch implementations - (('name' in err && (err as any).name === 'AbortError') || + typeof err === 'object' && err !== null && ( + // Spec-compliant fetch implementations + ('name' in err && (err as any).name === 'AbortError') || // Expo fetch - ('message' in err && String((err as any).message).includes('FetchRequestCanceledException'))) + ('message' in err && String((err as any).message).includes('FetchRequestCanceledException')) + ) ); } @@ -24,10 +24,10 @@ export const castToError = (err: any): Error => { if (err.name) error.name = err.name; return error; } - } catch {} + } catch { } try { return new Error(JSON.stringify(err)); - } catch {} + } catch { } } return new Error(err); }; diff --git a/src/internal/headers.ts b/src/internal/headers.ts index c724a9d2..fa2ea2b9 100644 --- a/src/internal/headers.ts +++ b/src/internal/headers.ts @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { isReadonlyArray } from './utils/values'; +import { isReadonlyArray } from "./utils/values"; type HeaderValue = string | undefined | null; export type HeadersLike = @@ -51,7 +51,7 @@ function* iterateHeaders(headers: HeadersLike): IterableIterator(client: Stainless, props: APIResponseProps): Promise { const { response, requestLogID, retryOfRequestLogID, startTime } = props; const body = await (async () => { + // fetch refuses to read the body when the status code is 204. if (response.status === 204) { return null as T; @@ -42,15 +43,6 @@ export async function defaultParseResponse(client: Stainless, props: APIRespo const text = await response.text(); return text as unknown as T; })(); - loggerFor(client).debug( - `[${requestLogID}] response parsed`, - formatRequestDetails({ - retryOfRequestLogID, - url: response.url, - status: response.status, - body, - durationMs: Date.now() - startTime, - }), - ); + loggerFor(client).debug(`[${requestLogID}] response parsed`, formatRequestDetails({ retryOfRequestLogID, url: response.url, status: response.status, body, durationMs: Date.now() - startTime })); return body; } diff --git a/src/internal/qs/utils.ts b/src/internal/qs/utils.ts index 4cd56579..f21d955b 100644 --- a/src/internal/qs/utils.ts +++ b/src/internal/qs/utils.ts @@ -62,7 +62,10 @@ export function merge( if (isArray(target)) { target.push(source); } else if (target && typeof target === 'object') { - if ((options && (options.plainObjects || options.allowPrototypes)) || !has(Object.prototype, source)) { + if ( + (options && (options.plainObjects || options.allowPrototypes)) || + !has(Object.prototype, source) + ) { target[source] = true; } } else { diff --git a/src/internal/request-options.ts b/src/internal/request-options.ts index 2aabf9aa..a8558b20 100644 --- a/src/internal/request-options.ts +++ b/src/internal/request-options.ts @@ -76,10 +76,14 @@ export type RequestOptions = { defaultBaseURL?: string | undefined; __binaryResponse?: boolean | undefined; + }; export type EncodedContent = { bodyHeaders: HeadersLike; body: BodyInit }; -export type RequestEncoder = (request: { headers: NullableHeaders; body: unknown }) => EncodedContent; +export type RequestEncoder = (request: { + headers: NullableHeaders; + body: unknown; +}) => EncodedContent; export const FallbackEncoder: RequestEncoder = ({ headers, body }) => { return { diff --git a/src/internal/shim-types.ts b/src/internal/shim-types.ts index 8ddf7b0a..accbf576 100644 --- a/src/internal/shim-types.ts +++ b/src/internal/shim-types.ts @@ -19,8 +19,8 @@ type _ConditionalNodeReadableStream = typeof globalThis extends { ReadableStream: any } ? never : _NodeReadableStream; type _ReadableStream = NeverToAny< - | ([0] extends [1 & _DOMReadableStream] ? never : _DOMReadableStream) - | ([0] extends [1 & _ConditionalNodeReadableStream] ? never : _ConditionalNodeReadableStream) + ([0] extends [1 & _DOMReadableStream] ? never : _DOMReadableStream) | + ([0] extends [1 & _ConditionalNodeReadableStream] ? never : _ConditionalNodeReadableStream) >; export type { _ReadableStream as ReadableStream }; diff --git a/src/internal/shims.ts b/src/internal/shims.ts index 87104c45..9c505e64 100644 --- a/src/internal/shims.ts +++ b/src/internal/shims.ts @@ -27,9 +27,7 @@ export function makeReadableStream(...args: ReadableStreamArgs): ReadableStream if (typeof ReadableStream === 'undefined') { // Note: All of the platforms / runtimes we officially support already define // `ReadableStream` as a global, so this should only ever be hit on unsupported runtimes. - throw new Error( - '`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`', - ); + throw new Error('`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`'); } return new ReadableStream(...args); diff --git a/src/internal/to-file.ts b/src/internal/to-file.ts index 30eada32..c72a2b41 100644 --- a/src/internal/to-file.ts +++ b/src/internal/to-file.ts @@ -1,4 +1,4 @@ -import { BlobPart, getName, makeFile, isAsyncIterable } from './uploads'; +import { BlobPart, getName, makeFile, isAsyncIterable } from "./uploads"; import type { FilePropertyBag } from './builtin-types'; import { checkFileSupport } from './uploads'; @@ -65,11 +65,8 @@ const isResponseLike = (value: any): value is ResponseLike => typeof value.url === 'string' && typeof value.blob === 'function'; -export type ToFileInput = - | FileLike - | ResponseLike - | Exclude - | AsyncIterable; +export type ToFileInput = FileLike | ResponseLike | Exclude | AsyncIterable; + /** * Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats @@ -119,7 +116,9 @@ export async function toFile( return makeFile(parts, name, options); } -async function getBytes(value: BlobLikePart | AsyncIterable): Promise> { +async function getBytes( + value: BlobLikePart | AsyncIterable, +): Promise> { let parts: Array = []; if ( typeof value === 'string' || @@ -152,3 +151,4 @@ function propsForError(value: unknown): string { const props = Object.getOwnPropertyNames(value); return `; props: [${props.map((p) => `"${p}"`).join(', ')}]`; } + diff --git a/src/internal/types.ts b/src/internal/types.ts index b668dfc0..c45fee32 100644 --- a/src/internal/types.ts +++ b/src/internal/types.ts @@ -7,40 +7,34 @@ export type KeysEnum = { [P in keyof Required]: true }; export type FinalizedRequestInit = RequestInit & { headers: Headers }; -type NotAny = [0] extends [1 & T] ? never : T; +type NotAny = [0] extends [(1 & T)] ? never : T; /** * Some environments overload the global fetch function, and Parameters only gets the last signature. */ -type OverloadedParameters = - T extends ( - { +type OverloadedParameters = T extends { + (...args: infer A): unknown; + (...args: infer B): unknown; + (...args: infer C): unknown; + (...args: infer D): unknown; +} + ? A | B | C | D + : T extends { (...args: infer A): unknown; (...args: infer B): unknown; (...args: infer C): unknown; - (...args: infer D): unknown; } - ) ? - A | B | C | D - : T extends ( - { - (...args: infer A): unknown; - (...args: infer B): unknown; - (...args: infer C): unknown; - } - ) ? - A | B | C - : T extends ( - { + ? A | B | C + : T extends { (...args: infer A): unknown; (...args: infer B): unknown; } - ) ? - A | B - : T extends (...args: infer A) => unknown ? A + ? A | B + : T extends (...args: infer A) => unknown + ? A : never; -/* eslint-disable */ + /** * These imports attempt to get types from a parent package's dependencies. * Unresolved bare specifiers can trigger [automatic type acquisition][1] in some projects, which @@ -63,19 +57,19 @@ type OverloadedParameters = * * [1]: https://www.typescriptlang.org/tsconfig/#typeAcquisition */ -/** @ts-ignore For users with \@types/node */ +/** @ts-ignore For users with \@types/node */ /* prettier-ignore */ type UndiciTypesRequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users with undici */ +/** @ts-ignore For users with undici */ /* prettier-ignore */ type UndiciRequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users with \@types/bun */ +/** @ts-ignore For users with \@types/bun */ /* prettier-ignore */ type BunRequestInit = globalThis.FetchRequestInit; -/** @ts-ignore For users with node-fetch@2 */ +/** @ts-ignore For users with node-fetch@2 */ /* prettier-ignore */ type NodeFetch2RequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ +/** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ /* prettier-ignore */ type NodeFetch3RequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users who use Deno */ +/** @ts-ignore For users who use Deno */ /* prettier-ignore */ type FetchRequestInit = NonNullable[1]>; -/* eslint-enable */ + type RequestInits = | NotAny diff --git a/src/internal/utils/log.ts b/src/internal/utils/log.ts index a09760c4..a164a80c 100644 --- a/src/internal/utils/log.ts +++ b/src/internal/utils/log.ts @@ -4,7 +4,7 @@ import { hasOwn } from './values'; import { type Stainless } from '../../client'; import { RequestOptions } from '../request-options'; -type LogFn = (message: string, ...rest: unknown[]) => void; +type LogFn = (message: string, ...rest: unknown[]) => void export type Logger = { error: LogFn; warn: LogFn; @@ -21,22 +21,14 @@ const levelNumbers = { debug: 500, }; -export const parseLogLevel = ( - maybeLevel: string | undefined, - sourceName: string, - client: Stainless, -): LogLevel | undefined => { +export const parseLogLevel = (maybeLevel: string | undefined, sourceName: string, client: Stainless): LogLevel | undefined => { if (!maybeLevel) { return undefined; } if (hasOwn(levelNumbers, maybeLevel)) { return maybeLevel; - } - loggerFor(client).warn( - `${sourceName} was set to ${JSON.stringify(maybeLevel)}, expected one of ${JSON.stringify( - Object.keys(levelNumbers), - )}`, - ); + }; + loggerFor(client).warn(`${sourceName} was set to ${JSON.stringify(maybeLevel)}, expected one of ${JSON.stringify(Object.keys(levelNumbers))}`); return undefined; }; @@ -97,24 +89,11 @@ export const formatRequestDetails = (details: { body?: unknown; }) => { if (details.options) { - details.options = { ...details.options }; + details.options = {...details.options}; delete details.options['headers']; // redundant + leaks internals } if (details.headers) { - details.headers = Object.fromEntries( - (details.headers instanceof Headers ? [...details.headers] : Object.entries(details.headers)).map( - ([name, value]) => [ - name, - ( - name.toLowerCase() === 'authorization' || - name.toLowerCase() === 'cookie' || - name.toLowerCase() === 'set-cookie' - ) ? - '***' - : value, - ], - ), - ); + details.headers = Object.fromEntries((details.headers instanceof Headers ? [...details.headers] : Object.entries(details.headers)).map(([name, value]) => [name, name.toLowerCase() === 'authorization' || name.toLowerCase() === 'cookie' || name.toLowerCase() === 'set-cookie' ? '***' : value])) } if ('retryOfRequestLogID' in details) { if (details.retryOfRequestLogID) { @@ -122,5 +101,5 @@ export const formatRequestDetails = (details: { } delete details.retryOfRequestLogID; } - return details; -}; + return details +} diff --git a/src/internal/utils/query.ts b/src/internal/utils/query.ts index 0139cacb..06e72d93 100644 --- a/src/internal/utils/query.ts +++ b/src/internal/utils/query.ts @@ -3,5 +3,5 @@ import * as qs from '../qs/stringify'; export function stringifyQuery(query: object | Record) { - return qs.stringify(query, { arrayFormat: 'comma' }); + return qs.stringify(query, { arrayFormat: 'comma' }) } diff --git a/src/internal/utils/uuid.ts b/src/internal/utils/uuid.ts index b0e53aaf..53708ba6 100644 --- a/src/internal/utils/uuid.ts +++ b/src/internal/utils/uuid.ts @@ -10,8 +10,10 @@ export let uuid4 = function () { return crypto.randomUUID(); } const u8 = new Uint8Array(1); - const randomByte = crypto ? () => crypto.getRandomValues(u8)[0]! : () => (Math.random() * 0xff) & 0xff; - return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, (c) => + const randomByte = crypto + ? () => crypto.getRandomValues(u8)[0]! + : () => (Math.random() * 0xff) & 0xff; + return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16), ); -}; +} diff --git a/src/pagination.ts b/src/pagination.ts index 90bf015e..e1e5d091 100644 --- a/src/pagination.ts +++ b/src/pagination.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/pagination instead */ -export * from './core/pagination'; +export * from "./core/pagination" \ No newline at end of file diff --git a/src/resource.ts b/src/resource.ts index 363e3516..57a27a94 100644 --- a/src/resource.ts +++ b/src/resource.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/resource instead */ -export * from './core/resource'; +export * from "./core/resource" \ No newline at end of file diff --git a/src/resources/builds/builds.ts b/src/resources/builds/builds.ts index be1b6e5d..f65d7fb3 100644 --- a/src/resources/builds/builds.ts +++ b/src/resources/builds/builds.ts @@ -4,13 +4,7 @@ import { APIResource } from '../../core/resource'; import * as BuildsAPI from './builds'; import * as Shared from '../shared'; import * as DiagnosticsAPI from './diagnostics'; -import { - BuildDiagnostic, - BuildDiagnosticMore, - BuildDiagnosticsPage, - DiagnosticListParams, - Diagnostics, -} from './diagnostics'; +import { BuildDiagnostic, BuildDiagnosticMore, BuildDiagnosticsPage, DiagnosticListParams, Diagnostics } from './diagnostics'; import * as TargetOutputsAPI from './target-outputs'; import { TargetOutputRetrieveParams, TargetOutputRetrieveResponse, TargetOutputs } from './target-outputs'; import { APIPromise } from '../../core/api-promise'; @@ -29,7 +23,7 @@ export class Builds extends APIResource { * points to the one specified by the input revision. */ create(params: BuildCreateParams, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params; + const { project = this._client.project, ...body } = params return this._client.post('/v0/builds', { body: { project, ...body }, ...options }); } @@ -46,11 +40,8 @@ export class Builds extends APIResource { * An optional revision can be specified to filter by config commit SHA, or hashes * of file contents. */ - list( - params: BuildListParams | null | undefined = {}, - options?: RequestOptions, - ): PagePromise { - const { project = this._client.project, ...query } = params ?? {}; + list(params: BuildListParams | null | undefined = {}, options?: RequestOptions): PagePromise { + const { project = this._client.project, ...query } = params ?? {} return this._client.getAPIList('/v0/builds', Page, { query: { project, ...query }, ...options }); } @@ -66,12 +57,12 @@ export class Builds extends APIResource { * the set of config files, and any custom code. */ compare(params: BuildCompareParams, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params; + const { project = this._client.project, ...body } = params return this._client.post('/v0/builds/compare', { body: { project, ...body }, ...options }); } } -export type BuildsPage = Page; +export type BuildsPage = Page export interface Build { /** @@ -141,12 +132,7 @@ export namespace Build { } export interface BuildTarget { - commit: - | BuildTarget.NotStarted - | BuildTarget.Waiting - | BuildTarget.Queued - | BuildTarget.InProgress - | BuildTarget.Completed; + commit: BuildTarget.NotStarted | BuildTarget.Waiting | BuildTarget.Queued | BuildTarget.InProgress | BuildTarget.Completed; install_url: string | null; @@ -188,19 +174,7 @@ export namespace BuildTarget { completed_at: string; - conclusion: - | 'error' - | 'warning' - | 'note' - | 'success' - | 'merge_conflict' - | 'upstream_merge_conflict' - | 'fatal' - | 'payment_required' - | 'cancelled' - | 'timed_out' - | 'noop' - | 'version_bump'; + conclusion: 'error' | 'warning' | 'note' | 'success' | 'merge_conflict' | 'upstream_merge_conflict' | 'fatal' | 'payment_required' | 'cancelled' | 'timed_out' | 'noop' | 'version_bump'; merge_conflict_pr: Completed.MergeConflictPr | null; @@ -216,19 +190,7 @@ export namespace BuildTarget { completed_at: string; - conclusion: - | 'error' - | 'warning' - | 'note' - | 'success' - | 'merge_conflict' - | 'upstream_merge_conflict' - | 'fatal' - | 'payment_required' - | 'cancelled' - | 'timed_out' - | 'noop' - | 'version_bump'; + conclusion: 'error' | 'warning' | 'note' | 'success' | 'merge_conflict' | 'upstream_merge_conflict' | 'fatal' | 'payment_required' | 'cancelled' | 'timed_out' | 'noop' | 'version_bump'; merge_conflict_pr: Completed.MergeConflictPr | null; } @@ -269,12 +231,7 @@ export namespace BuildTarget { } } -export type CheckStep = - | CheckStep.NotStarted - | CheckStep.Waiting - | CheckStep.Queued - | CheckStep.InProgress - | CheckStep.Completed; +export type CheckStep = CheckStep.NotStarted | CheckStep.Waiting | CheckStep.Queued | CheckStep.InProgress | CheckStep.Completed export namespace CheckStep { export interface NotStarted { @@ -317,14 +274,7 @@ export namespace CheckStep { * deprecated */ export interface Completed { - conclusion: - | 'success' - | 'failure' - | 'skipped' - | 'cancelled' - | 'action_required' - | 'neutral' - | 'timed_out'; + conclusion: 'success' | 'failure' | 'skipped' | 'cancelled' | 'action_required' | 'neutral' | 'timed_out'; url: string | null; } @@ -530,7 +480,7 @@ export declare namespace Builds { type BuildsPage as BuildsPage, type BuildCreateParams as BuildCreateParams, type BuildListParams as BuildListParams, - type BuildCompareParams as BuildCompareParams, + type BuildCompareParams as BuildCompareParams }; export { @@ -538,12 +488,12 @@ export declare namespace Builds { type BuildDiagnostic as BuildDiagnostic, type BuildDiagnosticMore as BuildDiagnosticMore, type BuildDiagnosticsPage as BuildDiagnosticsPage, - type DiagnosticListParams as DiagnosticListParams, + type DiagnosticListParams as DiagnosticListParams }; export { TargetOutputs as TargetOutputs, type TargetOutputRetrieveResponse as TargetOutputRetrieveResponse, - type TargetOutputRetrieveParams as TargetOutputRetrieveParams, + type TargetOutputRetrieveParams as TargetOutputRetrieveParams }; } diff --git a/src/resources/builds/diagnostics.ts b/src/resources/builds/diagnostics.ts index 5cf467c5..05c1f268 100644 --- a/src/resources/builds/diagnostics.ts +++ b/src/resources/builds/diagnostics.ts @@ -12,19 +12,12 @@ export class Diagnostics extends APIResource { * If no language targets are specified, diagnostics for all languages are * returned. */ - list( - buildID: string, - query: DiagnosticListParams | null | undefined = {}, - options?: RequestOptions, - ): PagePromise { - return this._client.getAPIList(path`/v0/builds/${buildID}/diagnostics`, Page, { - query, - ...options, - }); + list(buildID: string, query: DiagnosticListParams | null | undefined = {}, options?: RequestOptions): PagePromise { + return this._client.getAPIList(path`/v0/builds/${buildID}/diagnostics`, Page, { query, ...options }); } } -export type BuildDiagnosticsPage = Page; +export type BuildDiagnosticsPage = Page export interface BuildDiagnostic { /** @@ -60,7 +53,7 @@ export interface BuildDiagnostic { oas_ref?: string; } -export type BuildDiagnosticMore = BuildDiagnosticMore.Markdown | BuildDiagnosticMore.Raw; +export type BuildDiagnosticMore = BuildDiagnosticMore.Markdown | BuildDiagnosticMore.Raw export namespace BuildDiagnosticMore { export interface Markdown { @@ -98,6 +91,6 @@ export declare namespace Diagnostics { type BuildDiagnostic as BuildDiagnostic, type BuildDiagnosticMore as BuildDiagnosticMore, type BuildDiagnosticsPage as BuildDiagnosticsPage, - type DiagnosticListParams as DiagnosticListParams, + type DiagnosticListParams as DiagnosticListParams }; } diff --git a/src/resources/builds/index.ts b/src/resources/builds/index.ts index e4019029..6f041c0e 100644 --- a/src/resources/builds/index.ts +++ b/src/resources/builds/index.ts @@ -1,25 +1,5 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -export { - Builds, - type Build, - type BuildTarget, - type CheckStep, - type BuildCompareResponse, - type BuildCreateParams, - type BuildListParams, - type BuildCompareParams, - type BuildsPage, -} from './builds'; -export { - Diagnostics, - type BuildDiagnostic, - type BuildDiagnosticMore, - type DiagnosticListParams, - type BuildDiagnosticsPage, -} from './diagnostics'; -export { - TargetOutputs, - type TargetOutputRetrieveResponse, - type TargetOutputRetrieveParams, -} from './target-outputs'; +export { Builds, type Build, type BuildTarget, type CheckStep, type BuildCompareResponse, type BuildCreateParams, type BuildListParams, type BuildCompareParams, type BuildsPage } from './builds';; +export { Diagnostics, type BuildDiagnostic, type BuildDiagnosticMore, type DiagnosticListParams, type BuildDiagnosticsPage } from './diagnostics';; +export { TargetOutputs, type TargetOutputRetrieveResponse, type TargetOutputRetrieveParams } from './target-outputs';; diff --git a/src/resources/builds/target-outputs.ts b/src/resources/builds/target-outputs.ts index b9163275..f7df5706 100644 --- a/src/resources/builds/target-outputs.ts +++ b/src/resources/builds/target-outputs.ts @@ -18,17 +18,12 @@ export class TargetOutputs extends APIResource { * and the output method _must_ be `url`. See the documentation for `type` for more * information. */ - retrieve( - query: TargetOutputRetrieveParams, - options?: RequestOptions, - ): APIPromise { + retrieve(query: TargetOutputRetrieveParams, options?: RequestOptions): APIPromise { return this._client.get('/v0/build_target_outputs', { query, ...options }); } } -export type TargetOutputRetrieveResponse = - | TargetOutputRetrieveResponse.URL - | TargetOutputRetrieveResponse.Git; +export type TargetOutputRetrieveResponse = TargetOutputRetrieveResponse.URL | TargetOutputRetrieveResponse.Git export namespace TargetOutputRetrieveResponse { export interface URL { @@ -36,14 +31,7 @@ export namespace TargetOutputRetrieveResponse { target: Shared.Target; - type: - | 'source' - | 'dist' - | 'wheel' - | 'openapi-with-transforms' - | 'openapi-with-code-samples' - | 'openapi-sdk-spec' - | 'file'; + type: 'source' | 'dist' | 'wheel' | 'openapi-with-transforms' | 'openapi-with-code-samples' | 'openapi-sdk-spec' | 'file'; /** * URL for direct download @@ -72,14 +60,7 @@ export namespace TargetOutputRetrieveResponse { target: Shared.Target; - type: - | 'source' - | 'dist' - | 'wheel' - | 'openapi-with-transforms' - | 'openapi-with-code-samples' - | 'openapi-sdk-spec' - | 'file'; + type: 'source' | 'dist' | 'wheel' | 'openapi-with-transforms' | 'openapi-with-code-samples' | 'openapi-sdk-spec' | 'file'; /** * URL to git remote @@ -97,29 +78,9 @@ export interface TargetOutputRetrieveParams { /** * SDK language target name */ - target: - | 'node' - | 'typescript' - | 'python' - | 'go' - | 'java' - | 'kotlin' - | 'ruby' - | 'terraform' - | 'cli' - | 'php' - | 'csharp' - | 'sql' - | 'openapi'; - - type: - | 'source' - | 'dist' - | 'wheel' - | 'openapi-with-transforms' - | 'openapi-with-code-samples' - | 'openapi-sdk-spec' - | 'file'; + target: 'node' | 'typescript' | 'python' | 'go' | 'java' | 'kotlin' | 'ruby' | 'terraform' | 'cli' | 'php' | 'csharp' | 'sql' | 'openapi'; + + type: 'source' | 'dist' | 'wheel' | 'openapi-with-transforms' | 'openapi-with-code-samples' | 'openapi-sdk-spec' | 'file'; /** * Output format: url (download URL) or git (temporary access token). @@ -135,6 +96,6 @@ export interface TargetOutputRetrieveParams { export declare namespace TargetOutputs { export { type TargetOutputRetrieveResponse as TargetOutputRetrieveResponse, - type TargetOutputRetrieveParams as TargetOutputRetrieveParams, + type TargetOutputRetrieveParams as TargetOutputRetrieveParams }; } diff --git a/src/resources/index.ts b/src/resources/index.ts index f3588593..c88b0d4f 100644 --- a/src/resources/index.ts +++ b/src/resources/index.ts @@ -1,27 +1,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -export * from './shared'; -export { - Builds, - type Build, - type BuildTarget, - type CheckStep, - type BuildCompareResponse, - type BuildCreateParams, - type BuildListParams, - type BuildCompareParams, - type BuildsPage, -} from './builds/builds'; -export { Orgs, type Org, type OrgListResponse } from './orgs'; -export { - Projects, - type Project, - type ProjectGenerateCommitMessageResponse, - type ProjectCreateParams, - type ProjectRetrieveParams, - type ProjectUpdateParams, - type ProjectListParams, - type ProjectGenerateCommitMessageParams, - type ProjectsPage, -} from './projects/projects'; -export { User, type UserRetrieveResponse } from './user'; +export * from './shared';; +export { Builds, type Build, type BuildTarget, type CheckStep, type BuildCompareResponse, type BuildCreateParams, type BuildListParams, type BuildCompareParams, type BuildsPage } from './builds/builds';; +export { Orgs, type Org, type OrgListResponse } from './orgs';; +export { Projects, type Project, type ProjectGenerateCommitMessageResponse, type ProjectCreateParams, type ProjectRetrieveParams, type ProjectUpdateParams, type ProjectListParams, type ProjectGenerateCommitMessageParams, type ProjectsPage } from './projects/projects';; +export { User, type UserRetrieveResponse } from './user';; diff --git a/src/resources/orgs.ts b/src/resources/orgs.ts index 4d9f9dc4..87102798 100644 --- a/src/resources/orgs.ts +++ b/src/resources/orgs.ts @@ -40,5 +40,8 @@ export interface OrgListResponse { } export declare namespace Orgs { - export { type Org as Org, type OrgListResponse as OrgListResponse }; + export { + type Org as Org, + type OrgListResponse as OrgListResponse + }; } diff --git a/src/resources/projects/branches.ts b/src/resources/projects/branches.ts index 0c25e387..c2cf22f8 100644 --- a/src/resources/projects/branches.ts +++ b/src/resources/projects/branches.ts @@ -16,45 +16,31 @@ export class Branches extends APIResource { * branch will also inherit custom code changes from that branch. */ create(params: BranchCreateParams, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params; + const { project = this._client.project, ...body } = params return this._client.post(path`/v0/projects/${project}/branches`, { body, ...options }); } /** * Retrieve a project branch by name. */ - retrieve( - branch: string, - params: BranchRetrieveParams | null | undefined = {}, - options?: RequestOptions, - ): APIPromise { - const { project = this._client.project } = params ?? {}; + retrieve(branch: string, params: BranchRetrieveParams | null | undefined = {}, options?: RequestOptions): APIPromise { + const { project = this._client.project } = params ?? {} return this._client.get(path`/v0/projects/${project}/branches/${branch}`, options); } /** * Retrieve a project branch by name. */ - list( - params: BranchListParams | null | undefined = {}, - options?: RequestOptions, - ): PagePromise { - const { project = this._client.project, ...query } = params ?? {}; - return this._client.getAPIList(path`/v0/projects/${project}/branches`, Page, { - query, - ...options, - }); + list(params: BranchListParams | null | undefined = {}, options?: RequestOptions): PagePromise { + const { project = this._client.project, ...query } = params ?? {} + return this._client.getAPIList(path`/v0/projects/${project}/branches`, Page, { query, ...options }); } /** * Delete a project branch by name. */ - delete( - branch: string, - params: BranchDeleteParams | null | undefined = {}, - options?: RequestOptions, - ): APIPromise { - const { project = this._client.project } = params ?? {}; + delete(branch: string, params: BranchDeleteParams | null | undefined = {}, options?: RequestOptions): APIPromise { + const { project = this._client.project } = params ?? {} return this._client.delete(path`/v0/projects/${project}/branches/${branch}`, options); } @@ -64,16 +50,9 @@ export class Branches extends APIResource { * The branch is rebased onto the `base` branch or commit SHA, inheriting any * config and custom code changes. */ - rebase( - branch: string, - params: BranchRebaseParams | null | undefined = {}, - options?: RequestOptions, - ): APIPromise { - const { project = this._client.project, base } = params ?? {}; - return this._client.put(path`/v0/projects/${project}/branches/${branch}/rebase`, { - query: { base }, - ...options, - }); + rebase(branch: string, params: BranchRebaseParams | null | undefined = {}, options?: RequestOptions): APIPromise { + const { project = this._client.project, base } = params ?? {} + return this._client.put(path`/v0/projects/${project}/branches/${branch}/rebase`, { query: { base }, ...options }); } /** @@ -82,20 +61,13 @@ export class Branches extends APIResource { * If `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, * the branch is reset to `main`. */ - reset( - branch: string, - params: BranchResetParams | null | undefined = {}, - options?: RequestOptions, - ): APIPromise { - const { project = this._client.project, target_config_sha } = params ?? {}; - return this._client.put(path`/v0/projects/${project}/branches/${branch}/reset`, { - query: { target_config_sha }, - ...options, - }); + reset(branch: string, params: BranchResetParams | null | undefined = {}, options?: RequestOptions): APIPromise { + const { project = this._client.project, target_config_sha } = params ?? {} + return this._client.put(path`/v0/projects/${project}/branches/${branch}/reset`, { query: { target_config_sha }, ...options }); } } -export type BranchListResponsesPage = Page; +export type BranchListResponsesPage = Page /** * A project branch names a line of development for a project. Like a Git branch, @@ -225,7 +197,7 @@ export namespace BranchListResponse { } } -export type BranchDeleteResponse = unknown; +export type BranchDeleteResponse = unknown export interface BranchCreateParams { /** @@ -306,6 +278,6 @@ export declare namespace Branches { type BranchListParams as BranchListParams, type BranchDeleteParams as BranchDeleteParams, type BranchRebaseParams as BranchRebaseParams, - type BranchResetParams as BranchResetParams, + type BranchResetParams as BranchResetParams }; } diff --git a/src/resources/projects/configs.ts b/src/resources/projects/configs.ts index a4442492..f71661f4 100644 --- a/src/resources/projects/configs.ts +++ b/src/resources/projects/configs.ts @@ -9,11 +9,8 @@ export class Configs extends APIResource { /** * Retrieve the configuration files for a given project. */ - retrieve( - params: ConfigRetrieveParams | null | undefined = {}, - options?: RequestOptions, - ): APIPromise { - const { project = this._client.project, ...query } = params ?? {}; + retrieve(params: ConfigRetrieveParams | null | undefined = {}, options?: RequestOptions): APIPromise { + const { project = this._client.project, ...query } = params ?? {} return this._client.get(path`/v0/projects/${project}/configs`, { query, ...options }); } @@ -21,7 +18,7 @@ export class Configs extends APIResource { * Generate suggestions for changes to config files based on an OpenAPI spec. */ guess(params: ConfigGuessParams, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params; + const { project = this._client.project, ...body } = params return this._client.post(path`/v0/projects/${project}/configs/guess`, { body, ...options }); } } @@ -29,7 +26,7 @@ export class Configs extends APIResource { /** * Config files contents */ -export type ConfigRetrieveResponse = { [key: string]: ConfigRetrieveResponse.item }; +export type ConfigRetrieveResponse = { [key: string]: ConfigRetrieveResponse.item } export namespace ConfigRetrieveResponse { export interface item { @@ -43,7 +40,7 @@ export namespace ConfigRetrieveResponse { /** * Config files contents */ -export type ConfigGuessResponse = { [key: string]: ConfigGuessResponse.item }; +export type ConfigGuessResponse = { [key: string]: ConfigGuessResponse.item } export namespace ConfigGuessResponse { export interface item { @@ -93,6 +90,6 @@ export declare namespace Configs { type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigGuessResponse as ConfigGuessResponse, type ConfigRetrieveParams as ConfigRetrieveParams, - type ConfigGuessParams as ConfigGuessParams, + type ConfigGuessParams as ConfigGuessParams }; } diff --git a/src/resources/projects/index.ts b/src/resources/projects/index.ts index d4d514ad..3729842b 100644 --- a/src/resources/projects/index.ts +++ b/src/resources/projects/index.ts @@ -1,33 +1,5 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -export { - Branches, - type ProjectBranch, - type BranchListResponse, - type BranchDeleteResponse, - type BranchCreateParams, - type BranchRetrieveParams, - type BranchListParams, - type BranchDeleteParams, - type BranchRebaseParams, - type BranchResetParams, - type BranchListResponsesPage, -} from './branches'; -export { - Configs, - type ConfigRetrieveResponse, - type ConfigGuessResponse, - type ConfigRetrieveParams, - type ConfigGuessParams, -} from './configs'; -export { - Projects, - type Project, - type ProjectGenerateCommitMessageResponse, - type ProjectCreateParams, - type ProjectRetrieveParams, - type ProjectUpdateParams, - type ProjectListParams, - type ProjectGenerateCommitMessageParams, - type ProjectsPage, -} from './projects'; +export { Branches, type ProjectBranch, type BranchListResponse, type BranchDeleteResponse, type BranchCreateParams, type BranchRetrieveParams, type BranchListParams, type BranchDeleteParams, type BranchRebaseParams, type BranchResetParams, type BranchListResponsesPage } from './branches';; +export { Configs, type ConfigRetrieveResponse, type ConfigGuessResponse, type ConfigRetrieveParams, type ConfigGuessParams } from './configs';; +export { Projects, type Project, type ProjectGenerateCommitMessageResponse, type ProjectCreateParams, type ProjectRetrieveParams, type ProjectUpdateParams, type ProjectListParams, type ProjectGenerateCommitMessageParams, type ProjectsPage } from './projects';; diff --git a/src/resources/projects/projects.ts b/src/resources/projects/projects.ts index 0cab4a00..7eda457c 100644 --- a/src/resources/projects/projects.ts +++ b/src/resources/projects/projects.ts @@ -3,27 +3,9 @@ import { APIResource } from '../../core/resource'; import * as Shared from '../shared'; import * as BranchesAPI from './branches'; -import { - BranchCreateParams, - BranchDeleteParams, - BranchDeleteResponse, - BranchListParams, - BranchListResponse, - BranchListResponsesPage, - BranchRebaseParams, - BranchResetParams, - BranchRetrieveParams, - Branches, - ProjectBranch, -} from './branches'; +import { BranchCreateParams, BranchDeleteParams, BranchDeleteResponse, BranchListParams, BranchListResponse, BranchListResponsesPage, BranchRebaseParams, BranchResetParams, BranchRetrieveParams, Branches, ProjectBranch } from './branches'; import * as ConfigsAPI from './configs'; -import { - ConfigGuessParams, - ConfigGuessResponse, - ConfigRetrieveParams, - ConfigRetrieveResponse, - Configs, -} from './configs'; +import { ConfigGuessParams, ConfigGuessResponse, ConfigRetrieveParams, ConfigRetrieveResponse, Configs } from './configs'; import { APIPromise } from '../../core/api-promise'; import { Page, type PageParams, PagePromise } from '../../core/pagination'; import { RequestOptions } from '../../internal/request-options'; @@ -43,11 +25,8 @@ export class Projects extends APIResource { /** * Retrieve a project by name. */ - retrieve( - params: ProjectRetrieveParams | null | undefined = {}, - options?: RequestOptions, - ): APIPromise { - const { project = this._client.project } = params ?? {}; + retrieve(params: ProjectRetrieveParams | null | undefined = {}, options?: RequestOptions): APIPromise { + const { project = this._client.project } = params ?? {} return this._client.get(path`/v0/projects/${project}`, options); } @@ -55,37 +34,27 @@ export class Projects extends APIResource { * Update a project's properties. */ update(params: ProjectUpdateParams | null | undefined = {}, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params ?? {}; + const { project = this._client.project, ...body } = params ?? {} return this._client.patch(path`/v0/projects/${project}`, { body, ...options }); } /** * List projects in an organization, from oldest to newest. */ - list( - query: ProjectListParams | null | undefined = {}, - options?: RequestOptions, - ): PagePromise { + list(query: ProjectListParams | null | undefined = {}, options?: RequestOptions): PagePromise { return this._client.getAPIList('/v0/projects', Page, { query, ...options }); } /** * Generates an AI commit message by comparing two git refs in the SDK repository. */ - generateCommitMessage( - params: ProjectGenerateCommitMessageParams, - options?: RequestOptions, - ): APIPromise { - const { project = this._client.project, target, ...body } = params; - return this._client.post(path`/v0/projects/${project}/generate_commit_message`, { - query: { target }, - body, - ...options, - }); + generateCommitMessage(params: ProjectGenerateCommitMessageParams, options?: RequestOptions): APIPromise { + const { project = this._client.project, target, ...body } = params + return this._client.post(path`/v0/projects/${project}/generate_commit_message`, { query: { target }, body, ...options }); } } -export type ProjectsPage = Page; +export type ProjectsPage = Page /** * A project is a collection of SDKs generated from the same set of config files. @@ -169,20 +138,7 @@ export interface ProjectGenerateCommitMessageParams { /** * Query param: Language target */ - target: - | 'python' - | 'node' - | 'typescript' - | 'java' - | 'kotlin' - | 'go' - | 'ruby' - | 'terraform' - | 'cli' - | 'csharp' - | 'php' - | 'openapi' - | 'sql'; + target: 'python' | 'node' | 'typescript' | 'java' | 'kotlin' | 'go' | 'ruby' | 'terraform' | 'cli' | 'csharp' | 'php' | 'openapi' | 'sql'; /** * Body param: Base ref for comparison @@ -207,7 +163,7 @@ export declare namespace Projects { type ProjectRetrieveParams as ProjectRetrieveParams, type ProjectUpdateParams as ProjectUpdateParams, type ProjectListParams as ProjectListParams, - type ProjectGenerateCommitMessageParams as ProjectGenerateCommitMessageParams, + type ProjectGenerateCommitMessageParams as ProjectGenerateCommitMessageParams }; export { @@ -221,7 +177,7 @@ export declare namespace Projects { type BranchListParams as BranchListParams, type BranchDeleteParams as BranchDeleteParams, type BranchRebaseParams as BranchRebaseParams, - type BranchResetParams as BranchResetParams, + type BranchResetParams as BranchResetParams }; export { @@ -229,6 +185,6 @@ export declare namespace Projects { type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigGuessResponse as ConfigGuessResponse, type ConfigRetrieveParams as ConfigRetrieveParams, - type ConfigGuessParams as ConfigGuessParams, + type ConfigGuessParams as ConfigGuessParams }; } diff --git a/src/resources/shared.ts b/src/resources/shared.ts index d18a2687..91579dd6 100644 --- a/src/resources/shared.ts +++ b/src/resources/shared.ts @@ -1,5 +1,6 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + export interface Commit { repo: Commit.Repo; @@ -30,7 +31,7 @@ export namespace Commit { } } -export type FileInput = FileInput.Content | FileInput.URL; +export type FileInput = FileInput.Content | FileInput.URL export namespace FileInput { export interface Content { @@ -48,17 +49,4 @@ export namespace FileInput { } } -export type Target = - | 'node' - | 'typescript' - | 'python' - | 'go' - | 'java' - | 'kotlin' - | 'ruby' - | 'terraform' - | 'cli' - | 'php' - | 'csharp' - | 'sql' - | 'openapi'; +export type Target = 'node' | 'typescript' | 'python' | 'go' | 'java' | 'kotlin' | 'ruby' | 'terraform' | 'cli' | 'php' | 'csharp' | 'sql' | 'openapi' diff --git a/src/resources/user.ts b/src/resources/user.ts index 47a4dcb5..064142d1 100644 --- a/src/resources/user.ts +++ b/src/resources/user.ts @@ -32,5 +32,7 @@ export namespace UserRetrieveResponse { } export declare namespace User { - export { type UserRetrieveResponse as UserRetrieveResponse }; + export { + type UserRetrieveResponse as UserRetrieveResponse + }; } diff --git a/src/uploads.ts b/src/uploads.ts index b2ef6471..d5437085 100644 --- a/src/uploads.ts +++ b/src/uploads.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/uploads instead */ -export * from './core/uploads'; +export * from "./core/uploads" \ No newline at end of file diff --git a/src/version.ts b/src/version.ts index 1f5d1586..63aeba8a 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.5.0'; // x-release-please-version +export const VERSION = '0.5.0';// x-release-please-version diff --git a/tests/api-resources/builds/builds.test.ts b/tests/api-resources/builds/builds.test.ts index a0ed1455..6f9b5d52 100644 --- a/tests/api-resources/builds/builds.test.ts +++ b/tests/api-resources/builds/builds.test.ts @@ -2,10 +2,7 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ - apiKey: 'My API Key', - baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', -}); +const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); describe('resource builds', () => { test('create: only required params', async () => { @@ -21,29 +18,29 @@ describe('resource builds', () => { test('create: required and optional params', async () => { const response = await client.builds.create({ - project: 'project', - revision: 'string', - allow_empty: true, - branch: 'branch', - commit_message: 'commit_message', - enable_ai_commit_message: true, - target_commit_messages: { - cli: 'cli', - csharp: 'csharp', - go: 'go', - java: 'java', - kotlin: 'kotlin', - node: 'node', - openapi: 'openapi', - php: 'php', - python: 'python', - ruby: 'ruby', - sql: 'sql', - terraform: 'terraform', - typescript: 'typescript', - }, - targets: ['node'], - }); + project: 'project', + revision: 'string', + allow_empty: true, + branch: 'branch', + commit_message: 'commit_message', + enable_ai_commit_message: true, + target_commit_messages: { + cli: 'cli', + csharp: 'csharp', + go: 'go', + java: 'java', + kotlin: 'kotlin', + node: 'node', + openapi: 'openapi', + php: 'php', + python: 'python', + ruby: 'ruby', + sql: 'sql', + terraform: 'terraform', + typescript: 'typescript', + }, + targets: ['node'], + }); }); test('retrieve', async () => { @@ -70,20 +67,20 @@ describe('resource builds', () => { test('list: required and optional params', async () => { const response = await client.builds.list({ - project: 'project', - branch: 'branch', - cursor: 'cursor', - limit: 1, - revision: 'string', - }); + project: 'project', + branch: 'branch', + cursor: 'cursor', + limit: 1, + revision: 'string', + }); }); test('compare: only required params', async () => { const responsePromise = client.builds.compare({ - base: { branch: 'branch', revision: 'string' }, - head: { branch: 'branch', revision: 'string' }, - project: 'project', - }); + base: { branch: 'branch', revision: 'string' }, + head: { branch: 'branch', revision: 'string' }, + project: 'project', + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -95,18 +92,18 @@ describe('resource builds', () => { test('compare: required and optional params', async () => { const response = await client.builds.compare({ - base: { - branch: 'branch', - revision: 'string', - commit_message: 'commit_message', - }, - head: { - branch: 'branch', - revision: 'string', - commit_message: 'commit_message', - }, - project: 'project', - targets: ['node'], - }); + base: { + branch: 'branch', + revision: 'string', + commit_message: 'commit_message', + }, + head: { + branch: 'branch', + revision: 'string', + commit_message: 'commit_message', + }, + project: 'project', + targets: ['node'], + }); }); }); diff --git a/tests/api-resources/builds/diagnostics.test.ts b/tests/api-resources/builds/diagnostics.test.ts index 9f8b5cce..73bb4568 100644 --- a/tests/api-resources/builds/diagnostics.test.ts +++ b/tests/api-resources/builds/diagnostics.test.ts @@ -2,10 +2,7 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ - apiKey: 'My API Key', - baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', -}); +const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); describe('resource diagnostics', () => { test('list', async () => { @@ -21,17 +18,13 @@ describe('resource diagnostics', () => { test('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error - await expect( - client.builds.diagnostics.list( - 'buildId', - { - cursor: 'cursor', - limit: 1, - severity: 'fatal', - targets: 'targets', - }, - { path: '/_stainless_unknown_path' }, - ), - ).rejects.toThrow(Stainless.NotFoundError); + await expect(client.builds.diagnostics.list('buildId', { + cursor: 'cursor', + limit: 1, + severity: 'fatal', + targets: 'targets', + }, { path: '/_stainless_unknown_path' })) + .rejects + .toThrow(Stainless.NotFoundError); }); }); diff --git a/tests/api-resources/builds/target-outputs.test.ts b/tests/api-resources/builds/target-outputs.test.ts index 55ebdd2d..a2b71403 100644 --- a/tests/api-resources/builds/target-outputs.test.ts +++ b/tests/api-resources/builds/target-outputs.test.ts @@ -2,18 +2,15 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ - apiKey: 'My API Key', - baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', -}); +const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); describe('resource targetOutputs', () => { test('retrieve: only required params', async () => { const responsePromise = client.builds.targetOutputs.retrieve({ - build_id: 'build_id', - target: 'node', - type: 'source', - }); + build_id: 'build_id', + target: 'node', + type: 'source', + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -25,11 +22,11 @@ describe('resource targetOutputs', () => { test('retrieve: required and optional params', async () => { const response = await client.builds.targetOutputs.retrieve({ - build_id: 'build_id', - target: 'node', - type: 'source', - output: 'url', - path: 'path', - }); + build_id: 'build_id', + target: 'node', + type: 'source', + output: 'url', + path: 'path', + }); }); }); diff --git a/tests/api-resources/orgs.test.ts b/tests/api-resources/orgs.test.ts index fecf2137..beb3bcd0 100644 --- a/tests/api-resources/orgs.test.ts +++ b/tests/api-resources/orgs.test.ts @@ -2,10 +2,7 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ - apiKey: 'My API Key', - baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', -}); +const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); describe('resource orgs', () => { test('retrieve', async () => { diff --git a/tests/api-resources/projects/branches.test.ts b/tests/api-resources/projects/branches.test.ts index 323394b9..ec2fc1db 100644 --- a/tests/api-resources/projects/branches.test.ts +++ b/tests/api-resources/projects/branches.test.ts @@ -2,18 +2,15 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ - apiKey: 'My API Key', - baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', -}); +const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); describe('resource branches', () => { test('create: only required params', async () => { const responsePromise = client.projects.branches.create({ - project: 'project', - branch: 'branch', - branch_from: 'branch_from', - }); + project: 'project', + branch: 'branch', + branch_from: 'branch_from', + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -25,11 +22,11 @@ describe('resource branches', () => { test('create: required and optional params', async () => { const response = await client.projects.branches.create({ - project: 'project', - branch: 'branch', - branch_from: 'branch_from', - force: true, - }); + project: 'project', + branch: 'branch', + branch_from: 'branch_from', + force: true, + }); }); test('retrieve: only required params', async () => { @@ -60,10 +57,10 @@ describe('resource branches', () => { test('list: required and optional params', async () => { const response = await client.projects.branches.list({ - project: 'project', - cursor: 'cursor', - limit: 1, - }); + project: 'project', + cursor: 'cursor', + limit: 1, + }); }); test('delete: only required params', async () => { @@ -108,9 +105,6 @@ describe('resource branches', () => { }); test('reset: required and optional params', async () => { - const response = await client.projects.branches.reset('branch', { - project: 'project', - target_config_sha: 'target_config_sha', - }); + const response = await client.projects.branches.reset('branch', { project: 'project', target_config_sha: 'target_config_sha' }); }); }); diff --git a/tests/api-resources/projects/configs.test.ts b/tests/api-resources/projects/configs.test.ts index ed3790f1..12d240e4 100644 --- a/tests/api-resources/projects/configs.test.ts +++ b/tests/api-resources/projects/configs.test.ts @@ -2,10 +2,7 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ - apiKey: 'My API Key', - baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', -}); +const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); describe('resource configs', () => { test('retrieve: only required params', async () => { @@ -21,10 +18,10 @@ describe('resource configs', () => { test('retrieve: required and optional params', async () => { const response = await client.projects.configs.retrieve({ - project: 'project', - branch: 'branch', - include: 'include', - }); + project: 'project', + branch: 'branch', + include: 'include', + }); }); test('guess: only required params', async () => { @@ -40,9 +37,9 @@ describe('resource configs', () => { test('guess: required and optional params', async () => { const response = await client.projects.configs.guess({ - project: 'project', - spec: 'spec', - branch: 'branch', - }); + project: 'project', + spec: 'spec', + branch: 'branch', + }); }); }); diff --git a/tests/api-resources/projects/projects.test.ts b/tests/api-resources/projects/projects.test.ts index a85d5bec..e7c549ce 100644 --- a/tests/api-resources/projects/projects.test.ts +++ b/tests/api-resources/projects/projects.test.ts @@ -2,20 +2,17 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ - apiKey: 'My API Key', - baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', -}); +const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); describe('resource projects', () => { test('create: only required params', async () => { const responsePromise = client.projects.create({ - display_name: 'display_name', - org: 'org', - revision: { foo: { content: 'content' } }, - slug: 'slug', - targets: ['node'], - }); + display_name: 'display_name', + org: 'org', + revision: { foo: { content: 'content' } }, + slug: 'slug', + targets: ['node'], + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -27,12 +24,12 @@ describe('resource projects', () => { test('create: required and optional params', async () => { const response = await client.projects.create({ - display_name: 'display_name', - org: 'org', - revision: { foo: { content: 'content' } }, - slug: 'slug', - targets: ['node'], - }); + display_name: 'display_name', + org: 'org', + revision: { foo: { content: 'content' } }, + slug: 'slug', + targets: ['node'], + }); }); test('retrieve: only required params', async () => { @@ -78,25 +75,22 @@ describe('resource projects', () => { test('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error - await expect( - client.projects.list( - { - cursor: 'cursor', - limit: 1, - org: 'org', - }, - { path: '/_stainless_unknown_path' }, - ), - ).rejects.toThrow(Stainless.NotFoundError); + await expect(client.projects.list({ + cursor: 'cursor', + limit: 1, + org: 'org', + }, { path: '/_stainless_unknown_path' })) + .rejects + .toThrow(Stainless.NotFoundError); }); test('generateCommitMessage: only required params', async () => { const responsePromise = client.projects.generateCommitMessage({ - project: 'project', - target: 'python', - base_ref: 'base_ref', - head_ref: 'head_ref', - }); + project: 'project', + target: 'python', + base_ref: 'base_ref', + head_ref: 'head_ref', + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -108,10 +102,10 @@ describe('resource projects', () => { test('generateCommitMessage: required and optional params', async () => { const response = await client.projects.generateCommitMessage({ - project: 'project', - target: 'python', - base_ref: 'base_ref', - head_ref: 'head_ref', - }); + project: 'project', + target: 'python', + base_ref: 'base_ref', + head_ref: 'head_ref', + }); }); }); diff --git a/tests/api-resources/user.test.ts b/tests/api-resources/user.test.ts index ff9e8bec..6b2b27d4 100644 --- a/tests/api-resources/user.test.ts +++ b/tests/api-resources/user.test.ts @@ -2,10 +2,7 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ - apiKey: 'My API Key', - baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', -}); +const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); describe('resource user', () => { test('retrieve', async () => { diff --git a/tests/index.test.ts b/tests/index.test.ts index 145dc492..b63afede 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -21,10 +21,10 @@ describe('instantiate client', () => { describe('defaultHeaders', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultHeaders: { 'X-My-Default-Header': '2' }, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + defaultHeaders: { 'X-My-Default-Header': '2' }, + apiKey: 'My API Key', +}) test('they are used in the request', async () => { const { req } = await client.buildRequest({ path: '/foo', method: 'post' }); @@ -49,193 +49,191 @@ describe('instantiate client', () => { expect(req.headers.has('x-my-default-header')).toBe(false); }); }); - describe('logging', () => { - const env = process.env; +describe('logging', () => { + const env = process.env; - beforeEach(() => { - process.env = { ...env }; - process.env['STAINLESS_LOG'] = undefined; - }); + beforeEach(() => { + process.env = { ...env }; + process.env['STAINLESS_LOG'] = undefined; + }); - afterEach(() => { - process.env = env; - }); + afterEach(() => { + process.env = env; + }); - const forceAPIResponseForClient = async (client: Stainless) => { - await new APIPromise( - client, - Promise.resolve({ - response: new Response(), - controller: new AbortController(), - requestLogID: 'log_000000', - retryOfRequestLogID: undefined, - startTime: Date.now(), - options: { - method: 'get', - path: '/', - }, - }), - ); + const forceAPIResponseForClient = async (client: Stainless) => { + await new APIPromise( + client, + Promise.resolve({ + response: new Response(), + controller: new AbortController(), + requestLogID: 'log_000000', + retryOfRequestLogID: undefined, + startTime: Date.now(), + options: { + method: 'get', + path: '/', + }, + }), + ); + }; + + test('debug logs when log level is debug', async () => { + const debugMock = jest.fn(); + const logger = { + debug: debugMock, + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), }; - test('debug logs when log level is debug', async () => { - const debugMock = jest.fn(); - const logger = { - debug: debugMock, - info: jest.fn(), - warn: jest.fn(), - error: jest.fn(), - }; - - const client = new Stainless({ - logger: logger, - logLevel: 'debug', - apiKey: 'My API Key', - }); + const client = new Stainless({ + logger: logger, + logLevel: 'debug', + apiKey: 'My API Key', +}); - await forceAPIResponseForClient(client); - expect(debugMock).toHaveBeenCalled(); - }); + await forceAPIResponseForClient(client); + expect(debugMock).toHaveBeenCalled(); + }); - test('default logLevel is warn', async () => { - const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.logLevel).toBe('warn'); - }); + test('default logLevel is warn', async () => { + const client = new Stainless({ apiKey: 'My API Key' }); + expect(client.logLevel).toBe('warn'); + }); - test('debug logs are skipped when log level is info', async () => { - const debugMock = jest.fn(); - const logger = { - debug: debugMock, - info: jest.fn(), - warn: jest.fn(), - error: jest.fn(), - }; + test('debug logs are skipped when log level is info', async () => { + const debugMock = jest.fn(); + const logger = { + debug: debugMock, + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), + }; - const client = new Stainless({ - logger: logger, - logLevel: 'info', - apiKey: 'My API Key', - }); + const client = new Stainless({ + logger: logger, + logLevel: 'info', + apiKey: 'My API Key', +}); - await forceAPIResponseForClient(client); - expect(debugMock).not.toHaveBeenCalled(); - }); + await forceAPIResponseForClient(client); + expect(debugMock).not.toHaveBeenCalled(); + }); - test('debug logs happen with debug env var', async () => { - const debugMock = jest.fn(); - const logger = { - debug: debugMock, - info: jest.fn(), - warn: jest.fn(), - error: jest.fn(), - }; + test('debug logs happen with debug env var', async () => { + const debugMock = jest.fn(); + const logger = { + debug: debugMock, + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), + }; - process.env['STAINLESS_LOG'] = 'debug'; - const client = new Stainless({ logger: logger, apiKey: 'My API Key' }); - expect(client.logLevel).toBe('debug'); + process.env['STAINLESS_LOG'] = 'debug'; + const client = new Stainless({ logger: logger, apiKey: 'My API Key' }); + expect(client.logLevel).toBe('debug'); - await forceAPIResponseForClient(client); - expect(debugMock).toHaveBeenCalled(); - }); + await forceAPIResponseForClient(client); + expect(debugMock).toHaveBeenCalled(); + }); - test('warn when env var level is invalid', async () => { - const warnMock = jest.fn(); - const logger = { - debug: jest.fn(), - info: jest.fn(), - warn: warnMock, - error: jest.fn(), - }; + test('warn when env var level is invalid', async () => { + const warnMock = jest.fn(); + const logger = { + debug: jest.fn(), + info: jest.fn(), + warn: warnMock, + error: jest.fn(), + }; - process.env['STAINLESS_LOG'] = 'not a log level'; - const client = new Stainless({ logger: logger, apiKey: 'My API Key' }); - expect(client.logLevel).toBe('warn'); - expect(warnMock).toHaveBeenCalledWith( - 'process.env[\'STAINLESS_LOG\'] was set to "not a log level", expected one of ["off","error","warn","info","debug"]', - ); - }); + process.env['STAINLESS_LOG'] = 'not a log level'; + const client = new Stainless({ logger: logger, apiKey: 'My API Key' }); + expect(client.logLevel).toBe('warn'); + expect(warnMock).toHaveBeenCalledWith('process.env[\'STAINLESS_LOG\'] was set to "not a log level", expected one of ["off","error","warn","info","debug"]'); + }); - test('client log level overrides env var', async () => { - const debugMock = jest.fn(); - const logger = { - debug: debugMock, - info: jest.fn(), - warn: jest.fn(), - error: jest.fn(), - }; + test('client log level overrides env var', async () => { + const debugMock = jest.fn(); + const logger = { + debug: debugMock, + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), + }; - process.env['STAINLESS_LOG'] = 'debug'; - const client = new Stainless({ - logger: logger, - logLevel: 'off', - apiKey: 'My API Key', - }); + process.env['STAINLESS_LOG'] = 'debug'; + const client = new Stainless({ + logger: logger, + logLevel: 'off', + apiKey: 'My API Key', +}); - await forceAPIResponseForClient(client); - expect(debugMock).not.toHaveBeenCalled(); - }); + await forceAPIResponseForClient(client); + expect(debugMock).not.toHaveBeenCalled(); + }); - test('no warning logged for invalid env var level + valid client level', async () => { - const warnMock = jest.fn(); - const logger = { - debug: jest.fn(), - info: jest.fn(), - warn: warnMock, - error: jest.fn(), - }; + test('no warning logged for invalid env var level + valid client level', async () => { + const warnMock = jest.fn(); + const logger = { + debug: jest.fn(), + info: jest.fn(), + warn: warnMock, + error: jest.fn(), + }; - process.env['STAINLESS_LOG'] = 'not a log level'; - const client = new Stainless({ - logger: logger, - logLevel: 'debug', - apiKey: 'My API Key', - }); - expect(client.logLevel).toBe('debug'); - expect(warnMock).not.toHaveBeenCalled(); - }); + process.env['STAINLESS_LOG'] = 'not a log level'; + const client = new Stainless({ + logger: logger, + logLevel: 'debug', + apiKey: 'My API Key', +}); + expect(client.logLevel).toBe('debug'); + expect(warnMock).not.toHaveBeenCalled(); }); +}); describe('defaultQuery', () => { test('with null query params given', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultQuery: { apiVersion: 'foo' }, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + defaultQuery: { apiVersion: 'foo' }, + apiKey: 'My API Key', +}); expect(client.buildURL('/foo', null)).toEqual('http://localhost:5000/foo?apiVersion=foo'); }); test('multiple default query params', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultQuery: { apiVersion: 'foo', hello: 'world' }, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + defaultQuery: { apiVersion: 'foo', hello: 'world' }, + apiKey: 'My API Key', +}); expect(client.buildURL('/foo', null)).toEqual('http://localhost:5000/foo?apiVersion=foo&hello=world'); }); test('overriding with `undefined`', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultQuery: { hello: 'world' }, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + defaultQuery: { hello: 'world' }, + apiKey: 'My API Key', +}) expect(client.buildURL('/foo', { hello: undefined })).toEqual('http://localhost:5000/foo'); }); }); test('custom fetch', async () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - apiKey: 'My API Key', - fetch: (url) => { - return Promise.resolve( - new Response(JSON.stringify({ url, custom: true }), { - headers: { 'Content-Type': 'application/json' }, - }), - ); - }, - }); + baseURL: 'http://localhost:5000/', + apiKey: 'My API Key', + fetch: (url) => { + return Promise.resolve( + new Response(JSON.stringify({ url, custom: true }), { + headers: { 'Content-Type': 'application/json' }, + }), + ); +}, +}); const response = await client.get('/foo'); expect(response).toEqual({ url: 'http://localhost:5000/foo', custom: true }); @@ -244,35 +242,37 @@ describe('instantiate client', () => { test('explicit global fetch', async () => { // make sure the global fetch type is assignable to our Fetch type const client = new Stainless({ - baseURL: 'http://localhost:5000/', - apiKey: 'My API Key', - fetch: defaultFetch, - }); + baseURL: 'http://localhost:5000/', + apiKey: 'My API Key', + fetch: defaultFetch, +}); }); test('custom signal', async () => { const client = new Stainless({ - baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', - apiKey: 'My API Key', - fetch: (...args) => { - return new Promise((resolve, reject) => - setTimeout( - () => - defaultFetch(...args) - .then(resolve) - .catch(reject), - 300, - ), - ); - }, - }); + baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010', + apiKey: 'My API Key', + fetch: (...args) => { + return new Promise((resolve, reject) => + setTimeout( + () => + defaultFetch(...args) + .then(resolve) + .catch(reject), + 300, + ), + ); +}, +}); const controller = new AbortController(); setTimeout(() => controller.abort(), 200); const spy = jest.spyOn(client, 'request'); - await expect(client.get('/foo', { signal: controller.signal })).rejects.toThrowError(APIUserAbortError); + await expect(client.get('/foo', { signal: controller.signal })).rejects.toThrowError( + APIUserAbortError, + ); expect(spy).toHaveBeenCalledTimes(1); }); @@ -284,10 +284,10 @@ describe('instantiate client', () => { }; const client = new Stainless({ - baseURL: 'http://localhost:5000/', - apiKey: 'My API Key', - fetch: testFetch, - }); + baseURL: 'http://localhost:5000/', + apiKey: 'My API Key', + fetch: testFetch, +}); await client.patch('/foo'); expect(capturedRequest?.method).toEqual('PATCH'); @@ -322,52 +322,47 @@ describe('instantiate client', () => { test('empty env variable', () => { process.env['STAINLESS_BASE_URL'] = ''; // empty const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.baseURL).toEqual('https://api.stainless.com'); + expect(client.baseURL).toEqual('https://api.stainless.com') }); test('blank env variable', () => { process.env['STAINLESS_BASE_URL'] = ' '; // blank const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.baseURL).toEqual('https://api.stainless.com'); + expect(client.baseURL).toEqual('https://api.stainless.com') }); test('env variable with environment', () => { process.env['STAINLESS_BASE_URL'] = 'https://example.com/from_env'; expect( - () => new Stainless({ apiKey: 'My API Key', environment: 'production' }), + () => + new Stainless({ apiKey: 'My API Key', environment: 'production' }) ).toThrowErrorMatchingInlineSnapshot( `"Ambiguous URL; The \`baseURL\` option (or STAINLESS_BASE_URL env var) and the \`environment\` option are given. If you want to use the environment you must pass baseURL: null"`, ); const client = new Stainless({ - apiKey: 'My API Key', - baseURL: null, - environment: 'production', - }); - expect(client.baseURL).toEqual('https://api.stainless.com'); + apiKey: 'My API Key', + baseURL: null, + environment: 'production', + }); + expect(client.baseURL).toEqual('https://api.stainless.com') }); test('in request options', () => { const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual( - 'http://localhost:5000/option/foo', - ); + expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual('http://localhost:5000/option/foo'); }); test('in request options overridden by client options', () => { const client = new Stainless({ apiKey: 'My API Key', baseURL: 'http://localhost:5000/client' }); - expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual( - 'http://localhost:5000/client/foo', - ); + expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual('http://localhost:5000/client/foo'); }); test('in request options overridden by env variable', () => { process.env['STAINLESS_BASE_URL'] = 'http://localhost:5000/env'; const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual( - 'http://localhost:5000/env/foo', - ); + expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual('http://localhost:5000/env/foo'); }); }); @@ -383,10 +378,10 @@ describe('instantiate client', () => { describe('withOptions', () => { test('creates a new client with overridden options', async () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - maxRetries: 3, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + maxRetries: 3, + apiKey: 'My API Key', + }); const newClient = client.withOptions({ maxRetries: 5, @@ -408,11 +403,11 @@ describe('instantiate client', () => { test('inherits options from the parent client', async () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultHeaders: { 'X-Test-Header': 'test-value' }, - defaultQuery: { 'test-param': 'test-value' }, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + defaultHeaders: { 'X-Test-Header': 'test-value' }, + defaultQuery: { 'test-param': 'test-value' }, + apiKey: 'My API Key', + }); const newClient = client.withOptions({ baseURL: 'http://localhost:5001/', @@ -427,10 +422,10 @@ describe('instantiate client', () => { test('respects runtime property changes when creating new client', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - timeout: 1000, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + timeout: 1000, + apiKey: 'My API Key', + }); // Modify the client properties directly after creation client.baseURL = 'http://localhost:6000/'; @@ -476,18 +471,13 @@ describe('request building', () => { describe('custom headers', () => { test('handles undefined', async () => { - const { req } = await client.buildRequest({ - path: '/foo', - method: 'post', - body: { value: 'hello' }, - headers: { 'X-Foo': 'baz', 'x-foo': 'bar', 'x-Foo': undefined, 'x-baz': 'bam', 'X-Baz': null }, - }); + const { req } = await client.buildRequest({ path: '/foo', method: 'post', body: { value: 'hello' }, headers: { 'X-Foo': 'baz', 'x-foo': 'bar', 'x-Foo': undefined, 'x-baz': 'bam', 'X-Baz': null } }); expect(req.headers.get('x-foo')).toEqual('bar'); expect(req.headers.get('x-Foo')).toEqual('bar'); expect(req.headers.get('X-Foo')).toEqual('bar'); expect(req.headers.get('x-baz')).toEqual(null); }); - }); + }) }); describe('default encoder', () => { @@ -564,40 +554,37 @@ describe('default encoder', () => { describe('retries', () => { test('retry on timeout', async () => { let count = 0; - const testFetch = async ( - url: string | URL | Request, - { signal }: RequestInit = {}, - ): Promise => { - if (count++ === 0) { - return new Promise( - (resolve, reject) => signal?.addEventListener('abort', () => reject(new Error('timed out'))), - ); - } - return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); - }; - - const client = new Stainless({ - apiKey: 'My API Key', - timeout: 10, - fetch: testFetch, - }); + const testFetch = async (url: string | URL | Request, { signal }: RequestInit = {}): Promise => { + if (count++ === 0) { + return new Promise((resolve, reject) => + signal?.addEventListener('abort', () => reject(new Error('timed out'))), + ); + } + return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); + }; - expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 }); - expect(count).toEqual(2); - expect( - await client - .request({ path: '/foo', method: 'get' }) - .asResponse() - .then((r) => r.text()), - ).toEqual(JSON.stringify({ a: 1 })); - expect(count).toEqual(3); + const client = new Stainless({ + apiKey: 'My API Key', + timeout: 10, + fetch: testFetch, }); + expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 }); + expect(count).toEqual(2); + expect( + await client + .request({ path: '/foo', method: 'get' }) + .asResponse() + .then((r) => r.text()), + ).toEqual(JSON.stringify({ a: 1 })); + expect(count).toEqual(3); + }); + test('retry count header', async () => { let count = 0; let capturedRequest: RequestInit | undefined; const testFetch = async (url: string | URL | Request, init: RequestInit = {}): Promise => { - count++; + count++ if (count <= 2) { return new Response(undefined, { status: 429, @@ -611,10 +598,10 @@ describe('retries', () => { }; const client = new Stainless({ - apiKey: 'My API Key', - fetch: testFetch, - maxRetries: 4, - }); + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + }); expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 }); @@ -626,7 +613,7 @@ describe('retries', () => { let count = 0; let capturedRequest: RequestInit | undefined; const testFetch = async (url: string | URL | Request, init: RequestInit = {}): Promise => { - count++; + count++ if (count <= 2) { return new Response(undefined, { status: 429, @@ -639,10 +626,10 @@ describe('retries', () => { return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; const client = new Stainless({ - apiKey: 'My API Key', - fetch: testFetch, - maxRetries: 4, - }); + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + }); expect( await client.request({ @@ -659,7 +646,7 @@ describe('retries', () => { let count = 0; let capturedRequest: RequestInit | undefined; const testFetch = async (url: string | URL | Request, init: RequestInit = {}): Promise => { - count++; + count++ if (count <= 2) { return new Response(undefined, { status: 429, @@ -672,11 +659,11 @@ describe('retries', () => { return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; const client = new Stainless({ - apiKey: 'My API Key', - fetch: testFetch, - maxRetries: 4, - defaultHeaders: { 'X-Stainless-Retry-Count': null }, - }); + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + defaultHeaders: { 'X-Stainless-Retry-Count': null }, + }); expect( await client.request({ @@ -692,7 +679,7 @@ describe('retries', () => { let count = 0; let capturedRequest: RequestInit | undefined; const testFetch = async (url: string | URL | Request, init: RequestInit = {}): Promise => { - count++; + count++ if (count <= 2) { return new Response(undefined, { status: 429, @@ -705,10 +692,10 @@ describe('retries', () => { return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; const client = new Stainless({ - apiKey: 'My API Key', - fetch: testFetch, - maxRetries: 4, - }); + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + }); expect( await client.request({ @@ -723,10 +710,7 @@ describe('retries', () => { test('retry on 429 with retry-after', async () => { let count = 0; - const testFetch = async ( - url: string | URL | Request, - { signal }: RequestInit = {}, - ): Promise => { + const testFetch = async (url: string | URL | Request, { signal }: RequestInit = {}): Promise => { if (count++ === 0) { return new Response(undefined, { status: 429, @@ -753,10 +737,7 @@ describe('retries', () => { test('retry on 429 with retry-after-ms', async () => { let count = 0; - const testFetch = async ( - url: string | URL | Request, - { signal }: RequestInit = {}, - ): Promise => { + const testFetch = async (url: string | URL | Request, { signal }: RequestInit = {}): Promise => { if (count++ === 0) { return new Response(undefined, { status: 429, diff --git a/tests/qs/utils.test.ts b/tests/qs/utils.test.ts index 6ed013dd..23f10c0a 100644 --- a/tests/qs/utils.test.ts +++ b/tests/qs/utils.test.ts @@ -66,7 +66,7 @@ describe('merge()', function () { // st.equal(getCount, 1); expect(setCount).toEqual(0); expect(getCount).toEqual(1); - observed[0] = observed[0]; + observed[0] = observed[0]; // st.equal(setCount, 1); // st.equal(getCount, 2); expect(setCount).toEqual(1); diff --git a/tests/stringifyQuery.test.ts b/tests/stringifyQuery.test.ts index 266a0bce..4b7e4976 100644 --- a/tests/stringifyQuery.test.ts +++ b/tests/stringifyQuery.test.ts @@ -2,20 +2,18 @@ import { stringifyQuery } from '@stainless-api/sdk/internal/utils/query'; -describe(stringifyQuery, () => { - for (const [input, expected] of [ - [{ a: '1', b: 2, c: true }, 'a=1&b=2&c=true'], - [{ a: null, b: false, c: undefined }, 'a=&b=false'], - [{ 'a/b': 1.28341 }, `${encodeURIComponent('a/b')}=1.28341`], - [ - { 'a/b': 'c/d', 'e=f': 'g&h' }, - `${encodeURIComponent('a/b')}=${encodeURIComponent('c/d')}&${encodeURIComponent( - 'e=f', - )}=${encodeURIComponent('g&h')}`, - ], - ] as const) { - it(`${JSON.stringify(input)} -> ${expected}`, () => { - expect(stringifyQuery(input)).toEqual(expected); - }); - } -}); +describe(stringifyQuery, () => { for (const [input, expected] of [ + [{ a: '1', b: 2, c: true }, 'a=1&b=2&c=true'], + [{ a: null, b: false, c: undefined }, 'a=&b=false'], + [{ 'a/b': 1.28341 }, `${encodeURIComponent('a/b')}=1.28341`], + [ + { 'a/b': 'c/d', 'e=f': 'g&h' }, + `${encodeURIComponent('a/b')}=${encodeURIComponent('c/d')}&${encodeURIComponent( + 'e=f', + )}=${encodeURIComponent('g&h')}`, + ], +] as const) { + it(`${JSON.stringify(input)} -> ${expected}`, () => { + expect(stringifyQuery(input)).toEqual(expected); + }); +} }) From 9e3aa9abc46be254d0a36d44376e474e627a5621 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 15:08:22 +0000 Subject: [PATCH 58/69] feat(api): manual updates --- .github/workflows/release-doctor.yml | 1 - packages/mcp-server/jest.config.ts | 4 +- packages/mcp-server/src/auth.ts | 46 +- packages/mcp-server/src/code-tool-types.ts | 2 +- packages/mcp-server/src/code-tool-worker.ts | 62 +- packages/mcp-server/src/code-tool.ts | 143 +- packages/mcp-server/src/docs-search-tool.ts | 55 +- packages/mcp-server/src/http.ts | 68 +- packages/mcp-server/src/index.ts | 2 +- packages/mcp-server/src/instructions.ts | 20 +- packages/mcp-server/src/local-docs-search.ts | 2668 ++++++----- packages/mcp-server/src/methods.ts | 273 +- packages/mcp-server/src/options.ts | 47 +- packages/mcp-server/src/server.ts | 108 +- packages/mcp-server/src/types.ts | 80 +- pnpm-lock.yaml | 3993 ++++++++++++----- src/api-promise.ts | 2 +- src/client.ts | 281 +- src/core/api-promise.ts | 9 +- src/core/error.ts | 46 +- src/core/pagination.ts | 5 +- src/error.ts | 2 +- src/index.ts | 16 +- src/internal/builtin-types.ts | 23 +- src/internal/detect-platform.ts | 6 +- src/internal/errors.ts | 14 +- src/internal/headers.ts | 4 +- src/internal/parse.ts | 12 +- src/internal/qs/utils.ts | 5 +- src/internal/request-options.ts | 6 +- src/internal/shim-types.ts | 4 +- src/internal/shims.ts | 4 +- src/internal/to-file.ts | 14 +- src/internal/types.ts | 36 +- src/internal/utils/log.ts | 37 +- src/internal/utils/query.ts | 2 +- src/internal/utils/uuid.ts | 8 +- src/pagination.ts | 2 +- src/resource.ts | 2 +- src/resources/builds/builds.ts | 78 +- src/resources/builds/diagnostics.ts | 17 +- src/resources/builds/index.ts | 26 +- src/resources/builds/target-outputs.ts | 55 +- src/resources/index.ts | 30 +- src/resources/orgs.ts | 5 +- src/resources/projects/branches.ts | 62 +- src/resources/projects/configs.ts | 15 +- src/resources/projects/index.ts | 34 +- src/resources/projects/projects.ts | 72 +- src/resources/shared.ts | 18 +- src/resources/user.ts | 4 +- src/uploads.ts | 2 +- src/version.ts | 2 +- tests/api-resources/builds/builds.test.ts | 97 +- .../api-resources/builds/diagnostics.test.ts | 25 +- .../builds/target-outputs.test.ts | 25 +- tests/api-resources/orgs.test.ts | 5 +- tests/api-resources/projects/branches.test.ts | 36 +- tests/api-resources/projects/configs.test.ts | 21 +- tests/api-resources/projects/projects.test.ts | 66 +- tests/api-resources/user.test.ts | 5 +- tests/index.test.ts | 511 ++- tests/qs/utils.test.ts | 2 +- tests/stringifyQuery.test.ts | 32 +- 64 files changed, 5999 insertions(+), 3358 deletions(-) diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 59c083ce..a73ddf71 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -19,4 +19,3 @@ jobs: bash ./bin/check-release-environment env: DOCKERHUB_TOKEN: ${{ secrets.STAINLESS_DOCKERHUB_TOKEN || secrets.DOCKERHUB_TOKEN }} - diff --git a/packages/mcp-server/jest.config.ts b/packages/mcp-server/jest.config.ts index 82714a3c..57523f31 100644 --- a/packages/mcp-server/jest.config.ts +++ b/packages/mcp-server/jest.config.ts @@ -10,9 +10,7 @@ const config: JestConfigWithTsJest = { '^@stainless-api/sdk-mcp$': '/src/index.ts', '^@stainless-api/sdk-mcp/(.*)$': '/src/$1', }, - modulePathIgnorePatterns: [ - '/dist/', - ], + modulePathIgnorePatterns: ['/dist/'], testPathIgnorePatterns: ['scripts'], }; diff --git a/packages/mcp-server/src/auth.ts b/packages/mcp-server/src/auth.ts index f8fd2c37..7b9cdb4b 100644 --- a/packages/mcp-server/src/auth.ts +++ b/packages/mcp-server/src/auth.ts @@ -1,34 +1,42 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { IncomingMessage } from 'node:http' -import { ClientOptions } from '@stainless-api/sdk' +import { IncomingMessage } from 'node:http'; +import { ClientOptions } from '@stainless-api/sdk'; import { McpOptions } from './options'; -export const parseClientAuthHeaders = (req: IncomingMessage, required?: boolean): Partial => { if (req.headers.authorization) { - const scheme = req.headers.authorization.split(" ")[0]!; - const value = req.headers.authorization.slice(scheme.length + 1); - switch (scheme) { - case 'Bearer': - return { apiKey: req.headers.authorization.slice("Bearer ".length) }; - default: - throw new Error('Unsupported authorization scheme. Expected the "Authorization" header to be a supported scheme (Bearer).'); +export const parseClientAuthHeaders = (req: IncomingMessage, required?: boolean): Partial => { + if (req.headers.authorization) { + const scheme = req.headers.authorization.split(' ')[0]!; + const value = req.headers.authorization.slice(scheme.length + 1); + switch (scheme) { + case 'Bearer': + return { apiKey: req.headers.authorization.slice('Bearer '.length) }; + default: + throw new Error( + 'Unsupported authorization scheme. Expected the "Authorization" header to be a supported scheme (Bearer).', + ); + } + } else if (required) { + throw new Error('Missing required Authorization header; see WWW-Authenticate header for details.'); } -} else if (required) { - throw new Error('Missing required Authorization header; see WWW-Authenticate header for details.'); -} -const apiKey = Array.isArray(req.headers['x-stainless-api-key']) ? req.headers['x-stainless-api-key'][0] : req.headers['x-stainless-api-key'] -return {apiKey}; } + const apiKey = + Array.isArray(req.headers['x-stainless-api-key']) ? + req.headers['x-stainless-api-key'][0] + : req.headers['x-stainless-api-key']; + return { apiKey }; +}; export const getStainlessApiKey = (req: IncomingMessage, mcpOptions: McpOptions): string | undefined => { // Try to get the key from the x-stainless-api-key header - const headerKey = Array.isArray(req.headers['x-stainless-api-key']) ? - req.headers['x-stainless-api-key'][0] - : req.headers['x-stainless-api-key']; + const headerKey = + Array.isArray(req.headers['x-stainless-api-key']) ? + req.headers['x-stainless-api-key'][0] + : req.headers['x-stainless-api-key']; if (headerKey && typeof headerKey === 'string') { return headerKey; } // Fall back to value set in the mcpOptions (e.g. from environment variable), if provided return mcpOptions.stainlessApiKey; -} +}; diff --git a/packages/mcp-server/src/code-tool-types.ts b/packages/mcp-server/src/code-tool-types.ts index c0e15d1e..465f44c0 100644 --- a/packages/mcp-server/src/code-tool-types.ts +++ b/packages/mcp-server/src/code-tool-types.ts @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { ClientOptions } from '@stainless-api/sdk' +import { ClientOptions } from '@stainless-api/sdk'; export type WorkerInput = { project_name: string; diff --git a/packages/mcp-server/src/code-tool-worker.ts b/packages/mcp-server/src/code-tool-worker.ts index f81c7ac6..ec2c8354 100644 --- a/packages/mcp-server/src/code-tool-worker.ts +++ b/packages/mcp-server/src/code-tool-worker.ts @@ -59,8 +59,8 @@ function getTSDiagnostics(code: string): string[] { const codeWithImport = [ 'import { Stainless } from "@stainless-api/sdk";', functionSource.type === 'declaration' ? - `async function run(${functionSource.client}: Stainless)` : - `const run: (${functionSource.client}: Stainless) => Promise =`, + `async function run(${functionSource.client}: Stainless)` + : `const run: (${functionSource.client}: Stainless) => Promise =`, functionSource.code, ].join('\n'); const sourcePath = path.resolve('code.ts'); @@ -108,28 +108,28 @@ function getTSDiagnostics(code: string): string[] { const fuse = new Fuse( [ - "client.projects.create", - "client.projects.generateCommitMessage", - "client.projects.list", - "client.projects.retrieve", - "client.projects.update", - "client.projects.branches.create", - "client.projects.branches.delete", - "client.projects.branches.list", - "client.projects.branches.rebase", - "client.projects.branches.reset", - "client.projects.branches.retrieve", - "client.projects.configs.guess", - "client.projects.configs.retrieve", - "client.builds.compare", - "client.builds.create", - "client.builds.list", - "client.builds.retrieve", - "client.builds.diagnostics.list", - "client.builds.targetOutputs.retrieve", - "client.orgs.list", - "client.orgs.retrieve", - "client.user.retrieve" + 'client.projects.create', + 'client.projects.generateCommitMessage', + 'client.projects.list', + 'client.projects.retrieve', + 'client.projects.update', + 'client.projects.branches.create', + 'client.projects.branches.delete', + 'client.projects.branches.list', + 'client.projects.branches.rebase', + 'client.projects.branches.reset', + 'client.projects.branches.retrieve', + 'client.projects.configs.guess', + 'client.projects.configs.retrieve', + 'client.builds.compare', + 'client.builds.create', + 'client.builds.list', + 'client.builds.retrieve', + 'client.builds.diagnostics.list', + 'client.builds.targetOutputs.retrieve', + 'client.orgs.list', + 'client.orgs.retrieve', + 'client.user.retrieve', ], { threshold: 1, shouldSort: true }, ); @@ -212,7 +212,12 @@ function parseError(code: string, error: unknown): string | undefined { // Deno uses V8; the first ":LINE:COLUMN" is the top of stack. const lineNumber = error.stack?.match(/:([0-9]+):[0-9]+/)?.[1]; // -1 for the zero-based indexing - const line = lineNumber && code.split('\n').at(parseInt(lineNumber, 10) - 1)?.trim(); + const line = + lineNumber && + code + .split('\n') + .at(parseInt(lineNumber, 10) - 1) + ?.trim(); return line ? `${message}\n at line ${lineNumber}\n ${line}` : message; } catch { return message; @@ -224,8 +229,9 @@ const fetch = async (req: Request): Promise => { const runFunctionSource = code ? getRunFunctionSource(code) : null; if (!runFunctionSource) { - const message = code - ? 'The code is missing a top-level `run` function.' + const message = + code ? + 'The code is missing a top-level `run` function.' : 'The code argument is missing. Provide one containing a top-level `run` function.'; return Response.json( { @@ -270,7 +276,7 @@ const fetch = async (req: Request): Promise => { try { let run_ = async (client: any) => {}; run_ = (await tseval(`${code}\nexport default run;`)).default; - const result = await run_(makeSdkProxy(client, { path: ["client"] })); + const result = await run_(makeSdkProxy(client, { path: ['client'] })); return Response.json({ is_error: false, result, diff --git a/packages/mcp-server/src/code-tool.ts b/packages/mcp-server/src/code-tool.ts index 21cd895a..3d75dca2 100644 --- a/packages/mcp-server/src/code-tool.ts +++ b/packages/mcp-server/src/code-tool.ts @@ -1,8 +1,16 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { ContentBlock, McpRequestContext, McpTool, Metadata, ToolCallResult, asErrorResult, asTextContentResult } from './types'; +import { + ContentBlock, + McpRequestContext, + McpTool, + Metadata, + ToolCallResult, + asErrorResult, + asTextContentResult, +} from './types'; import { Tool } from '@modelcontextprotocol/sdk/types.js'; -import { readEnv } from "./util"; +import { readEnv } from './util'; import { WorkerInput, WorkerOutput } from './code-tool-types'; import { getLogger } from './logger'; import { SdkMethod } from './methods'; @@ -44,10 +52,13 @@ Always type dynamic key-value stores explicitly as Record * @param codeExecutionMode - Whether to execute code in a local Deno environment or in a remote * sandbox environment hosted by Stainless. */ -export function codeTool( - {blockedMethods, codeExecutionMode}: - {blockedMethods: SdkMethod[] | undefined, codeExecutionMode: McpCodeExecutionMode}, -): McpTool { +export function codeTool({ + blockedMethods, + codeExecutionMode, +}: { + blockedMethods: SdkMethod[] | undefined; + codeExecutionMode: McpCodeExecutionMode; +}): McpTool { const metadata: Metadata = { resource: 'all', operation: 'write', tags: [] }; const tool: Tool = { name: 'execute', @@ -70,10 +81,13 @@ export function codeTool( const logger = getLogger(); - const handler = async ( - {reqContext, args}: - {reqContext: McpRequestContext, args: any}, - ): Promise => { + const handler = async ({ + reqContext, + args, + }: { + reqContext: McpRequestContext; + args: any; + }): Promise => { const code = args.code as string; // Do very basic blocking of code that includes forbidden method names. // @@ -83,7 +97,11 @@ export function codeTool( if (blockedMethods) { const blockedMatches = blockedMethods.filter((method) => code.includes(method.fullyQualifiedName)); if (blockedMatches.length > 0) { - return asErrorResult(`The following methods have been blocked by the MCP server and cannot be used in code execution: ${blockedMatches.map((m) => m.fullyQualifiedName).join(', ')}`); + return asErrorResult( + `The following methods have been blocked by the MCP server and cannot be used in code execution: ${blockedMatches + .map((m) => m.fullyQualifiedName) + .join(', ')}`, + ); } } @@ -108,49 +126,67 @@ export function codeTool( 'Got code tool execution result', ); return result; - } + }; return { metadata, tool, handler }; } -const remoteStainlessHandler = async ( - {reqContext, args}: - {reqContext: McpRequestContext, args: any}, -): Promise => { +const remoteStainlessHandler = async ({ + reqContext, + args, +}: { + reqContext: McpRequestContext; + args: any; +}): Promise => { const code = args.code as string; const intent = args.intent as string | undefined; const client = reqContext.client; - const codeModeEndpoint = readEnv("CODE_MODE_ENDPOINT_URL") ?? "https://api.stainless.com/api/ai/code-tool"; + const codeModeEndpoint = readEnv('CODE_MODE_ENDPOINT_URL') ?? 'https://api.stainless.com/api/ai/code-tool'; - const localClientEnvs = { STAINLESS_API_KEY: readEnv('STAINLESS_API_KEY') ?? client.apiKey ?? undefined, STAINLESS_BASE_URL: readEnv('STAINLESS_BASE_URL') ?? readEnv('STAINLESS_ENVIRONMENT') ? undefined : client.baseURL ?? undefined }; + const localClientEnvs = { + STAINLESS_API_KEY: readEnv('STAINLESS_API_KEY') ?? client.apiKey ?? undefined, + STAINLESS_BASE_URL: + readEnv('STAINLESS_BASE_URL') ?? readEnv('STAINLESS_ENVIRONMENT') ? + undefined + : client.baseURL ?? undefined, + }; // Merge any upstream client envs from the request header, with upstream values taking precedence. const mergedClientEnvs = { ...localClientEnvs, ...reqContext.upstreamClientEnvs }; // Setting a Stainless API key authenticates requests to the code tool endpoint. const res = await fetch(codeModeEndpoint, { - method: "POST", + method: 'POST', headers: { - ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey, }), - "Content-Type": "application/json", - "x-stainless-mcp-client-envs": JSON.stringify(mergedClientEnvs), + ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), + 'Content-Type': 'application/json', + 'x-stainless-mcp-client-envs': JSON.stringify(mergedClientEnvs), }, body: JSON.stringify({ - project_name: "stainless-v0", + project_name: 'stainless-v0', code, intent, - client_opts: { project: readEnv('STAINLESS_PROJECT'), environment: (readEnv('STAINLESS_ENVIRONMENT') || undefined) as any }, + client_opts: { + project: readEnv('STAINLESS_PROJECT'), + environment: (readEnv('STAINLESS_ENVIRONMENT') || undefined) as any, + }, } satisfies WorkerInput), }); if (!res.ok) { if (res.status === 404 && !reqContext.stainlessApiKey) { - throw new Error('Could not access code tool for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.'); + throw new Error( + 'Could not access code tool for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.', + ); } - throw new Error(`${res.status}: ${res.statusText} error when trying to contact Code Tool server. Details: ${await res.text()}`); + throw new Error( + `${res.status}: ${ + res.statusText + } error when trying to contact Code Tool server. Details: ${await res.text()}`, + ); } - const { is_error, result, log_lines, err_lines } = await res.json() as WorkerOutput; + const { is_error, result, log_lines, err_lines } = (await res.json()) as WorkerOutput; const hasLogs = log_lines.length > 0 || err_lines.length > 0; const output = { result, @@ -158,17 +194,18 @@ const remoteStainlessHandler = async ( ...(err_lines.length > 0 && { err_lines }), }; if (is_error) { - return asErrorResult( - typeof result === 'string' && !hasLogs ? result : JSON.stringify(output, null, 2), - ); + return asErrorResult(typeof result === 'string' && !hasLogs ? result : JSON.stringify(output, null, 2)); } return asTextContentResult(output); }; -const localDenoHandler = async ( - {reqContext, args} : - {reqContext: McpRequestContext, args: unknown}, -): Promise => { +const localDenoHandler = async ({ + reqContext, + args, +}: { + reqContext: McpRequestContext; + args: unknown; +}): Promise => { const fs = await import('node:fs'); const path = await import('node:path'); const url = await import('node:url'); @@ -193,24 +230,20 @@ const localDenoHandler = async ( } catch { try { // Use deno binary in node_modules if it's found - const denoNodeModulesPath = path.resolve( - packageNodeModulesPath, - 'deno', - 'bin.cjs', - ); + const denoNodeModulesPath = path.resolve(packageNodeModulesPath, 'deno', 'bin.cjs'); await fs.promises.access(denoNodeModulesPath, fs.constants.X_OK); denoPath = denoNodeModulesPath; } catch { return asErrorResult( 'Deno is required for code execution but was not found. ' + - 'Install it from https://deno.land or run: npm install deno', + 'Install it from https://deno.land or run: npm install deno', ); } } const allowReadPaths = [ 'code-tool-worker.mjs', - `${workerPath.replace(/([\/\\]node_modules)[\/\\].+$/, "$1")}/`, + `${workerPath.replace(/([\/\\]node_modules)[\/\\].+$/, '$1')}/`, packageRoot, ]; @@ -244,7 +277,7 @@ const localDenoHandler = async ( // Merge any upstream client envs into the Deno subprocess environment, // with the upstream env vars taking precedence. env: { ...process.env, ...reqContext.upstreamClientEnvs }, - } + }, }); try { @@ -256,12 +289,12 @@ const localDenoHandler = async ( // Strip null/undefined values so that the worker SDK client can fall back to // reading from environment variables (including any upstreamClientEnvs). const opts = { - ...(client.baseURL != null ? { baseURL: client.baseURL } : undefined), - ...(client.apiKey != null ? { apiKey: client.apiKey } : undefined), - ...(client.project != null ? { project: client.project } : undefined), - defaultHeaders: { - 'X-Stainless-MCP': 'true', - }, + ...(client.baseURL != null ? { baseURL: client.baseURL } : undefined), + ...(client.apiKey != null ? { apiKey: client.apiKey } : undefined), + ...(client.project != null ? { project: client.project } : undefined), + defaultHeaders: { + 'X-Stainless-MCP': 'true', + }, } satisfies Partial as ClientOptions; const req = worker.request( @@ -308,11 +341,12 @@ const localDenoHandler = async ( if (resp.status === 200) { const { result, log_lines, err_lines } = (await resp.json()) as WorkerOutput; const returnOutput: ContentBlock | null = - result == null ? null - : { + result == null ? null : ( + { type: 'text', text: typeof result === 'string' ? result : JSON.stringify(result), - }; + } + ); const logOutput: ContentBlock | null = log_lines.length === 0 ? null @@ -333,11 +367,12 @@ const localDenoHandler = async ( } else { const { result, log_lines, err_lines } = (await resp.json()) as WorkerOutput; const messageOutput: ContentBlock | null = - result == null ? null - : { + result == null ? null : ( + { type: 'text', text: typeof result === 'string' ? result : JSON.stringify(result), - }; + } + ); const logOutput: ContentBlock | null = log_lines.length === 0 ? null diff --git a/packages/mcp-server/src/docs-search-tool.ts b/packages/mcp-server/src/docs-search-tool.ts index e118222c..8434ec28 100644 --- a/packages/mcp-server/src/docs-search-tool.ts +++ b/packages/mcp-server/src/docs-search-tool.ts @@ -14,7 +14,8 @@ export const metadata: Metadata = { export const tool: Tool = { name: 'search_docs', - description: 'Search SDK documentation to find methods, parameters, and usage examples for interacting with the API. Use this before writing code when you need to discover the right approach.', + description: + 'Search SDK documentation to find methods, parameters, and usage examples for interacting with the API. Use this before writing code when you need to discover the right approach.', inputSchema: { type: 'object', properties: { @@ -31,7 +32,7 @@ export const tool: Tool = { type: 'string', description: 'The amount of detail to return.', enum: ['default', 'verbose'], - } + }, }, required: ['query', 'language'], }, @@ -40,7 +41,8 @@ export const tool: Tool = { }, }; -const docsSearchURL = process.env['DOCS_SEARCH_URL'] || 'https://api.stainless.com/api/projects/stainless-v0/docs/search' +const docsSearchURL = + process.env['DOCS_SEARCH_URL'] || 'https://api.stainless.com/api/projects/stainless-v0/docs/search'; let _localSearch: LocalDocsSearch | undefined; @@ -65,30 +67,27 @@ async function searchLocal(args: Record): Promise { }).results; } -async function searchRemote( - args: Record, - reqContext: McpRequestContext, -): Promise { +async function searchRemote(args: Record, reqContext: McpRequestContext): Promise { const body = args as any; const query = new URLSearchParams(body).toString(); const startTime = Date.now(); - const result = await fetch( - `${docsSearchURL}?${query}`, - { - headers: { - ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), - ...(reqContext.mcpSessionId && { 'x-stainless-mcp-session-id': reqContext.mcpSessionId }), - ...(reqContext.mcpClientInfo && { 'x-stainless-mcp-client-info': JSON.stringify(reqContext.mcpClientInfo) }), - }, + const result = await fetch(`${docsSearchURL}?${query}`, { + headers: { + ...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }), + ...(reqContext.mcpSessionId && { 'x-stainless-mcp-session-id': reqContext.mcpSessionId }), + ...(reqContext.mcpClientInfo && { + 'x-stainless-mcp-client-info': JSON.stringify(reqContext.mcpClientInfo), + }), }, - ); + }); const logger = getLogger(); if (!result.ok) { const errorText = await result.text(); - logger.warn({ + logger.warn( + { durationMs: Date.now() - startTime, query: body.query, status: result.status, @@ -99,14 +98,19 @@ async function searchRemote( ); if (result.status === 404 && !reqContext.stainlessApiKey) { - throw new Error('Could not find docs for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.'); + throw new Error( + 'Could not find docs for this project. You may need to provide a Stainless API key via the STAINLESS_API_KEY environment variable, the --stainless-api-key flag, or the x-stainless-api-key HTTP header.', + ); } - throw new Error(`${result.status}: ${result.statusText} when using doc search tool. Details: ${errorText}`); + throw new Error( + `${result.status}: ${result.statusText} when using doc search tool. Details: ${errorText}`, + ); } const resultBody = await result.json(); - logger.info({ + logger.info( + { durationMs: Date.now() - startTime, query: body.query, }, @@ -115,10 +119,13 @@ async function searchRemote( return resultBody; } -export const handler = async ( - { reqContext, args }: - { reqContext: McpRequestContext; args: Record | undefined }, -) => { +export const handler = async ({ + reqContext, + args, +}: { + reqContext: McpRequestContext; + args: Record | undefined; +}) => { const body = args ?? {}; if (_localSearch) { diff --git a/packages/mcp-server/src/http.ts b/packages/mcp-server/src/http.ts index 06447b75..6912daca 100644 --- a/packages/mcp-server/src/http.ts +++ b/packages/mcp-server/src/http.ts @@ -1,7 +1,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { McpServer } from '@modelcontextprotocol/sdk/server/mcp'; -import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js' +import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js'; import { ClientOptions } from '@stainless-api/sdk'; import express from 'express'; import pino from 'pino'; @@ -24,7 +24,7 @@ const newServer = async ({ }): Promise => { const stainlessApiKey = getStainlessApiKey(req, mcpOptions); const customInstructionsPath = mcpOptions.customInstructionsPath; - const server = await newMcpServer({stainlessApiKey, customInstructionsPath}); + const server = await newMcpServer({ stainlessApiKey, customInstructionsPath }); const authOptions = parseClientAuthHeaders(req, false); @@ -65,15 +65,13 @@ const newServer = async ({ ); } } catch (error) { - getLogger().warn( - { error }, - 'Failed to parse x-stainless-mcp-client-permissions header', - ); + getLogger().warn({ error }, 'Failed to parse x-stainless-mcp-client-permissions header'); } } - const mcpClientInfo = typeof req.body?.params?.clientInfo?.name === 'string' - ? { name: req.body.params.clientInfo.name, version: String(req.body.params.clientInfo.version ?? '') } + const mcpClientInfo = + typeof req.body?.params?.clientInfo?.name === 'string' ? + { name: req.body.params.clientInfo.name, version: String(req.body.params.clientInfo.version ?? '') } : undefined; await initMcpServer({ @@ -90,10 +88,7 @@ const newServer = async ({ }); if (mcpClientInfo) { - getLogger().info( - { mcpSessionId: (req as any).mcpSessionId, mcpClientInfo }, - 'MCP client connected', - ); + getLogger().info({ mcpSessionId: (req as any).mcpSessionId, mcpClientInfo }, 'MCP client connected'); } return server; @@ -133,7 +128,7 @@ const del = async (req: express.Request, res: express.Response) => { const redactHeaders = (headers: Record) => { const hiddenHeaders = /auth|cookie|key|token|x-stainless-mcp-client-envs/i; const filtered = { ...headers }; - Object.keys(filtered).forEach(key => { + Object.keys(filtered).forEach((key) => { if (hiddenHeaders.test(key)) { filtered[key] = '[REDACTED]'; } @@ -186,17 +181,17 @@ export const streamableHTTPApp = ({ req: pino.stdSerializers.wrapRequestSerializer((req) => { return { ...req, - headers: redactHeaders(req.raw.headers) + headers: redactHeaders(req.raw.headers), }; }), res: pino.stdSerializers.wrapResponseSerializer((res) => { return { ...res, - headers: redactHeaders(res.headers) + headers: redactHeaders(res.headers), }; }), - } - }) + }, + }), ); app.get('/health', async (req: express.Request, res: express.Response) => { @@ -209,23 +204,24 @@ export const streamableHTTPApp = ({ return app; }; -export const launchStreamableHTTPServer = async( - {mcpOptions, port}: { - mcpOptions: McpOptions, - port: number | string | undefined, - } -) => { - const app = streamableHTTPApp({ mcpOptions }); - const server = app.listen(port); - const address = server.address(); - - const logger = getLogger(); - - if (typeof address === 'string') { - logger.info(`MCP Server running on streamable HTTP at ${address}`); - } else if (address !== null) { - logger.info(`MCP Server running on streamable HTTP on port ${address.port}`); - } else { - logger.info(`MCP Server running on streamable HTTP on port ${port}`); - } +export const launchStreamableHTTPServer = async ({ + mcpOptions, + port, +}: { + mcpOptions: McpOptions; + port: number | string | undefined; +}) => { + const app = streamableHTTPApp({ mcpOptions }); + const server = app.listen(port); + const address = server.address(); + + const logger = getLogger(); + + if (typeof address === 'string') { + logger.info(`MCP Server running on streamable HTTP at ${address}`); + } else if (address !== null) { + logger.info(`MCP Server running on streamable HTTP on port ${address.port}`); + } else { + logger.info(`MCP Server running on streamable HTTP on port ${port}`); } +}; diff --git a/packages/mcp-server/src/index.ts b/packages/mcp-server/src/index.ts index 6306dc26..5bca4a60 100644 --- a/packages/mcp-server/src/index.ts +++ b/packages/mcp-server/src/index.ts @@ -17,7 +17,7 @@ async function main() { const selectedTools = await selectToolsOrError(options); getLogger().info( - {tools: selectedTools.map((e) => e.tool.name)}, + { tools: selectedTools.map((e) => e.tool.name) }, `MCP Server starting with ${selectedTools.length} tools`, ); diff --git a/packages/mcp-server/src/instructions.ts b/packages/mcp-server/src/instructions.ts index 00492047..3735f97b 100644 --- a/packages/mcp-server/src/instructions.ts +++ b/packages/mcp-server/src/instructions.ts @@ -60,24 +60,24 @@ async function fetchLatestInstructionsFromApi(stainlessApiKey: string | undefine // Setting the stainless API key is optional, but may be required // to authenticate requests to the Stainless API. const response = await fetch( - readEnv("CODE_MODE_INSTRUCTIONS_URL") ?? - 'https://api.stainless.com/api/ai/instructions/stainless-v0', + readEnv('CODE_MODE_INSTRUCTIONS_URL') ?? 'https://api.stainless.com/api/ai/instructions/stainless-v0', { - method: "GET", - headers: { ...( stainlessApiKey && { Authorization: stainlessApiKey } ) } - } - ) + method: 'GET', + headers: { ...(stainlessApiKey && { Authorization: stainlessApiKey }) }, + }, + ); let instructions: string | undefined; if (!response.ok) { getLogger().warn( - "Warning: failed to retrieve MCP server instructions. Proceeding with default instructions..." - ) + 'Warning: failed to retrieve MCP server instructions. Proceeding with default instructions...', + ); - instructions = "\n This is the stainless-v0 MCP server.\n\n Available tools:\n - search_docs: Search SDK documentation to find the right methods and parameters.\n - execute: Run TypeScript code against a pre-authenticated SDK client. Define an async run(client) function.\n\n Workflow:\n - If unsure about the API, call search_docs first.\n - Write complete solutions in a single execute call when possible. For large datasets, use API filters to narrow results or paginate within a single execute block.\n - If execute returns an error, read the error and fix your code rather than retrying the same approach.\n - Variables do not persist between execute calls. Return or log all data you need.\n - Individual HTTP requests to the API have a 30-second timeout. If a request times out, try a smaller query or add filters.\n - Code execution has a total timeout of approximately 5 minutes. If your code times out, simplify it or break it into smaller steps.\n "; + instructions = + '\n This is the stainless-v0 MCP server.\n\n Available tools:\n - search_docs: Search SDK documentation to find the right methods and parameters.\n - execute: Run TypeScript code against a pre-authenticated SDK client. Define an async run(client) function.\n\n Workflow:\n - If unsure about the API, call search_docs first.\n - Write complete solutions in a single execute call when possible. For large datasets, use API filters to narrow results or paginate within a single execute block.\n - If execute returns an error, read the error and fix your code rather than retrying the same approach.\n - Variables do not persist between execute calls. Return or log all data you need.\n - Individual HTTP requests to the API have a 30-second timeout. If a request times out, try a smaller query or add filters.\n - Code execution has a total timeout of approximately 5 minutes. If your code times out, simplify it or break it into smaller steps.\n '; } - instructions ??= (await response.json() as { instructions: string }).instructions; + instructions ??= ((await response.json()) as { instructions: string }).instructions; instructions += '\nYou are a nice, friendly bot who really likes to help customers!\n'; return instructions; diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index bf787ea4..512f443f 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -51,1295 +51,1510 @@ type SearchResult = { const EMBEDDED_METHODS: MethodEntry[] = [ { - "name": "retrieve", - "endpoint": "/v0/projects/{project}", - "httpMethod": "get", - "summary": "Retrieve project", - "description": "Retrieve a project by name.", - "stainlessPath": "(resource) projects > (method) retrieve", - "qualified": "client.projects.retrieve", - "params": [ - "project: string;" - ], - "response": "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", - "markdown": "## retrieve\n\n`client.projects.retrieve(project: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects/{project}`\n\nRetrieve a project by name.\n\n### Parameters\n\n- `project: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.retrieve", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project.config_repo);" - }, - "python": { - "method": "projects.retrieve", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject = client.projects.retrieve(\n project=\"project\",\n)\nprint(project.config_repo)" - }, - "java": { - "method": "projects().retrieve", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n Project project = client.projects().retrieve();\n }\n}" - }, - "kotlin": { - "method": "projects().retrieve", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val project: Project = client.projects().retrieve()\n}" - }, - "go": { - "method": "client.Projects.Get", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tproject, err := client.Projects.Get(context.TODO(), stainless.ProjectGetParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", project.ConfigRepo)\n}\n" - }, - "ruby": { - "method": "projects.retrieve", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject = stainless.projects.retrieve(project: \"project\")\n\nputs(project)" - }, - "cli": { - "method": "projects retrieve", - "example": "stl projects retrieve \\\n --api-key 'My API Key' \\\n --project project" - }, - "php": { - "method": "projects->retrieve", - "example": "projects->retrieve(project: 'project');\n\nvar_dump($project);" - }, - "csharp": { - "method": "Projects.Retrieve", - "example": "ProjectRetrieveParams parameters = new() { Project = \"project\" };\n\nvar project = await client.Projects.Retrieve(parameters);\n\nConsole.WriteLine(project);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'retrieve', + endpoint: '/v0/projects/{project}', + httpMethod: 'get', + summary: 'Retrieve project', + description: 'Retrieve a project by name.', + stainlessPath: '(resource) projects > (method) retrieve', + qualified: 'client.projects.retrieve', + params: ['project: string;'], + response: + "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + markdown: + "## retrieve\n\n`client.projects.retrieve(project: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects/{project}`\n\nRetrieve a project by name.\n\n### Parameters\n\n- `project: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project);\n```", + perLanguage: { + typescript: { + method: 'client.projects.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.retrieve({ project: 'project' });\n\nconsole.log(project.config_repo);", + }, + python: { + method: 'projects.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.retrieve(\n project="project",\n)\nprint(project.config_repo)', + }, + java: { + method: 'projects().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n Project project = client.projects().retrieve();\n }\n}', + }, + kotlin: { + method: 'projects().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().retrieve()\n}', + }, + go: { + method: 'client.Projects.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Get(context.TODO(), stainless.ProjectGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', + }, + ruby: { + method: 'projects.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.retrieve(project: "project")\n\nputs(project)', + }, + cli: { + method: 'projects retrieve', + example: "stl projects retrieve \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'projects->retrieve', + example: + "projects->retrieve(project: 'project');\n\nvar_dump($project);", + }, + csharp: { + method: 'Projects.Retrieve', + example: + 'ProjectRetrieveParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Retrieve(parameters);\n\nConsole.WriteLine(project);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "update", - "endpoint": "/v0/projects/{project}", - "httpMethod": "patch", - "summary": "Update project", - "description": "Update a project's properties.", - "stainlessPath": "(resource) projects > (method) update", - "qualified": "client.projects.update", - "params": [ - "project: string;", - "display_name?: string;" - ], - "response": "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", - "markdown": "## update\n\n`client.projects.update(project: string, display_name?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**patch** `/v0/projects/{project}`\n\nUpdate a project's properties.\n\n### Parameters\n\n- `project: string`\n\n- `display_name?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.update", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project.config_repo);" - }, - "python": { - "method": "projects.update", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject = client.projects.update(\n project=\"project\",\n)\nprint(project.config_repo)" - }, - "java": { - "method": "projects().update", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectUpdateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n Project project = client.projects().update();\n }\n}" - }, - "kotlin": { - "method": "projects().update", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectUpdateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val project: Project = client.projects().update()\n}" - }, - "go": { - "method": "client.Projects.Update", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tproject, err := client.Projects.Update(context.TODO(), stainless.ProjectUpdateParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", project.ConfigRepo)\n}\n" - }, - "ruby": { - "method": "projects.update", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject = stainless.projects.update(project: \"project\")\n\nputs(project)" - }, - "cli": { - "method": "projects update", - "example": "stl projects update \\\n --api-key 'My API Key' \\\n --project project" - }, - "php": { - "method": "projects->update", - "example": "projects->update(\n project: 'project', displayName: 'display_name'\n);\n\nvar_dump($project);" - }, - "csharp": { - "method": "Projects.Update", - "example": "ProjectUpdateParams parameters = new() { Project = \"project\" };\n\nvar project = await client.Projects.Update(parameters);\n\nConsole.WriteLine(project);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT \\\n -X PATCH \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'update', + endpoint: '/v0/projects/{project}', + httpMethod: 'patch', + summary: 'Update project', + description: "Update a project's properties.", + stainlessPath: '(resource) projects > (method) update', + qualified: 'client.projects.update', + params: ['project: string;', 'display_name?: string;'], + response: + "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + markdown: + "## update\n\n`client.projects.update(project: string, display_name?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**patch** `/v0/projects/{project}`\n\nUpdate a project's properties.\n\n### Parameters\n\n- `project: string`\n\n- `display_name?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project);\n```", + perLanguage: { + typescript: { + method: 'client.projects.update', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.update({ project: 'project' });\n\nconsole.log(project.config_repo);", + }, + python: { + method: 'projects.update', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.update(\n project="project",\n)\nprint(project.config_repo)', + }, + java: { + method: 'projects().update', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectUpdateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n Project project = client.projects().update();\n }\n}', + }, + kotlin: { + method: 'projects().update', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectUpdateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val project: Project = client.projects().update()\n}', + }, + go: { + method: 'client.Projects.Update', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.Update(context.TODO(), stainless.ProjectUpdateParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', + }, + ruby: { + method: 'projects.update', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.update(project: "project")\n\nputs(project)', + }, + cli: { + method: 'projects update', + example: "stl projects update \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'projects->update', + example: + "projects->update(\n project: 'project', displayName: 'display_name'\n);\n\nvar_dump($project);", + }, + csharp: { + method: 'Projects.Update', + example: + 'ProjectUpdateParams parameters = new() { Project = "project" };\n\nvar project = await client.Projects.Update(parameters);\n\nConsole.WriteLine(project);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT \\\n -X PATCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "list", - "endpoint": "/v0/projects", - "httpMethod": "get", - "summary": "List projects", - "description": "List projects in an organization, from oldest to newest.", - "stainlessPath": "(resource) projects > (method) list", - "qualified": "client.projects.list", - "params": [ - "cursor?: string;", - "limit?: number;", - "org?: string;" - ], - "response": "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", - "markdown": "## list\n\n`client.projects.list(cursor?: string, limit?: number, org?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects`\n\nList projects in an organization, from oldest to newest.\n\n### Parameters\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of projects to return, defaults to 10 (maximum: 100).\n\n- `org?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project);\n}\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.list", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project.config_repo);\n}" - }, - "python": { - "method": "projects.list", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\npage = client.projects.list()\npage = page.data[0]\nprint(page.config_repo)" - }, - "java": { - "method": "projects().list", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectListPage;\nimport com.stainless.api.models.projects.ProjectListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectListPage page = client.projects().list();\n }\n}" - }, - "kotlin": { - "method": "projects().list", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListPage\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: ProjectListPage = client.projects().list()\n}" - }, - "go": { - "method": "client.Projects.List", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpage, err := client.Projects.List(context.TODO(), stainless.ProjectListParams{})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" - }, - "ruby": { - "method": "projects.list", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\npage = stainless.projects.list\n\nputs(page)" - }, - "cli": { - "method": "projects list", - "example": "stl projects list \\\n --api-key 'My API Key'" - }, - "php": { - "method": "projects->list", - "example": "projects->list(cursor: 'cursor', limit: 1, org: 'org');\n\nvar_dump($page);" - }, - "csharp": { - "method": "Projects.List", - "example": "ProjectListParams parameters = new();\n\nvar page = await client.Projects.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'list', + endpoint: '/v0/projects', + httpMethod: 'get', + summary: 'List projects', + description: 'List projects in an organization, from oldest to newest.', + stainlessPath: '(resource) projects > (method) list', + qualified: 'client.projects.list', + params: ['cursor?: string;', 'limit?: number;', 'org?: string;'], + response: + "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + markdown: + "## list\n\n`client.projects.list(cursor?: string, limit?: number, org?: string): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**get** `/v0/projects`\n\nList projects in an organization, from oldest to newest.\n\n### Parameters\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of projects to return, defaults to 10 (maximum: 100).\n\n- `org?: string`\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project);\n}\n```", + perLanguage: { + typescript: { + method: 'client.projects.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const project of client.projects.list()) {\n console.log(project.config_repo);\n}", + }, + python: { + method: 'projects.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.list()\npage = page.data[0]\nprint(page.config_repo)', + }, + java: { + method: 'projects().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectListPage;\nimport com.stainless.api.models.projects.ProjectListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectListPage page = client.projects().list();\n }\n}', + }, + kotlin: { + method: 'projects().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListPage\nimport com.configure_me_stainless_v0.api.models.projects.ProjectListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: ProjectListPage = client.projects().list()\n}', + }, + go: { + method: 'client.Projects.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.List(context.TODO(), stainless.ProjectListParams{})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + }, + ruby: { + method: 'projects.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.projects.list\n\nputs(page)', + }, + cli: { + method: 'projects list', + example: "stl projects list \\\n --api-key 'My API Key'", + }, + php: { + method: 'projects->list', + example: + "projects->list(cursor: 'cursor', limit: 1, org: 'org');\n\nvar_dump($page);", + }, + csharp: { + method: 'Projects.List', + example: + 'ProjectListParams parameters = new();\n\nvar page = await client.Projects.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "create", - "endpoint": "/v0/projects", - "httpMethod": "post", - "summary": "Create project", - "description": "Create a new project.", - "stainlessPath": "(resource) projects > (method) create", - "qualified": "client.projects.create", - "params": [ - "display_name: string;", - "org: string;", - "revision: object;", - "slug: string;", - "targets: string[];" + name: 'create', + endpoint: '/v0/projects', + httpMethod: 'post', + summary: 'Create project', + description: 'Create a new project.', + stainlessPath: '(resource) projects > (method) create', + qualified: 'client.projects.create', + params: [ + 'display_name: string;', + 'org: string;', + 'revision: object;', + 'slug: string;', + 'targets: string[];', ], - "response": "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", - "markdown": "## create\n\n`client.projects.create(display_name: string, org: string, revision: object, slug: string, targets: string[]): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**post** `/v0/projects`\n\nCreate a new project.\n\n### Parameters\n\n- `display_name: string`\n Human-readable project name\n\n- `org: string`\n Organization name\n\n- `revision: object`\n File contents to commit\n\n- `slug: string`\n Project name/slug\n\n- `targets: string[]`\n Targets to generate for\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.create", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project.config_repo);" - }, - "python": { - "method": "projects.create", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject = client.projects.create(\n display_name=\"display_name\",\n org=\"org\",\n revision={\n \"foo\": {\n \"content\": \"content\"\n }\n },\n slug=\"slug\",\n targets=[\"node\"],\n)\nprint(project.config_repo)" - }, - "java": { - "method": "projects().create", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.Target;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectCreateParams;\nimport java.util.Map;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectCreateParams params = ProjectCreateParams.builder()\n .displayName(\"display_name\")\n .org(\"org\")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty(\"foo\", JsonValue.from(Map.of(\n \"content\", \"content\"\n )))\n .build())\n .slug(\"slug\")\n .addTarget(Target.NODE)\n .build();\n Project project = client.projects().create(params);\n }\n}" - }, - "kotlin": { - "method": "projects().create", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.Target\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: ProjectCreateParams = ProjectCreateParams.builder()\n .displayName(\"display_name\")\n .org(\"org\")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty(\"foo\", JsonValue.from(mapOf(\"content\" to \"content\")))\n .build())\n .slug(\"slug\")\n .addTarget(Target.NODE)\n .build()\n val project: Project = client.projects().create(params)\n}" - }, - "go": { - "method": "client.Projects.New", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n\t\"github.com/stainless-api/stainless-api-go/shared\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tproject, err := client.Projects.New(context.TODO(), stainless.ProjectNewParams{\n\t\tDisplayName: \"display_name\",\n\t\tOrg: \"org\",\n\t\tRevision: map[string]shared.FileInputUnionParam{\n\t\t\t\"foo\": {\n\t\t\t\tOfFileInputContent: &shared.FileInputContentParam{\n\t\t\t\t\tContent: \"content\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tSlug: \"slug\",\n\t\tTargets: []shared.Target{shared.TargetNode},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", project.ConfigRepo)\n}\n" - }, - "ruby": { - "method": "projects.create", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject = stainless.projects.create(\n display_name: \"display_name\",\n org: \"org\",\n revision: {foo: {content: \"content\"}},\n slug: \"slug\",\n targets: [:node]\n)\n\nputs(project)" - }, - "cli": { - "method": "projects create", - "example": "stl projects create \\\n --api-key 'My API Key' \\\n --display-name display_name \\\n --org org \\\n --revision '{foo: {content: content}}' \\\n --slug slug \\\n --target node" - }, - "php": { - "method": "projects->create", - "example": "projects->create(\n displayName: 'display_name',\n org: 'org',\n revision: ['foo' => ['content' => 'content']],\n slug: 'slug',\n targets: [Target::NODE],\n);\n\nvar_dump($project);" - }, - "csharp": { - "method": "Projects.Create", - "example": "ProjectCreateParams parameters = new()\n{\n DisplayName = \"display_name\",\n Org = \"org\",\n Revision = new Dictionary()\n {\n { \"foo\", new Content(\"content\") }\n },\n Slug = \"slug\",\n Targets =\n [\n Target.Node\n ],\n};\n\nvar project = await client.Projects.Create(parameters);\n\nConsole.WriteLine(project);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"display_name\": \"display_name\",\n \"org\": \"org\",\n \"revision\": {\n \"foo\": {\n \"content\": \"content\"\n }\n },\n \"slug\": \"slug\",\n \"targets\": [\n \"node\"\n ]\n }'" - } - } + response: + "{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }", + markdown: + "## create\n\n`client.projects.create(display_name: string, org: string, revision: object, slug: string, targets: string[]): { config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: target[]; }`\n\n**post** `/v0/projects`\n\nCreate a new project.\n\n### Parameters\n\n- `display_name: string`\n Human-readable project name\n\n- `org: string`\n Organization name\n\n- `revision: object`\n File contents to commit\n\n- `slug: string`\n Project name/slug\n\n- `targets: string[]`\n Targets to generate for\n\n### Returns\n\n- `{ config_repo: string; display_name: string; object: 'project'; org: string; slug: string; targets: string[]; }`\n A project is a collection of SDKs generated from the same set of config files.\n\n - `config_repo: string`\n - `display_name: string`\n - `object: 'project'`\n - `org: string`\n - `slug: string`\n - `targets: string[]`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project);\n```", + perLanguage: { + typescript: { + method: 'client.projects.create', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst project = await client.projects.create({\n display_name: 'display_name',\n org: 'org',\n revision: { foo: { content: 'content' } },\n slug: 'slug',\n targets: ['node'],\n});\n\nconsole.log(project.config_repo);", + }, + python: { + method: 'projects.create', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject = client.projects.create(\n display_name="display_name",\n org="org",\n revision={\n "foo": {\n "content": "content"\n }\n },\n slug="slug",\n targets=["node"],\n)\nprint(project.config_repo)', + }, + java: { + method: 'projects().create', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.Target;\nimport com.stainless.api.models.projects.Project;\nimport com.stainless.api.models.projects.ProjectCreateParams;\nimport java.util.Map;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n ProjectCreateParams params = ProjectCreateParams.builder()\n .displayName("display_name")\n .org("org")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty("foo", JsonValue.from(Map.of(\n "content", "content"\n )))\n .build())\n .slug("slug")\n .addTarget(Target.NODE)\n .build();\n Project project = client.projects().create(params);\n }\n}', + }, + kotlin: { + method: 'projects().create', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.Target\nimport com.configure_me_stainless_v0.api.models.projects.Project\nimport com.configure_me_stainless_v0.api.models.projects.ProjectCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: ProjectCreateParams = ProjectCreateParams.builder()\n .displayName("display_name")\n .org("org")\n .revision(ProjectCreateParams.Revision.builder()\n .putAdditionalProperty("foo", JsonValue.from(mapOf("content" to "content")))\n .build())\n .slug("slug")\n .addTarget(Target.NODE)\n .build()\n val project: Project = client.projects().create(params)\n}', + }, + go: { + method: 'client.Projects.New', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n\t"github.com/stainless-api/stainless-api-go/shared"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tproject, err := client.Projects.New(context.TODO(), stainless.ProjectNewParams{\n\t\tDisplayName: "display_name",\n\t\tOrg: "org",\n\t\tRevision: map[string]shared.FileInputUnionParam{\n\t\t\t"foo": {\n\t\t\t\tOfFileInputContent: &shared.FileInputContentParam{\n\t\t\t\t\tContent: "content",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tSlug: "slug",\n\t\tTargets: []shared.Target{shared.TargetNode},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", project.ConfigRepo)\n}\n', + }, + ruby: { + method: 'projects.create', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject = stainless.projects.create(\n display_name: "display_name",\n org: "org",\n revision: {foo: {content: "content"}},\n slug: "slug",\n targets: [:node]\n)\n\nputs(project)', + }, + cli: { + method: 'projects create', + example: + "stl projects create \\\n --api-key 'My API Key' \\\n --display-name display_name \\\n --org org \\\n --revision '{foo: {content: content}}' \\\n --slug slug \\\n --target node", + }, + php: { + method: 'projects->create', + example: + "projects->create(\n displayName: 'display_name',\n org: 'org',\n revision: ['foo' => ['content' => 'content']],\n slug: 'slug',\n targets: [Target::NODE],\n);\n\nvar_dump($project);", + }, + csharp: { + method: 'Projects.Create', + example: + 'ProjectCreateParams parameters = new()\n{\n DisplayName = "display_name",\n Org = "org",\n Revision = new Dictionary()\n {\n { "foo", new Content("content") }\n },\n Slug = "slug",\n Targets =\n [\n Target.Node\n ],\n};\n\nvar project = await client.Projects.Create(parameters);\n\nConsole.WriteLine(project);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "display_name": "display_name",\n "org": "org",\n "revision": {\n "foo": {\n "content": "content"\n }\n },\n "slug": "slug",\n "targets": [\n "node"\n ]\n }\'', + }, + }, }, { - "name": "generate_commit_message", - "endpoint": "/v0/projects/{project}/generate_commit_message", - "httpMethod": "post", - "summary": "Generate an AI commit message for a specific SDK", - "description": "Generates an AI commit message by comparing two git refs in the SDK repository.", - "stainlessPath": "(resource) projects > (method) generate_commit_message", - "qualified": "client.projects.generateCommitMessage", - "params": [ - "project: string;", - "target: string;", - "base_ref: string;", - "head_ref: string;" - ], - "response": "{ ai_commit_message: string; }", - "markdown": "## generate_commit_message\n\n`client.projects.generateCommitMessage(project: string, target: string, base_ref: string, head_ref: string): { ai_commit_message: string; }`\n\n**post** `/v0/projects/{project}/generate_commit_message`\n\nGenerates an AI commit message by comparing two git refs in the SDK repository.\n\n### Parameters\n\n- `project: string`\n\n- `target: string`\n Language target\n\n- `base_ref: string`\n Base ref for comparison\n\n- `head_ref: string`\n Head ref for comparison\n\n### Returns\n\n- `{ ai_commit_message: string; }`\n\n - `ai_commit_message: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.generateCommitMessage", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response.ai_commit_message);" - }, - "python": { - "method": "projects.generate_commit_message", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nresponse = client.projects.generate_commit_message(\n project=\"project\",\n target=\"python\",\n base_ref=\"base_ref\",\n head_ref=\"head_ref\",\n)\nprint(response.ai_commit_message)" - }, - "java": { - "method": "projects().generateCommitMessage", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageParams;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ProjectGenerateCommitMessageParams params = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef(\"base_ref\")\n .headRef(\"head_ref\")\n .build();\n ProjectGenerateCommitMessageResponse response = client.projects().generateCommitMessage(params);\n }\n}" - }, - "kotlin": { - "method": "projects().generateCommitMessage", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageParams\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val params: ProjectGenerateCommitMessageParams = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef(\"base_ref\")\n .headRef(\"head_ref\")\n .build()\n val response: ProjectGenerateCommitMessageResponse = client.projects().generateCommitMessage(params)\n}" - }, - "go": { - "method": "client.Projects.GenerateCommitMessage", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Projects.GenerateCommitMessage(context.TODO(), stainless.ProjectGenerateCommitMessageParams{\n\t\tProject: stainless.String(\"project\"),\n\t\tTarget: stainless.ProjectGenerateCommitMessageParamsTargetPython,\n\t\tBaseRef: \"base_ref\",\n\t\tHeadRef: \"head_ref\",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response.AICommitMessage)\n}\n" - }, - "ruby": { - "method": "projects.generate_commit_message", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nresponse = stainless.projects.generate_commit_message(\n project: \"project\",\n target: :python,\n base_ref: \"base_ref\",\n head_ref: \"head_ref\"\n)\n\nputs(response)" - }, - "cli": { - "method": "projects generate_commit_message", - "example": "stl projects generate-commit-message \\\n --api-key 'My API Key' \\\n --project project \\\n --target python \\\n --base-ref base_ref \\\n --head-ref head_ref" - }, - "php": { - "method": "projects->generateCommitMessage", - "example": "projects->generateCommitMessage(\n project: 'project', target: 'python', baseRef: 'base_ref', headRef: 'head_ref'\n);\n\nvar_dump($response);" - }, - "csharp": { - "method": "Projects.GenerateCommitMessage", - "example": "ProjectGenerateCommitMessageParams parameters = new()\n{\n Project = \"project\",\n Target = Target.Python,\n BaseRef = \"base_ref\",\n HeadRef = \"head_ref\",\n};\n\nvar response = await client.Projects.GenerateCommitMessage(parameters);\n\nConsole.WriteLine(response);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT/generate_commit_message \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"base_ref\": \"base_ref\",\n \"head_ref\": \"head_ref\"\n }'" - } - } + name: 'generate_commit_message', + endpoint: '/v0/projects/{project}/generate_commit_message', + httpMethod: 'post', + summary: 'Generate an AI commit message for a specific SDK', + description: 'Generates an AI commit message by comparing two git refs in the SDK repository.', + stainlessPath: '(resource) projects > (method) generate_commit_message', + qualified: 'client.projects.generateCommitMessage', + params: ['project: string;', 'target: string;', 'base_ref: string;', 'head_ref: string;'], + response: '{ ai_commit_message: string; }', + markdown: + "## generate_commit_message\n\n`client.projects.generateCommitMessage(project: string, target: string, base_ref: string, head_ref: string): { ai_commit_message: string; }`\n\n**post** `/v0/projects/{project}/generate_commit_message`\n\nGenerates an AI commit message by comparing two git refs in the SDK repository.\n\n### Parameters\n\n- `project: string`\n\n- `target: string`\n Language target\n\n- `base_ref: string`\n Base ref for comparison\n\n- `head_ref: string`\n Head ref for comparison\n\n### Returns\n\n- `{ ai_commit_message: string; }`\n\n - `ai_commit_message: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response);\n```", + perLanguage: { + typescript: { + method: 'client.projects.generateCommitMessage', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.generateCommitMessage({\n project: 'project',\n target: 'python',\n base_ref: 'base_ref',\n head_ref: 'head_ref',\n});\n\nconsole.log(response.ai_commit_message);", + }, + python: { + method: 'projects.generate_commit_message', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.generate_commit_message(\n project="project",\n target="python",\n base_ref="base_ref",\n head_ref="head_ref",\n)\nprint(response.ai_commit_message)', + }, + java: { + method: 'projects().generateCommitMessage', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageParams;\nimport com.stainless.api.models.projects.ProjectGenerateCommitMessageResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectGenerateCommitMessageParams params = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef("base_ref")\n .headRef("head_ref")\n .build();\n ProjectGenerateCommitMessageResponse response = client.projects().generateCommitMessage(params);\n }\n}', + }, + kotlin: { + method: 'projects().generateCommitMessage', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageParams\nimport com.configure_me_stainless_v0.api.models.projects.ProjectGenerateCommitMessageResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ProjectGenerateCommitMessageParams = ProjectGenerateCommitMessageParams.builder()\n .target(ProjectGenerateCommitMessageParams.Target.PYTHON)\n .baseRef("base_ref")\n .headRef("head_ref")\n .build()\n val response: ProjectGenerateCommitMessageResponse = client.projects().generateCommitMessage(params)\n}', + }, + go: { + method: 'client.Projects.GenerateCommitMessage', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.GenerateCommitMessage(context.TODO(), stainless.ProjectGenerateCommitMessageParams{\n\t\tProject: stainless.String("project"),\n\t\tTarget: stainless.ProjectGenerateCommitMessageParamsTargetPython,\n\t\tBaseRef: "base_ref",\n\t\tHeadRef: "head_ref",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.AICommitMessage)\n}\n', + }, + ruby: { + method: 'projects.generate_commit_message', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.projects.generate_commit_message(\n project: "project",\n target: :python,\n base_ref: "base_ref",\n head_ref: "head_ref"\n)\n\nputs(response)', + }, + cli: { + method: 'projects generate_commit_message', + example: + "stl projects generate-commit-message \\\n --api-key 'My API Key' \\\n --project project \\\n --target python \\\n --base-ref base_ref \\\n --head-ref head_ref", + }, + php: { + method: 'projects->generateCommitMessage', + example: + "projects->generateCommitMessage(\n project: 'project', target: 'python', baseRef: 'base_ref', headRef: 'head_ref'\n);\n\nvar_dump($response);", + }, + csharp: { + method: 'Projects.GenerateCommitMessage', + example: + 'ProjectGenerateCommitMessageParams parameters = new()\n{\n Project = "project",\n Target = Target.Python,\n BaseRef = "base_ref",\n HeadRef = "head_ref",\n};\n\nvar response = await client.Projects.GenerateCommitMessage(parameters);\n\nConsole.WriteLine(response);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/generate_commit_message \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base_ref": "base_ref",\n "head_ref": "head_ref"\n }\'', + }, + }, }, { - "name": "create", - "endpoint": "/v0/projects/{project}/branches", - "httpMethod": "post", - "summary": "Create a new project branch", - "description": "Create a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.", - "stainlessPath": "(resource) projects.branches > (method) create", - "qualified": "client.projects.branches.create", - "params": [ - "project: string;", - "branch: string;", - "branch_from: string;", - "force?: boolean;" - ], - "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", - "markdown": "## create\n\n`client.projects.branches.create(project: string, branch: string, branch_from: string, force?: boolean): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**post** `/v0/projects/{project}/branches`\n\nCreate a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n Branch name\n\n- `branch_from: string`\n Branch or commit SHA to branch from\n\n- `force?: boolean`\n Whether to throw an error if the branch already exists. Defaults to false.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.branches.create", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch.branch);" - }, - "python": { - "method": "projects.branches.create", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.create(\n project=\"project\",\n branch=\"branch\",\n branch_from=\"branch_from\",\n)\nprint(project_branch.branch)" - }, - "java": { - "method": "projects().branches().create", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchCreateParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n BranchCreateParams params = BranchCreateParams.builder()\n .branch(\"branch\")\n .branchFrom(\"branch_from\")\n .build();\n ProjectBranch projectBranch = client.projects().branches().create(params);\n }\n}" - }, - "kotlin": { - "method": "projects().branches().create", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchCreateParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val params: BranchCreateParams = BranchCreateParams.builder()\n .branch(\"branch\")\n .branchFrom(\"branch_from\")\n .build()\n val projectBranch: ProjectBranch = client.projects().branches().create(params)\n}" - }, - "go": { - "method": "client.Projects.Branches.New", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.New(context.TODO(), stainless.ProjectBranchNewParams{\n\t\tProject: stainless.String(\"project\"),\n\t\tBranch: \"branch\",\n\t\tBranchFrom: \"branch_from\",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectBranch.Branch)\n}\n" - }, - "ruby": { - "method": "projects.branches.create", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject_branch = stainless.projects.branches.create(project: \"project\", branch: \"branch\", branch_from: \"branch_from\")\n\nputs(project_branch)" - }, - "cli": { - "method": "branches create", - "example": "stl projects:branches create \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch \\\n --branch-from branch_from" - }, - "php": { - "method": "projects->branches->create", - "example": "projects->branches->create(\n project: 'project', branch: 'branch', branchFrom: 'branch_from', force: true\n);\n\nvar_dump($projectBranch);" - }, - "csharp": { - "method": "Projects.Branches.Create", - "example": "BranchCreateParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n BranchFrom = \"branch_from\",\n};\n\nvar projectBranch = await client.Projects.Branches.Create(parameters);\n\nConsole.WriteLine(projectBranch);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"branch\": \"branch\",\n \"branch_from\": \"branch_from\"\n }'" - } - } + name: 'create', + endpoint: '/v0/projects/{project}/branches', + httpMethod: 'post', + summary: 'Create a new project branch', + description: + 'Create a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.', + stainlessPath: '(resource) projects.branches > (method) create', + qualified: 'client.projects.branches.create', + params: ['project: string;', 'branch: string;', 'branch_from: string;', 'force?: boolean;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + markdown: + "## create\n\n`client.projects.branches.create(project: string, branch: string, branch_from: string, force?: boolean): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**post** `/v0/projects/{project}/branches`\n\nCreate a new branch for a project.\n\nThe branch inherits the config files from the revision pointed to by the\n`branch_from` parameter. In addition, if the revision is a branch name,\nthe branch will also inherit custom code changes from that branch.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n Branch name\n\n- `branch_from: string`\n Branch or commit SHA to branch from\n\n- `force?: boolean`\n Whether to throw an error if the branch already exists. Defaults to false.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch);\n```", + perLanguage: { + typescript: { + method: 'client.projects.branches.create', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.create({\n project: 'project',\n branch: 'branch',\n branch_from: 'branch_from',\n});\n\nconsole.log(projectBranch.branch);", + }, + python: { + method: 'projects.branches.create', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.create(\n project="project",\n branch="branch",\n branch_from="branch_from",\n)\nprint(project_branch.branch)', + }, + java: { + method: 'projects().branches().create', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchCreateParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BranchCreateParams params = BranchCreateParams.builder()\n .branch("branch")\n .branchFrom("branch_from")\n .build();\n ProjectBranch projectBranch = client.projects().branches().create(params);\n }\n}', + }, + kotlin: { + method: 'projects().branches().create', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchCreateParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: BranchCreateParams = BranchCreateParams.builder()\n .branch("branch")\n .branchFrom("branch_from")\n .build()\n val projectBranch: ProjectBranch = client.projects().branches().create(params)\n}', + }, + go: { + method: 'client.Projects.Branches.New', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.New(context.TODO(), stainless.ProjectBranchNewParams{\n\t\tProject: stainless.String("project"),\n\t\tBranch: "branch",\n\t\tBranchFrom: "branch_from",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + }, + ruby: { + method: 'projects.branches.create', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.create(project: "project", branch: "branch", branch_from: "branch_from")\n\nputs(project_branch)', + }, + cli: { + method: 'branches create', + example: + "stl projects:branches create \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch \\\n --branch-from branch_from", + }, + php: { + method: 'projects->branches->create', + example: + "projects->branches->create(\n project: 'project', branch: 'branch', branchFrom: 'branch_from', force: true\n);\n\nvar_dump($projectBranch);", + }, + csharp: { + method: 'Projects.Branches.Create', + example: + 'BranchCreateParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n BranchFrom = "branch_from",\n};\n\nvar projectBranch = await client.Projects.Branches.Create(parameters);\n\nConsole.WriteLine(projectBranch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "branch": "branch",\n "branch_from": "branch_from"\n }\'', + }, + }, }, { - "name": "retrieve", - "endpoint": "/v0/projects/{project}/branches/{branch}", - "httpMethod": "get", - "summary": "Retrieve a project branch", - "description": "Retrieve a project branch by name.", - "stainlessPath": "(resource) projects.branches > (method) retrieve", - "qualified": "client.projects.branches.retrieve", - "params": [ - "project: string;", - "branch: string;" - ], - "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", - "markdown": "## retrieve\n\n`client.projects.branches.retrieve(project: string, branch: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches/{branch}`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.branches.retrieve", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);" - }, - "python": { - "method": "projects.branches.retrieve", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.retrieve(\n branch=\"branch\",\n project=\"project\",\n)\nprint(project_branch.branch)" - }, - "java": { - "method": "projects().branches().retrieve", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRetrieveParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().retrieve(\"branch\");\n }\n}" - }, - "kotlin": { - "method": "projects().branches().retrieve", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().retrieve(\"branch\")\n}" - }, - "go": { - "method": "client.Projects.Branches.Get", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Get(\n\t\tcontext.TODO(),\n\t\t\"branch\",\n\t\tstainless.ProjectBranchGetParams{\n\t\t\tProject: stainless.String(\"project\"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectBranch.Branch)\n}\n" - }, - "ruby": { - "method": "projects.branches.retrieve", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject_branch = stainless.projects.branches.retrieve(\"branch\", project: \"project\")\n\nputs(project_branch)" - }, - "cli": { - "method": "branches retrieve", - "example": "stl projects:branches retrieve \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch" - }, - "php": { - "method": "projects->branches->retrieve", - "example": "projects->branches->retrieve(\n 'branch', project: 'project'\n);\n\nvar_dump($projectBranch);" - }, - "csharp": { - "method": "Projects.Branches.Retrieve", - "example": "BranchRetrieveParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n};\n\nvar projectBranch = await client.Projects.Branches.Retrieve(parameters);\n\nConsole.WriteLine(projectBranch);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'retrieve', + endpoint: '/v0/projects/{project}/branches/{branch}', + httpMethod: 'get', + summary: 'Retrieve a project branch', + description: 'Retrieve a project branch by name.', + stainlessPath: '(resource) projects.branches > (method) retrieve', + qualified: 'client.projects.branches.retrieve', + params: ['project: string;', 'branch: string;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + markdown: + "## retrieve\n\n`client.projects.branches.retrieve(project: string, branch: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches/{branch}`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + perLanguage: { + typescript: { + method: 'client.projects.branches.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.retrieve('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", + }, + python: { + method: 'projects.branches.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.retrieve(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', + }, + java: { + method: 'projects().branches().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRetrieveParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().retrieve("branch");\n }\n}', + }, + kotlin: { + method: 'projects().branches().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().retrieve("branch")\n}', + }, + go: { + method: 'client.Projects.Branches.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Get(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchGetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + }, + ruby: { + method: 'projects.branches.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.retrieve("branch", project: "project")\n\nputs(project_branch)', + }, + cli: { + method: 'branches retrieve', + example: + "stl projects:branches retrieve \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + php: { + method: 'projects->branches->retrieve', + example: + "projects->branches->retrieve(\n 'branch', project: 'project'\n);\n\nvar_dump($projectBranch);", + }, + csharp: { + method: 'Projects.Branches.Retrieve', + example: + 'BranchRetrieveParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Retrieve(parameters);\n\nConsole.WriteLine(projectBranch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "list", - "endpoint": "/v0/projects/{project}/branches", - "httpMethod": "get", - "summary": "List project branches", - "description": "Retrieve a project branch by name.", - "stainlessPath": "(resource) projects.branches > (method) list", - "qualified": "client.projects.branches.list", - "params": [ - "project: string;", - "cursor?: string;", - "limit?: number;" - ], - "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }", - "markdown": "## list\n\n`client.projects.branches.list(project: string, cursor?: string, limit?: number): { branch: string; config_commit: object; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of items to return, defaults to 10 (maximum: 100).\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build_id: string`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse);\n}\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.branches.list", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse.latest_build_id);\n}" - }, - "python": { - "method": "projects.branches.list", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\npage = client.projects.branches.list(\n project=\"project\",\n)\npage = page.data[0]\nprint(page.latest_build_id)" - }, - "java": { - "method": "projects().branches().list", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchListPage;\nimport com.stainless.api.models.projects.branches.BranchListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n BranchListPage page = client.projects().branches().list();\n }\n}" - }, - "kotlin": { - "method": "projects().branches().list", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListPage\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val page: BranchListPage = client.projects().branches().list()\n}" - }, - "go": { - "method": "client.Projects.Branches.List", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpage, err := client.Projects.Branches.List(context.TODO(), stainless.ProjectBranchListParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" - }, - "ruby": { - "method": "projects.branches.list", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\npage = stainless.projects.branches.list(project: \"project\")\n\nputs(page)" - }, - "cli": { - "method": "branches list", - "example": "stl projects:branches list \\\n --api-key 'My API Key' \\\n --project project" - }, - "php": { - "method": "projects->branches->list", - "example": "projects->branches->list(\n project: 'project', cursor: 'cursor', limit: 1\n);\n\nvar_dump($page);" - }, - "csharp": { - "method": "Projects.Branches.List", - "example": "BranchListParams parameters = new() { Project = \"project\" };\n\nvar page = await client.Projects.Branches.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'list', + endpoint: '/v0/projects/{project}/branches', + httpMethod: 'get', + summary: 'List project branches', + description: 'Retrieve a project branch by name.', + stainlessPath: '(resource) projects.branches > (method) list', + qualified: 'client.projects.branches.list', + params: ['project: string;', 'cursor?: string;', 'limit?: number;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }", + markdown: + "## list\n\n`client.projects.branches.list(project: string, cursor?: string, limit?: number): { branch: string; config_commit: object; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n\n**get** `/v0/projects/{project}/branches`\n\nRetrieve a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of items to return, defaults to 10 (maximum: 100).\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build_id: string; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build_id: string`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse);\n}\n```", + perLanguage: { + typescript: { + method: 'client.projects.branches.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const branchListResponse of client.projects.branches.list({ project: 'project' })) {\n console.log(branchListResponse.latest_build_id);\n}", + }, + python: { + method: 'projects.branches.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.projects.branches.list(\n project="project",\n)\npage = page.data[0]\nprint(page.latest_build_id)', + }, + java: { + method: 'projects().branches().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchListPage;\nimport com.stainless.api.models.projects.branches.BranchListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BranchListPage page = client.projects().branches().list();\n }\n}', + }, + kotlin: { + method: 'projects().branches().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListPage\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BranchListPage = client.projects().branches().list()\n}', + }, + go: { + method: 'client.Projects.Branches.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Projects.Branches.List(context.TODO(), stainless.ProjectBranchListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + }, + ruby: { + method: 'projects.branches.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.projects.branches.list(project: "project")\n\nputs(page)', + }, + cli: { + method: 'branches list', + example: "stl projects:branches list \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'projects->branches->list', + example: + "projects->branches->list(\n project: 'project', cursor: 'cursor', limit: 1\n);\n\nvar_dump($page);", + }, + csharp: { + method: 'Projects.Branches.List', + example: + 'BranchListParams parameters = new() { Project = "project" };\n\nvar page = await client.Projects.Branches.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "delete", - "endpoint": "/v0/projects/{project}/branches/{branch}", - "httpMethod": "delete", - "summary": "Delete a project branch", - "description": "Delete a project branch by name.", - "stainlessPath": "(resource) projects.branches > (method) delete", - "qualified": "client.projects.branches.delete", - "params": [ - "project: string;", - "branch: string;" - ], - "response": "object", - "markdown": "## delete\n\n`client.projects.branches.delete(project: string, branch: string): object`\n\n**delete** `/v0/projects/{project}/branches/{branch}`\n\nDelete a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `object`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.branches.delete", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);" - }, - "python": { - "method": "projects.branches.delete", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nbranch = client.projects.branches.delete(\n branch=\"branch\",\n project=\"project\",\n)\nprint(branch)" - }, - "java": { - "method": "projects().branches().delete", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchDeleteParams;\nimport com.stainless.api.models.projects.branches.BranchDeleteResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n BranchDeleteResponse branch = client.projects().branches().delete(\"branch\");\n }\n}" - }, - "kotlin": { - "method": "projects().branches().delete", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val branch: BranchDeleteResponse = client.projects().branches().delete(\"branch\")\n}" - }, - "go": { - "method": "client.Projects.Branches.Delete", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tbranch, err := client.Projects.Branches.Delete(\n\t\tcontext.TODO(),\n\t\t\"branch\",\n\t\tstainless.ProjectBranchDeleteParams{\n\t\t\tProject: stainless.String(\"project\"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", branch)\n}\n" - }, - "ruby": { - "method": "projects.branches.delete", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nbranch = stainless.projects.branches.delete(\"branch\", project: \"project\")\n\nputs(branch)" - }, - "cli": { - "method": "branches delete", - "example": "stl projects:branches delete \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch" - }, - "php": { - "method": "projects->branches->delete", - "example": "projects->branches->delete('branch', project: 'project');\n\nvar_dump($branch);" - }, - "csharp": { - "method": "Projects.Branches.Delete", - "example": "BranchDeleteParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n};\n\nvar branch = await client.Projects.Branches.Delete(parameters);\n\nConsole.WriteLine(branch);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -X DELETE \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'delete', + endpoint: '/v0/projects/{project}/branches/{branch}', + httpMethod: 'delete', + summary: 'Delete a project branch', + description: 'Delete a project branch by name.', + stainlessPath: '(resource) projects.branches > (method) delete', + qualified: 'client.projects.branches.delete', + params: ['project: string;', 'branch: string;'], + response: 'object', + markdown: + "## delete\n\n`client.projects.branches.delete(project: string, branch: string): object`\n\n**delete** `/v0/projects/{project}/branches/{branch}`\n\nDelete a project branch by name.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n### Returns\n\n- `object`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);\n```", + perLanguage: { + typescript: { + method: 'client.projects.branches.delete', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst branch = await client.projects.branches.delete('branch', { project: 'project' });\n\nconsole.log(branch);", + }, + python: { + method: 'projects.branches.delete', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbranch = client.projects.branches.delete(\n branch="branch",\n project="project",\n)\nprint(branch)', + }, + java: { + method: 'projects().branches().delete', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchDeleteParams;\nimport com.stainless.api.models.projects.branches.BranchDeleteResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BranchDeleteResponse branch = client.projects().branches().delete("branch");\n }\n}', + }, + kotlin: { + method: 'projects().branches().delete', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchDeleteResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val branch: BranchDeleteResponse = client.projects().branches().delete("branch")\n}', + }, + go: { + method: 'client.Projects.Branches.Delete', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbranch, err := client.Projects.Branches.Delete(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchDeleteParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", branch)\n}\n', + }, + ruby: { + method: 'projects.branches.delete', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbranch = stainless.projects.branches.delete("branch", project: "project")\n\nputs(branch)', + }, + cli: { + method: 'branches delete', + example: + "stl projects:branches delete \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + php: { + method: 'projects->branches->delete', + example: + "projects->branches->delete('branch', project: 'project');\n\nvar_dump($branch);", + }, + csharp: { + method: 'Projects.Branches.Delete', + example: + 'BranchDeleteParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar branch = await client.Projects.Branches.Delete(parameters);\n\nConsole.WriteLine(branch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH \\\n -X DELETE \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "rebase", - "endpoint": "/v0/projects/{project}/branches/{branch}/rebase", - "httpMethod": "put", - "summary": "Rebase a project branch", - "description": "Rebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.", - "stainlessPath": "(resource) projects.branches > (method) rebase", - "qualified": "client.projects.branches.rebase", - "params": [ - "project: string;", - "branch: string;", - "base?: string;" - ], - "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", - "markdown": "## rebase\n\n`client.projects.branches.rebase(project: string, branch: string, base?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/rebase`\n\nRebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `base?: string`\n The branch or commit SHA to rebase onto. Defaults to \"main\".\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.branches.rebase", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);" - }, - "python": { - "method": "projects.branches.rebase", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.rebase(\n branch=\"branch\",\n project=\"project\",\n)\nprint(project_branch.branch)" - }, - "java": { - "method": "projects().branches().rebase", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRebaseParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().rebase(\"branch\");\n }\n}" - }, - "kotlin": { - "method": "projects().branches().rebase", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRebaseParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().rebase(\"branch\")\n}" - }, - "go": { - "method": "client.Projects.Branches.Rebase", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Rebase(\n\t\tcontext.TODO(),\n\t\t\"branch\",\n\t\tstainless.ProjectBranchRebaseParams{\n\t\t\tProject: stainless.String(\"project\"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectBranch.Branch)\n}\n" - }, - "ruby": { - "method": "projects.branches.rebase", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject_branch = stainless.projects.branches.rebase(\"branch\", project: \"project\")\n\nputs(project_branch)" - }, - "cli": { - "method": "branches rebase", - "example": "stl projects:branches rebase \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch" - }, - "php": { - "method": "projects->branches->rebase", - "example": "projects->branches->rebase(\n 'branch', project: 'project', base: 'base'\n);\n\nvar_dump($projectBranch);" - }, - "csharp": { - "method": "Projects.Branches.Rebase", - "example": "BranchRebaseParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n};\n\nvar projectBranch = await client.Projects.Branches.Rebase(parameters);\n\nConsole.WriteLine(projectBranch);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/rebase \\\n -X PUT \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'rebase', + endpoint: '/v0/projects/{project}/branches/{branch}/rebase', + httpMethod: 'put', + summary: 'Rebase a project branch', + description: + 'Rebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.', + stainlessPath: '(resource) projects.branches > (method) rebase', + qualified: 'client.projects.branches.rebase', + params: ['project: string;', 'branch: string;', 'base?: string;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + markdown: + "## rebase\n\n`client.projects.branches.rebase(project: string, branch: string, base?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/rebase`\n\nRebase a project branch.\n\nThe branch is rebased onto the `base` branch or commit SHA, inheriting\nany config and custom code changes.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `base?: string`\n The branch or commit SHA to rebase onto. Defaults to \"main\".\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + perLanguage: { + typescript: { + method: 'client.projects.branches.rebase', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.rebase('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", + }, + python: { + method: 'projects.branches.rebase', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.rebase(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', + }, + java: { + method: 'projects().branches().rebase', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchRebaseParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().rebase("branch");\n }\n}', + }, + kotlin: { + method: 'projects().branches().rebase', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchRebaseParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().rebase("branch")\n}', + }, + go: { + method: 'client.Projects.Branches.Rebase', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Rebase(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchRebaseParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + }, + ruby: { + method: 'projects.branches.rebase', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.rebase("branch", project: "project")\n\nputs(project_branch)', + }, + cli: { + method: 'branches rebase', + example: + "stl projects:branches rebase \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + php: { + method: 'projects->branches->rebase', + example: + "projects->branches->rebase(\n 'branch', project: 'project', base: 'base'\n);\n\nvar_dump($projectBranch);", + }, + csharp: { + method: 'Projects.Branches.Rebase', + example: + 'BranchRebaseParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Rebase(parameters);\n\nConsole.WriteLine(projectBranch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/rebase \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "reset", - "endpoint": "/v0/projects/{project}/branches/{branch}/reset", - "httpMethod": "put", - "summary": "", - "description": "Reset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.", - "stainlessPath": "(resource) projects.branches > (method) reset", - "qualified": "client.projects.branches.reset", - "params": [ - "project: string;", - "branch: string;", - "target_config_sha?: string;" - ], - "response": "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", - "markdown": "## reset\n\n`client.projects.branches.reset(project: string, branch: string, target_config_sha?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/reset`\n\nReset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `target_config_sha?: string`\n The commit SHA to reset the main branch to. Required if resetting the main branch; disallowed otherwise.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.branches.reset", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);" - }, - "python": { - "method": "projects.branches.reset", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.reset(\n branch=\"branch\",\n project=\"project\",\n)\nprint(project_branch.branch)" - }, - "java": { - "method": "projects().branches().reset", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchResetParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().reset(\"branch\");\n }\n}" - }, - "kotlin": { - "method": "projects().branches().reset", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchResetParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().reset(\"branch\")\n}" - }, - "go": { - "method": "client.Projects.Branches.Reset", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Reset(\n\t\tcontext.TODO(),\n\t\t\"branch\",\n\t\tstainless.ProjectBranchResetParams{\n\t\t\tProject: stainless.String(\"project\"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectBranch.Branch)\n}\n" - }, - "ruby": { - "method": "projects.branches.reset", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nproject_branch = stainless.projects.branches.reset(\"branch\", project: \"project\")\n\nputs(project_branch)" - }, - "cli": { - "method": "branches reset", - "example": "stl projects:branches reset \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch" - }, - "php": { - "method": "projects->branches->reset", - "example": "projects->branches->reset(\n 'branch', project: 'project', targetConfigSha: 'target_config_sha'\n);\n\nvar_dump($projectBranch);" - }, - "csharp": { - "method": "Projects.Branches.Reset", - "example": "BranchResetParams parameters = new()\n{\n Project = \"project\",\n Branch = \"branch\",\n};\n\nvar projectBranch = await client.Projects.Branches.Reset(parameters);\n\nConsole.WriteLine(projectBranch);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/reset \\\n -X PUT \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'reset', + endpoint: '/v0/projects/{project}/branches/{branch}/reset', + httpMethod: 'put', + summary: '', + description: + 'Reset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.', + stainlessPath: '(resource) projects.branches > (method) reset', + qualified: 'client.projects.branches.reset', + params: ['project: string;', 'branch: string;', 'target_config_sha?: string;'], + response: + "{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }", + markdown: + "## reset\n\n`client.projects.branches.reset(project: string, branch: string, target_config_sha?: string): { branch: string; config_commit: object; latest_build: build; object: 'project_branch'; org: string; project: string; }`\n\n**put** `/v0/projects/{project}/branches/{branch}/reset`\n\nReset a project branch.\n\nIf `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, the\nbranch is reset to `main`.\n\n### Parameters\n\n- `project: string`\n\n- `branch: string`\n\n- `target_config_sha?: string`\n The commit SHA to reset the main branch to. Required if resetting the main branch; disallowed otherwise.\n\n### Returns\n\n- `{ branch: string; config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }; latest_build: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; object: 'project_branch'; org: string; project: string; }`\n A project branch names a line of development for a project. Like a Git\nbranch, it points to a Git commit with a set of config files. In addition, a\nproject branch also points to a set of custom code changes, corresponding to\nGit branches in the staging repos.\n\n - `branch: string`\n - `config_commit: { repo: { branch: string; host: string; name: string; owner: string; }; sha: string; stats: { additions: number; deletions: number; total: number; }; tree_oid: string; }`\n - `latest_build: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `object: 'project_branch'`\n - `org: string`\n - `project: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch);\n```", + perLanguage: { + typescript: { + method: 'client.projects.branches.reset', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst projectBranch = await client.projects.branches.reset('branch', { project: 'project' });\n\nconsole.log(projectBranch.branch);", + }, + python: { + method: 'projects.branches.reset', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nproject_branch = client.projects.branches.reset(\n branch="branch",\n project="project",\n)\nprint(project_branch.branch)', + }, + java: { + method: 'projects().branches().reset', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.branches.BranchResetParams;\nimport com.stainless.api.models.projects.branches.ProjectBranch;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ProjectBranch projectBranch = client.projects().branches().reset("branch");\n }\n}', + }, + kotlin: { + method: 'projects().branches().reset', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.branches.BranchResetParams\nimport com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val projectBranch: ProjectBranch = client.projects().branches().reset("branch")\n}', + }, + go: { + method: 'client.Projects.Branches.Reset', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tprojectBranch, err := client.Projects.Branches.Reset(\n\t\tcontext.TODO(),\n\t\t"branch",\n\t\tstainless.ProjectBranchResetParams{\n\t\t\tProject: stainless.String("project"),\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", projectBranch.Branch)\n}\n', + }, + ruby: { + method: 'projects.branches.reset', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nproject_branch = stainless.projects.branches.reset("branch", project: "project")\n\nputs(project_branch)', + }, + cli: { + method: 'branches reset', + example: + "stl projects:branches reset \\\n --api-key 'My API Key' \\\n --project project \\\n --branch branch", + }, + php: { + method: 'projects->branches->reset', + example: + "projects->branches->reset(\n 'branch', project: 'project', targetConfigSha: 'target_config_sha'\n);\n\nvar_dump($projectBranch);", + }, + csharp: { + method: 'Projects.Branches.Reset', + example: + 'BranchResetParams parameters = new()\n{\n Project = "project",\n Branch = "branch",\n};\n\nvar projectBranch = await client.Projects.Branches.Reset(parameters);\n\nConsole.WriteLine(projectBranch);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/branches/$BRANCH/reset \\\n -X PUT \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "retrieve", - "endpoint": "/v0/projects/{project}/configs", - "httpMethod": "get", - "summary": "Retrieve configuration files", - "description": "\n Retrieve the configuration files for a given project.", - "stainlessPath": "(resource) projects.configs > (method) retrieve", - "qualified": "client.projects.configs.retrieve", - "params": [ - "project: string;", - "branch?: string;", - "include?: string;" - ], - "response": "object", - "markdown": "## retrieve\n\n`client.projects.configs.retrieve(project: string, branch?: string, include?: string): object`\n\n**get** `/v0/projects/{project}/configs`\n\n\n Retrieve the configuration files for a given project.\n\n### Parameters\n\n- `project: string`\n\n- `branch?: string`\n Branch name, defaults to \"main\".\n\n- `include?: string`\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.configs.retrieve", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);" - }, - "python": { - "method": "projects.configs.retrieve", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nconfig = client.projects.configs.retrieve(\n project=\"project\",\n)\nprint(config)" - }, - "java": { - "method": "projects().configs().retrieve", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveParams;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ConfigRetrieveResponse config = client.projects().configs().retrieve();\n }\n}" - }, - "kotlin": { - "method": "projects().configs().retrieve", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val config: ConfigRetrieveResponse = client.projects().configs().retrieve()\n}" - }, - "go": { - "method": "client.Projects.Configs.Get", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tconfig, err := client.Projects.Configs.Get(context.TODO(), stainless.ProjectConfigGetParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", config)\n}\n" - }, - "ruby": { - "method": "projects.configs.retrieve", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nconfig = stainless.projects.configs.retrieve(project: \"project\")\n\nputs(config)" - }, - "cli": { - "method": "configs retrieve", - "example": "stl projects:configs retrieve \\\n --api-key 'My API Key' \\\n --project project" - }, - "php": { - "method": "projects->configs->retrieve", - "example": "projects->configs->retrieve(\n project: 'project', branch: 'branch', include: 'include'\n);\n\nvar_dump($config);" - }, - "csharp": { - "method": "Projects.Configs.Retrieve", - "example": "ConfigRetrieveParams parameters = new() { Project = \"project\" };\n\nvar config = await client.Projects.Configs.Retrieve(parameters);\n\nConsole.WriteLine(config);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT/configs \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'retrieve', + endpoint: '/v0/projects/{project}/configs', + httpMethod: 'get', + summary: 'Retrieve configuration files', + description: '\n Retrieve the configuration files for a given project.', + stainlessPath: '(resource) projects.configs > (method) retrieve', + qualified: 'client.projects.configs.retrieve', + params: ['project: string;', 'branch?: string;', 'include?: string;'], + response: 'object', + markdown: + "## retrieve\n\n`client.projects.configs.retrieve(project: string, branch?: string, include?: string): object`\n\n**get** `/v0/projects/{project}/configs`\n\n\n Retrieve the configuration files for a given project.\n\n### Parameters\n\n- `project: string`\n\n- `branch?: string`\n Branch name, defaults to \"main\".\n\n- `include?: string`\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);\n```", + perLanguage: { + typescript: { + method: 'client.projects.configs.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst config = await client.projects.configs.retrieve({ project: 'project' });\n\nconsole.log(config);", + }, + python: { + method: 'projects.configs.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nconfig = client.projects.configs.retrieve(\n project="project",\n)\nprint(config)', + }, + java: { + method: 'projects().configs().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveParams;\nimport com.stainless.api.models.projects.configs.ConfigRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ConfigRetrieveResponse config = client.projects().configs().retrieve();\n }\n}', + }, + kotlin: { + method: 'projects().configs().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val config: ConfigRetrieveResponse = client.projects().configs().retrieve()\n}', + }, + go: { + method: 'client.Projects.Configs.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tconfig, err := client.Projects.Configs.Get(context.TODO(), stainless.ProjectConfigGetParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", config)\n}\n', + }, + ruby: { + method: 'projects.configs.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nconfig = stainless.projects.configs.retrieve(project: "project")\n\nputs(config)', + }, + cli: { + method: 'configs retrieve', + example: "stl projects:configs retrieve \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'projects->configs->retrieve', + example: + "projects->configs->retrieve(\n project: 'project', branch: 'branch', include: 'include'\n);\n\nvar_dump($config);", + }, + csharp: { + method: 'Projects.Configs.Retrieve', + example: + 'ConfigRetrieveParams parameters = new() { Project = "project" };\n\nvar config = await client.Projects.Configs.Retrieve(parameters);\n\nConsole.WriteLine(config);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/configs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "guess", - "endpoint": "/v0/projects/{project}/configs/guess", - "httpMethod": "post", - "summary": "Generate config suggestions", - "description": "\n Generate suggestions for changes to config files based on an OpenAPI spec.", - "stainlessPath": "(resource) projects.configs > (method) guess", - "qualified": "client.projects.configs.guess", - "params": [ - "project: string;", - "spec: string;", - "branch?: string;" - ], - "response": "object", - "markdown": "## guess\n\n`client.projects.configs.guess(project: string, spec: string, branch?: string): object`\n\n**post** `/v0/projects/{project}/configs/guess`\n\n\n Generate suggestions for changes to config files based on an OpenAPI spec.\n\n### Parameters\n\n- `project: string`\n\n- `spec: string`\n OpenAPI spec\n\n- `branch?: string`\n Branch name\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);\n```", - "perLanguage": { - "typescript": { - "method": "client.projects.configs.guess", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);" - }, - "python": { - "method": "projects.configs.guess", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nresponse = client.projects.configs.guess(\n project=\"project\",\n spec=\"spec\",\n)\nprint(response)" - }, - "java": { - "method": "projects().configs().guess", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigGuessParams;\nimport com.stainless.api.models.projects.configs.ConfigGuessResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n ConfigGuessParams params = ConfigGuessParams.builder()\n .spec(\"spec\")\n .build();\n ConfigGuessResponse response = client.projects().configs().guess(params);\n }\n}" - }, - "kotlin": { - "method": "projects().configs().guess", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val params: ConfigGuessParams = ConfigGuessParams.builder()\n .spec(\"spec\")\n .build()\n val response: ConfigGuessResponse = client.projects().configs().guess(params)\n}" - }, - "go": { - "method": "client.Projects.Configs.Guess", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Projects.Configs.Guess(context.TODO(), stainless.ProjectConfigGuessParams{\n\t\tProject: stainless.String(\"project\"),\n\t\tSpec: \"spec\",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response)\n}\n" - }, - "ruby": { - "method": "projects.configs.guess", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nresponse = stainless.projects.configs.guess(project: \"project\", spec: \"spec\")\n\nputs(response)" - }, - "cli": { - "method": "configs guess", - "example": "stl projects:configs guess \\\n --api-key 'My API Key' \\\n --project project \\\n --spec spec" - }, - "php": { - "method": "projects->configs->guess", - "example": "projects->configs->guess(\n project: 'project', spec: 'spec', branch: 'branch'\n);\n\nvar_dump($response);" - }, - "csharp": { - "method": "Projects.Configs.Guess", - "example": "ConfigGuessParams parameters = new()\n{\n Project = \"project\",\n Spec = \"spec\",\n};\n\nvar response = await client.Projects.Configs.Guess(parameters);\n\nConsole.WriteLine(response);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/projects/$PROJECT/configs/guess \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"spec\": \"spec\"\n }'" - } - } + name: 'guess', + endpoint: '/v0/projects/{project}/configs/guess', + httpMethod: 'post', + summary: 'Generate config suggestions', + description: '\n Generate suggestions for changes to config files based on an OpenAPI spec.', + stainlessPath: '(resource) projects.configs > (method) guess', + qualified: 'client.projects.configs.guess', + params: ['project: string;', 'spec: string;', 'branch?: string;'], + response: 'object', + markdown: + "## guess\n\n`client.projects.configs.guess(project: string, spec: string, branch?: string): object`\n\n**post** `/v0/projects/{project}/configs/guess`\n\n\n Generate suggestions for changes to config files based on an OpenAPI spec.\n\n### Parameters\n\n- `project: string`\n\n- `spec: string`\n OpenAPI spec\n\n- `branch?: string`\n Branch name\n\n### Returns\n\n- `object`\n Config files contents\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);\n```", + perLanguage: { + typescript: { + method: 'client.projects.configs.guess', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.projects.configs.guess({ project: 'project', spec: 'spec' });\n\nconsole.log(response);", + }, + python: { + method: 'projects.configs.guess', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.projects.configs.guess(\n project="project",\n spec="spec",\n)\nprint(response)', + }, + java: { + method: 'projects().configs().guess', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.projects.configs.ConfigGuessParams;\nimport com.stainless.api.models.projects.configs.ConfigGuessResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n ConfigGuessParams params = ConfigGuessParams.builder()\n .spec("spec")\n .build();\n ConfigGuessResponse response = client.projects().configs().guess(params);\n }\n}', + }, + kotlin: { + method: 'projects().configs().guess', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessParams\nimport com.configure_me_stainless_v0.api.models.projects.configs.ConfigGuessResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val params: ConfigGuessParams = ConfigGuessParams.builder()\n .spec("spec")\n .build()\n val response: ConfigGuessResponse = client.projects().configs().guess(params)\n}', + }, + go: { + method: 'client.Projects.Configs.Guess', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Projects.Configs.Guess(context.TODO(), stainless.ProjectConfigGuessParams{\n\t\tProject: stainless.String("project"),\n\t\tSpec: "spec",\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response)\n}\n', + }, + ruby: { + method: 'projects.configs.guess', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.projects.configs.guess(project: "project", spec: "spec")\n\nputs(response)', + }, + cli: { + method: 'configs guess', + example: + "stl projects:configs guess \\\n --api-key 'My API Key' \\\n --project project \\\n --spec spec", + }, + php: { + method: 'projects->configs->guess', + example: + "projects->configs->guess(\n project: 'project', spec: 'spec', branch: 'branch'\n);\n\nvar_dump($response);", + }, + csharp: { + method: 'Projects.Configs.Guess', + example: + 'ConfigGuessParams parameters = new()\n{\n Project = "project",\n Spec = "spec",\n};\n\nvar response = await client.Projects.Configs.Guess(parameters);\n\nConsole.WriteLine(response);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/projects/$PROJECT/configs/guess \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "spec": "spec"\n }\'', + }, + }, }, { - "name": "list", - "endpoint": "/v0/builds", - "httpMethod": "get", - "summary": "List project builds", - "description": "List user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.", - "stainlessPath": "(resource) builds > (method) list", - "qualified": "client.builds.list", - "params": [ - "project: string;", - "branch?: string;", - "cursor?: string;", - "limit?: number;", - "revision?: string | object;" + name: 'list', + endpoint: '/v0/builds', + httpMethod: 'get', + summary: 'List project builds', + description: + 'List user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.', + stainlessPath: '(resource) builds > (method) list', + qualified: 'client.builds.list', + params: [ + 'project: string;', + 'branch?: string;', + 'cursor?: string;', + 'limit?: number;', + 'revision?: string | object;', ], - "response": "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", - "markdown": "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", - "perLanguage": { - "typescript": { - "method": "client.builds.list", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build.id);\n}" - }, - "python": { - "method": "builds.list", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\npage = client.builds.list(\n project=\"project\",\n)\npage = page.data[0]\nprint(page.id)" - }, - "java": { - "method": "builds().list", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildListPage;\nimport com.stainless.api.models.builds.BuildListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build();\n\n BuildListPage page = client.builds().list();\n }\n}" - }, - "kotlin": { - "method": "builds().list", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\nimport com.configure_me_stainless_v0.api.models.builds.BuildListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project(\"example-project\")\n .build()\n\n val page: BuildListPage = client.builds().list()\n}" - }, - "go": { - "method": "client.Builds.List", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" - }, - "ruby": { - "method": "builds.list", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\npage = stainless.builds.list(project: \"project\")\n\nputs(page)" - }, - "cli": { - "method": "builds list", - "example": "stl builds list \\\n --api-key 'My API Key' \\\n --project project" - }, - "php": { - "method": "builds->list", - "example": "builds->list(\n project: 'project',\n branch: 'branch',\n cursor: 'cursor',\n limit: 1,\n revision: 'string',\n);\n\nvar_dump($page);" - }, - "csharp": { - "method": "Builds.List", - "example": "BuildListParams parameters = new() { Project = \"project\" };\n\nvar page = await client.Builds.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}" - }, - "http": { - "example": "curl https://api.stainless.com/v0/builds \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + response: + "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + markdown: + "## list\n\n`client.builds.list(project: string, branch?: string, cursor?: string, limit?: number, revision?: string | object): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds`\n\nList user-triggered builds for a given project.\n\nAn optional revision can be specified to filter by config commit SHA, or\nhashes of file contents.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `branch?: string`\n Branch name\n\n- `cursor?: string`\n Pagination cursor from a previous response.\n\n- `limit?: number`\n Maximum number of builds to return, defaults to 10 (maximum: 100).\n\n- `revision?: string | object`\n A config commit SHA used for the build\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build);\n}\n```", + perLanguage: { + typescript: { + method: 'client.builds.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const build of client.builds.list({ project: 'project' })) {\n console.log(build.id);\n}", + }, + python: { + method: 'builds.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.list(\n project="project",\n)\npage = page.data[0]\nprint(page.id)', + }, + java: { + method: 'builds().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildListPage;\nimport com.stainless.api.models.builds.BuildListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build();\n\n BuildListPage page = client.builds().list();\n }\n}', + }, + kotlin: { + method: 'builds().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\nimport com.configure_me_stainless_v0.api.models.builds.BuildListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .project("example-project")\n .build()\n\n val page: BuildListPage = client.builds().list()\n}', + }, + go: { + method: 'client.Builds.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + }, + ruby: { + method: 'builds.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.builds.list(project: "project")\n\nputs(page)', + }, + cli: { + method: 'builds list', + example: "stl builds list \\\n --api-key 'My API Key' \\\n --project project", + }, + php: { + method: 'builds->list', + example: + "builds->list(\n project: 'project',\n branch: 'branch',\n cursor: 'cursor',\n limit: 1,\n revision: 'string',\n);\n\nvar_dump($page);", + }, + csharp: { + method: 'Builds.List', + example: + 'BuildListParams parameters = new() { Project = "project" };\n\nvar page = await client.Builds.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "create", - "endpoint": "/v0/builds", - "httpMethod": "post", - "summary": "Create build", - "description": "Create a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.", - "stainlessPath": "(resource) builds > (method) create", - "qualified": "client.builds.create", - "params": [ - "project: string;", - "revision: string | object;", - "allow_empty?: boolean;", - "branch?: string;", - "commit_message?: string;", - "enable_ai_commit_message?: boolean;", - "target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; };", - "targets?: string[];" + name: 'create', + endpoint: '/v0/builds', + httpMethod: 'post', + summary: 'Create build', + description: + 'Create a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.', + stainlessPath: '(resource) builds > (method) create', + qualified: 'client.builds.create', + params: [ + 'project: string;', + 'revision: string | object;', + 'allow_empty?: boolean;', + 'branch?: string;', + 'commit_message?: string;', + 'enable_ai_commit_message?: boolean;', + 'target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; };', + 'targets?: string[];', ], - "response": "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", - "markdown": "## create\n\n`client.builds.create(project: string, revision: string | object, allow_empty?: boolean, branch?: string, commit_message?: string, enable_ai_commit_message?: boolean, target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }, targets?: string[]): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**post** `/v0/builds`\n\nCreate a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `revision: string | object`\n Specifies what to build: a branch name, commit SHA, merge command\n(\"base..head\"), or file contents.\n\n- `allow_empty?: boolean`\n Whether to allow empty commits (no changes). Defaults to false.\n\n- `branch?: string`\n The project branch to use for the build. If not specified, the\nbranch is inferred from the `revision`, and will 400 when that\nis not possible.\n\n- `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `enable_ai_commit_message?: boolean`\n Whether to generate AI-powered commit messages for the build.\nCannot be combined with `commit_message` or `target_commit_messages`.\n\n- `target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }`\n Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.\n - `cli?: string`\n - `csharp?: string`\n - `go?: string`\n - `java?: string`\n - `kotlin?: string`\n - `node?: string`\n - `openapi?: string`\n - `php?: string`\n - `python?: string`\n - `ruby?: string`\n - `sql?: string`\n - `terraform?: string`\n - `typescript?: string`\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build);\n```", - "perLanguage": { - "typescript": { - "method": "client.builds.create", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build.id);" - }, - "python": { - "method": "builds.create", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nbuild = client.builds.create(\n project=\"project\",\n revision=\"string\",\n)\nprint(build.id)" - }, - "java": { - "method": "builds().create", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCreateParams params = BuildCreateParams.builder()\n .project(\"project\")\n .revision(\"string\")\n .build();\n Build build = client.builds().create(params);\n }\n}" - }, - "kotlin": { - "method": "builds().create", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"project\")\n .revision(\"string\")\n .build()\n val build: Build = client.builds().create(params)\n}" - }, - "go": { - "method": "client.Builds.New", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String(\"project\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"string\"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", build.ID)\n}\n" - }, - "ruby": { - "method": "builds.create", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nbuild = stainless.builds.create(project: \"project\", revision: \"string\")\n\nputs(build)" - }, - "cli": { - "method": "builds create", - "example": "stl builds create \\\n --api-key 'My API Key' \\\n --project project \\\n --revision string" - }, - "php": { - "method": "builds->create", - "example": "builds->create(\n project: 'project',\n revision: 'string',\n allowEmpty: true,\n branch: 'branch',\n commitMessage: 'commit_message',\n enableAICommitMessage: true,\n targetCommitMessages: [\n 'cli' => 'cli',\n 'csharp' => 'csharp',\n 'go' => 'go',\n 'java' => 'java',\n 'kotlin' => 'kotlin',\n 'node' => 'node',\n 'openAPI' => 'openapi',\n 'php' => 'php',\n 'python' => 'python',\n 'ruby' => 'ruby',\n 'sql' => 'sql',\n 'terraform' => 'terraform',\n 'typescript' => 'typescript',\n ],\n targets: [Target::NODE],\n);\n\nvar_dump($build);" - }, - "csharp": { - "method": "Builds.Create", - "example": "BuildCreateParams parameters = new()\n{\n Project = \"project\",\n Revision = \"string\",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/builds \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"project\": \"project\",\n \"revision\": \"string\"\n }'" - } - } + response: + "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + markdown: + "## create\n\n`client.builds.create(project: string, revision: string | object, allow_empty?: boolean, branch?: string, commit_message?: string, enable_ai_commit_message?: boolean, target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }, targets?: string[]): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**post** `/v0/builds`\n\nCreate a build, on top of a project branch, against a given input revision.\n\nThe project branch will be modified so that its latest set of config files\npoints to the one specified by the input revision.\n\n### Parameters\n\n- `project: string`\n Project name\n\n- `revision: string | object`\n Specifies what to build: a branch name, commit SHA, merge command\n(\"base..head\"), or file contents.\n\n- `allow_empty?: boolean`\n Whether to allow empty commits (no changes). Defaults to false.\n\n- `branch?: string`\n The project branch to use for the build. If not specified, the\nbranch is inferred from the `revision`, and will 400 when that\nis not possible.\n\n- `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `enable_ai_commit_message?: boolean`\n Whether to generate AI-powered commit messages for the build.\nCannot be combined with `commit_message` or `target_commit_messages`.\n\n- `target_commit_messages?: { cli?: string; csharp?: string; go?: string; java?: string; kotlin?: string; node?: string; openapi?: string; php?: string; python?: string; ruby?: string; sql?: string; terraform?: string; typescript?: string; }`\n Optional commit messages to use for each SDK when making a new commit.\nSDKs not represented in this object will fallback to the optional\n`commit_message` parameter, or will fallback further to the default\ncommit message.\n - `cli?: string`\n - `csharp?: string`\n - `go?: string`\n - `java?: string`\n - `kotlin?: string`\n - `node?: string`\n - `openapi?: string`\n - `php?: string`\n - `python?: string`\n - `ruby?: string`\n - `sql?: string`\n - `terraform?: string`\n - `typescript?: string`\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build);\n```", + perLanguage: { + typescript: { + method: 'client.builds.create', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.create({ project: 'project', revision: 'string' });\n\nconsole.log(build.id);", + }, + python: { + method: 'builds.create', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.create(\n project="project",\n revision="string",\n)\nprint(build.id)', + }, + java: { + method: 'builds().create', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCreateParams params = BuildCreateParams.builder()\n .project("project")\n .revision("string")\n .build();\n Build build = client.builds().create(params);\n }\n}', + }, + kotlin: { + method: 'builds().create', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCreateParams = BuildCreateParams.builder()\n .project("project")\n .revision("string")\n .build()\n val build: Build = client.builds().create(params)\n}', + }, + go: { + method: 'client.Builds.New', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("project"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("string"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', + }, + ruby: { + method: 'builds.create', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.create(project: "project", revision: "string")\n\nputs(build)', + }, + cli: { + method: 'builds create', + example: + "stl builds create \\\n --api-key 'My API Key' \\\n --project project \\\n --revision string", + }, + php: { + method: 'builds->create', + example: + "builds->create(\n project: 'project',\n revision: 'string',\n allowEmpty: true,\n branch: 'branch',\n commitMessage: 'commit_message',\n enableAICommitMessage: true,\n targetCommitMessages: [\n 'cli' => 'cli',\n 'csharp' => 'csharp',\n 'go' => 'go',\n 'java' => 'java',\n 'kotlin' => 'kotlin',\n 'node' => 'node',\n 'openAPI' => 'openapi',\n 'php' => 'php',\n 'python' => 'python',\n 'ruby' => 'ruby',\n 'sql' => 'sql',\n 'terraform' => 'terraform',\n 'typescript' => 'typescript',\n ],\n targets: [Target::NODE],\n);\n\nvar_dump($build);", + }, + csharp: { + method: 'Builds.Create', + example: + 'BuildCreateParams parameters = new()\n{\n Project = "project",\n Revision = "string",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "project": "project",\n "revision": "string"\n }\'', + }, + }, }, { - "name": "retrieve", - "endpoint": "/v0/builds/{buildId}", - "httpMethod": "get", - "summary": "Retrieve build", - "description": "Retrieve a build by its ID.", - "stainlessPath": "(resource) builds > (method) retrieve", - "qualified": "client.builds.retrieve", - "params": [ - "buildId: string;" - ], - "response": "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", - "markdown": "## retrieve\n\n`client.builds.retrieve(buildId: string): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds/{buildId}`\n\nRetrieve a build by its ID.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build);\n```", - "perLanguage": { - "typescript": { - "method": "client.builds.retrieve", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build.id);" - }, - "python": { - "method": "builds.retrieve", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nbuild = client.builds.retrieve(\n \"buildId\",\n)\nprint(build.id)" - }, - "java": { - "method": "builds().retrieve", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Build build = client.builds().retrieve(\"buildId\");\n }\n}" - }, - "kotlin": { - "method": "builds().retrieve", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val build: Build = client.builds().retrieve(\"buildId\")\n}" - }, - "go": { - "method": "client.Builds.Get", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tbuild, err := client.Builds.Get(context.TODO(), \"buildId\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", build.ID)\n}\n" - }, - "ruby": { - "method": "builds.retrieve", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nbuild = stainless.builds.retrieve(\"buildId\")\n\nputs(build)" - }, - "cli": { - "method": "builds retrieve", - "example": "stl builds retrieve \\\n --api-key 'My API Key' \\\n --build-id buildId" - }, - "php": { - "method": "builds->retrieve", - "example": "builds->retrieve('buildId');\n\nvar_dump($build);" - }, - "csharp": { - "method": "Builds.Retrieve", - "example": "BuildRetrieveParams parameters = new() { BuildID = \"buildId\" };\n\nvar build = await client.Builds.Retrieve(parameters);\n\nConsole.WriteLine(build);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/builds/$BUILD_ID \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'retrieve', + endpoint: '/v0/builds/{buildId}', + httpMethod: 'get', + summary: 'Retrieve build', + description: 'Retrieve a build by its ID.', + stainlessPath: '(resource) builds > (method) retrieve', + qualified: 'client.builds.retrieve', + params: ['buildId: string;'], + response: + "{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }", + markdown: + "## retrieve\n\n`client.builds.retrieve(buildId: string): { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }`\n\n**get** `/v0/builds/{buildId}`\n\nRetrieve a build by its ID.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n### Returns\n\n- `{ id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n - `id: string`\n - `config_commit: string`\n - `created_at: string`\n - `documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }`\n - `object: 'build'`\n - `org: string`\n - `project: string`\n - `targets: { cli?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; csharp?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; go?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; java?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; kotlin?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; node?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; openapi?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; php?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; python?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; ruby?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; sql?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; terraform?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; typescript?: { commit: { status: 'not_started'; } | { status: 'waiting'; } | { status: 'queued'; } | { status: 'in_progress'; } | { commit: commit; completed: object; completed_at: string; conclusion: string; merge_conflict_pr: object; status: 'completed'; }; install_url: string; object: 'build_target'; status: 'not_started' | 'codegen' | 'postgen' | 'completed'; build?: object | object | object | object | object; lint?: object | object | object | object | object; test?: object | object | object | object | object; }; }`\n - `updated_at: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build);\n```", + perLanguage: { + typescript: { + method: 'client.builds.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst build = await client.builds.retrieve('buildId');\n\nconsole.log(build.id);", + }, + python: { + method: 'builds.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nbuild = client.builds.retrieve(\n "buildId",\n)\nprint(build.id)', + }, + java: { + method: 'builds().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Build build = client.builds().retrieve("buildId");\n }\n}', + }, + kotlin: { + method: 'builds().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val build: Build = client.builds().retrieve("buildId")\n}', + }, + go: { + method: 'client.Builds.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tbuild, err := client.Builds.Get(context.TODO(), "buildId")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n', + }, + ruby: { + method: 'builds.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.retrieve("buildId")\n\nputs(build)', + }, + cli: { + method: 'builds retrieve', + example: "stl builds retrieve \\\n --api-key 'My API Key' \\\n --build-id buildId", + }, + php: { + method: 'builds->retrieve', + example: + "builds->retrieve('buildId');\n\nvar_dump($build);", + }, + csharp: { + method: 'Builds.Retrieve', + example: + 'BuildRetrieveParams parameters = new() { BuildID = "buildId" };\n\nvar build = await client.Builds.Retrieve(parameters);\n\nConsole.WriteLine(build);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds/$BUILD_ID \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "compare", - "endpoint": "/v0/builds/compare", - "httpMethod": "post", - "summary": "Creates two comparable builds", - "description": "Create two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.", - "stainlessPath": "(resource) builds > (method) compare", - "qualified": "client.builds.compare", - "params": [ - "base: { branch: string; revision: string | object; commit_message?: string; };", - "head: { branch: string; revision: string | object; commit_message?: string; };", - "project: string;", - "targets?: string[];" + name: 'compare', + endpoint: '/v0/builds/compare', + httpMethod: 'post', + summary: 'Creates two comparable builds', + description: + 'Create two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.', + stainlessPath: '(resource) builds > (method) compare', + qualified: 'client.builds.compare', + params: [ + 'base: { branch: string; revision: string | object; commit_message?: string; };', + 'head: { branch: string; revision: string | object; commit_message?: string; };', + 'project: string;', + 'targets?: string[];', ], - "response": "{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }", - "markdown": "## compare\n\n`client.builds.compare(base: { branch: string; revision: string | object; commit_message?: string; }, head: { branch: string; revision: string | object; commit_message?: string; }, project: string, targets?: string[]): { base: build; head: build; }`\n\n**post** `/v0/builds/compare`\n\nCreate two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.\n\n### Parameters\n\n- `base: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the base build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `head: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the head build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `project: string`\n Project name\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }`\n\n - `base: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `head: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response);\n```", - "perLanguage": { - "typescript": { - "method": "client.builds.compare", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response.base);" - }, - "python": { - "method": "builds.compare", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nresponse = client.builds.compare(\n base={\n \"branch\": \"branch\",\n \"revision\": \"string\",\n },\n head={\n \"branch\": \"branch\",\n \"revision\": \"string\",\n },\n project=\"project\",\n)\nprint(response.base)" - }, - "java": { - "method": "builds().compare", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildCompareParams;\nimport com.stainless.api.models.builds.BuildCompareResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCompareParams params = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch(\"branch\")\n .revision(\"string\")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch(\"branch\")\n .revision(\"string\")\n .build())\n .project(\"project\")\n .build();\n BuildCompareResponse response = client.builds().compare(params);\n }\n}" - }, - "kotlin": { - "method": "builds().compare", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareParams\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCompareParams = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch(\"branch\")\n .revision(\"string\")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch(\"branch\")\n .revision(\"string\")\n .build())\n .project(\"project\")\n .build()\n val response: BuildCompareResponse = client.builds().compare(params)\n}" - }, - "go": { - "method": "client.Builds.Compare", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Builds.Compare(context.TODO(), stainless.BuildCompareParams{\n\t\tBase: stainless.BuildCompareParamsBase{\n\t\t\tBranch: \"branch\",\n\t\t\tRevision: stainless.BuildCompareParamsBaseRevisionUnion{\n\t\t\t\tOfString: stainless.String(\"string\"),\n\t\t\t},\n\t\t},\n\t\tHead: stainless.BuildCompareParamsHead{\n\t\t\tBranch: \"branch\",\n\t\t\tRevision: stainless.BuildCompareParamsHeadRevisionUnion{\n\t\t\t\tOfString: stainless.String(\"string\"),\n\t\t\t},\n\t\t},\n\t\tProject: stainless.String(\"project\"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response.Base)\n}\n" - }, - "ruby": { - "method": "builds.compare", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nresponse = stainless.builds.compare(\n base: {branch: \"branch\", revision: \"string\"},\n head: {branch: \"branch\", revision: \"string\"},\n project: \"project\"\n)\n\nputs(response)" - }, - "cli": { - "method": "builds compare", - "example": "stl builds compare \\\n --api-key 'My API Key' \\\n --base '{branch: branch, revision: string}' \\\n --head '{branch: branch, revision: string}' \\\n --project project" - }, - "php": { - "method": "builds->compare", - "example": "builds->compare(\n base: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n head: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n project: 'project',\n targets: [Target::NODE],\n);\n\nvar_dump($response);" - }, - "csharp": { - "method": "Builds.Compare", - "example": "BuildCompareParams parameters = new()\n{\n Base = new()\n {\n Branch = \"branch\",\n Revision = \"string\",\n CommitMessage = \"commit_message\",\n },\n Head = new()\n {\n Branch = \"branch\",\n Revision = \"string\",\n CommitMessage = \"commit_message\",\n },\n Project = \"project\",\n};\n\nvar response = await client.Builds.Compare(parameters);\n\nConsole.WriteLine(response);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/builds/compare \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\" \\\n -d '{\n \"base\": {\n \"branch\": \"branch\",\n \"revision\": \"string\"\n },\n \"head\": {\n \"branch\": \"branch\",\n \"revision\": \"string\"\n },\n \"project\": \"project\"\n }'" - } - } + response: + "{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }", + markdown: + "## compare\n\n`client.builds.compare(base: { branch: string; revision: string | object; commit_message?: string; }, head: { branch: string; revision: string | object; commit_message?: string; }, project: string, targets?: string[]): { base: build; head: build; }`\n\n**post** `/v0/builds/compare`\n\nCreate two builds whose outputs can be directly compared with each other.\n\nCreated builds _modify_ their project branches so that their latest sets of\nconfig files point to the ones specified by the input revision.\n\nThis endpoint is useful because a build has more inputs than the set of\nconfig files it uses, so comparing two builds directly may return spurious\ndifferences. Builds made via this endpoint are guaranteed to have\ndifferences arising from the set of config files, and any custom code.\n\n### Parameters\n\n- `base: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the base build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `head: { branch: string; revision: string | object; commit_message?: string; }`\n Parameters for the head build\n - `branch: string`\n Branch to use. When using a branch name as revision, this must match or be\nomitted.\n - `revision: string | object`\n Specifies what to build: a branch name, a commit SHA, or file contents.\n - `commit_message?: string`\n Optional commit message to use when creating a new commit.\n\n- `project: string`\n Project name\n\n- `targets?: string[]`\n Optional list of SDK targets to build. If not specified, all configured\ntargets will be built.\n\n### Returns\n\n- `{ base: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; head: { id: string; config_commit: string; created_at: string; documented_spec: object | object; object: 'build'; org: string; project: string; targets: object; updated_at: string; }; }`\n\n - `base: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n - `head: { id: string; config_commit: string; created_at: string; documented_spec: { content: string; type: 'content'; } | { expires: string; type: 'url'; url: string; }; object: 'build'; org: string; project: string; targets: { cli?: object; csharp?: object; go?: object; java?: object; kotlin?: object; node?: object; openapi?: object; php?: object; python?: object; ruby?: object; sql?: object; terraform?: object; typescript?: object; }; updated_at: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response);\n```", + perLanguage: { + typescript: { + method: 'client.builds.compare', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst response = await client.builds.compare({\n base: { branch: 'branch', revision: 'string' },\n head: { branch: 'branch', revision: 'string' },\n project: 'project',\n});\n\nconsole.log(response.base);", + }, + python: { + method: 'builds.compare', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nresponse = client.builds.compare(\n base={\n "branch": "branch",\n "revision": "string",\n },\n head={\n "branch": "branch",\n "revision": "string",\n },\n project="project",\n)\nprint(response.base)', + }, + java: { + method: 'builds().compare', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.BuildCompareParams;\nimport com.stainless.api.models.builds.BuildCompareResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n BuildCompareParams params = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch("branch")\n .revision("string")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch("branch")\n .revision("string")\n .build())\n .project("project")\n .build();\n BuildCompareResponse response = client.builds().compare(params);\n }\n}', + }, + kotlin: { + method: 'builds().compare', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareParams\nimport com.configure_me_stainless_v0.api.models.builds.BuildCompareResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: BuildCompareParams = BuildCompareParams.builder()\n .base(BuildCompareParams.Base.builder()\n .branch("branch")\n .revision("string")\n .build())\n .head(BuildCompareParams.Head.builder()\n .branch("branch")\n .revision("string")\n .build())\n .project("project")\n .build()\n val response: BuildCompareResponse = client.builds().compare(params)\n}', + }, + go: { + method: 'client.Builds.Compare', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tresponse, err := client.Builds.Compare(context.TODO(), stainless.BuildCompareParams{\n\t\tBase: stainless.BuildCompareParamsBase{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsBaseRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tHead: stainless.BuildCompareParamsHead{\n\t\t\tBranch: "branch",\n\t\t\tRevision: stainless.BuildCompareParamsHeadRevisionUnion{\n\t\t\t\tOfString: stainless.String("string"),\n\t\t\t},\n\t\t},\n\t\tProject: stainless.String("project"),\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", response.Base)\n}\n', + }, + ruby: { + method: 'builds.compare', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nresponse = stainless.builds.compare(\n base: {branch: "branch", revision: "string"},\n head: {branch: "branch", revision: "string"},\n project: "project"\n)\n\nputs(response)', + }, + cli: { + method: 'builds compare', + example: + "stl builds compare \\\n --api-key 'My API Key' \\\n --base '{branch: branch, revision: string}' \\\n --head '{branch: branch, revision: string}' \\\n --project project", + }, + php: { + method: 'builds->compare', + example: + "builds->compare(\n base: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n head: [\n 'branch' => 'branch',\n 'revision' => 'string',\n 'commitMessage' => 'commit_message',\n ],\n project: 'project',\n targets: [Target::NODE],\n);\n\nvar_dump($response);", + }, + csharp: { + method: 'Builds.Compare', + example: + 'BuildCompareParams parameters = new()\n{\n Base = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Head = new()\n {\n Branch = "branch",\n Revision = "string",\n CommitMessage = "commit_message",\n },\n Project = "project",\n};\n\nvar response = await client.Builds.Compare(parameters);\n\nConsole.WriteLine(response);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds/compare \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: Bearer $STAINLESS_API_KEY" \\\n -d \'{\n "base": {\n "branch": "branch",\n "revision": "string"\n },\n "head": {\n "branch": "branch",\n "revision": "string"\n },\n "project": "project"\n }\'', + }, + }, }, { - "name": "list", - "endpoint": "/v0/builds/{buildId}/diagnostics", - "httpMethod": "get", - "summary": "Get diagnostics for a build", - "description": "Get the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.", - "stainlessPath": "(resource) builds.diagnostics > (method) list", - "qualified": "client.builds.diagnostics.list", - "params": [ - "buildId: string;", - "cursor?: string;", - "limit?: number;", + name: 'list', + endpoint: '/v0/builds/{buildId}/diagnostics', + httpMethod: 'get', + summary: 'Get diagnostics for a build', + description: + 'Get the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.', + stainlessPath: '(resource) builds.diagnostics > (method) list', + qualified: 'client.builds.diagnostics.list', + params: [ + 'buildId: string;', + 'cursor?: string;', + 'limit?: number;', "severity?: 'fatal' | 'error' | 'warning' | 'note';", - "targets?: string;" + 'targets?: string;', ], - "response": "{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }", - "markdown": "## list\n\n`client.builds.diagnostics.list(buildId: string, cursor?: string, limit?: number, severity?: 'fatal' | 'error' | 'warning' | 'note', targets?: string): { code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: build_diagnostic_more; config_ref?: string; oas_ref?: string; }`\n\n**get** `/v0/builds/{buildId}/diagnostics`\n\nGet the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of diagnostics to return, defaults to 100 (maximum: 100)\n\n- `severity?: 'fatal' | 'error' | 'warning' | 'note'`\n Includes the given severity and above (fatal > error > warning > note).\n\n- `targets?: string`\n Optional comma-delimited list of language targets to filter diagnostics by\n\n### Returns\n\n- `{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }`\n\n - `code: string`\n - `ignored: boolean`\n - `level: 'fatal' | 'error' | 'warning' | 'note'`\n - `message: string`\n - `more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }`\n - `config_ref?: string`\n - `oas_ref?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic);\n}\n```", - "perLanguage": { - "typescript": { - "method": "client.builds.diagnostics.list", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic.code);\n}" - }, - "python": { - "method": "builds.diagnostics.list", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\npage = client.builds.diagnostics.list(\n build_id=\"buildId\",\n)\npage = page.data[0]\nprint(page.code)" - }, - "java": { - "method": "builds().diagnostics().list", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListPage;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n DiagnosticListPage page = client.builds().diagnostics().list(\"buildId\");\n }\n}" - }, - "kotlin": { - "method": "builds().diagnostics().list", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListPage\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: DiagnosticListPage = client.builds().diagnostics().list(\"buildId\")\n}" - }, - "go": { - "method": "client.Builds.Diagnostics.List", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpage, err := client.Builds.Diagnostics.List(\n\t\tcontext.TODO(),\n\t\t\"buildId\",\n\t\tstainless.BuildDiagnosticListParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" - }, - "ruby": { - "method": "builds.diagnostics.list", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\npage = stainless.builds.diagnostics.list(\"buildId\")\n\nputs(page)" - }, - "cli": { - "method": "diagnostics list", - "example": "stl builds:diagnostics list \\\n --api-key 'My API Key' \\\n --build-id buildId" - }, - "php": { - "method": "builds->diagnostics->list", - "example": "builds->diagnostics->list(\n 'buildId', cursor: 'cursor', limit: 1, severity: 'fatal', targets: 'targets'\n);\n\nvar_dump($page);" - }, - "csharp": { - "method": "Builds.Diagnostics.List", - "example": "DiagnosticListParams parameters = new() { BuildID = \"buildId\" };\n\nvar page = await client.Builds.Diagnostics.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}" - }, - "http": { - "example": "curl https://api.stainless.com/v0/builds/$BUILD_ID/diagnostics \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + response: + "{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }", + markdown: + "## list\n\n`client.builds.diagnostics.list(buildId: string, cursor?: string, limit?: number, severity?: 'fatal' | 'error' | 'warning' | 'note', targets?: string): { code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: build_diagnostic_more; config_ref?: string; oas_ref?: string; }`\n\n**get** `/v0/builds/{buildId}/diagnostics`\n\nGet the list of diagnostics for a given build.\n\nIf no language targets are specified, diagnostics for all languages are returned.\n\n### Parameters\n\n- `buildId: string`\n Build ID\n\n- `cursor?: string`\n Pagination cursor from a previous response\n\n- `limit?: number`\n Maximum number of diagnostics to return, defaults to 100 (maximum: 100)\n\n- `severity?: 'fatal' | 'error' | 'warning' | 'note'`\n Includes the given severity and above (fatal > error > warning > note).\n\n- `targets?: string`\n Optional comma-delimited list of language targets to filter diagnostics by\n\n### Returns\n\n- `{ code: string; ignored: boolean; level: 'fatal' | 'error' | 'warning' | 'note'; message: string; more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }; config_ref?: string; oas_ref?: string; }`\n\n - `code: string`\n - `ignored: boolean`\n - `level: 'fatal' | 'error' | 'warning' | 'note'`\n - `message: string`\n - `more: { markdown: string; type: 'markdown'; } | { raw: string; type: 'raw'; }`\n - `config_ref?: string`\n - `oas_ref?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic);\n}\n```", + perLanguage: { + typescript: { + method: 'client.builds.diagnostics.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const buildDiagnostic of client.builds.diagnostics.list('buildId')) {\n console.log(buildDiagnostic.code);\n}", + }, + python: { + method: 'builds.diagnostics.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\npage = client.builds.diagnostics.list(\n build_id="buildId",\n)\npage = page.data[0]\nprint(page.code)', + }, + java: { + method: 'builds().diagnostics().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListPage;\nimport com.stainless.api.models.builds.diagnostics.DiagnosticListParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n DiagnosticListPage page = client.builds().diagnostics().list("buildId");\n }\n}', + }, + kotlin: { + method: 'builds().diagnostics().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListPage\nimport com.configure_me_stainless_v0.api.models.builds.diagnostics.DiagnosticListParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val page: DiagnosticListPage = client.builds().diagnostics().list("buildId")\n}', + }, + go: { + method: 'client.Builds.Diagnostics.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tpage, err := client.Builds.Diagnostics.List(\n\t\tcontext.TODO(),\n\t\t"buildId",\n\t\tstainless.BuildDiagnosticListParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", page)\n}\n', + }, + ruby: { + method: 'builds.diagnostics.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\npage = stainless.builds.diagnostics.list("buildId")\n\nputs(page)', + }, + cli: { + method: 'diagnostics list', + example: "stl builds:diagnostics list \\\n --api-key 'My API Key' \\\n --build-id buildId", + }, + php: { + method: 'builds->diagnostics->list', + example: + "builds->diagnostics->list(\n 'buildId', cursor: 'cursor', limit: 1, severity: 'fatal', targets: 'targets'\n);\n\nvar_dump($page);", + }, + csharp: { + method: 'Builds.Diagnostics.List', + example: + 'DiagnosticListParams parameters = new() { BuildID = "buildId" };\n\nvar page = await client.Builds.Diagnostics.List(parameters);\nawait foreach (var item in page.Paginate())\n{\n Console.WriteLine(item);\n}', + }, + http: { + example: + 'curl https://api.stainless.com/v0/builds/$BUILD_ID/diagnostics \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "retrieve", - "endpoint": "/v0/build_target_outputs", - "httpMethod": "get", - "summary": "Download build target output", - "description": "Retrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.", - "stainlessPath": "(resource) builds.target_outputs > (method) retrieve", - "qualified": "client.builds.targetOutputs.retrieve", - "params": [ - "build_id: string;", - "target: string;", - "type: string;", + name: 'retrieve', + endpoint: '/v0/build_target_outputs', + httpMethod: 'get', + summary: 'Download build target output', + description: + 'Retrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.', + stainlessPath: '(resource) builds.target_outputs > (method) retrieve', + qualified: 'client.builds.targetOutputs.retrieve', + params: [ + 'build_id: string;', + 'target: string;', + 'type: string;', "output?: 'url' | 'git';", - "path?: string;" + 'path?: string;', ], - "response": "{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }", - "markdown": "## retrieve\n\n`client.builds.targetOutputs.retrieve(build_id: string, target: string, type: string, output?: 'url' | 'git', path?: string): { output: 'url'; target: target; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: target; type: string; url: string; }`\n\n**get** `/v0/build_target_outputs`\n\nRetrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.\n\n### Parameters\n\n- `build_id: string`\n Build ID\n\n- `target: string`\n SDK language target name\n\n- `type: string`\n\n- `output?: 'url' | 'git'`\n Output format: url (download URL) or git (temporary access token).\n\n- `path?: string`\n The path of the file to get when used with \"type\": \"file\".\n\n### Returns\n\n- `{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);\n```", - "perLanguage": { - "typescript": { - "method": "client.builds.targetOutputs.retrieve", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);" - }, - "python": { - "method": "builds.target_outputs.retrieve", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\ntarget_output = client.builds.target_outputs.retrieve(\n build_id=\"build_id\",\n target=\"node\",\n type=\"source\",\n)\nprint(target_output)" - }, - "java": { - "method": "builds().targetOutputs().retrieve", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveParams;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n TargetOutputRetrieveParams params = TargetOutputRetrieveParams.builder()\n .buildId(\"build_id\")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build();\n TargetOutputRetrieveResponse targetOutput = client.builds().targetOutputs().retrieve(params);\n }\n}" - }, - "kotlin": { - "method": "builds().targetOutputs().retrieve", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveParams\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: TargetOutputRetrieveParams = TargetOutputRetrieveParams.builder()\n .buildId(\"build_id\")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build()\n val targetOutput: TargetOutputRetrieveResponse = client.builds().targetOutputs().retrieve(params)\n}" - }, - "go": { - "method": "client.Builds.TargetOutputs.Get", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\ttargetOutput, err := client.Builds.TargetOutputs.Get(context.TODO(), stainless.BuildTargetOutputGetParams{\n\t\tBuildID: \"build_id\",\n\t\tTarget: stainless.BuildTargetOutputGetParamsTargetNode,\n\t\tType: stainless.BuildTargetOutputGetParamsTypeSource,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", targetOutput)\n}\n" - }, - "ruby": { - "method": "builds.target_outputs.retrieve", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\ntarget_output = stainless.builds.target_outputs.retrieve(build_id: \"build_id\", target: :node, type: :source)\n\nputs(target_output)" - }, - "cli": { - "method": "target_outputs retrieve", - "example": "stl builds:target-outputs retrieve \\\n --api-key 'My API Key' \\\n --build-id build_id \\\n --target node \\\n --type source" - }, - "php": { - "method": "builds->targetOutputs->retrieve", - "example": "builds->targetOutputs->retrieve(\n buildID: 'build_id',\n target: 'node',\n type: 'source',\n output: 'url',\n path: 'path',\n);\n\nvar_dump($targetOutput);" - }, - "csharp": { - "method": "Builds.TargetOutputs.Retrieve", - "example": "TargetOutputRetrieveParams parameters = new()\n{\n BuildID = \"build_id\",\n Target = Target.Node,\n Type = Type.Source,\n};\n\nvar targetOutput = await client.Builds.TargetOutputs.Retrieve(parameters);\n\nConsole.WriteLine(targetOutput);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/build_target_outputs \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + response: + "{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }", + markdown: + "## retrieve\n\n`client.builds.targetOutputs.retrieve(build_id: string, target: string, type: string, output?: 'url' | 'git', path?: string): { output: 'url'; target: target; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: target; type: string; url: string; }`\n\n**get** `/v0/build_target_outputs`\n\nRetrieve a method to download an output for a given build target.\n\nIf the requested type of output is `source`, and the requested output\nmethod is `url`, a download link to a tarball of the source files is\nreturned. If the requested output method is `git`, a Git remote, ref,\nand access token (if necessary) is returned.\n\nOtherwise, the possible types of outputs are specific to the requested\ntarget, and the output method _must_ be `url`. See the documentation for\n`type` for more information.\n\n### Parameters\n\n- `build_id: string`\n Build ID\n\n- `target: string`\n SDK language target name\n\n- `type: string`\n\n- `output?: 'url' | 'git'`\n Output format: url (download URL) or git (temporary access token).\n\n- `path?: string`\n The path of the file to get when used with \"type\": \"file\".\n\n### Returns\n\n- `{ output: 'url'; target: string; type: string; url: string; path?: string; } | { token: string; output: 'git'; ref: string; target: string; type: string; url: string; }`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);\n```", + perLanguage: { + typescript: { + method: 'client.builds.targetOutputs.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst targetOutput = await client.builds.targetOutputs.retrieve({\n build_id: 'build_id',\n target: 'node',\n type: 'source',\n});\n\nconsole.log(targetOutput);", + }, + python: { + method: 'builds.target_outputs.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\ntarget_output = client.builds.target_outputs.retrieve(\n build_id="build_id",\n target="node",\n type="source",\n)\nprint(target_output)', + }, + java: { + method: 'builds().targetOutputs().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveParams;\nimport com.stainless.api.models.builds.targetoutputs.TargetOutputRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n TargetOutputRetrieveParams params = TargetOutputRetrieveParams.builder()\n .buildId("build_id")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build();\n TargetOutputRetrieveResponse targetOutput = client.builds().targetOutputs().retrieve(params);\n }\n}', + }, + kotlin: { + method: 'builds().targetOutputs().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveParams\nimport com.configure_me_stainless_v0.api.models.builds.targetoutputs.TargetOutputRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val params: TargetOutputRetrieveParams = TargetOutputRetrieveParams.builder()\n .buildId("build_id")\n .target(TargetOutputRetrieveParams.Target.NODE)\n .type(TargetOutputRetrieveParams.Type.SOURCE)\n .build()\n val targetOutput: TargetOutputRetrieveResponse = client.builds().targetOutputs().retrieve(params)\n}', + }, + go: { + method: 'client.Builds.TargetOutputs.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\ttargetOutput, err := client.Builds.TargetOutputs.Get(context.TODO(), stainless.BuildTargetOutputGetParams{\n\t\tBuildID: "build_id",\n\t\tTarget: stainless.BuildTargetOutputGetParamsTargetNode,\n\t\tType: stainless.BuildTargetOutputGetParamsTypeSource,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", targetOutput)\n}\n', + }, + ruby: { + method: 'builds.target_outputs.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\ntarget_output = stainless.builds.target_outputs.retrieve(build_id: "build_id", target: :node, type: :source)\n\nputs(target_output)', + }, + cli: { + method: 'target_outputs retrieve', + example: + "stl builds:target-outputs retrieve \\\n --api-key 'My API Key' \\\n --build-id build_id \\\n --target node \\\n --type source", + }, + php: { + method: 'builds->targetOutputs->retrieve', + example: + "builds->targetOutputs->retrieve(\n buildID: 'build_id',\n target: 'node',\n type: 'source',\n output: 'url',\n path: 'path',\n);\n\nvar_dump($targetOutput);", + }, + csharp: { + method: 'Builds.TargetOutputs.Retrieve', + example: + 'TargetOutputRetrieveParams parameters = new()\n{\n BuildID = "build_id",\n Target = Target.Node,\n Type = Type.Source,\n};\n\nvar targetOutput = await client.Builds.TargetOutputs.Retrieve(parameters);\n\nConsole.WriteLine(targetOutput);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/build_target_outputs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "list", - "endpoint": "/v0/orgs", - "httpMethod": "get", - "summary": "List organizations", - "description": "List organizations accessible to the current authentication method.", - "stainlessPath": "(resource) orgs > (method) list", - "qualified": "client.orgs.list", - "response": "{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }", - "markdown": "## list\n\n`client.orgs.list(): { data: org[]; has_more: boolean; next_cursor?: string; }`\n\n**get** `/v0/orgs`\n\nList organizations accessible to the current authentication method.\n\n### Returns\n\n- `{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }`\n\n - `data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]`\n - `has_more: boolean`\n - `next_cursor?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs);\n```", - "perLanguage": { - "typescript": { - "method": "client.orgs.list", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs.data);" - }, - "python": { - "method": "orgs.list", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\norgs = client.orgs.list()\nprint(orgs.data)" - }, - "java": { - "method": "orgs().list", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.OrgListParams;\nimport com.stainless.api.models.orgs.OrgListResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n OrgListResponse orgs = client.orgs().list();\n }\n}" - }, - "kotlin": { - "method": "orgs().list", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListParams\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val orgs: OrgListResponse = client.orgs().list()\n}" - }, - "go": { - "method": "client.Orgs.List", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\torgs, err := client.Orgs.List(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", orgs.Data)\n}\n" - }, - "ruby": { - "method": "orgs.list", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\norgs = stainless.orgs.list\n\nputs(orgs)" - }, - "cli": { - "method": "orgs list", - "example": "stl orgs list \\\n --api-key 'My API Key'" - }, - "php": { - "method": "orgs->list", - "example": "orgs->list();\n\nvar_dump($orgs);" - }, - "csharp": { - "method": "Orgs.List", - "example": "OrgListParams parameters = new();\n\nvar orgs = await client.Orgs.List(parameters);\n\nConsole.WriteLine(orgs);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/orgs \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'list', + endpoint: '/v0/orgs', + httpMethod: 'get', + summary: 'List organizations', + description: 'List organizations accessible to the current authentication method.', + stainlessPath: '(resource) orgs > (method) list', + qualified: 'client.orgs.list', + response: + "{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }", + markdown: + "## list\n\n`client.orgs.list(): { data: org[]; has_more: boolean; next_cursor?: string; }`\n\n**get** `/v0/orgs`\n\nList organizations accessible to the current authentication method.\n\n### Returns\n\n- `{ data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]; has_more: boolean; next_cursor?: string; }`\n\n - `data: { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }[]`\n - `has_more: boolean`\n - `next_cursor?: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs);\n```", + perLanguage: { + typescript: { + method: 'client.orgs.list', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst orgs = await client.orgs.list();\n\nconsole.log(orgs.data);", + }, + python: { + method: 'orgs.list', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norgs = client.orgs.list()\nprint(orgs.data)', + }, + java: { + method: 'orgs().list', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.OrgListParams;\nimport com.stainless.api.models.orgs.OrgListResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n OrgListResponse orgs = client.orgs().list();\n }\n}', + }, + kotlin: { + method: 'orgs().list', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListParams\nimport com.configure_me_stainless_v0.api.models.orgs.OrgListResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val orgs: OrgListResponse = client.orgs().list()\n}', + }, + go: { + method: 'client.Orgs.List', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torgs, err := client.Orgs.List(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", orgs.Data)\n}\n', + }, + ruby: { + method: 'orgs.list', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\norgs = stainless.orgs.list\n\nputs(orgs)', + }, + cli: { + method: 'orgs list', + example: "stl orgs list \\\n --api-key 'My API Key'", + }, + php: { + method: 'orgs->list', + example: + "orgs->list();\n\nvar_dump($orgs);", + }, + csharp: { + method: 'Orgs.List', + example: + 'OrgListParams parameters = new();\n\nvar orgs = await client.Orgs.List(parameters);\n\nConsole.WriteLine(orgs);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/orgs \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "retrieve", - "endpoint": "/v0/orgs/{org}", - "httpMethod": "get", - "summary": "Retrieve an organization", - "description": "Retrieve an organization by name.", - "stainlessPath": "(resource) orgs > (method) retrieve", - "qualified": "client.orgs.retrieve", - "params": [ - "org: string;" - ], - "response": "{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }", - "markdown": "## retrieve\n\n`client.orgs.retrieve(org: string): { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n**get** `/v0/orgs/{org}`\n\nRetrieve an organization by name.\n\n### Parameters\n\n- `org: string`\n\n### Returns\n\n- `{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n - `display_name: string`\n - `enable_ai_commit_messages: boolean`\n - `object: 'org'`\n - `slug: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org);\n```", - "perLanguage": { - "typescript": { - "method": "client.orgs.retrieve", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org.display_name);" - }, - "python": { - "method": "orgs.retrieve", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\norg = client.orgs.retrieve(\n \"org\",\n)\nprint(org.display_name)" - }, - "java": { - "method": "orgs().retrieve", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.Org;\nimport com.stainless.api.models.orgs.OrgRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Org org = client.orgs().retrieve(\"org\");\n }\n}" - }, - "kotlin": { - "method": "orgs().retrieve", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.Org\nimport com.configure_me_stainless_v0.api.models.orgs.OrgRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val org: Org = client.orgs().retrieve(\"org\")\n}" - }, - "go": { - "method": "client.Orgs.Get", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\torg, err := client.Orgs.Get(context.TODO(), \"org\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", org.DisplayName)\n}\n" - }, - "ruby": { - "method": "orgs.retrieve", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\norg = stainless.orgs.retrieve(\"org\")\n\nputs(org)" - }, - "cli": { - "method": "orgs retrieve", - "example": "stl orgs retrieve \\\n --api-key 'My API Key' \\\n --org org" - }, - "php": { - "method": "orgs->retrieve", - "example": "orgs->retrieve('org');\n\nvar_dump($org);" - }, - "csharp": { - "method": "Orgs.Retrieve", - "example": "OrgRetrieveParams parameters = new() { Org = \"org\" };\n\nvar org = await client.Orgs.Retrieve(parameters);\n\nConsole.WriteLine(org);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/orgs/$ORG \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } + name: 'retrieve', + endpoint: '/v0/orgs/{org}', + httpMethod: 'get', + summary: 'Retrieve an organization', + description: 'Retrieve an organization by name.', + stainlessPath: '(resource) orgs > (method) retrieve', + qualified: 'client.orgs.retrieve', + params: ['org: string;'], + response: "{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }", + markdown: + "## retrieve\n\n`client.orgs.retrieve(org: string): { display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n**get** `/v0/orgs/{org}`\n\nRetrieve an organization by name.\n\n### Parameters\n\n- `org: string`\n\n### Returns\n\n- `{ display_name: string; enable_ai_commit_messages: boolean; object: 'org'; slug: string; }`\n\n - `display_name: string`\n - `enable_ai_commit_messages: boolean`\n - `object: 'org'`\n - `slug: string`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org);\n```", + perLanguage: { + typescript: { + method: 'client.orgs.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst org = await client.orgs.retrieve('org');\n\nconsole.log(org.display_name);", + }, + python: { + method: 'orgs.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\norg = client.orgs.retrieve(\n "org",\n)\nprint(org.display_name)', + }, + java: { + method: 'orgs().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.orgs.Org;\nimport com.stainless.api.models.orgs.OrgRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n Org org = client.orgs().retrieve("org");\n }\n}', + }, + kotlin: { + method: 'orgs().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.orgs.Org\nimport com.configure_me_stainless_v0.api.models.orgs.OrgRetrieveParams\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val org: Org = client.orgs().retrieve("org")\n}', + }, + go: { + method: 'client.Orgs.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\torg, err := client.Orgs.Get(context.TODO(), "org")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", org.DisplayName)\n}\n', + }, + ruby: { + method: 'orgs.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\norg = stainless.orgs.retrieve("org")\n\nputs(org)', + }, + cli: { + method: 'orgs retrieve', + example: "stl orgs retrieve \\\n --api-key 'My API Key' \\\n --org org", + }, + php: { + method: 'orgs->retrieve', + example: + "orgs->retrieve('org');\n\nvar_dump($org);", + }, + csharp: { + method: 'Orgs.Retrieve', + example: + 'OrgRetrieveParams parameters = new() { Org = "org" };\n\nvar org = await client.Orgs.Retrieve(parameters);\n\nConsole.WriteLine(org);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/orgs/$ORG \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, }, { - "name": "retrieve", - "endpoint": "/v0/user", - "httpMethod": "get", - "summary": "Retrieve the current user", - "description": "Retrieve the currently authenticated user's information.", - "stainlessPath": "(resource) user > (method) retrieve", - "qualified": "client.user.retrieve", - "response": "{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }", - "markdown": "## retrieve\n\n`client.user.retrieve(): { id: string; email: string; github: object; name: string; object: 'user'; }`\n\n**get** `/v0/user`\n\nRetrieve the currently authenticated user's information.\n\n### Returns\n\n- `{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }`\n\n - `id: string`\n - `email: string`\n - `github: { username: string; }`\n - `name: string`\n - `object: 'user'`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst user = await client.user.retrieve();\n\nconsole.log(user);\n```", - "perLanguage": { - "typescript": { - "method": "client.user.retrieve", - "example": "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst user = await client.user.retrieve();\n\nconsole.log(user.id);" - }, - "python": { - "method": "user.retrieve", - "example": "import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n)\nuser = client.user.retrieve()\nprint(user.id)" - }, - "java": { - "method": "user().retrieve", - "example": "package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.user.UserRetrieveParams;\nimport com.stainless.api.models.user.UserRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n UserRetrieveResponse user = client.user().retrieve();\n }\n}" - }, - "kotlin": { - "method": "user().retrieve", - "example": "package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveParams\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val user: UserRetrieveResponse = client.user().retrieve()\n}" - }, - "go": { - "method": "client.User.Get", - "example": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tuser, err := client.User.Get(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", user.ID)\n}\n" - }, - "ruby": { - "method": "user.retrieve", - "example": "require \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: \"My API Key\",\n environment: \"staging\" # defaults to \"production\"\n)\n\nuser = stainless.user.retrieve\n\nputs(user)" - }, - "cli": { - "method": "user retrieve", - "example": "stl user retrieve \\\n --api-key 'My API Key'" - }, - "php": { - "method": "user->retrieve", - "example": "user->retrieve();\n\nvar_dump($user);" - }, - "csharp": { - "method": "User.Retrieve", - "example": "UserRetrieveParams parameters = new();\n\nvar user = await client.User.Retrieve(parameters);\n\nConsole.WriteLine(user);" - }, - "http": { - "example": "curl https://api.stainless.com/v0/user \\\n -H \"Authorization: Bearer $STAINLESS_API_KEY\"" - } - } - } + name: 'retrieve', + endpoint: '/v0/user', + httpMethod: 'get', + summary: 'Retrieve the current user', + description: "Retrieve the currently authenticated user's information.", + stainlessPath: '(resource) user > (method) retrieve', + qualified: 'client.user.retrieve', + response: "{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }", + markdown: + "## retrieve\n\n`client.user.retrieve(): { id: string; email: string; github: object; name: string; object: 'user'; }`\n\n**get** `/v0/user`\n\nRetrieve the currently authenticated user's information.\n\n### Returns\n\n- `{ id: string; email: string; github: { username: string; }; name: string; object: 'user'; }`\n\n - `id: string`\n - `email: string`\n - `github: { username: string; }`\n - `name: string`\n - `object: 'user'`\n\n### Example\n\n```typescript\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless();\n\nconst user = await client.user.retrieve();\n\nconsole.log(user);\n```", + perLanguage: { + typescript: { + method: 'client.user.retrieve', + example: + "import Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n});\n\nconst user = await client.user.retrieve();\n\nconsole.log(user.id);", + }, + python: { + method: 'user.retrieve', + example: + 'import os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n)\nuser = client.user.retrieve()\nprint(user.id)', + }, + java: { + method: 'user().retrieve', + example: + 'package com.stainless.api.example;\n\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.user.UserRetrieveParams;\nimport com.stainless.api.models.user.UserRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n StainlessClient client = StainlessOkHttpClient.fromEnv();\n\n UserRetrieveResponse user = client.user().retrieve();\n }\n}', + }, + kotlin: { + method: 'user().retrieve', + example: + 'package com.configure_me_stainless_v0.api.example\n\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveParams\nimport com.configure_me_stainless_v0.api.models.user.UserRetrieveResponse\n\nfun main() {\n val client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\n val user: UserRetrieveResponse = client.user().retrieve()\n}', + }, + go: { + method: 'client.User.Get', + example: + 'package main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"),\n\t)\n\tuser, err := client.User.Get(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", user.ID)\n}\n', + }, + ruby: { + method: 'user.retrieve', + example: + 'require "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: "My API Key",\n environment: "staging" # defaults to "production"\n)\n\nuser = stainless.user.retrieve\n\nputs(user)', + }, + cli: { + method: 'user retrieve', + example: "stl user retrieve \\\n --api-key 'My API Key'", + }, + php: { + method: 'user->retrieve', + example: + "user->retrieve();\n\nvar_dump($user);", + }, + csharp: { + method: 'User.Retrieve', + example: + 'UserRetrieveParams parameters = new();\n\nvar user = await client.User.Retrieve(parameters);\n\nConsole.WriteLine(user);', + }, + http: { + example: + 'curl https://api.stainless.com/v0/user \\\n -H "Authorization: Bearer $STAINLESS_API_KEY"', + }, + }, + }, ]; const EMBEDDED_READMES: { language: string; content: string }[] = [ { - "language": "cli", - "content": "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n\n## Linking different Go SDK versions\n\nYou can link the CLI against a different version of the Stainless Go SDK\nfor development purposes using the `./scripts/link` script.\n\nTo link to a specific version from a repository (version can be a branch,\ngit tag, or commit hash):\n\n~~~bash\n./scripts/link github.com/org/repo@version\n~~~\n\nTo link to a local copy of the SDK:\n\n~~~bash\n./scripts/link ../path/to/stainless-go\n~~~\n\nIf you run the link script without any arguments, it will default to `../stainless-go`.\n" + language: 'cli', + content: + "# Stainless CLI\n\nThe official CLI for the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n\n\n## Installation\n\n### Installing with Homebrew\n\n~~~sh\nbrew install stainless-api/tap/stl\n~~~\n\n### Installing with Go\n\nTo test or install the CLI locally, you need [Go](https://go.dev/doc/install) version 1.22 or later installed.\n\n~~~sh\ngo install 'github.com/stainless-api/stainless-api-cli/cmd/stl@latest'\n~~~\n\nOnce you have run `go install`, the binary is placed in your Go bin directory:\n\n- **Default location**: `$HOME/go/bin` (or `$GOPATH/bin` if GOPATH is set)\n- **Check your path**: Run `go env GOPATH` to see the base directory\n\nIf commands aren't found after installation, add the Go bin directory to your PATH:\n\n~~~sh\n# Add to your shell profile (.zshrc, .bashrc, etc.)\nexport PATH=\"$PATH:$(go env GOPATH)/bin\"\n~~~\n\n\n\n### Running Locally\n\nAfter cloning the git repository for this project, you can use the\n`scripts/run` script to run the tool locally:\n\n~~~sh\n./scripts/run args...\n~~~\n\n## Usage\n\nThe CLI follows a resource-based command structure:\n\n~~~sh\nstl [resource] [flags...]\n~~~\n\n~~~sh\nstl builds create \\\n --api-key 'My API Key' \\\n --project stainless \\\n --revision main\n~~~\n\nFor details about specific commands, use the `--help` flag.\n\n### Environment variables\n\n| Environment variable | Required | Default value |\n| -------------------- | -------- | ------------- |\n| `STAINLESS_API_KEY` | no | `null` |\n\n### Global flags\n\n- `--api-key` (can also be set with `STAINLESS_API_KEY` env var)\n- `--project`\n- `--help` - Show command line usage\n- `--debug` - Enable debug logging (includes HTTP request/response details)\n- `--version`, `-v` - Show the CLI version\n- `--base-url` - Use a custom API backend URL\n- `--format` - Change the output format (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--format-error` - Change the output format for errors (`auto`, `explore`, `json`, `jsonl`, `pretty`, `raw`, `yaml`)\n- `--transform` - Transform the data output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n- `--transform-error` - Transform the error output using [GJSON syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md)\n\n### Passing files as arguments\n\nTo pass files to your API, you can use the `@myfile.ext` syntax:\n\n~~~bash\nstl --arg @abe.jpg\n~~~\n\nFiles can also be passed inside JSON or YAML blobs:\n\n~~~bash\nstl --arg '{image: \"@abe.jpg\"}'\n# Equivalent:\nstl < --username '\\@abe'\n~~~\n\n#### Explicit encoding\n\nFor JSON endpoints, the CLI tool does filetype sniffing to determine whether the\nfile contents should be sent as a string literal (for plain text files) or as a\nbase64-encoded string literal (for binary files). If you need to explicitly send\nthe file as either plain text or base64-encoded data, you can use\n`@file://myfile.txt` (for string encoding) or `@data://myfile.dat` (for\nbase64-encoding). Note that absolute paths will begin with `@file://` or\n`@data://`, followed by a third `/` (for example, `@file:///tmp/file.txt`).\n\n~~~bash\nstl --arg @data://file.txt\n~~~\n\n## Linking different Go SDK versions\n\nYou can link the CLI against a different version of the Stainless Go SDK\nfor development purposes using the `./scripts/link` script.\n\nTo link to a specific version from a repository (version can be a branch,\ngit tag, or commit hash):\n\n~~~bash\n./scripts/link github.com/org/repo@version\n~~~\n\nTo link to a local copy of the SDK:\n\n~~~bash\n./scripts/link ../path/to/stainless-go\n~~~\n\nIf you run the link script without any arguments, it will default to `../stainless-go`.\n", }, { - "language": "csharp", - "content": "# Stainless C# API Library\n\nThe Stainless C# SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in C#.\n\n## Installation\n\n```bash\ngit clone git@github.com:stainless-sdks/stainless-v0-csharp.git\ndotnet add reference stainless-v0-csharp/src/StainlessV0\n```\n\n## Requirements\n\nThis library requires .NET Standard 2.0 or later.\n\n## Usage\n\nSee the [`examples`](examples) directory for complete and runnable examples.\n\n```csharp\nStainlessClient client = new();\n\nBuildCreateParams parameters = new()\n{\n Project = \"stainless\",\n Revision = \"main\",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);\n```" + language: 'csharp', + content: + '# Stainless C# API Library\n\nThe Stainless C# SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in C#.\n\n## Installation\n\n```bash\ngit clone git@github.com:stainless-sdks/stainless-v0-csharp.git\ndotnet add reference stainless-v0-csharp/src/StainlessV0\n```\n\n## Requirements\n\nThis library requires .NET Standard 2.0 or later.\n\n## Usage\n\nSee the [`examples`](examples) directory for complete and runnable examples.\n\n```csharp\nStainlessClient client = new();\n\nBuildCreateParams parameters = new()\n{\n Project = "stainless",\n Revision = "main",\n};\n\nvar build = await client.Builds.Create(parameters);\n\nConsole.WriteLine(build);\n```', }, { - "language": "go", - "content": "# Stainless Go API Library\n\n\"Go\n\nThe Stainless Go library provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli)\nfrom applications written in Go.\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n\n\n```go\nimport (\n\t\"github.com/stainless-api/stainless-api-go\" // imported as SDK_PackageName\n)\n```\n\n\n\nOr to pin the version:\n\n\n\n```sh\ngo get -u 'github.com/stainless-api/stainless-api-go@v0.0.1'\n```\n\n\n\n## Requirements\n\nThis library requires Go 1.22+.\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/stainless-api/stainless-api-go\"\n\t\"github.com/stainless-api/stainless-api-go/option\"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"), // defaults to os.LookupEnv(\"STAINLESS_API_KEY\")\n\t\toption.WithEnvironmentStaging(), // defaults to option.WithEnvironmentProduction()\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String(\"stainless\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"main\"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", build.ID)\n}\n\n```\n\n### Request fields\n\nAll request parameters are wrapped in a generic `Field` type,\nwhich we use to distinguish zero values from null or omitted fields.\n\nThis prevents accidentally sending a zero value if you forget a required parameter,\nand enables explicitly sending `null`, `false`, `''`, or `0` on optional parameters.\nAny field not specified is not sent.\n\nTo construct fields with values, use the helpers `String()`, `Int()`, `Float()`, or most commonly, the generic `F[T]()`.\nTo send a null, use `Null[T]()`, and to send a nonconforming value, use `Raw[T](any)`. For example:\n\n```go\nparams := FooParams{\n\tName: SDK_PackageName.F(\"hello\"),\n\n\t// Explicitly send `\"description\": null`\n\tDescription: SDK_PackageName.Null[string](),\n\n\tPoint: SDK_PackageName.F(SDK_PackageName.Point{\n\t\tX: SDK_PackageName.Int(0),\n\t\tY: SDK_PackageName.Int(1),\n\n\t\t// In cases where the API specifies a given type,\n\t\t// but you want to send something else, use `Raw`:\n\t\tZ: SDK_PackageName.Raw[int64](0.01), // sends a float\n\t}),\n}\n```\n\n### Response objects\n\nAll fields in response structs are value types (not pointers or wrappers).\n\nIf a given field is `null`, not present, or invalid, the corresponding field\nwill simply be its zero value.\n\nAll response structs also include a special `JSON` field, containing more detailed\ninformation about each property, which you can use like so:\n\n```go\nif res.Name == \"\" {\n\t// true if `\"name\"` is either not present or explicitly null\n\tres.JSON.Name.IsNull()\n\n\t// true if the `\"name\"` key was not present in the response JSON at all\n\tres.JSON.Name.IsMissing()\n\n\t// When the API returns data that cannot be coerced to the expected type:\n\tif res.JSON.Name.IsInvalid() {\n\t\traw := res.JSON.Name.Raw()\n\n\t\tlegacyName := struct{\n\t\t\tFirst string `json:\"first\"`\n\t\t\tLast string `json:\"last\"`\n\t\t}{}\n\t\tjson.Unmarshal([]byte(raw), &legacyName)\n\t\tname = legacyName.First + \" \" + legacyName.Last\n\t}\n}\n```\n\nThese `.JSON` structs also include an `Extras` map containing\nany properties in the json response that were not specified\nin the struct. This can be useful for API features not yet\npresent in the SDK.\n\n```go\nbody := res.JSON.ExtraFields[\"my_unexpected_field\"].Raw()\n```\n\n### RequestOptions\n\nThis library uses the functional options pattern. Functions defined in the\n`SDK_PackageOptionName` package return a `RequestOption`, which is a closure that mutates a\n`RequestConfig`. These options can be supplied to the client or at individual\nrequests. For example:\n\n```go\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\t// Adds a header to every request made by the client\n\tSDK_PackageOptionName.WithHeader(\"X-Some-Header\", \"custom_header_info\"),\n)\n\nclient.Builds.New(context.TODO(), ...,\n\t// Override the header\n\tSDK_PackageOptionName.WithHeader(\"X-Some-Header\", \"some_other_custom_header_info\"),\n\t// Add an undocumented field to the request body, using sjson syntax\n\tSDK_PackageOptionName.WithJSONSet(\"some.json.path\", map[string]string{\"my\": \"object\"}),\n)\n```\n\nSee the [full list of request options](https://pkg.go.dev/github.com/stainless-api/stainless-api-go/SDK_PackageOptionName).\n\n### Pagination\n\nThis library provides some conveniences for working with paginated list endpoints.\n\nYou can use `.ListAutoPaging()` methods to iterate through items across all pages:\n\n```go\niter := client.Builds.ListAutoPaging(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String(\"stainless\"),\n})\n// Automatically fetches more pages as needed.\nfor iter.Next() {\n\tbuild := iter.Current()\n\tfmt.Printf(\"%+v\\n\", build)\n}\nif err := iter.Err(); err != nil {\n\tpanic(err.Error())\n}\n```\n\nOr you can use simple `.List()` methods to fetch a single page and receive a standard response object\nwith additional helper methods like `.GetNextPage()`, e.g.:\n\n```go\npage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String(\"stainless\"),\n})\nfor page != nil {\n\tfor _, build := range page.Data {\n\t\tfmt.Printf(\"%+v\\n\", build)\n\t}\n\tpage, err = page.GetNextPage()\n}\nif err != nil {\n\tpanic(err.Error())\n}\n```\n\n### Errors\n\nWhen the API returns a non-success status code, we return an error with type\n`*SDK_PackageName.Error`. This contains the `StatusCode`, `*http.Request`, and\n`*http.Response` values of the request, as well as the JSON of the error body\n(much like other response objects in the SDK).\n\nTo handle errors, we recommend that you use the `errors.As` pattern:\n\n```go\n_, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\tProject: stainless.String(\"stainless\"),\n\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\tOfString: stainless.String(\"main\"),\n\t},\n})\nif err != nil {\n\tvar apierr *stainless.Error\n\tif errors.As(err, &apierr) {\n\t\tprintln(string(apierr.DumpRequest(true))) // Prints the serialized HTTP request\n\t\tprintln(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response\n\t}\n\tpanic(err.Error()) // GET \"/v0/builds\": 400 Bad Request { ... }\n}\n```\n\nWhen other errors occur, they are returned unwrapped; for example,\nif HTTP transport fails, you might receive `*url.Error` wrapping `*net.OpError`.\n\n### Timeouts\n\nRequests do not time out by default; use context to configure a timeout for a request lifecycle.\n\nNote that if a request is [retried](#retries), the context timeout does not start over.\nTo set a per-retry timeout, use `SDK_PackageOptionName.WithRequestTimeout()`.\n\n```go\n// This sets the timeout for the request, including all the retries.\nctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)\ndefer cancel()\nclient.Builds.New(\n\tctx,\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String(\"stainless\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"main\"),\n\t\t},\n\t},\n\t// This sets the per-retry timeout\n\toption.WithRequestTimeout(20*time.Second),\n)\n```\n\n### File uploads\n\nRequest parameters that correspond to file uploads in multipart requests are typed as\n`param.Field[io.Reader]`. The contents of the `io.Reader` will by default be sent as a multipart form\npart with the file name of \"anonymous_file\" and content-type of \"application/octet-stream\".\n\nThe file name and content-type can be customized by implementing `Name() string` or `ContentType()\nstring` on the run-time type of `io.Reader`. Note that `os.File` implements `Name() string`, so a\nfile returned by `os.Open` will be sent with the file name on disk.\n\nWe also provide a helper `SDK_PackageName.FileParam(reader io.Reader, filename string, contentType string)`\nwhich can be used to wrap any `io.Reader` with the appropriate file name and content type.\n\n\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nWe retry by default all connection errors, 408 Request Timeout, 409 Conflict, 429 Rate Limit,\nand >=500 Internal errors.\n\nYou can use the `WithMaxRetries` option to configure or disable this:\n\n```go\n// Configure the default for all requests:\nclient := stainless.NewClient(\n\toption.WithMaxRetries(0), // default is 2\n)\n\n// Override per-request:\nclient.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String(\"stainless\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"main\"),\n\t\t},\n\t},\n\toption.WithMaxRetries(5),\n)\n```\n\n\n### Accessing raw response data (e.g. response headers)\n\nYou can access the raw HTTP response data by using the `option.WithResponseInto()` request option. This is useful when\nyou need to examine response headers, status codes, or other details.\n\n```go\n// Create a variable to store the HTTP response\nvar response *http.Response\nbuild, err := client.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String(\"stainless\"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String(\"main\"),\n\t\t},\n\t},\n\toption.WithResponseInto(&response),\n)\nif err != nil {\n\t// handle error\n}\nfmt.Printf(\"%+v\\n\", build)\n\nfmt.Printf(\"Status Code: %d\\n\", response.StatusCode)\nfmt.Printf(\"Headers: %+#v\\n\", response.Header)\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.Get`, `client.Post`, and other HTTP verbs.\n`RequestOptions` on the client, such as retries, will be respected when making these requests.\n\n```go\nvar (\n // params can be an io.Reader, a []byte, an encoding/json serializable object,\n // or a \"…Params\" struct defined in this library.\n params map[string]interface{}\n\n // result can be an []byte, *http.Response, a encoding/json deserializable object,\n // or a model defined in this library.\n result *http.Response\n)\nerr := client.Post(context.Background(), \"/unspecified\", params, &result)\nif err != nil {\n …\n}\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use either the `SDK_PackageOptionName.WithQuerySet()`\nor the `SDK_PackageOptionName.WithJSONSet()` methods.\n\n```go\nparams := FooNewParams{\n ID: SDK_PackageName.F(\"id_xxxx\"),\n Data: SDK_PackageName.F(FooNewParamsData{\n FirstName: SDK_PackageName.F(\"John\"),\n }),\n}\nclient.Foo.New(context.Background(), params, SDK_PackageOptionName.WithJSONSet(\"data.last_name\", \"Doe\"))\n```\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may either access the raw JSON of the response as a string\nwith `result.JSON.RawJSON()`, or get the raw JSON of a particular field on the result with\n`result.JSON.Foo.Raw()`.\n\nAny fields that are not present on the response struct will be saved and can be accessed by `result.JSON.ExtraFields()` which returns the extra fields as a `map[string]Field`.\n\n### Middleware\n\nWe provide `SDK_PackageOptionName.WithMiddleware` which applies the given\nmiddleware to requests.\n\n```go\nfunc Logger(req *http.Request, next SDK_PackageOptionName.MiddlewareNext) (res *http.Response, err error) {\n\t// Before the request\n\tstart := time.Now()\n\tLogReq(req)\n\n\t// Forward the request to the next handler\n\tres, err = next(req)\n\n\t// Handle stuff after the request\n\tend := time.Now()\n\tLogRes(res, err, start - end)\n\n return res, err\n}\n\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\tSDK_PackageOptionName.WithMiddleware(Logger),\n)\n```\n\nWhen multiple middlewares are provided as variadic arguments, the middlewares\nare applied left to right. If `SDK_PackageOptionName.WithMiddleware` is given\nmultiple times, for example first in the client then the method, the\nmiddleware in the client will run first and the middleware given in the method\nwill run next.\n\nYou may also replace the default `http.Client` with\n`SDK_PackageOptionName.WithHTTPClient(client)`. Only one http client is\naccepted (this overwrites any previous client) and receives requests after any\nmiddleware has been applied.\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-go/issues) with questions, bugs, or suggestions.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n" + language: 'go', + content: + '# Stainless Go API Library\n\nGo Reference\n\nThe Stainless Go library provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli)\nfrom applications written in Go.\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n\n\n```go\nimport (\n\t"github.com/stainless-api/stainless-api-go" // imported as SDK_PackageName\n)\n```\n\n\n\nOr to pin the version:\n\n\n\n```sh\ngo get -u \'github.com/stainless-api/stainless-api-go@v0.0.1\'\n```\n\n\n\n## Requirements\n\nThis library requires Go 1.22+.\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```go\npackage main\n\nimport (\n\t"context"\n\t"fmt"\n\n\t"github.com/stainless-api/stainless-api-go"\n\t"github.com/stainless-api/stainless-api-go/option"\n)\n\nfunc main() {\n\tclient := stainless.NewClient(\n\t\toption.WithAPIKey("My API Key"), // defaults to os.LookupEnv("STAINLESS_API_KEY")\n\t\toption.WithEnvironmentStaging(), // defaults to option.WithEnvironmentProduction()\n\t)\n\tbuild, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf("%+v\\n", build.ID)\n}\n\n```\n\n### Request fields\n\nAll request parameters are wrapped in a generic `Field` type,\nwhich we use to distinguish zero values from null or omitted fields.\n\nThis prevents accidentally sending a zero value if you forget a required parameter,\nand enables explicitly sending `null`, `false`, `\'\'`, or `0` on optional parameters.\nAny field not specified is not sent.\n\nTo construct fields with values, use the helpers `String()`, `Int()`, `Float()`, or most commonly, the generic `F[T]()`.\nTo send a null, use `Null[T]()`, and to send a nonconforming value, use `Raw[T](any)`. For example:\n\n```go\nparams := FooParams{\n\tName: SDK_PackageName.F("hello"),\n\n\t// Explicitly send `"description": null`\n\tDescription: SDK_PackageName.Null[string](),\n\n\tPoint: SDK_PackageName.F(SDK_PackageName.Point{\n\t\tX: SDK_PackageName.Int(0),\n\t\tY: SDK_PackageName.Int(1),\n\n\t\t// In cases where the API specifies a given type,\n\t\t// but you want to send something else, use `Raw`:\n\t\tZ: SDK_PackageName.Raw[int64](0.01), // sends a float\n\t}),\n}\n```\n\n### Response objects\n\nAll fields in response structs are value types (not pointers or wrappers).\n\nIf a given field is `null`, not present, or invalid, the corresponding field\nwill simply be its zero value.\n\nAll response structs also include a special `JSON` field, containing more detailed\ninformation about each property, which you can use like so:\n\n```go\nif res.Name == "" {\n\t// true if `"name"` is either not present or explicitly null\n\tres.JSON.Name.IsNull()\n\n\t// true if the `"name"` key was not present in the response JSON at all\n\tres.JSON.Name.IsMissing()\n\n\t// When the API returns data that cannot be coerced to the expected type:\n\tif res.JSON.Name.IsInvalid() {\n\t\traw := res.JSON.Name.Raw()\n\n\t\tlegacyName := struct{\n\t\t\tFirst string `json:"first"`\n\t\t\tLast string `json:"last"`\n\t\t}{}\n\t\tjson.Unmarshal([]byte(raw), &legacyName)\n\t\tname = legacyName.First + " " + legacyName.Last\n\t}\n}\n```\n\nThese `.JSON` structs also include an `Extras` map containing\nany properties in the json response that were not specified\nin the struct. This can be useful for API features not yet\npresent in the SDK.\n\n```go\nbody := res.JSON.ExtraFields["my_unexpected_field"].Raw()\n```\n\n### RequestOptions\n\nThis library uses the functional options pattern. Functions defined in the\n`SDK_PackageOptionName` package return a `RequestOption`, which is a closure that mutates a\n`RequestConfig`. These options can be supplied to the client or at individual\nrequests. For example:\n\n```go\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\t// Adds a header to every request made by the client\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "custom_header_info"),\n)\n\nclient.Builds.New(context.TODO(), ...,\n\t// Override the header\n\tSDK_PackageOptionName.WithHeader("X-Some-Header", "some_other_custom_header_info"),\n\t// Add an undocumented field to the request body, using sjson syntax\n\tSDK_PackageOptionName.WithJSONSet("some.json.path", map[string]string{"my": "object"}),\n)\n```\n\nSee the [full list of request options](https://pkg.go.dev/github.com/stainless-api/stainless-api-go/SDK_PackageOptionName).\n\n### Pagination\n\nThis library provides some conveniences for working with paginated list endpoints.\n\nYou can use `.ListAutoPaging()` methods to iterate through items across all pages:\n\n```go\niter := client.Builds.ListAutoPaging(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\n// Automatically fetches more pages as needed.\nfor iter.Next() {\n\tbuild := iter.Current()\n\tfmt.Printf("%+v\\n", build)\n}\nif err := iter.Err(); err != nil {\n\tpanic(err.Error())\n}\n```\n\nOr you can use simple `.List()` methods to fetch a single page and receive a standard response object\nwith additional helper methods like `.GetNextPage()`, e.g.:\n\n```go\npage, err := client.Builds.List(context.TODO(), stainless.BuildListParams{\n\tProject: stainless.String("stainless"),\n})\nfor page != nil {\n\tfor _, build := range page.Data {\n\t\tfmt.Printf("%+v\\n", build)\n\t}\n\tpage, err = page.GetNextPage()\n}\nif err != nil {\n\tpanic(err.Error())\n}\n```\n\n### Errors\n\nWhen the API returns a non-success status code, we return an error with type\n`*SDK_PackageName.Error`. This contains the `StatusCode`, `*http.Request`, and\n`*http.Response` values of the request, as well as the JSON of the error body\n(much like other response objects in the SDK).\n\nTo handle errors, we recommend that you use the `errors.As` pattern:\n\n```go\n_, err := client.Builds.New(context.TODO(), stainless.BuildNewParams{\n\tProject: stainless.String("stainless"),\n\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\tOfString: stainless.String("main"),\n\t},\n})\nif err != nil {\n\tvar apierr *stainless.Error\n\tif errors.As(err, &apierr) {\n\t\tprintln(string(apierr.DumpRequest(true))) // Prints the serialized HTTP request\n\t\tprintln(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response\n\t}\n\tpanic(err.Error()) // GET "/v0/builds": 400 Bad Request { ... }\n}\n```\n\nWhen other errors occur, they are returned unwrapped; for example,\nif HTTP transport fails, you might receive `*url.Error` wrapping `*net.OpError`.\n\n### Timeouts\n\nRequests do not time out by default; use context to configure a timeout for a request lifecycle.\n\nNote that if a request is [retried](#retries), the context timeout does not start over.\nTo set a per-retry timeout, use `SDK_PackageOptionName.WithRequestTimeout()`.\n\n```go\n// This sets the timeout for the request, including all the retries.\nctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)\ndefer cancel()\nclient.Builds.New(\n\tctx,\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\t// This sets the per-retry timeout\n\toption.WithRequestTimeout(20*time.Second),\n)\n```\n\n### File uploads\n\nRequest parameters that correspond to file uploads in multipart requests are typed as\n`param.Field[io.Reader]`. The contents of the `io.Reader` will by default be sent as a multipart form\npart with the file name of "anonymous_file" and content-type of "application/octet-stream".\n\nThe file name and content-type can be customized by implementing `Name() string` or `ContentType()\nstring` on the run-time type of `io.Reader`. Note that `os.File` implements `Name() string`, so a\nfile returned by `os.Open` will be sent with the file name on disk.\n\nWe also provide a helper `SDK_PackageName.FileParam(reader io.Reader, filename string, contentType string)`\nwhich can be used to wrap any `io.Reader` with the appropriate file name and content type.\n\n\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nWe retry by default all connection errors, 408 Request Timeout, 409 Conflict, 429 Rate Limit,\nand >=500 Internal errors.\n\nYou can use the `WithMaxRetries` option to configure or disable this:\n\n```go\n// Configure the default for all requests:\nclient := stainless.NewClient(\n\toption.WithMaxRetries(0), // default is 2\n)\n\n// Override per-request:\nclient.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithMaxRetries(5),\n)\n```\n\n\n### Accessing raw response data (e.g. response headers)\n\nYou can access the raw HTTP response data by using the `option.WithResponseInto()` request option. This is useful when\nyou need to examine response headers, status codes, or other details.\n\n```go\n// Create a variable to store the HTTP response\nvar response *http.Response\nbuild, err := client.Builds.New(\n\tcontext.TODO(),\n\tstainless.BuildNewParams{\n\t\tProject: stainless.String("stainless"),\n\t\tRevision: stainless.BuildNewParamsRevisionUnion{\n\t\t\tOfString: stainless.String("main"),\n\t\t},\n\t},\n\toption.WithResponseInto(&response),\n)\nif err != nil {\n\t// handle error\n}\nfmt.Printf("%+v\\n", build)\n\nfmt.Printf("Status Code: %d\\n", response.StatusCode)\nfmt.Printf("Headers: %+#v\\n", response.Header)\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.Get`, `client.Post`, and other HTTP verbs.\n`RequestOptions` on the client, such as retries, will be respected when making these requests.\n\n```go\nvar (\n // params can be an io.Reader, a []byte, an encoding/json serializable object,\n // or a "…Params" struct defined in this library.\n params map[string]interface{}\n\n // result can be an []byte, *http.Response, a encoding/json deserializable object,\n // or a model defined in this library.\n result *http.Response\n)\nerr := client.Post(context.Background(), "/unspecified", params, &result)\nif err != nil {\n …\n}\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use either the `SDK_PackageOptionName.WithQuerySet()`\nor the `SDK_PackageOptionName.WithJSONSet()` methods.\n\n```go\nparams := FooNewParams{\n ID: SDK_PackageName.F("id_xxxx"),\n Data: SDK_PackageName.F(FooNewParamsData{\n FirstName: SDK_PackageName.F("John"),\n }),\n}\nclient.Foo.New(context.Background(), params, SDK_PackageOptionName.WithJSONSet("data.last_name", "Doe"))\n```\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may either access the raw JSON of the response as a string\nwith `result.JSON.RawJSON()`, or get the raw JSON of a particular field on the result with\n`result.JSON.Foo.Raw()`.\n\nAny fields that are not present on the response struct will be saved and can be accessed by `result.JSON.ExtraFields()` which returns the extra fields as a `map[string]Field`.\n\n### Middleware\n\nWe provide `SDK_PackageOptionName.WithMiddleware` which applies the given\nmiddleware to requests.\n\n```go\nfunc Logger(req *http.Request, next SDK_PackageOptionName.MiddlewareNext) (res *http.Response, err error) {\n\t// Before the request\n\tstart := time.Now()\n\tLogReq(req)\n\n\t// Forward the request to the next handler\n\tres, err = next(req)\n\n\t// Handle stuff after the request\n\tend := time.Now()\n\tLogRes(res, err, start - end)\n\n return res, err\n}\n\nclient := SDK_PackageName.SDK_ClientInitializerName(\n\tSDK_PackageOptionName.WithMiddleware(Logger),\n)\n```\n\nWhen multiple middlewares are provided as variadic arguments, the middlewares\nare applied left to right. If `SDK_PackageOptionName.WithMiddleware` is given\nmultiple times, for example first in the client then the method, the\nmiddleware in the client will run first and the middleware given in the method\nwill run next.\n\nYou may also replace the default `http.Client` with\n`SDK_PackageOptionName.WithHTTPClient(client)`. Only one http client is\naccepted (this overwrites any previous client) and receives requests after any\nmiddleware has been applied.\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-go/issues) with questions, bugs, or suggestions.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', }, { - "language": "java", - "content": "# Stainless Java API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.stainless.api/stainless-java)](https://central.sonatype.com/artifact/com.stainless.api/stainless-java/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.stainless.api/stainless-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1)\n\n\nThe Stainless Java SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Java.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation(\"com.stainless.api:stainless-java:0.0.1\")\n~~~\n\n### Maven\n\n~~~xml\n\n com.stainless.api\n stainless-java\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build();\nBuild build = client.builds().create(params);\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n```\n\nOr manually:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .apiKey(\"My API Key\")\n .build();\n```\n\nOr using a combination of the two approaches:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project(\"example-project\")\n .build();\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `\"https://api.stainless.com\"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don't create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```java\nimport com.stainless.api.client.StainlessClient;\n\nStainlessClient clientWithOptions = client.withOptions(optionsBuilder -> {\n optionsBuilder.baseUrl(\"https://example.com\");\n optionsBuilder.maxRetries(42);\n});\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Java class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build();\nCompletableFuture build = client.async().builds().create(params);\n```\n\nOr create an asynchronous client from the beginning:\n\n```java\nimport com.stainless.api.client.StainlessClientAsync;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClientAsync;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClientAsync client = StainlessOkHttpClientAsync.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build();\nCompletableFuture build = client.builds().create(params);\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods return `CompletableFuture`s.\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Java classes. However, these methods don't provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```java\nimport com.stainless.api.core.http.Headers;\nimport com.stainless.api.core.http.HttpResponseFor;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build();\nHttpResponseFor build = client.builds().withRawResponse().create(params);\n\nint statusCode = build.statusCode();\nHeaders headers = build.headers();\n```\n\nYou can still deserialize the response into an instance of a Java class if needed:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild parsedBuild = build.parse();\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that's supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns an [`Iterable`](https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html)\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\n\n// Process as an Iterable\nfor (Build build : page.autoPager()) {\n System.out.println(build);\n}\n\n// Process as a Stream\npage.autoPager()\n .stream()\n .limit(50)\n .forEach(build -> System.out.println(build));\n```\n\nWhen using the asynchronous client, the method returns an [`AsyncStreamResponse`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/AsyncStreamResponse.kt):\n\n```java\nimport com.stainless.api.core.http.AsyncStreamResponse;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPageAsync;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\n\nCompletableFuture pageFuture = client.async().builds().list();\n\npageFuture.thenRun(page -> page.autoPager().subscribe(build -> {\n System.out.println(build);\n}));\n\n// If you need to handle errors or completion of the stream\npageFuture.thenRun(page -> page.autoPager().subscribe(new AsyncStreamResponse.Handler<>() {\n @Override\n public void onNext(Build build) {\n System.out.println(build);\n }\n\n @Override\n public void onComplete(Optional error) {\n if (error.isPresent()) {\n System.out.println(\"Something went wrong!\");\n throw new RuntimeException(error.get());\n } else {\n System.out.println(\"No more!\");\n }\n }\n}));\n\n// Or use futures\npageFuture.thenRun(page -> page.autoPager()\n .subscribe(build -> {\n System.out.println(build);\n })\n .onCompleteFuture()\n .whenComplete((unused, error) -> {\n if (error != null) {\n System.out.println(\"Something went wrong!\");\n throw new RuntimeException(error);\n } else {\n System.out.println(\"No more!\");\n }\n }));\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\nwhile (true) {\n for (Build build : page.items()) {\n System.out.println(build);\n }\n\n if (!page.hasNextPage()) {\n break;\n }\n\n page = page.nextPage();\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-java-core` is published with a [configuration file](stainless-java-core/src/main/resources/META-INF/proguard/stainless-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you're _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don't work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build();\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build();\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.net.InetSocketAddress;\nimport java.net.Proxy;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(new Proxy(\n Proxy.Type.HTTP, new InetSocketAddress(\n \"https://example.com\", 8080\n )\n ))\n .build();\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build();\n```\n\nIf both options are unset, OkHttp's default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build();\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build();\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-java-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-java-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-java`\n - Depends on and exposes the APIs of both `stainless-java-core` and `stainless-java-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK's default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Copy `stainless-java-client-okhttp`'s [`OkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Write a class that implements the [`HttpClient`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .putAdditionalHeader(\"Secret-Header\", \"42\")\n .putAdditionalQueryParam(\"secret_query_param\", \"42\")\n .putAdditionalBodyProperty(\"secretProperty\", JsonValue.from(\"42\"))\n .build();\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty(\"secretProperty\", JsonValue.from(\"42\"))\n .build())\n .build();\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) object to its setter:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision(\"main\")\n .build();\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) is using its `from(...)` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.List;\nimport java.util.Map;\n\n// Create primitive JSON values\nJsonValue nullValue = JsonValue.from(null);\nJsonValue booleanValue = JsonValue.from(true);\nJsonValue numberValue = JsonValue.from(42);\nJsonValue stringValue = JsonValue.from(\"Hello World!\");\n\n// Create a JSON array value equivalent to `[\"Hello\", \"World\"]`\nJsonValue arrayValue = JsonValue.from(List.of(\n \"Hello\", \"World\"\n));\n\n// Create a JSON object value equivalent to `{ \"a\": 1, \"b\": 2 }`\nJsonValue objectValue = JsonValue.from(Map.of(\n \"a\", 1,\n \"b\", 2\n));\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// \"a\": [1, 2],\n// \"b\": [3, 4]\n// }\nJsonValue complexValue = JsonValue.from(Map.of(\n \"a\", List.of(\n 1, 2\n ),\n \"b\", List.of(\n 3, 4\n )\n));\n```\n\nNormally a `Builder` class's `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt):\n\n```java\nimport com.stainless.api.core.JsonMissing;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .revision(\"string\")\n .project(JsonMissing.of())\n .build();\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.Map;\n\nMap additionalProperties = client.builds().create(params)._additionalProperties();\nJsonValue secretPropertyValue = additionalProperties.get(\"secretProperty\");\n\nString result = secretPropertyValue.accept(new JsonValue.Visitor<>() {\n @Override\n public String visitNull() {\n return \"It's null!\";\n }\n\n @Override\n public String visitBoolean(boolean value) {\n return \"It's a boolean!\";\n }\n\n @Override\n public String visitNumber(Number value) {\n return \"It's a number!\";\n }\n\n // Other methods include `visitMissing`, `visitString`, `visitArray`, and `visitObject`\n // The default implementation of each unimplemented method delegates to `visitDefault`, which throws by default, but can also be overridden\n});\n```\n\nTo access a property's raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```java\nimport com.stainless.api.core.JsonField;\nimport java.util.Optional;\n\nJsonField project = client.builds().create(params)._project();\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n Optional jsonString = project.asString();\n\n // Try to deserialize into a custom type\n MyClass myObject = project.asUnknown().orElseThrow().convert(MyClass.class);\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn't match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(params).validate();\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build();\n```\n\n## FAQ\n\n### Why don't you use plain `enum` classes?\n\nJava `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don't you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don't want to introduce a breaking change every time we add a field to a class.\n\n### Why don't you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don't play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-java/issues) with questions, bugs, or suggestions.\n" + language: 'java', + content: + '# Stainless Java API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.stainless.api/stainless-java)](https://central.sonatype.com/artifact/com.stainless.api/stainless-java/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.stainless.api/stainless-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1)\n\n\nThe Stainless Java SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Java.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.stainless.api:stainless-java:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.stainless.api\n stainless-java\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nBuild build = client.builds().create(params);\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n```\n\nOr manually:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build();\n```\n\nOr using a combination of the two approaches:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build();\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```java\nimport com.stainless.api.client.StainlessClient;\n\nStainlessClient clientWithOptions = client.withOptions(optionsBuilder -> {\n optionsBuilder.baseUrl("https://example.com");\n optionsBuilder.maxRetries(42);\n});\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Java class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.async().builds().create(params);\n```\n\nOr create an asynchronous client from the beginning:\n\n```java\nimport com.stainless.api.client.StainlessClientAsync;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClientAsync;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClientAsync client = StainlessOkHttpClientAsync.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.builds().create(params);\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods return `CompletableFuture`s.\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Java classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```java\nimport com.stainless.api.core.http.Headers;\nimport com.stainless.api.core.http.HttpResponseFor;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nHttpResponseFor build = client.builds().withRawResponse().create(params);\n\nint statusCode = build.statusCode();\nHeaders headers = build.headers();\n```\n\nYou can still deserialize the response into an instance of a Java class if needed:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild parsedBuild = build.parse();\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns an [`Iterable`](https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html)\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\n\n// Process as an Iterable\nfor (Build build : page.autoPager()) {\n System.out.println(build);\n}\n\n// Process as a Stream\npage.autoPager()\n .stream()\n .limit(50)\n .forEach(build -> System.out.println(build));\n```\n\nWhen using the asynchronous client, the method returns an [`AsyncStreamResponse`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/AsyncStreamResponse.kt):\n\n```java\nimport com.stainless.api.core.http.AsyncStreamResponse;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPageAsync;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\n\nCompletableFuture pageFuture = client.async().builds().list();\n\npageFuture.thenRun(page -> page.autoPager().subscribe(build -> {\n System.out.println(build);\n}));\n\n// If you need to handle errors or completion of the stream\npageFuture.thenRun(page -> page.autoPager().subscribe(new AsyncStreamResponse.Handler<>() {\n @Override\n public void onNext(Build build) {\n System.out.println(build);\n }\n\n @Override\n public void onComplete(Optional error) {\n if (error.isPresent()) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error.get());\n } else {\n System.out.println("No more!");\n }\n }\n}));\n\n// Or use futures\npageFuture.thenRun(page -> page.autoPager()\n .subscribe(build -> {\n System.out.println(build);\n })\n .onCompleteFuture()\n .whenComplete((unused, error) -> {\n if (error != null) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error);\n } else {\n System.out.println("No more!");\n }\n }));\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\nwhile (true) {\n for (Build build : page.items()) {\n System.out.println(build);\n }\n\n if (!page.hasNextPage()) {\n break;\n }\n\n page = page.nextPage();\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-java-core` is published with a [configuration file](stainless-java-core/src/main/resources/META-INF/proguard/stainless-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build();\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build();\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.net.InetSocketAddress;\nimport java.net.Proxy;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(new Proxy(\n Proxy.Type.HTTP, new InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build();\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build();\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build();\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build();\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-java-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-java-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-java`\n - Depends on and exposes the APIs of both `stainless-java-core` and `stainless-java-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Copy `stainless-java-client-okhttp`\'s [`OkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Write a class that implements the [`HttpClient`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build();\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build();\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) object to its setter:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build();\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) is using its `from(...)` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.List;\nimport java.util.Map;\n\n// Create primitive JSON values\nJsonValue nullValue = JsonValue.from(null);\nJsonValue booleanValue = JsonValue.from(true);\nJsonValue numberValue = JsonValue.from(42);\nJsonValue stringValue = JsonValue.from("Hello World!");\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nJsonValue arrayValue = JsonValue.from(List.of(\n "Hello", "World"\n));\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nJsonValue objectValue = JsonValue.from(Map.of(\n "a", 1,\n "b", 2\n));\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nJsonValue complexValue = JsonValue.from(Map.of(\n "a", List.of(\n 1, 2\n ),\n "b", List.of(\n 3, 4\n )\n));\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt):\n\n```java\nimport com.stainless.api.core.JsonMissing;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build();\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.Map;\n\nMap additionalProperties = client.builds().create(params)._additionalProperties();\nJsonValue secretPropertyValue = additionalProperties.get("secretProperty");\n\nString result = secretPropertyValue.accept(new JsonValue.Visitor<>() {\n @Override\n public String visitNull() {\n return "It\'s null!";\n }\n\n @Override\n public String visitBoolean(boolean value) {\n return "It\'s a boolean!";\n }\n\n @Override\n public String visitNumber(Number value) {\n return "It\'s a number!";\n }\n\n // Other methods include `visitMissing`, `visitString`, `visitArray`, and `visitObject`\n // The default implementation of each unimplemented method delegates to `visitDefault`, which throws by default, but can also be overridden\n});\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```java\nimport com.stainless.api.core.JsonField;\nimport java.util.Optional;\n\nJsonField project = client.builds().create(params)._project();\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n Optional jsonString = project.asString();\n\n // Try to deserialize into a custom type\n MyClass myObject = project.asUnknown().orElseThrow().convert(MyClass.class);\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(params).validate();\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build();\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nJava `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-java/issues) with questions, bugs, or suggestions.\n', }, { - "language": "kotlin", - "content": "# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation(\"com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1\")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey(\"My API Key\")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project(\"example-project\")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `\"https://api.stainless.com\"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don't create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl(\"https://example.com\")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don't provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(\"stainless\")\n .revision(\"main\")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that's supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you're _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don't work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n \"https://example.com\", 8080\n )\n ))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp's default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK's default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader(\"Secret-Header\", \"42\")\n .putAdditionalQueryParam(\"secret_query_param\", \"42\")\n .putAdditionalBodyProperty(\"secretProperty\", JsonValue.from(\"42\"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty(\"secretProperty\", JsonValue.from(\"42\"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision(\"main\")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from(\"Hello World!\")\n\n// Create a JSON array value equivalent to `[\"Hello\", \"World\"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n \"Hello\", \"World\"\n))\n\n// Create a JSON object value equivalent to `{ \"a\": 1, \"b\": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n \"a\" to 1, \"b\" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// \"a\": [1, 2],\n// \"b\": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n \"a\" to listOf(\n 1, 2\n ), \"b\" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class's `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision(\"string\")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get(\"secretProperty\")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> \"It's null!\"\n is JsonBoolean -> \"It's a boolean!\"\n is JsonNumber -> \"It's a number!\"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> \"It's something else!\"\n}\n```\n\nTo access a property's raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn't match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don't you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don't you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don't want to introduce a breaking change every time we add a field to a class.\n\n### Why don't you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don't play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n" + language: 'kotlin', + content: + '# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl("https://example.com")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`\'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from("Hello World!")\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n "Hello", "World"\n))\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n "a" to 1, "b" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n "a" to listOf(\n 1, 2\n ), "b" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get("secretProperty")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> "It\'s null!"\n is JsonBoolean -> "It\'s a boolean!"\n is JsonNumber -> "It\'s a number!"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> "It\'s something else!"\n}\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n', }, { - "language": "php", - "content": "# Stainless PHP API Library\n\nThe Stainless PHP library provides convenient access to the Stainless REST API from any PHP 8.1.0+ application.\n\n## Installation\n\nTo use this package, install via Composer by adding the following to your application's `composer.json`:\n\n```json\n{\n \"repositories\": [\n {\n \"type\": \"vcs\",\n \"url\": \"git@github.com:stainless-sdks/stainless-v0-php.git\"\n }\n ],\n \"require\": {\n \"org-placeholder/stainless-v0\": \"dev-main\"\n }\n}\n```\n\n## Usage\n\n```php\nbuilds->create(project: 'stainless', revision: 'main');\n\nvar_dump($build->id);\n```" + language: 'php', + content: + '# Stainless PHP API Library\n\nThe Stainless PHP library provides convenient access to the Stainless REST API from any PHP 8.1.0+ application.\n\n## Installation\n\nTo use this package, install via Composer by adding the following to your application\'s `composer.json`:\n\n```json\n{\n "repositories": [\n {\n "type": "vcs",\n "url": "git@github.com:stainless-sdks/stainless-v0-php.git"\n }\n ],\n "require": {\n "org-placeholder/stainless-v0": "dev-main"\n }\n}\n```\n\n## Usage\n\n```php\nbuilds->create(project: \'stainless\', revision: \'main\');\n\nvar_dump($build->id);\n```', }, { - "language": "python", - "content": "# Stainless Python API library\n\n\n[![PyPI version](https://img.shields.io/pypi/v/stainless_v0.svg?label=pypi%20(stable))](https://pypi.org/project/stainless_v0/)\n\nThe Stainless Python library provides convenient access to the Stainless REST API from any Python 3.9+\napplication. The library includes type definitions for all request params and response fields,\nand offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\n## Installation\n\n```sh\n# install from this staging repo\npip install git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\n```\n> [!NOTE]\n> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install stainless_v0`\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```python\nimport os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n # defaults to \"production\".\n environment=\"staging\",\n)\n\nbuild = client.builds.create(\n project=\"stainless\",\n revision=\"main\",\n)\nprint(build.id)\n```\n\nWhile you can provide an `api_key` keyword argument,\nwe recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)\nto add `STAINLESS_API_KEY=\"My API Key\"` to your `.env` file\nso that your API Key is not stored in source control.\n\n## Async usage\n\nSimply import `AsyncStainless` instead of `Stainless` and use `await` with each API call:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n # defaults to \"production\".\n environment=\"staging\",\n)\n\nasync def main() -> None:\n build = await client.builds.create(\n project=\"stainless\",\n revision=\"main\",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\nFunctionality between the synchronous and asynchronous clients is otherwise identical.\n\n### With aiohttp\n\nBy default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.\n\nYou can enable this by installing `aiohttp`:\n\n```sh\n# install from this staging repo\npip install 'stainless_v0[aiohttp] @ git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git'\n```\n\nThen you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import DefaultAioHttpClient\nfrom stainless_v0 import AsyncStainless\n\nasync def main() -> None:\n async with AsyncStainless(\n api_key=os.environ.get(\"STAINLESS_API_KEY\"), # This is the default and can be omitted\n http_client=DefaultAioHttpClient(),\n) as client:\n build = await client.builds.create(\n project=\"stainless\",\n revision=\"main\",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\n\n\n## Using types\n\nNested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:\n\n- Serializing back into JSON, `model.to_json()`\n- Converting to a dictionary, `model.to_dict()`\n\nTyped requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.\n\n## Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nall_builds = []\n# Automatically fetches more pages as needed.\nfor build in client.builds.list(\n project=\"stainless\",\n):\n # Do something with build here\n all_builds.append(build)\nprint(all_builds)\n```\n\nOr, asynchronously:\n\n```python\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless()\n\nasync def main() -> None:\n all_builds = []\n # Iterate through items across all pages, issuing requests as needed.\n async for build in client.builds.list(\n project=\"stainless\",\n):\n all_builds.append(build)\n print(all_builds)\n\nasyncio.run(main())\n```\n\nAlternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:\n\n```python\nfirst_page = await client.builds.list(\n project=\"stainless\",\n)\nif first_page.has_next_page():\n print(f\"will fetch next page using these details: {first_page.next_page_info()}\")\n next_page = await first_page.get_next_page()\n print(f\"number of items we just fetched: {len(next_page.data)}\")\n\n# Remove `await` for non-async usage.\n```\n\nOr just work directly with the returned data:\n\n```python\nfirst_page = await client.builds.list(\n project=\"stainless\",\n)\n\nprint(f\"next page cursor: {first_page.next_cursor}\") # => \"next page cursor: ...\"\nfor build in first_page.data:\n print(build.id)\n\n# Remove `await` for non-async usage.\n```\n\n## Nested params\n\nNested parameters are dictionaries, typed using `TypedDict`, for example:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nbuild = client.builds.create(\n project=\"project\",\n revision=\"string\",\n target_commit_messages={},\n)\nprint(build.target_commit_messages)\n```\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `stainless_v0.APIConnectionError` is raised.\n\nWhen the API returns a non-success status code (that is, 4xx or 5xx\nresponse), a subclass of `stainless_v0.APIStatusError` is raised, containing `status_code` and `response` properties.\n\nAll errors inherit from `stainless_v0.APIError`.\n\n```python\nimport stainless_v0\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\ntry:\n client.builds.create(\n project=\"stainless\",\n revision=\"main\",\n )\nexcept stainless_v0.APIConnectionError as e:\n print(\"The server could not be reached\")\n print(e.__cause__) # an underlying Exception, likely raised within httpx.\nexcept stainless_v0.RateLimitError as e:\n print(\"A 429 status code was received; we should back off a bit.\")\nexcept stainless_v0.APIStatusError as e:\n print(\"Another non-200-range status code was received\")\n print(e.status_code)\n print(e.response)\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors are automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors are all retried by default.\n\nYou can use the `max_retries` option to configure or disable retry settings:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # default is 2\n max_retries=0,\n)\n\n# Or, configure per-request:\nclient.with_options(max_retries = 5).builds.create(\n project=\"stainless\",\n revision=\"main\",\n)\n```\n\n### Timeouts\n\nBy default requests time out after 1 minute. You can configure this with a `timeout` option,\nwhich accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # 20 seconds (default is 1 minute)\n timeout=20.0,\n)\n\n# More granular control:\nclient = Stainless(\n timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),\n)\n\n# Override per-request:\nclient.with_options(timeout = 5.0).builds.create(\n project=\"stainless\",\n revision=\"main\",\n)\n```\n\nOn timeout, an `APITimeoutError` is thrown.\n\nNote that requests that time out are [retried twice by default](#retries).\n\n\n\n## Advanced\n\n### Logging\n\nWe use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.\n\nYou can enable logging by setting the environment variable `STAINLESS_LOG` to `info`.\n\n```shell\n$ export STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging.\n\n### How to tell whether `None` means `null` or missing\n\nIn an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:\n\n```py\nif response.my_field is None:\n if 'my_field' not in response.model_fields_set:\n print('Got json like {}, without a \"my_field\" key present at all.')\n else:\n print('Got json like {\"my_field\": null}.')\n```\n\n### Accessing raw response data (e.g. headers)\n\nThe \"raw\" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,\n\n```py\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\nresponse = client.builds.with_raw_response.create(\n project=\"stainless\",\n revision=\"main\",\n)\nprint(response.headers.get('X-My-Header'))\n\nbuild = response.parse() # get the object that `builds.create()` would have returned\nprint(build.id)\n```\n\nThese methods return an [`APIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) object.\n\nThe async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.\n\n#### `.with_streaming_response`\n\nThe above interface eagerly reads the full response body when you make the request, which may not always be what you want.\n\nTo stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.\n\n```python\nwith client.builds.with_streaming_response.create(\n project=\"stainless\",\n revision=\"main\",\n) as response :\n print(response.headers.get('X-My-Header'))\n\n for line in response.iter_lines():\n print(line)\n```\n\nThe context manager is required so that the response will reliably be closed.\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API.\n\nIf you need to access undocumented endpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other\nhttp verbs. Options on the client will be respected (such as retries) when making this request.\n\n```py\nimport httpx\n\nresponse = client.post(\n \"/foo\",\n cast_to=httpx.Response,\n body={\"my_param\": True},\n)\n\nprint(response.headers.get(\"x-foo\"))\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You\ncan also get all the extra fields on the Pydantic model as a dict with\n[`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).\n\n### Configuring the HTTP client\n\nYou can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:\n\n- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)\n- Custom [transports](https://www.python-httpx.org/advanced/transports/)\n- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality\n\n```python\nimport httpx\nfrom stainless_v0 import Stainless, DefaultHttpxClient\n\nclient = Stainless(\n # Or use the `STAINLESS_BASE_URL` env var\n base_url=\"http://my.test.server.example.com:8083\",\n http_client=DefaultHttpxClient(proxy=\"http://my.test.proxy.example.com\", transport=httpx.HTTPTransport(local_address=\"0.0.0.0\")),\n)\n```\n\nYou can also customize the client on a per-request basis by using `with_options()`:\n\n```python\nclient.with_options(http_client=DefaultHttpxClient(...))\n```\n\n### Managing HTTP resources\n\nBy default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.\n\n```py\nfrom stainless_v0 import Stainless\n\nwith Stainless() as client:\n # make requests here\n ...\n\n# HTTP client is now closed\n```\n\n## Versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-python/issues) with questions, bugs, or suggestions.\n\n### Determining the installed version\n\nIf you've upgraded to the latest version but aren't seeing any new features you were expecting then your python environment is likely still using an older version.\n\nYou can determine the version that is being used at runtime with:\n\n```py\nimport stainless_v0\nprint(stainless_v0.__version__)\n```\n\n## Requirements\n\nPython 3.9 or higher.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n" + language: 'python', + content: + '# Stainless Python API library\n\n\n[![PyPI version](https://img.shields.io/pypi/v/stainless_v0.svg?label=pypi%20(stable))](https://pypi.org/project/stainless_v0/)\n\nThe Stainless Python library provides convenient access to the Stainless REST API from any Python 3.9+\napplication. The library includes type definitions for all request params and response fields,\nand offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\n## Installation\n\n```sh\n# install from this staging repo\npip install git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\n```\n> [!NOTE]\n> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install stainless_v0`\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n```python\nimport os\nfrom stainless_v0 import Stainless\n\nclient = Stainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nbuild = client.builds.create(\n project="stainless",\n revision="main",\n)\nprint(build.id)\n```\n\nWhile you can provide an `api_key` keyword argument,\nwe recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)\nto add `STAINLESS_API_KEY="My API Key"` to your `.env` file\nso that your API Key is not stored in source control.\n\n## Async usage\n\nSimply import `AsyncStainless` instead of `Stainless` and use `await` with each API call:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n # defaults to "production".\n environment="staging",\n)\n\nasync def main() -> None:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\nFunctionality between the synchronous and asynchronous clients is otherwise identical.\n\n### With aiohttp\n\nBy default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.\n\nYou can enable this by installing `aiohttp`:\n\n```sh\n# install from this staging repo\npip install \'stainless_v0[aiohttp] @ git+ssh://git@github.com/stainless-sdks/stainless-v0-python.git\'\n```\n\nThen you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:\n\n```python\nimport os\nimport asyncio\nfrom stainless_v0 import DefaultAioHttpClient\nfrom stainless_v0 import AsyncStainless\n\nasync def main() -> None:\n async with AsyncStainless(\n api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted\n http_client=DefaultAioHttpClient(),\n) as client:\n build = await client.builds.create(\n project="stainless",\n revision="main",\n )\n print(build.id)\n\nasyncio.run(main())\n```\n\n\n\n## Using types\n\nNested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:\n\n- Serializing back into JSON, `model.to_json()`\n- Converting to a dictionary, `model.to_dict()`\n\nTyped requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.\n\n## Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nall_builds = []\n# Automatically fetches more pages as needed.\nfor build in client.builds.list(\n project="stainless",\n):\n # Do something with build here\n all_builds.append(build)\nprint(all_builds)\n```\n\nOr, asynchronously:\n\n```python\nimport asyncio\nfrom stainless_v0 import AsyncStainless\n\nclient = AsyncStainless()\n\nasync def main() -> None:\n all_builds = []\n # Iterate through items across all pages, issuing requests as needed.\n async for build in client.builds.list(\n project="stainless",\n):\n all_builds.append(build)\n print(all_builds)\n\nasyncio.run(main())\n```\n\nAlternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\nif first_page.has_next_page():\n print(f"will fetch next page using these details: {first_page.next_page_info()}")\n next_page = await first_page.get_next_page()\n print(f"number of items we just fetched: {len(next_page.data)}")\n\n# Remove `await` for non-async usage.\n```\n\nOr just work directly with the returned data:\n\n```python\nfirst_page = await client.builds.list(\n project="stainless",\n)\n\nprint(f"next page cursor: {first_page.next_cursor}") # => "next page cursor: ..."\nfor build in first_page.data:\n print(build.id)\n\n# Remove `await` for non-async usage.\n```\n\n## Nested params\n\nNested parameters are dictionaries, typed using `TypedDict`, for example:\n\n```python\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\nbuild = client.builds.create(\n project="project",\n revision="string",\n target_commit_messages={},\n)\nprint(build.target_commit_messages)\n```\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `stainless_v0.APIConnectionError` is raised.\n\nWhen the API returns a non-success status code (that is, 4xx or 5xx\nresponse), a subclass of `stainless_v0.APIStatusError` is raised, containing `status_code` and `response` properties.\n\nAll errors inherit from `stainless_v0.APIError`.\n\n```python\nimport stainless_v0\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\n\ntry:\n client.builds.create(\n project="stainless",\n revision="main",\n )\nexcept stainless_v0.APIConnectionError as e:\n print("The server could not be reached")\n print(e.__cause__) # an underlying Exception, likely raised within httpx.\nexcept stainless_v0.RateLimitError as e:\n print("A 429 status code was received; we should back off a bit.")\nexcept stainless_v0.APIStatusError as e:\n print("Another non-200-range status code was received")\n print(e.status_code)\n print(e.response)\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors are automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors are all retried by default.\n\nYou can use the `max_retries` option to configure or disable retry settings:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # default is 2\n max_retries=0,\n)\n\n# Or, configure per-request:\nclient.with_options(max_retries = 5).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\n### Timeouts\n\nBy default requests time out after 1 minute. You can configure this with a `timeout` option,\nwhich accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:\n\n```python\nfrom stainless_v0 import Stainless\n\n# Configure the default for all requests:\nclient = Stainless(\n # 20 seconds (default is 1 minute)\n timeout=20.0,\n)\n\n# More granular control:\nclient = Stainless(\n timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),\n)\n\n# Override per-request:\nclient.with_options(timeout = 5.0).builds.create(\n project="stainless",\n revision="main",\n)\n```\n\nOn timeout, an `APITimeoutError` is thrown.\n\nNote that requests that time out are [retried twice by default](#retries).\n\n\n\n## Advanced\n\n### Logging\n\nWe use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.\n\nYou can enable logging by setting the environment variable `STAINLESS_LOG` to `info`.\n\n```shell\n$ export STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging.\n\n### How to tell whether `None` means `null` or missing\n\nIn an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:\n\n```py\nif response.my_field is None:\n if \'my_field\' not in response.model_fields_set:\n print(\'Got json like {}, without a "my_field" key present at all.\')\n else:\n print(\'Got json like {"my_field": null}.\')\n```\n\n### Accessing raw response data (e.g. headers)\n\nThe "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,\n\n```py\nfrom stainless_v0 import Stainless\n\nclient = Stainless()\nresponse = client.builds.with_raw_response.create(\n project="stainless",\n revision="main",\n)\nprint(response.headers.get(\'X-My-Header\'))\n\nbuild = response.parse() # get the object that `builds.create()` would have returned\nprint(build.id)\n```\n\nThese methods return an [`APIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) object.\n\nThe async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/stainless-v0-python/tree/main/src/stainless_v0/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.\n\n#### `.with_streaming_response`\n\nThe above interface eagerly reads the full response body when you make the request, which may not always be what you want.\n\nTo stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.\n\n```python\nwith client.builds.with_streaming_response.create(\n project="stainless",\n revision="main",\n) as response :\n print(response.headers.get(\'X-My-Header\'))\n\n for line in response.iter_lines():\n print(line)\n```\n\nThe context manager is required so that the response will reliably be closed.\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API.\n\nIf you need to access undocumented endpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other\nhttp verbs. Options on the client will be respected (such as retries) when making this request.\n\n```py\nimport httpx\n\nresponse = client.post(\n "/foo",\n cast_to=httpx.Response,\n body={"my_param": True},\n)\n\nprint(response.headers.get("x-foo"))\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You\ncan also get all the extra fields on the Pydantic model as a dict with\n[`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).\n\n### Configuring the HTTP client\n\nYou can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:\n\n- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)\n- Custom [transports](https://www.python-httpx.org/advanced/transports/)\n- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality\n\n```python\nimport httpx\nfrom stainless_v0 import Stainless, DefaultHttpxClient\n\nclient = Stainless(\n # Or use the `STAINLESS_BASE_URL` env var\n base_url="http://my.test.server.example.com:8083",\n http_client=DefaultHttpxClient(proxy="http://my.test.proxy.example.com", transport=httpx.HTTPTransport(local_address="0.0.0.0")),\n)\n```\n\nYou can also customize the client on a per-request basis by using `with_options()`:\n\n```python\nclient.with_options(http_client=DefaultHttpxClient(...))\n```\n\n### Managing HTTP resources\n\nBy default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.\n\n```py\nfrom stainless_v0 import Stainless\n\nwith Stainless() as client:\n # make requests here\n ...\n\n# HTTP client is now closed\n```\n\n## Versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-python/issues) with questions, bugs, or suggestions.\n\n### Determining the installed version\n\nIf you\'ve upgraded to the latest version but aren\'t seeing any new features you were expecting then your python environment is likely still using an older version.\n\nYou can determine the version that is being used at runtime with:\n\n```py\nimport stainless_v0\nprint(stainless_v0.__version__)\n```\n\n## Requirements\n\nPython 3.9 or higher.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n', }, { - "language": "ruby", - "content": "# Stainless Ruby API library\n\nThe Stainless Ruby library provides convenient access to the Stainless REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/stainless-sdks/stainless-v0-ruby#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nDocumentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/stainless-v0).\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\n## Installation\n\nTo use this gem, install via Bundler by adding the following to your application's `Gemfile`:\n\n```ruby\ngem \"stainless-v0\", \"~> 0.0.1\"\n```\n\n## Usage\n\n```ruby\nrequire \"bundler/setup\"\nrequire \"stainless_v0\"\n\nstainless = StainlessV0::Client.new(\n api_key: ENV[\"STAINLESS_API_KEY\"], # This is the default and can be omitted\n environment: \"staging\" # defaults to \"production\"\n)\n\nbuild = stainless.builds.create(project: \"stainless\", revision: \"main\")\n\nputs(build.id)\n```\n\n\n\n### Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```ruby\npage = stainless.builds.list(project: \"stainless\")\n\n# Fetch single item from page.\nbuild = page.data[0]\nputs(build.id)\n\n# Automatically fetches more pages as needed.\npage.auto_paging_each do |build|\n puts(build.id)\nend\n```\n\nAlternatively, you can use the `#next_page?` and `#next_page` methods for more granular control working with pages.\n\n```ruby\nif page.next_page?\n new_page = page.next_page\n puts(new_page.data[0].id)\nend\n```\n\n\n\n### Handling errors\n\nWhen the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `StainlessV0::Errors::APIError` will be thrown:\n\n```ruby\nbegin\n build = stainless.builds.create(project: \"stainless\", revision: \"main\")\nrescue StainlessV0::Errors::APIConnectionError => e\n puts(\"The server could not be reached\")\n puts(e.cause) # an underlying Exception, likely raised within `net/http`\nrescue StainlessV0::Errors::RateLimitError => e\n puts(\"A 429 status code was received; we should back off a bit.\")\nrescue StainlessV0::Errors::APIStatusError => e\n puts(\"Another non-200-range status code was received\")\n puts(e.status)\nend\n```\n\nError codes are as follows:\n\n| Cause | Error Type |\n| ---------------- | -------------------------- |\n| HTTP 400 | `BadRequestError` |\n| HTTP 401 | `AuthenticationError` |\n| HTTP 403 | `PermissionDeniedError` |\n| HTTP 404 | `NotFoundError` |\n| HTTP 409 | `ConflictError` |\n| HTTP 422 | `UnprocessableEntityError` |\n| HTTP 429 | `RateLimitError` |\n| HTTP >= 500 | `InternalServerError` |\n| Other HTTP error | `APIStatusError` |\n| Timeout | `APITimeoutError` |\n| Network error | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\n\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.\n\nYou can use the `max_retries` option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n max_retries: 0 # default is 2\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: \"stainless\", revision: \"main\", request_options: {max_retries: 5})\n```\n\n### Timeouts\n\nBy default, requests will time out after 60 seconds. You can use the timeout option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n timeout: nil # default is 60\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: \"stainless\", revision: \"main\", request_options: {timeout: 5})\n```\n\nOn timeout, `StainlessV0::Errors::APITimeoutError` is raised.\n\nNote that requests that time out are retried by default.\n\n## Advanced concepts\n\n### BaseModel\n\nAll parameter and response objects inherit from `StainlessV0::Internal::Type::BaseModel`, which provides several conveniences, including:\n\n1. All fields, including unknown ones, are accessible with `obj[:prop]` syntax, and can be destructured with `obj => {prop: prop}` or pattern-matching syntax.\n\n2. Structural equivalence for equality; if two API calls return the same values, comparing the responses with == will return true.\n\n3. Both instances and the classes themselves can be pretty-printed.\n\n4. Helpers such as `#to_h`, `#deep_to_h`, `#to_json`, and `#to_yaml`.\n\n### Making custom or undocumented requests\n\n#### Undocumented properties\n\nYou can send undocumented parameters to any endpoint, and read undocumented response properties, like so:\n\nNote: the `extra_` parameters of the same name overrides the documented parameters.\n\n```ruby\nbuild =\n stainless.builds.create(\n project: \"stainless\",\n revision: \"main\",\n request_options: {\n extra_query: {my_query_parameter: value},\n extra_body: {my_body_parameter: value},\n extra_headers: {\"my-header\": value}\n }\n )\n\nputs(build[:my_undocumented_property])\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `client.request`, like so:\n\n```ruby\nresponse = client.request(\n method: :post,\n path: '/undocumented/endpoint',\n query: {\"dog\": \"woof\"},\n headers: {\"useful-header\": \"interesting-value\"},\n body: {\"hello\": \"world\"}\n)\n```\n\n### Concurrency & connection pooling\n\nThe `StainlessV0::Client` instances are threadsafe, but are only are fork-safe when there are no in-flight HTTP requests.\n\nEach instance of `StainlessV0::Client` has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings.\n\nWhen all available connections from the pool are checked out, requests wait for a new connection to become available, with queue time counting towards the request timeout.\n\nUnless otherwise specified, other classes in the SDK do not have locks protecting their underlying data structure.\n\n## Sorbet\n\nThis library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitions, and has no dependency on sorbet-runtime.\n\nYou can provide typesafe request parameters like so:\n\n```ruby\nstainless.builds.create(project: \"stainless\", revision: \"main\")\n```\n\nOr, equivalently:\n\n```ruby\n# Hashes work, but are not typesafe:\nstainless.builds.create(project: \"stainless\", revision: \"main\")\n\n# You can also splat a full Params class:\nparams = StainlessV0::BuildCreateParams.new(project: \"stainless\", revision: \"main\")\nstainless.builds.create(**params)\n```\n\n### Enums\n\nSince this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide \"tagged symbols\" instead, which is always a primitive at runtime:\n\n```ruby\n# :python\nputs(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n\n# Revealed type: `T.all(StainlessV0::ProjectGenerateCommitMessageParams::Target, Symbol)`\nT.reveal_type(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n```\n\nEnum parameters have a \"relaxed\" type, so you can either pass in enum constants or their literal value:\n\n```ruby\n# Using the enum constants preserves the tagged type information:\nstainless.projects.generate_commit_message(\n target: StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON,\n # …\n)\n\n# Literal values are also permissible:\nstainless.projects.generate_commit_message(\n target: :python,\n # …\n)\n```\n\n## Versioning\n\nThis package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.\n\nThis package considers improvements to the (non-runtime) `*.rbi` and `*.rbs` type definitions to be non-breaking changes.\n\n## Requirements\n\nRuby 3.2.0 or higher.\n\n## Contributing\n\nSee [the contributing documentation](https://github.com/stainless-sdks/stainless-v0-ruby/tree/main/CONTRIBUTING.md).\n" + language: 'ruby', + content: + '# Stainless Ruby API library\n\nThe Stainless Ruby library provides convenient access to the Stainless REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/stainless-sdks/stainless-v0-ruby#Sorbet) for usage with Sorbet. The standard library\'s `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Documentation\n\nDocumentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/stainless-v0).\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli).\n\n## Installation\n\nTo use this gem, install via Bundler by adding the following to your application\'s `Gemfile`:\n\n```ruby\ngem "stainless-v0", "~> 0.0.1"\n```\n\n## Usage\n\n```ruby\nrequire "bundler/setup"\nrequire "stainless_v0"\n\nstainless = StainlessV0::Client.new(\n api_key: ENV["STAINLESS_API_KEY"], # This is the default and can be omitted\n environment: "staging" # defaults to "production"\n)\n\nbuild = stainless.builds.create(project: "stainless", revision: "main")\n\nputs(build.id)\n```\n\n\n\n### Pagination\n\nList methods in the Stainless API are paginated.\n\nThis library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:\n\n```ruby\npage = stainless.builds.list(project: "stainless")\n\n# Fetch single item from page.\nbuild = page.data[0]\nputs(build.id)\n\n# Automatically fetches more pages as needed.\npage.auto_paging_each do |build|\n puts(build.id)\nend\n```\n\nAlternatively, you can use the `#next_page?` and `#next_page` methods for more granular control working with pages.\n\n```ruby\nif page.next_page?\n new_page = page.next_page\n puts(new_page.data[0].id)\nend\n```\n\n\n\n### Handling errors\n\nWhen the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `StainlessV0::Errors::APIError` will be thrown:\n\n```ruby\nbegin\n build = stainless.builds.create(project: "stainless", revision: "main")\nrescue StainlessV0::Errors::APIConnectionError => e\n puts("The server could not be reached")\n puts(e.cause) # an underlying Exception, likely raised within `net/http`\nrescue StainlessV0::Errors::RateLimitError => e\n puts("A 429 status code was received; we should back off a bit.")\nrescue StainlessV0::Errors::APIStatusError => e\n puts("Another non-200-range status code was received")\n puts(e.status)\nend\n```\n\nError codes are as follows:\n\n| Cause | Error Type |\n| ---------------- | -------------------------- |\n| HTTP 400 | `BadRequestError` |\n| HTTP 401 | `AuthenticationError` |\n| HTTP 403 | `PermissionDeniedError` |\n| HTTP 404 | `NotFoundError` |\n| HTTP 409 | `ConflictError` |\n| HTTP 422 | `UnprocessableEntityError` |\n| HTTP 429 | `RateLimitError` |\n| HTTP >= 500 | `InternalServerError` |\n| Other HTTP error | `APIStatusError` |\n| Timeout | `APITimeoutError` |\n| Network error | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\n\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.\n\nYou can use the `max_retries` option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n max_retries: 0 # default is 2\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {max_retries: 5})\n```\n\n### Timeouts\n\nBy default, requests will time out after 60 seconds. You can use the timeout option to configure or disable this:\n\n```ruby\n# Configure the default for all requests:\nstainless = StainlessV0::Client.new(\n timeout: nil # default is 60\n)\n\n# Or, configure per-request:\nstainless.builds.create(project: "stainless", revision: "main", request_options: {timeout: 5})\n```\n\nOn timeout, `StainlessV0::Errors::APITimeoutError` is raised.\n\nNote that requests that time out are retried by default.\n\n## Advanced concepts\n\n### BaseModel\n\nAll parameter and response objects inherit from `StainlessV0::Internal::Type::BaseModel`, which provides several conveniences, including:\n\n1. All fields, including unknown ones, are accessible with `obj[:prop]` syntax, and can be destructured with `obj => {prop: prop}` or pattern-matching syntax.\n\n2. Structural equivalence for equality; if two API calls return the same values, comparing the responses with == will return true.\n\n3. Both instances and the classes themselves can be pretty-printed.\n\n4. Helpers such as `#to_h`, `#deep_to_h`, `#to_json`, and `#to_yaml`.\n\n### Making custom or undocumented requests\n\n#### Undocumented properties\n\nYou can send undocumented parameters to any endpoint, and read undocumented response properties, like so:\n\nNote: the `extra_` parameters of the same name overrides the documented parameters.\n\n```ruby\nbuild =\n stainless.builds.create(\n project: "stainless",\n revision: "main",\n request_options: {\n extra_query: {my_query_parameter: value},\n extra_body: {my_body_parameter: value},\n extra_headers: {"my-header": value}\n }\n )\n\nputs(build[:my_undocumented_property])\n```\n\n#### Undocumented request params\n\nIf you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `client.request`, like so:\n\n```ruby\nresponse = client.request(\n method: :post,\n path: \'/undocumented/endpoint\',\n query: {"dog": "woof"},\n headers: {"useful-header": "interesting-value"},\n body: {"hello": "world"}\n)\n```\n\n### Concurrency & connection pooling\n\nThe `StainlessV0::Client` instances are threadsafe, but are only are fork-safe when there are no in-flight HTTP requests.\n\nEach instance of `StainlessV0::Client` has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings.\n\nWhen all available connections from the pool are checked out, requests wait for a new connection to become available, with queue time counting towards the request timeout.\n\nUnless otherwise specified, other classes in the SDK do not have locks protecting their underlying data structure.\n\n## Sorbet\n\nThis library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitions, and has no dependency on sorbet-runtime.\n\nYou can provide typesafe request parameters like so:\n\n```ruby\nstainless.builds.create(project: "stainless", revision: "main")\n```\n\nOr, equivalently:\n\n```ruby\n# Hashes work, but are not typesafe:\nstainless.builds.create(project: "stainless", revision: "main")\n\n# You can also splat a full Params class:\nparams = StainlessV0::BuildCreateParams.new(project: "stainless", revision: "main")\nstainless.builds.create(**params)\n```\n\n### Enums\n\nSince this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide "tagged symbols" instead, which is always a primitive at runtime:\n\n```ruby\n# :python\nputs(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n\n# Revealed type: `T.all(StainlessV0::ProjectGenerateCommitMessageParams::Target, Symbol)`\nT.reveal_type(StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON)\n```\n\nEnum parameters have a "relaxed" type, so you can either pass in enum constants or their literal value:\n\n```ruby\n# Using the enum constants preserves the tagged type information:\nstainless.projects.generate_commit_message(\n target: StainlessV0::ProjectGenerateCommitMessageParams::Target::PYTHON,\n # …\n)\n\n# Literal values are also permissible:\nstainless.projects.generate_commit_message(\n target: :python,\n # …\n)\n```\n\n## Versioning\n\nThis package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.\n\nThis package considers improvements to the (non-runtime) `*.rbi` and `*.rbs` type definitions to be non-breaking changes.\n\n## Requirements\n\nRuby 3.2.0 or higher.\n\n## Contributing\n\nSee [the contributing documentation](https://github.com/stainless-sdks/stainless-v0-ruby/tree/main/CONTRIBUTING.md).\n', }, { - "language": "typescript", - "content": "# Stainless TypeScript API Library\n\n[![NPM version](https://img.shields.io/npm/v/@stainless-api/sdk.svg?label=npm%20(stable))](https://npmjs.org/package/@stainless-api/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@stainless-api/sdk)\n\nThis library provides convenient access to the Stainless REST API from server-side TypeScript or JavaScript.\n\n\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n```sh\nnpm install @stainless-api/sdk\n```\n\n\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n\n```js\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst build = await client.builds.create({ project: 'stainless', revision: 'main' });\n\nconsole.log(build.id);\n```\n\n\n\n### Request & Response types\n\nThis library includes TypeScript definitions for all request params and response fields. You may import and use them like so:\n\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst params: Stainless.BuildCreateParams = { project: 'stainless', revision: 'main' };\nconst build: Stainless.Build = await client.builds.create(params);\n```\n\nDocumentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.\n\n\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API,\nor if the API returns a non-success status code (i.e., 4xx or 5xx response),\na subclass of `APIError` will be thrown:\n\n\n```ts\nconst build = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .catch(async (err) => {\n if (err instanceof Stainless.APIError) {\n console.log(err.status); // 400\n console.log(err.name); // BadRequestError\n console.log(err.headers); // {server: 'nginx', ...}\n } else {\n throw err;\n }\n });\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors will all be retried by default.\n\nYou can use the `maxRetries` option to configure or disable this:\n\n\n```js\n// Configure the default for all requests:\nconst client = new Stainless({\n maxRetries: 0, // default is 2\n});\n\n// Or, configure per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n maxRetries: 5,\n});\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default. You can configure this with a `timeout` option:\n\n\n```ts\n// Configure the default for all requests:\nconst client = new Stainless({\n timeout: 20 * 1000, // 20 seconds (default is 1 minute)\n});\n\n// Override per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n timeout: 5 * 1000,\n});\n```\n\nOn timeout, an `APIConnectionTimeoutError` is thrown.\n\nNote that requests which time out will be [retried twice by default](#retries).\n\n## Auto-pagination\n\nList methods in the Stainless API are paginated.\nYou can use the `for await … of` syntax to iterate through items across all pages:\n\n```ts\nasync function fetchAllBuilds(params) {\n const allBuilds = [];\n // Automatically fetches more pages as needed.\n for await (const build of client.builds.list({ project: 'stainless' })) {\n allBuilds.push(build);\n }\n return allBuilds;\n}\n```\n\nAlternatively, you can request a single page at a time:\n\n```ts\nlet page = await client.builds.list({ project: 'stainless' });\nfor (const build of page.data) {\n console.log(build);\n}\n\n// Convenience methods are provided for manually paginating:\nwhile (page.hasNextPage()) {\n page = await page.getNextPage();\n // ...\n}\n```\n\n\n\n## Advanced Usage\n\n### Accessing raw Response data (e.g., headers)\n\nThe \"raw\" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.\nThis method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.\n\nYou can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.\nUnlike `.asResponse()` this method consumes the body, returning once it is parsed.\n\n\n```ts\nconst client = new Stainless();\n\nconst response = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .asResponse();\nconsole.log(response.headers.get('X-My-Header'));\nconsole.log(response.statusText); // access the underlying Response object\n\nconst { data: build, response: raw } = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .withResponse();\nconsole.log(raw.headers.get('X-My-Header'));\nconsole.log(build.id);\n```\n\n### Logging\n\n> [!IMPORTANT]\n> All log messages are intended for debugging only. The format and content of log messages\n> may change between releases.\n\n#### Log levels\n\nThe log level can be configured in two ways:\n\n1. Via the `STAINLESS_LOG` environment variable\n2. Using the `logLevel` client option (overrides the environment variable if set)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n logLevel: 'debug', // Show all log messages\n});\n```\n\nAvailable log levels, from most to least verbose:\n\n- `'debug'` - Show debug messages, info, warnings, and errors\n- `'info'` - Show info messages, warnings, and errors\n- `'warn'` - Show warnings and errors (default)\n- `'error'` - Show only errors\n- `'off'` - Disable all logging\n\nAt the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.\nSome authentication-related headers are redacted, but sensitive data in request and response bodies\nmay still be visible.\n\n#### Custom logger\n\nBy default, this library logs to `globalThis.console`. You can also provide a custom logger.\nMost logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.\n\nWhen providing a custom logger, the `logLevel` option still controls which messages are emitted, messages\nbelow the configured level will not be sent to your logger.\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport pino from 'pino';\n\nconst logger = pino();\n\nconst client = new Stainless({\n logger: logger.child({ name: 'Stainless' }),\n logLevel: 'debug', // Send all messages to pino, allowing it to filter\n});\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.\nOptions on the client, such as retries, will be respected when making these requests.\n\n```ts\nawait client.post('/some/path', {\n body: { some_prop: 'foo' },\n query: { some_query_arg: 'bar' },\n});\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented\nparameter. This library doesn't validate at runtime that the request matches the type, so any extra values you\nsend will be sent as-is.\n\n```ts\nclient.builds.create({\n // ...\n // @ts-expect-error baz is not yet public\n baz: 'undocumented option',\n});\n```\n\nFor requests with the `GET` verb, any extra params will be in the query, all other requests will send the\nextra param in the body.\n\nIf you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may access the response object with `// @ts-expect-error` on\nthe response object, or cast the response object to the requisite type. Like the request params, we do not\nvalidate or strip extra properties from the response from the API.\n\n### Customizing the fetch client\n\nBy default, this library expects a global `fetch` function is defined.\n\nIf you want to use a different `fetch` function, you can either polyfill the global:\n\n```ts\nimport fetch from 'my-fetch';\n\nglobalThis.fetch = fetch;\n```\n\nOr pass it to the client:\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport fetch from 'my-fetch';\n\nconst client = new Stainless({ fetch });\n```\n\n### Fetch options\n\nIf you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n // `RequestInit` options\n },\n});\n```\n\n#### Configuring proxies\n\nTo modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy\noptions to requests:\n\n **Node** [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport * as undici from 'undici';\n\nconst proxyAgent = new undici.ProxyAgent('http://localhost:8888');\nconst client = new Stainless({\n fetchOptions: {\n dispatcher: proxyAgent,\n },\n});\n```\n\n **Bun** [[docs](https://bun.sh/guides/http/proxy)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n proxy: 'http://localhost:8888',\n },\n});\n```\n\n **Deno** [[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]\n\n```ts\nimport Stainless from 'npm:@stainless-api/sdk';\n\nconst httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });\nconst client = new Stainless({\n fetchOptions: {\n client: httpClient,\n },\n});\n```\n\n## Frequently Asked Questions\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-typescript/issues) with questions, bugs, or suggestions.\n\n## Requirements\n\nTypeScript >= 4.9 is supported.\n\nThe following runtimes are supported:\n\n- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)\n- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.\n- Deno v1.28.0 or higher.\n- Bun 1.0 or later.\n- Cloudflare Workers.\n- Vercel Edge Runtime.\n- Jest 28 or greater with the `\"node\"` environment (`\"jsdom\"` is not supported at this time).\n- Nitro v2.6 or greater.\n\nNote that React Native is not supported at this time.\n\nIf you are interested in other runtime environments, please open or upvote an issue on GitHub.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n" - } + language: 'typescript', + content: + "# Stainless TypeScript API Library\n\n[![NPM version](https://img.shields.io/npm/v/@stainless-api/sdk.svg?label=npm%20(stable))](https://npmjs.org/package/@stainless-api/sdk) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@stainless-api/sdk)\n\nThis library provides convenient access to the Stainless REST API from server-side TypeScript or JavaScript.\n\n\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). The full API of this library can be found in [api.md](api.md).\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\n## Installation\n\n```sh\nnpm install @stainless-api/sdk\n```\n\n\n\n## Usage\n\nThe full API of this library can be found in [api.md](api.md).\n\n\n```js\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst build = await client.builds.create({ project: 'stainless', revision: 'main' });\n\nconsole.log(build.id);\n```\n\n\n\n### Request & Response types\n\nThis library includes TypeScript definitions for all request params and response fields. You may import and use them like so:\n\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted\n environment: 'staging', // defaults to 'production'\n});\n\nconst params: Stainless.BuildCreateParams = { project: 'stainless', revision: 'main' };\nconst build: Stainless.Build = await client.builds.create(params);\n```\n\nDocumentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.\n\n\n\n\n\n## Handling errors\n\nWhen the library is unable to connect to the API,\nor if the API returns a non-success status code (i.e., 4xx or 5xx response),\na subclass of `APIError` will be thrown:\n\n\n```ts\nconst build = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .catch(async (err) => {\n if (err instanceof Stainless.APIError) {\n console.log(err.status); // 400\n console.log(err.name); // BadRequestError\n console.log(err.headers); // {server: 'nginx', ...}\n } else {\n throw err;\n }\n });\n```\n\nError codes are as follows:\n\n| Status Code | Error Type |\n| ----------- | -------------------------- |\n| 400 | `BadRequestError` |\n| 401 | `AuthenticationError` |\n| 403 | `PermissionDeniedError` |\n| 404 | `NotFoundError` |\n| 422 | `UnprocessableEntityError` |\n| 429 | `RateLimitError` |\n| >=500 | `InternalServerError` |\n| N/A | `APIConnectionError` |\n\n### Retries\n\nCertain errors will be automatically retried 2 times by default, with a short exponential backoff.\nConnection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,\n429 Rate Limit, and >=500 Internal errors will all be retried by default.\n\nYou can use the `maxRetries` option to configure or disable this:\n\n\n```js\n// Configure the default for all requests:\nconst client = new Stainless({\n maxRetries: 0, // default is 2\n});\n\n// Or, configure per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n maxRetries: 5,\n});\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default. You can configure this with a `timeout` option:\n\n\n```ts\n// Configure the default for all requests:\nconst client = new Stainless({\n timeout: 20 * 1000, // 20 seconds (default is 1 minute)\n});\n\n// Override per-request:\nawait client.builds.create({ project: 'stainless', revision: 'main' }, {\n timeout: 5 * 1000,\n});\n```\n\nOn timeout, an `APIConnectionTimeoutError` is thrown.\n\nNote that requests which time out will be [retried twice by default](#retries).\n\n## Auto-pagination\n\nList methods in the Stainless API are paginated.\nYou can use the `for await … of` syntax to iterate through items across all pages:\n\n```ts\nasync function fetchAllBuilds(params) {\n const allBuilds = [];\n // Automatically fetches more pages as needed.\n for await (const build of client.builds.list({ project: 'stainless' })) {\n allBuilds.push(build);\n }\n return allBuilds;\n}\n```\n\nAlternatively, you can request a single page at a time:\n\n```ts\nlet page = await client.builds.list({ project: 'stainless' });\nfor (const build of page.data) {\n console.log(build);\n}\n\n// Convenience methods are provided for manually paginating:\nwhile (page.hasNextPage()) {\n page = await page.getNextPage();\n // ...\n}\n```\n\n\n\n## Advanced Usage\n\n### Accessing raw Response data (e.g., headers)\n\nThe \"raw\" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.\nThis method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.\n\nYou can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.\nUnlike `.asResponse()` this method consumes the body, returning once it is parsed.\n\n\n```ts\nconst client = new Stainless();\n\nconst response = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .asResponse();\nconsole.log(response.headers.get('X-My-Header'));\nconsole.log(response.statusText); // access the underlying Response object\n\nconst { data: build, response: raw } = await client.builds\n .create({ project: 'stainless', revision: 'main' })\n .withResponse();\nconsole.log(raw.headers.get('X-My-Header'));\nconsole.log(build.id);\n```\n\n### Logging\n\n> [!IMPORTANT]\n> All log messages are intended for debugging only. The format and content of log messages\n> may change between releases.\n\n#### Log levels\n\nThe log level can be configured in two ways:\n\n1. Via the `STAINLESS_LOG` environment variable\n2. Using the `logLevel` client option (overrides the environment variable if set)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n logLevel: 'debug', // Show all log messages\n});\n```\n\nAvailable log levels, from most to least verbose:\n\n- `'debug'` - Show debug messages, info, warnings, and errors\n- `'info'` - Show info messages, warnings, and errors\n- `'warn'` - Show warnings and errors (default)\n- `'error'` - Show only errors\n- `'off'` - Disable all logging\n\nAt the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.\nSome authentication-related headers are redacted, but sensitive data in request and response bodies\nmay still be visible.\n\n#### Custom logger\n\nBy default, this library logs to `globalThis.console`. You can also provide a custom logger.\nMost logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.\n\nWhen providing a custom logger, the `logLevel` option still controls which messages are emitted, messages\nbelow the configured level will not be sent to your logger.\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport pino from 'pino';\n\nconst logger = pino();\n\nconst client = new Stainless({\n logger: logger.child({ name: 'Stainless' }),\n logLevel: 'debug', // Send all messages to pino, allowing it to filter\n});\n```\n\n### Making custom/undocumented requests\n\nThis library is typed for convenient access to the documented API. If you need to access undocumented\nendpoints, params, or response properties, the library can still be used.\n\n#### Undocumented endpoints\n\nTo make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.\nOptions on the client, such as retries, will be respected when making these requests.\n\n```ts\nawait client.post('/some/path', {\n body: { some_prop: 'foo' },\n query: { some_query_arg: 'bar' },\n});\n```\n\n#### Undocumented request params\n\nTo make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented\nparameter. This library doesn't validate at runtime that the request matches the type, so any extra values you\nsend will be sent as-is.\n\n```ts\nclient.builds.create({\n // ...\n // @ts-expect-error baz is not yet public\n baz: 'undocumented option',\n});\n```\n\nFor requests with the `GET` verb, any extra params will be in the query, all other requests will send the\nextra param in the body.\n\nIf you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request\noptions.\n\n#### Undocumented response properties\n\nTo access undocumented response properties, you may access the response object with `// @ts-expect-error` on\nthe response object, or cast the response object to the requisite type. Like the request params, we do not\nvalidate or strip extra properties from the response from the API.\n\n### Customizing the fetch client\n\nBy default, this library expects a global `fetch` function is defined.\n\nIf you want to use a different `fetch` function, you can either polyfill the global:\n\n```ts\nimport fetch from 'my-fetch';\n\nglobalThis.fetch = fetch;\n```\n\nOr pass it to the client:\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport fetch from 'my-fetch';\n\nconst client = new Stainless({ fetch });\n```\n\n### Fetch options\n\nIf you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n // `RequestInit` options\n },\n});\n```\n\n#### Configuring proxies\n\nTo modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy\noptions to requests:\n\n **Node** [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\nimport * as undici from 'undici';\n\nconst proxyAgent = new undici.ProxyAgent('http://localhost:8888');\nconst client = new Stainless({\n fetchOptions: {\n dispatcher: proxyAgent,\n },\n});\n```\n\n **Bun** [[docs](https://bun.sh/guides/http/proxy)]\n\n```ts\nimport Stainless from '@stainless-api/sdk';\n\nconst client = new Stainless({\n fetchOptions: {\n proxy: 'http://localhost:8888',\n },\n});\n```\n\n **Deno** [[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]\n\n```ts\nimport Stainless from 'npm:@stainless-api/sdk';\n\nconst httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });\nconst client = new Stainless({\n fetchOptions: {\n client: httpClient,\n },\n});\n```\n\n## Frequently Asked Questions\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes that only affect static types, without breaking runtime behavior.\n2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n3. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-api/stainless-api-typescript/issues) with questions, bugs, or suggestions.\n\n## Requirements\n\nTypeScript >= 4.9 is supported.\n\nThe following runtimes are supported:\n\n- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)\n- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.\n- Deno v1.28.0 or higher.\n- Bun 1.0 or later.\n- Cloudflare Workers.\n- Vercel Edge Runtime.\n- Jest 28 or greater with the `\"node\"` environment (`\"jsdom\"` is not supported at this time).\n- Nitro v2.6 or greater.\n\nNote that React Native is not supported at this time.\n\nIf you are interested in other runtime environments, please open or upvote an issue on GitHub.\n\n## Contributing\n\nSee [the contributing documentation](./CONTRIBUTING.md).\n", + }, ]; const INDEX_OPTIONS = { @@ -1402,21 +1617,18 @@ export class LocalDocsSearch { maxResults?: number; maxLength?: number; }): SearchResult { - const { - query, - language = 'typescript', - detail = 'default', - maxResults = 5, - maxLength = 100_000, - } = props; + const { query, language = 'typescript', detail = 'default', maxResults = 5, maxLength = 100_000 } = props; const useMarkdown = detail === 'verbose' || detail === 'high'; // Search both indices and merge results by score. // Filter prose hits so language-tagged content (READMEs and docs with // frontmatter) only matches the requested language. - const methodHits = this.methodIndex.search(query).map((hit) => ({ ...hit, _kind: 'http_method' as const })); - const proseHits = this.proseIndex.search(query) + const methodHits = this.methodIndex + .search(query) + .map((hit) => ({ ...hit, _kind: 'http_method' as const })); + const proseHits = this.proseIndex + .search(query) .filter((hit) => { const source = ((hit as Record)['_original'] as ProseChunk | undefined)?.source; if (!source) return true; diff --git a/packages/mcp-server/src/methods.ts b/packages/mcp-server/src/methods.ts index a17f799a..f29990af 100644 --- a/packages/mcp-server/src/methods.ts +++ b/packages/mcp-server/src/methods.ts @@ -7,119 +7,142 @@ export type SdkMethod = { fullyQualifiedName: string; httpMethod?: 'get' | 'post' | 'put' | 'patch' | 'delete' | 'query'; httpPath?: string; -} - -export const sdkMethods: SdkMethod[] = [{ - clientCallName: 'client.projects.create', - fullyQualifiedName: 'projects.create', - httpMethod: 'post', - httpPath: '/v0/projects', -},{ - clientCallName: 'client.projects.retrieve', - fullyQualifiedName: 'projects.retrieve', - httpMethod: 'get', - httpPath: '/v0/projects/{project}', -},{ - clientCallName: 'client.projects.update', - fullyQualifiedName: 'projects.update', - httpMethod: 'patch', - httpPath: '/v0/projects/{project}', -},{ - clientCallName: 'client.projects.list', - fullyQualifiedName: 'projects.list', - httpMethod: 'get', - httpPath: '/v0/projects', -},{ - clientCallName: 'client.projects.generateCommitMessage', - fullyQualifiedName: 'projects.generateCommitMessage', - httpMethod: 'post', - httpPath: '/v0/projects/{project}/generate_commit_message', -},{ - clientCallName: 'client.projects.branches.create', - fullyQualifiedName: 'projects.branches.create', - httpMethod: 'post', - httpPath: '/v0/projects/{project}/branches', -},{ - clientCallName: 'client.projects.branches.retrieve', - fullyQualifiedName: 'projects.branches.retrieve', - httpMethod: 'get', - httpPath: '/v0/projects/{project}/branches/{branch}', -},{ - clientCallName: 'client.projects.branches.list', - fullyQualifiedName: 'projects.branches.list', - httpMethod: 'get', - httpPath: '/v0/projects/{project}/branches', -},{ - clientCallName: 'client.projects.branches.delete', - fullyQualifiedName: 'projects.branches.delete', - httpMethod: 'delete', - httpPath: '/v0/projects/{project}/branches/{branch}', -},{ - clientCallName: 'client.projects.branches.rebase', - fullyQualifiedName: 'projects.branches.rebase', - httpMethod: 'put', - httpPath: '/v0/projects/{project}/branches/{branch}/rebase', -},{ - clientCallName: 'client.projects.branches.reset', - fullyQualifiedName: 'projects.branches.reset', - httpMethod: 'put', - httpPath: '/v0/projects/{project}/branches/{branch}/reset', -},{ - clientCallName: 'client.projects.configs.retrieve', - fullyQualifiedName: 'projects.configs.retrieve', - httpMethod: 'get', - httpPath: '/v0/projects/{project}/configs', -},{ - clientCallName: 'client.projects.configs.guess', - fullyQualifiedName: 'projects.configs.guess', - httpMethod: 'post', - httpPath: '/v0/projects/{project}/configs/guess', -},{ - clientCallName: 'client.builds.create', - fullyQualifiedName: 'builds.create', - httpMethod: 'post', - httpPath: '/v0/builds', -},{ - clientCallName: 'client.builds.retrieve', - fullyQualifiedName: 'builds.retrieve', - httpMethod: 'get', - httpPath: '/v0/builds/{buildId}', -},{ - clientCallName: 'client.builds.list', - fullyQualifiedName: 'builds.list', - httpMethod: 'get', - httpPath: '/v0/builds', -},{ - clientCallName: 'client.builds.compare', - fullyQualifiedName: 'builds.compare', - httpMethod: 'post', - httpPath: '/v0/builds/compare', -},{ - clientCallName: 'client.builds.diagnostics.list', - fullyQualifiedName: 'builds.diagnostics.list', - httpMethod: 'get', - httpPath: '/v0/builds/{buildId}/diagnostics', -},{ - clientCallName: 'client.builds.targetOutputs.retrieve', - fullyQualifiedName: 'builds.targetOutputs.retrieve', - httpMethod: 'get', - httpPath: '/v0/build_target_outputs', -},{ - clientCallName: 'client.orgs.retrieve', - fullyQualifiedName: 'orgs.retrieve', - httpMethod: 'get', - httpPath: '/v0/orgs/{org}', -},{ - clientCallName: 'client.orgs.list', - fullyQualifiedName: 'orgs.list', - httpMethod: 'get', - httpPath: '/v0/orgs', -},{ - clientCallName: 'client.user.retrieve', - fullyQualifiedName: 'user.retrieve', - httpMethod: 'get', - httpPath: '/v0/user', -}]; +}; + +export const sdkMethods: SdkMethod[] = [ + { + clientCallName: 'client.projects.create', + fullyQualifiedName: 'projects.create', + httpMethod: 'post', + httpPath: '/v0/projects', + }, + { + clientCallName: 'client.projects.retrieve', + fullyQualifiedName: 'projects.retrieve', + httpMethod: 'get', + httpPath: '/v0/projects/{project}', + }, + { + clientCallName: 'client.projects.update', + fullyQualifiedName: 'projects.update', + httpMethod: 'patch', + httpPath: '/v0/projects/{project}', + }, + { + clientCallName: 'client.projects.list', + fullyQualifiedName: 'projects.list', + httpMethod: 'get', + httpPath: '/v0/projects', + }, + { + clientCallName: 'client.projects.generateCommitMessage', + fullyQualifiedName: 'projects.generateCommitMessage', + httpMethod: 'post', + httpPath: '/v0/projects/{project}/generate_commit_message', + }, + { + clientCallName: 'client.projects.branches.create', + fullyQualifiedName: 'projects.branches.create', + httpMethod: 'post', + httpPath: '/v0/projects/{project}/branches', + }, + { + clientCallName: 'client.projects.branches.retrieve', + fullyQualifiedName: 'projects.branches.retrieve', + httpMethod: 'get', + httpPath: '/v0/projects/{project}/branches/{branch}', + }, + { + clientCallName: 'client.projects.branches.list', + fullyQualifiedName: 'projects.branches.list', + httpMethod: 'get', + httpPath: '/v0/projects/{project}/branches', + }, + { + clientCallName: 'client.projects.branches.delete', + fullyQualifiedName: 'projects.branches.delete', + httpMethod: 'delete', + httpPath: '/v0/projects/{project}/branches/{branch}', + }, + { + clientCallName: 'client.projects.branches.rebase', + fullyQualifiedName: 'projects.branches.rebase', + httpMethod: 'put', + httpPath: '/v0/projects/{project}/branches/{branch}/rebase', + }, + { + clientCallName: 'client.projects.branches.reset', + fullyQualifiedName: 'projects.branches.reset', + httpMethod: 'put', + httpPath: '/v0/projects/{project}/branches/{branch}/reset', + }, + { + clientCallName: 'client.projects.configs.retrieve', + fullyQualifiedName: 'projects.configs.retrieve', + httpMethod: 'get', + httpPath: '/v0/projects/{project}/configs', + }, + { + clientCallName: 'client.projects.configs.guess', + fullyQualifiedName: 'projects.configs.guess', + httpMethod: 'post', + httpPath: '/v0/projects/{project}/configs/guess', + }, + { + clientCallName: 'client.builds.create', + fullyQualifiedName: 'builds.create', + httpMethod: 'post', + httpPath: '/v0/builds', + }, + { + clientCallName: 'client.builds.retrieve', + fullyQualifiedName: 'builds.retrieve', + httpMethod: 'get', + httpPath: '/v0/builds/{buildId}', + }, + { + clientCallName: 'client.builds.list', + fullyQualifiedName: 'builds.list', + httpMethod: 'get', + httpPath: '/v0/builds', + }, + { + clientCallName: 'client.builds.compare', + fullyQualifiedName: 'builds.compare', + httpMethod: 'post', + httpPath: '/v0/builds/compare', + }, + { + clientCallName: 'client.builds.diagnostics.list', + fullyQualifiedName: 'builds.diagnostics.list', + httpMethod: 'get', + httpPath: '/v0/builds/{buildId}/diagnostics', + }, + { + clientCallName: 'client.builds.targetOutputs.retrieve', + fullyQualifiedName: 'builds.targetOutputs.retrieve', + httpMethod: 'get', + httpPath: '/v0/build_target_outputs', + }, + { + clientCallName: 'client.orgs.retrieve', + fullyQualifiedName: 'orgs.retrieve', + httpMethod: 'get', + httpPath: '/v0/orgs/{org}', + }, + { + clientCallName: 'client.orgs.list', + fullyQualifiedName: 'orgs.list', + httpMethod: 'get', + httpPath: '/v0/orgs', + }, + { + clientCallName: 'client.user.retrieve', + fullyQualifiedName: 'user.retrieve', + httpMethod: 'get', + httpPath: '/v0/user', + }, +]; function allowedMethodsForCodeTool(options: McpOptions | undefined): SdkMethod[] | undefined { if (!options) { @@ -134,9 +157,9 @@ function allowedMethodsForCodeTool(options: McpOptions | undefined): SdkMethod[] if (options.codeAllowHttpGets) { // Add all methods that map to an HTTP GET - sdkMethods.filter((method) => method.httpMethod === 'get').forEach( - (method) => allowedMethodsSet.add(method) - ); + sdkMethods + .filter((method) => method.httpMethod === 'get') + .forEach((method) => allowedMethodsSet.add(method)); } if (options.codeAllowedMethods) { @@ -145,13 +168,15 @@ function allowedMethodsForCodeTool(options: McpOptions | undefined): SdkMethod[] try { return new RegExp(pattern); } catch (e) { - throw new Error(`Invalid regex pattern for allowed method: "${pattern}": ${e instanceof Error ? e.message : e}`); + throw new Error( + `Invalid regex pattern for allowed method: "${pattern}": ${e instanceof Error ? e.message : e}`, + ); } }); - sdkMethods.filter((method) => - allowedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)) - ).forEach((method) => allowedMethodsSet.add(method)); + sdkMethods + .filter((method) => allowedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName))) + .forEach((method) => allowedMethodsSet.add(method)); } allowedMethods = Array.from(allowedMethodsSet); @@ -166,12 +191,14 @@ function allowedMethodsForCodeTool(options: McpOptions | undefined): SdkMethod[] try { return new RegExp(pattern); } catch (e) { - throw new Error(`Invalid regex pattern for blocked method: "${pattern}": ${e instanceof Error ? e.message : e}`); + throw new Error( + `Invalid regex pattern for blocked method: "${pattern}": ${e instanceof Error ? e.message : e}`, + ); } }); - allowedMethods = allowedMethods.filter((method) => - !blockedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)) + allowedMethods = allowedMethods.filter( + (method) => !blockedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)), ); } diff --git a/packages/mcp-server/src/options.ts b/packages/mcp-server/src/options.ts index 873ab8e8..f1518764 100644 --- a/packages/mcp-server/src/options.ts +++ b/packages/mcp-server/src/options.ts @@ -31,31 +31,46 @@ export type McpCodeExecutionMode = 'stainless-sandbox' | 'local'; export function parseCLIOptions(): CLIOptions { const opts = yargs(hideBin(process.argv)) - .option('code-allow-http-gets', { type: 'boolean', description: 'Allow all code tool methods that map to HTTP GET operations. If all code-allow-* flags are unset, then everything is allowed.' }) + .option('code-allow-http-gets', { + type: 'boolean', + description: + 'Allow all code tool methods that map to HTTP GET operations. If all code-allow-* flags are unset, then everything is allowed.', + }) .option('code-allowed-methods', { type: 'string', array: true, - description: 'Methods to explicitly allow for code tool. Evaluated as regular expressions against method fully qualified names. If all code-allow-* flags are unset, then everything is allowed.', + description: + 'Methods to explicitly allow for code tool. Evaluated as regular expressions against method fully qualified names. If all code-allow-* flags are unset, then everything is allowed.', }) .option('code-blocked-methods', { type: 'string', array: true, - description: 'Methods to explicitly block for code tool. Evaluated as regular expressions against method fully qualified names. If all code-allow-* flags are unset, then everything is allowed.', + description: + 'Methods to explicitly block for code tool. Evaluated as regular expressions against method fully qualified names. If all code-allow-* flags are unset, then everything is allowed.', }) .option('code-execution-mode', { type: 'string', choices: ['stainless-sandbox', 'local'], default: 'stainless-sandbox', - description: 'Where to run code execution in code tool; \'stainless-sandbox\' will execute code in Stainless-hosted sandboxes whereas \'local\' will execute code locally on the MCP server machine.', + description: + "Where to run code execution in code tool; 'stainless-sandbox' will execute code in Stainless-hosted sandboxes whereas 'local' will execute code locally on the MCP server machine.", + }) + .option('custom-instructions-path', { + type: 'string', + description: 'Path to custom instructions for the MCP server', }) - .option('custom-instructions-path', { type: 'string', description: 'Path to custom instructions for the MCP server' }) .option('debug', { type: 'boolean', description: 'Enable debug logging' }) - .option('docs-dir', { type: 'string', description: 'Path to a directory of local documentation files (markdown/JSON) to include in local docs search.' }) + .option('docs-dir', { + type: 'string', + description: + 'Path to a directory of local documentation files (markdown/JSON) to include in local docs search.', + }) .option('docs-search-mode', { type: 'string', choices: ['stainless-api', 'local'], default: 'stainless-api', - description: 'Where to search documentation; \'stainless-api\' uses the Stainless-hosted search API whereas \'local\' uses an in-memory search index built from embedded SDK method data and optional local docs files.', + description: + "Where to search documentation; 'stainless-api' uses the Stainless-hosted search API whereas 'local' uses an in-memory search index built from embedded SDK method data and optional local docs files.", }) .option('log-format', { type: 'string', @@ -77,7 +92,8 @@ export function parseCLIOptions(): CLIOptions { .option('stainless-api-key', { type: 'string', default: readEnv('STAINLESS_API_KEY'), - description: 'API key for Stainless. Used to authenticate requests to Stainless-hosted tools endpoints.', + description: + 'API key for Stainless. Used to authenticate requests to Stainless-hosted tools endpoints.', }) .option('tools', { type: 'string', @@ -98,15 +114,18 @@ export function parseCLIOptions(): CLIOptions { const argv = opts.parseSync(); const shouldIncludeToolType = (toolType: 'code' | 'docs') => - argv.noTools?.includes(toolType) ? false - : argv.tools?.includes(toolType) ? true - : undefined; + argv.noTools?.includes(toolType) ? false + : argv.tools?.includes(toolType) ? true + : undefined; const includeCodeTool = shouldIncludeToolType('code'); const includeDocsTools = shouldIncludeToolType('docs'); const transport = argv.transport as 'stdio' | 'http'; - const logFormat = argv.logFormat ? argv.logFormat as 'json' | 'pretty' : (process.stderr.isTTY ? 'pretty' : 'json'); + const logFormat = + argv.logFormat ? (argv.logFormat as 'json' | 'pretty') + : process.stderr.isTTY ? 'pretty' + : 'json'; return { ...(includeCodeTool !== undefined && { includeCodeTool }), @@ -147,8 +166,8 @@ export function parseQueryOptions(defaultOptions: McpOptions, query: unknown): M const queryOptions = QueryOptions.parse(queryObject); let codeTool: boolean | undefined = - queryOptions.no_tools && queryOptions.no_tools?.includes("code") ? false - : queryOptions.tools?.includes("code") ? true + queryOptions.no_tools && queryOptions.no_tools?.includes('code') ? false + : queryOptions.tools?.includes('code') ? true : defaultOptions.includeCodeTool; let docsTools: boolean | undefined = diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index 2a62a09c..b3716eff 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -3,7 +3,9 @@ import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { - CallToolRequestSchema,ListToolsRequestSchema,SetLevelRequestSchema + CallToolRequestSchema, + ListToolsRequestSchema, + SetLevelRequestSchema, } from '@modelcontextprotocol/sdk/types.js'; import { ClientOptions } from '@stainless-api/sdk'; import Stainless from '@stainless-api/sdk'; @@ -14,25 +16,26 @@ import { LocalDocsSearch } from './local-docs-search'; import { getInstructions } from './instructions'; import { McpOptions } from './options'; import { blockedMethodsForCodeTool } from './methods'; -import { HandlerFunction, McpRequestContext, ToolCallResult, McpTool } from "./types" +import { HandlerFunction, McpRequestContext, ToolCallResult, McpTool } from './types'; import { readEnv } from './util'; export const newMcpServer = async ({ stainlessApiKey, customInstructionsPath, }: { - stainlessApiKey?: string | undefined, - customInstructionsPath?: string | undefined, -}) => new McpServer( - { - name: 'stainless_api_sdk_api', - version: '0.5.0', - }, - { - instructions: await getInstructions({stainlessApiKey, customInstructionsPath}), - capabilities: { tools: {}, logging: {} }, - } -); + stainlessApiKey?: string | undefined; + customInstructionsPath?: string | undefined; +}) => + new McpServer( + { + name: 'stainless_api_sdk_api', + version: '0.5.0', + }, + { + instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }), + capabilities: { tools: {}, logging: {} }, + }, + ); /** * Initializes the provided MCP Server with the given tools and handlers. @@ -54,15 +57,15 @@ export async function initMcpServer(params: { (message: string, ...rest: unknown[]) => { void server.sendLoggingMessage({ level, - data: {message, rest}, + data: { message, rest }, }); - } + }; const logger = { - debug: logAtLevel("debug"), - info: logAtLevel("info"), - warn: logAtLevel("warning"), - error: logAtLevel("error"), - } + debug: logAtLevel('debug'), + info: logAtLevel('info'), + warn: logAtLevel('warning'), + error: logAtLevel('error'), + }; if (params.mcpOptions?.docsSearchMode === 'local') { const docsDir = params.mcpOptions?.docsDir; @@ -79,14 +82,17 @@ export async function initMcpServer(params: { if (!_client) { try { _client = new Stainless({ - ...({ project: readEnv('STAINLESS_PROJECT'), environment: (readEnv('STAINLESS_ENVIRONMENT') || undefined) as any }), - logger, - ...params.clientOptions, - defaultHeaders: { - ...params.clientOptions?.defaultHeaders, - 'X-Stainless-MCP': 'true', - }, -}); + ...{ + project: readEnv('STAINLESS_PROJECT'), + environment: (readEnv('STAINLESS_ENVIRONMENT') || undefined) as any, + }, + logger, + ...params.clientOptions, + defaultHeaders: { + ...params.clientOptions?.defaultHeaders, + 'X-Stainless-MCP': 'true', + }, + }); if (_logLevel) { _client = _client.withOptions({ logLevel: _logLevel }); } @@ -119,10 +125,12 @@ export async function initMcpServer(params: { client = getClient(); } catch (error) { return { - content: [{ - type: 'text' as const, - text: `Failed to initialize client: ${error instanceof Error ? error.message : String(error)}`, - }], + content: [ + { + type: 'text' as const, + text: `Failed to initialize client: ${error instanceof Error ? error.message : String(error)}`, + }, + ], isError: true, }; } @@ -172,17 +180,16 @@ export async function initMcpServer(params: { /** * Selects the tools to include in the MCP Server based on the provided options. */ -export function selectTools( - options?: McpOptions -): McpTool[] { - +export function selectTools(options?: McpOptions): McpTool[] { const includedTools = []; if (options?.includeCodeTool ?? true) { - includedTools.push(codeTool({ - blockedMethods: blockedMethodsForCodeTool(options), - codeExecutionMode: options?.codeExecutionMode ?? 'stainless-sandbox', - })); + includedTools.push( + codeTool({ + blockedMethods: blockedMethodsForCodeTool(options), + codeExecutionMode: options?.codeExecutionMode ?? 'stainless-sandbox', + }), + ); } if (options?.includeDocsTools ?? true) { includedTools.push(docsSearchTool); @@ -193,13 +200,14 @@ export function selectTools( /** * Runs the provided handler with the given client and arguments. */ -export async function executeHandler( - {handler, reqContext, args}: - { - handler: HandlerFunction; - reqContext: McpRequestContext; - args: Record | undefined; - } -): Promise { - return await handler({reqContext, args: args || {}}); +export async function executeHandler({ + handler, + reqContext, + args, +}: { + handler: HandlerFunction; + reqContext: McpRequestContext; + args: Record | undefined; +}): Promise { + return await handler({ reqContext, args: args || {} }); } diff --git a/packages/mcp-server/src/types.ts b/packages/mcp-server/src/types.ts index 6c68dafa..b26edeb7 100644 --- a/packages/mcp-server/src/types.ts +++ b/packages/mcp-server/src/types.ts @@ -4,41 +4,43 @@ import Stainless from '@stainless-api/sdk'; import { Tool } from '@modelcontextprotocol/sdk/types.js'; type TextContentBlock = { - type: "text", - text: string -} + type: 'text'; + text: string; +}; type ImageContentBlock = { - type: "image", - data: string, - mimeType: string -} + type: 'image'; + data: string; + mimeType: string; +}; type AudioContentBlock = { - type: "audio", - data: string, - mimeType: string -} + type: 'audio'; + data: string; + mimeType: string; +}; type ResourceContentBlock = { - type: "resource", - resource: { - uri: string, - mimeType: string, - text: string - } | { - uri: string, - mimeType: string, - blob: string - } -} + type: 'resource'; + resource: + | { + uri: string; + mimeType: string; + text: string; + } + | { + uri: string; + mimeType: string; + blob: string; + }; +}; export type ContentBlock = TextContentBlock | ImageContentBlock | AudioContentBlock | ResourceContentBlock; export type ToolCallResult = { content: ContentBlock[]; isError?: boolean; -} +}; export type McpRequestContext = { client: Stainless; @@ -46,7 +48,7 @@ export type McpRequestContext = { upstreamClientEnvs?: Record | undefined; mcpSessionId?: string | undefined; mcpClientInfo?: { name: string; version: string } | undefined; -} +}; export type HandlerFunction = ({ reqContext, @@ -56,9 +58,7 @@ export type HandlerFunction = ({ args: Record | undefined; }) => Promise; -export function asTextContentResult( - result: unknown, -): ToolCallResult { +export function asTextContentResult(result: unknown): ToolCallResult { return { content: [ { @@ -69,24 +69,18 @@ export function asTextContentResult( }; } -export async function asBinaryContentResult( - response: Response, -): Promise { +export async function asBinaryContentResult(response: Response): Promise { const blob = await response.blob(); const mimeType = blob.type; const data = Buffer.from(await blob.arrayBuffer()).toString('base64'); if (mimeType.startsWith('image/')) { return { - content: [ - {type: 'image', mimeType, data} - ] - } + content: [{ type: 'image', mimeType, data }], + }; } else if (mimeType.startsWith('audio/')) { return { - content: [ - {type: 'audio', mimeType, data} - ] - } + content: [{ type: 'audio', mimeType, data }], + }; } else { return { content: [ @@ -104,9 +98,7 @@ export async function asBinaryContentResult( } } -export function asErrorResult( - message: string -): ToolCallResult { +export function asErrorResult(message: string): ToolCallResult { return { content: [ { @@ -128,7 +120,7 @@ export type Metadata = { }; export type McpTool = { - metadata: Metadata, - tool: Tool, - handler: HandlerFunction + metadata: Metadata; + tool: Tool; + handler: HandlerFunction; }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c93c85e..3cc75195 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,6 @@ overrides: minimatch: ^9.0.5 importers: - .: devDependencies: '@arethetypeswrong/cli': @@ -200,344 +199,574 @@ importers: version: 4.2.0 packages: - '@andrewbranch/untar.js@1.0.3': - resolution: {integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==} + resolution: + { + integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==, + } '@anthropic-ai/mcpb@2.1.2': - resolution: {integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==} + resolution: + { + integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==, + } hasBin: true '@arethetypeswrong/cli@0.17.0': - resolution: {integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==, + } + engines: { node: '>=18' } hasBin: true '@arethetypeswrong/core@0.17.0': - resolution: {integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==, + } + engines: { node: '>=18' } '@babel/code-frame@7.28.6': - resolution: {integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==, + } + engines: { node: '>=6.9.0' } '@babel/compat-data@7.28.6': - resolution: {integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==, + } + engines: { node: '>=6.9.0' } '@babel/core@7.28.6': - resolution: {integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==, + } + engines: { node: '>=6.9.0' } '@babel/generator@7.28.6': - resolution: {integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==, + } + engines: { node: '>=6.9.0' } '@babel/helper-compilation-targets@7.28.6': - resolution: {integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==, + } + engines: { node: '>=6.9.0' } '@babel/helper-globals@7.28.0': - resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==, + } + engines: { node: '>=6.9.0' } '@babel/helper-module-imports@7.28.6': - resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==, + } + engines: { node: '>=6.9.0' } '@babel/helper-module-transforms@7.28.6': - resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-plugin-utils@7.28.6': - resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==, + } + engines: { node: '>=6.9.0' } '@babel/helper-string-parser@7.27.1': - resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==, + } + engines: { node: '>=6.9.0' } '@babel/helper-validator-identifier@7.28.5': - resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==, + } + engines: { node: '>=6.9.0' } '@babel/helper-validator-option@7.27.1': - resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==, + } + engines: { node: '>=6.9.0' } '@babel/helpers@7.28.6': - resolution: {integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==, + } + engines: { node: '>=6.9.0' } '@babel/parser@7.28.6': - resolution: {integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==} - engines: {node: '>=6.0.0'} + resolution: + { + integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==, + } + engines: { node: '>=6.0.0' } hasBin: true '@babel/plugin-syntax-async-generators@7.8.4': - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} + resolution: + { + integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-bigint@7.8.3': - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} + resolution: + { + integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-properties@7.12.13': - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + resolution: + { + integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-static-block@7.14.5': - resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-attributes@7.28.6': - resolution: {integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-meta@7.10.4': - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} + resolution: + { + integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-json-strings@7.8.3': - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} + resolution: + { + integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-jsx@7.28.6': - resolution: {integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-logical-assignment-operators@7.10.4': - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} + resolution: + { + integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3': - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} + resolution: + { + integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-numeric-separator@7.10.4': - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} + resolution: + { + integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-object-rest-spread@7.8.3': - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} + resolution: + { + integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-catch-binding@7.8.3': - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} + resolution: + { + integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-chaining@7.8.3': - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} + resolution: + { + integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-private-property-in-object@7.14.5': - resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-top-level-await@7.14.5': - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-typescript@7.28.6': - resolution: {integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/template@7.28.6': - resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==, + } + engines: { node: '>=6.9.0' } '@babel/traverse@7.28.6': - resolution: {integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==, + } + engines: { node: '>=6.9.0' } '@babel/types@7.28.6': - resolution: {integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==, + } + engines: { node: '>=6.9.0' } '@bcoe/v8-coverage@0.2.3': - resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} + resolution: + { + integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==, + } '@cloudflare/cabidela@0.2.4': - resolution: {integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==} + resolution: + { + integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==, + } '@colors/colors@1.5.0': - resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} - engines: {node: '>=0.1.90'} + resolution: + { + integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==, + } + engines: { node: '>=0.1.90' } '@cspotcode/source-map-consumer@0.8.0': - resolution: {integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==, + } + engines: { node: '>= 12' } '@cspotcode/source-map-support@0.7.0': - resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==, + } + engines: { node: '>=12' } '@eslint-community/eslint-utils@4.4.0': - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + resolution: + { + integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==, + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/eslint-utils@4.9.0': - resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + resolution: + { + integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==, + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/regexpp@4.12.1': - resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + resolution: + { + integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==, + } + engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } '@eslint-community/regexpp@4.12.2': - resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + resolution: + { + integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==, + } + engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } '@eslint/config-array@0.21.1': - resolution: {integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/config-helpers@0.4.2': - resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/core@0.17.0': - resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/eslintrc@3.3.3': - resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/js@9.39.1': - resolution: {integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/object-schema@2.1.7': - resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/plugin-kit@0.4.1': - resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@hono/node-server@1.19.11': - resolution: {integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==} - engines: {node: '>=18.14.1'} + resolution: + { + integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==, + } + engines: { node: '>=18.14.1' } peerDependencies: hono: ^4 '@humanfs/core@0.19.1': - resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} - engines: {node: '>=18.18.0'} + resolution: + { + integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==, + } + engines: { node: '>=18.18.0' } '@humanfs/node@0.16.7': - resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==} - engines: {node: '>=18.18.0'} + resolution: + { + integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==, + } + engines: { node: '>=18.18.0' } '@humanwhocodes/module-importer@1.0.1': - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} + resolution: + { + integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==, + } + engines: { node: '>=12.22' } '@humanwhocodes/retry@0.4.3': - resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} - engines: {node: '>=18.18'} + resolution: + { + integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==, + } + engines: { node: '>=18.18' } '@inquirer/checkbox@3.0.1': - resolution: {integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==, + } + engines: { node: '>=18' } '@inquirer/confirm@4.0.1': - resolution: {integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==, + } + engines: { node: '>=18' } '@inquirer/core@9.2.1': - resolution: {integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==, + } + engines: { node: '>=18' } '@inquirer/editor@3.0.1': - resolution: {integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==, + } + engines: { node: '>=18' } '@inquirer/expand@3.0.1': - resolution: {integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==, + } + engines: { node: '>=18' } '@inquirer/figures@1.0.15': - resolution: {integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==, + } + engines: { node: '>=18' } '@inquirer/input@3.0.1': - resolution: {integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==, + } + engines: { node: '>=18' } '@inquirer/number@2.0.1': - resolution: {integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==, + } + engines: { node: '>=18' } '@inquirer/password@3.0.1': - resolution: {integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==, + } + engines: { node: '>=18' } '@inquirer/prompts@6.0.1': - resolution: {integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==, + } + engines: { node: '>=18' } '@inquirer/rawlist@3.0.1': - resolution: {integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==, + } + engines: { node: '>=18' } '@inquirer/search@2.0.1': - resolution: {integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==, + } + engines: { node: '>=18' } '@inquirer/select@3.0.1': - resolution: {integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==, + } + engines: { node: '>=18' } '@inquirer/type@2.0.0': - resolution: {integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==, + } + engines: { node: '>=18' } '@istanbuljs/load-nyc-config@1.1.0': - resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==, + } + engines: { node: '>=8' } '@istanbuljs/schema@0.1.3': - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==, + } + engines: { node: '>=8' } '@jest/console@29.7.0': - resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/core@29.7.0': - resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -545,32 +774,53 @@ packages: optional: true '@jest/create-cache-key-function@29.7.0': - resolution: {integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/environment@29.7.0': - resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/expect-utils@29.7.0': - resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/expect@29.7.0': - resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/fake-timers@29.7.0': - resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/globals@29.7.0': - resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/reporters@29.7.0': - resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -578,54 +828,96 @@ packages: optional: true '@jest/schemas@29.6.3': - resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/source-map@29.6.3': - resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/test-result@29.7.0': - resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/test-sequencer@29.7.0': - resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/transform@29.7.0': - resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/types@29.6.3': - resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jridgewell/gen-mapping@0.3.13': - resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + resolution: + { + integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==, + } '@jridgewell/remapping@2.3.5': - resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + resolution: + { + integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==, + } '@jridgewell/resolve-uri@3.1.1': - resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} - engines: {node: '>=6.0.0'} + resolution: + { + integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==, + } + engines: { node: '>=6.0.0' } '@jridgewell/sourcemap-codec@1.4.15': - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + resolution: + { + integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==, + } '@jridgewell/sourcemap-codec@1.5.5': - resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + resolution: + { + integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==, + } '@jridgewell/trace-mapping@0.3.20': - resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} + resolution: + { + integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==, + } '@jridgewell/trace-mapping@0.3.31': - resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + resolution: + { + integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==, + } '@modelcontextprotocol/sdk@1.27.1': - resolution: {integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==, + } + engines: { node: '>=18' } peerDependencies: '@cfworker/json-schema': ^4.1.1 zod: ^3.25 || ^4.0 @@ -634,104 +926,164 @@ packages: optional: true '@nodelib/fs.scandir@2.1.5': - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==, + } + engines: { node: '>= 8' } '@nodelib/fs.stat@2.0.5': - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==, + } + engines: { node: '>= 8' } '@nodelib/fs.walk@1.2.8': - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==, + } + engines: { node: '>= 8' } '@pinojs/redact@0.4.0': - resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==} + resolution: + { + integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==, + } '@pkgr/core@0.2.4': - resolution: {integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + resolution: + { + integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==, + } + engines: { node: ^12.20.0 || ^14.18.0 || >=16.0.0 } '@sinclair/typebox@0.27.8': - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + resolution: + { + integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==, + } '@sindresorhus/is@4.6.0': - resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==, + } + engines: { node: '>=10' } '@sinonjs/commons@3.0.0': - resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} + resolution: + { + integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==, + } '@sinonjs/fake-timers@10.3.0': - resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} + resolution: + { + integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==, + } '@swc/core-darwin-arm64@1.4.16': - resolution: {integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==, + } + engines: { node: '>=10' } cpu: [arm64] os: [darwin] '@swc/core-darwin-x64@1.4.16': - resolution: {integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==, + } + engines: { node: '>=10' } cpu: [x64] os: [darwin] '@swc/core-linux-arm-gnueabihf@1.4.16': - resolution: {integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==, + } + engines: { node: '>=10' } cpu: [arm] os: [linux] '@swc/core-linux-arm64-gnu@1.4.16': - resolution: {integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==, + } + engines: { node: '>=10' } cpu: [arm64] os: [linux] libc: [glibc] '@swc/core-linux-arm64-musl@1.4.16': - resolution: {integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==, + } + engines: { node: '>=10' } cpu: [arm64] os: [linux] libc: [musl] '@swc/core-linux-x64-gnu@1.4.16': - resolution: {integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==, + } + engines: { node: '>=10' } cpu: [x64] os: [linux] libc: [glibc] '@swc/core-linux-x64-musl@1.4.16': - resolution: {integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==, + } + engines: { node: '>=10' } cpu: [x64] os: [linux] libc: [musl] '@swc/core-win32-arm64-msvc@1.4.16': - resolution: {integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==, + } + engines: { node: '>=10' } cpu: [arm64] os: [win32] '@swc/core-win32-ia32-msvc@1.4.16': - resolution: {integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==, + } + engines: { node: '>=10' } cpu: [ia32] os: [win32] '@swc/core-win32-x64-msvc@1.4.16': - resolution: {integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==, + } + engines: { node: '>=10' } cpu: [x64] os: [win32] '@swc/core@1.4.16': - resolution: {integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==, + } + engines: { node: '>=10' } peerDependencies: '@swc/helpers': ^0.5.0 peerDependenciesMeta: @@ -739,204 +1091,366 @@ packages: optional: true '@swc/counter@0.1.3': - resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + resolution: + { + integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==, + } '@swc/jest@0.2.36': - resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} - engines: {npm: '>= 7.0.0'} + resolution: + { + integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==, + } + engines: { npm: '>= 7.0.0' } peerDependencies: '@swc/core': '*' '@swc/types@0.1.6': - resolution: {integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==} + resolution: + { + integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==, + } '@ts-morph/common@0.20.0': - resolution: {integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==} + resolution: + { + integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==, + } '@tsconfig/node10@1.0.8': - resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==} + resolution: + { + integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==, + } '@tsconfig/node12@1.0.9': - resolution: {integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==} + resolution: + { + integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==, + } '@tsconfig/node14@1.0.1': - resolution: {integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==} + resolution: + { + integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==, + } '@tsconfig/node16@1.0.2': - resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} + resolution: + { + integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==, + } '@types/babel__core@7.20.5': - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} + resolution: + { + integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==, + } '@types/babel__generator@7.6.8': - resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} + resolution: + { + integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==, + } '@types/babel__template@7.4.4': - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} + resolution: + { + integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==, + } '@types/babel__traverse@7.20.4': - resolution: {integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==} + resolution: + { + integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==, + } '@types/body-parser@1.19.6': - resolution: {integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==} + resolution: + { + integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==, + } '@types/connect@3.4.38': - resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} + resolution: + { + integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==, + } '@types/cookie-parser@1.4.10': - resolution: {integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==} + resolution: + { + integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==, + } peerDependencies: '@types/express': '*' '@types/cors@2.8.19': - resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==} + resolution: + { + integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==, + } '@types/estree@1.0.8': - resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} + resolution: + { + integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==, + } '@types/express-serve-static-core@5.0.7': - resolution: {integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==} + resolution: + { + integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==, + } '@types/express@5.0.3': - resolution: {integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==} + resolution: + { + integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==, + } '@types/graceful-fs@4.1.9': - resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} + resolution: + { + integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==, + } '@types/http-errors@2.0.5': - resolution: {integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==} + resolution: + { + integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==, + } '@types/istanbul-lib-coverage@2.0.6': - resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} + resolution: + { + integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==, + } '@types/istanbul-lib-report@3.0.3': - resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} + resolution: + { + integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==, + } '@types/istanbul-reports@3.0.4': - resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} + resolution: + { + integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==, + } '@types/jest@29.5.11': - resolution: {integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==} + resolution: + { + integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==, + } '@types/json-schema@7.0.15': - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + resolution: + { + integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==, + } '@types/mime@1.3.5': - resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} + resolution: + { + integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==, + } '@types/mute-stream@0.0.4': - resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} + resolution: + { + integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==, + } '@types/node@20.19.11': - resolution: {integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==} + resolution: + { + integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==, + } '@types/node@22.19.1': - resolution: {integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==} + resolution: + { + integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==, + } '@types/qs@6.14.0': - resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==} + resolution: + { + integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==, + } '@types/range-parser@1.2.7': - resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} + resolution: + { + integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==, + } '@types/send@0.17.5': - resolution: {integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==} + resolution: + { + integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==, + } '@types/serve-static@1.15.8': - resolution: {integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==} + resolution: + { + integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==, + } '@types/stack-utils@2.0.3': - resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} + resolution: + { + integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==, + } '@types/wrap-ansi@3.0.0': - resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} + resolution: + { + integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==, + } '@types/yargs-parser@21.0.3': - resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} + resolution: + { + integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==, + } '@types/yargs@17.0.32': - resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} + resolution: + { + integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==, + } '@typescript-eslint/eslint-plugin@8.31.1': - resolution: {integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/parser@8.31.1': - resolution: {integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/scope-manager@8.31.1': - resolution: {integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@typescript-eslint/type-utils@8.31.1': - resolution: {integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/types@8.31.1': - resolution: {integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@typescript-eslint/typescript-estree@8.31.1': - resolution: {integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/utils@8.31.1': - resolution: {integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/visitor-keys@8.31.1': - resolution: {integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@valtown/deno-http-worker@0.0.21': - resolution: {integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==} - engines: {node: 20 || 22 || 24} + resolution: + { + integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==, + } + engines: { node: 20 || 22 || 24 } accepts@2.0.0: - resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==, + } + engines: { node: '>= 0.6' } acorn-jsx@5.3.2: - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + resolution: + { + integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==, + } peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 acorn-walk@8.2.0: - resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} - engines: {node: '>=0.4.0'} + resolution: + { + integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==, + } + engines: { node: '>=0.4.0' } acorn@8.14.0: - resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} - engines: {node: '>=0.4.0'} + resolution: + { + integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==, + } + engines: { node: '>=0.4.0' } hasBin: true acorn@8.15.0: - resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} - engines: {node: '>=0.4.0'} + resolution: + { + integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==, + } + engines: { node: '>=0.4.0' } hasBin: true aggregate-error@3.1.0: - resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==, + } + engines: { node: '>=8' } ajv-formats@3.0.1: - resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} + resolution: + { + integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==, + } peerDependencies: ajv: ^8.0.0 peerDependenciesMeta: @@ -944,262 +1458,466 @@ packages: optional: true ajv@6.12.6: - resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + resolution: + { + integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==, + } ajv@8.18.0: - resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==} + resolution: + { + integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==, + } ansi-escapes@4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==, + } + engines: { node: '>=8' } ansi-escapes@7.0.0: - resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==, + } + engines: { node: '>=18' } ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==, + } + engines: { node: '>=8' } ansi-regex@6.1.0: - resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==, + } + engines: { node: '>=12' } ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, + } + engines: { node: '>=8' } ansi-styles@5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==, + } + engines: { node: '>=10' } any-promise@1.3.0: - resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + resolution: + { + integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==, + } anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==, + } + engines: { node: '>= 8' } arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} + resolution: + { + integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==, + } argparse@1.0.10: - resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + resolution: + { + integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==, + } argparse@2.0.1: - resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + resolution: + { + integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==, + } atomic-sleep@1.0.0: - resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} - engines: {node: '>=8.0.0'} + resolution: + { + integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==, + } + engines: { node: '>=8.0.0' } babel-jest@29.7.0: - resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: '@babel/core': ^7.8.0 babel-plugin-istanbul@6.1.1: - resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==, + } + engines: { node: '>=8' } babel-plugin-jest-hoist@29.6.3: - resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } babel-preset-current-node-syntax@1.2.0: - resolution: {integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==} + resolution: + { + integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==, + } peerDependencies: '@babel/core': ^7.0.0 || ^8.0.0-0 babel-preset-jest@29.6.3: - resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: '@babel/core': ^7.0.0 balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + resolution: + { + integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==, + } baseline-browser-mapping@2.9.14: - resolution: {integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==} + resolution: + { + integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==, + } hasBin: true body-parser@2.2.2: - resolution: {integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==, + } + engines: { node: '>=18' } brace-expansion@2.0.2: - resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} + resolution: + { + integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==, + } braces@3.0.3: - resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==, + } + engines: { node: '>=8' } browserslist@4.28.1: - resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + resolution: + { + integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==, + } + engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 } hasBin: true bs-logger@0.2.6: - resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==, + } + engines: { node: '>= 6' } bser@2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} + resolution: + { + integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==, + } buffer-from@1.1.2: - resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + resolution: + { + integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==, + } bytes@3.1.2: - resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==, + } + engines: { node: '>= 0.8' } call-bind-apply-helpers@1.0.2: - resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==, + } + engines: { node: '>= 0.4' } call-bound@1.0.4: - resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==, + } + engines: { node: '>= 0.4' } callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==, + } + engines: { node: '>=6' } camelcase@5.3.1: - resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==, + } + engines: { node: '>=6' } camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==, + } + engines: { node: '>=10' } caniuse-lite@1.0.30001764: - resolution: {integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==} + resolution: + { + integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==, + } chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==, + } + engines: { node: '>=10' } chalk@5.3.0: - resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} - engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + resolution: + { + integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==, + } + engines: { node: ^12.17.0 || ^14.13 || >=16.0.0 } char-regex@1.0.2: - resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==, + } + engines: { node: '>=10' } chardet@0.7.0: - resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + resolution: + { + integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==, + } ci-info@3.9.0: - resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==, + } + engines: { node: '>=8' } cjs-module-lexer@1.4.1: - resolution: {integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==} + resolution: + { + integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==, + } clean-stack@2.2.0: - resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==, + } + engines: { node: '>=6' } cli-highlight@2.1.11: - resolution: {integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==} - engines: {node: '>=8.0.0', npm: '>=5.0.0'} + resolution: + { + integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==, + } + engines: { node: '>=8.0.0', npm: '>=5.0.0' } hasBin: true cli-table3@0.6.5: - resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} - engines: {node: 10.* || >= 12.*} + resolution: + { + integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==, + } + engines: { node: 10.* || >= 12.* } cli-width@4.1.0: - resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==, + } + engines: { node: '>= 12' } cliui@7.0.4: - resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + resolution: + { + integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==, + } cliui@8.0.1: - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==, + } + engines: { node: '>=12' } co@4.6.0: - resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} - engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} + resolution: + { + integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==, + } + engines: { iojs: '>= 1.0.0', node: '>= 0.12.0' } code-block-writer@12.0.0: - resolution: {integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==} + resolution: + { + integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==, + } collect-v8-coverage@1.0.2: - resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} + resolution: + { + integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==, + } color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} + resolution: + { + integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==, + } + engines: { node: '>=7.0.0' } color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + resolution: + { + integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, + } colorette@2.0.20: - resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + resolution: + { + integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==, + } commander@10.0.1: - resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} - engines: {node: '>=14'} + resolution: + { + integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==, + } + engines: { node: '>=14' } commander@13.1.0: - resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==, + } + engines: { node: '>=18' } content-disposition@1.0.0: - resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==, + } + engines: { node: '>= 0.6' } content-type@1.0.5: - resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==, + } + engines: { node: '>= 0.6' } convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + resolution: + { + integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==, + } cookie-parser@1.4.7: - resolution: {integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==, + } + engines: { node: '>= 0.8.0' } cookie-signature@1.0.6: - resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} + resolution: + { + integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==, + } cookie-signature@1.2.2: - resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==} - engines: {node: '>=6.6.0'} + resolution: + { + integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==, + } + engines: { node: '>=6.6.0' } cookie@0.7.2: - resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==, + } + engines: { node: '>= 0.6' } cors@2.8.5: - resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==, + } + engines: { node: '>= 0.10' } create-jest@29.7.0: - resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } hasBin: true create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} + resolution: + { + integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==, + } cross-spawn@7.0.6: - resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==, + } + engines: { node: '>= 8' } dateformat@4.6.3: - resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==} + resolution: + { + integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==, + } debug@4.4.1: - resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} - engines: {node: '>=6.0'} + resolution: + { + integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==, + } + engines: { node: '>=6.0' } peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1207,8 +1925,11 @@ packages: optional: true debug@4.4.3: - resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} - engines: {node: '>=6.0'} + resolution: + { + integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==, + } + engines: { node: '>=6.0' } peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1216,7 +1937,10 @@ packages: optional: true dedent@1.5.1: - resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==} + resolution: + { + integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==, + } peerDependencies: babel-plugin-macros: ^3.1.0 peerDependenciesMeta: @@ -1224,96 +1948,171 @@ packages: optional: true deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + resolution: + { + integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==, + } deepmerge@4.3.1: - resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==, + } + engines: { node: '>=0.10.0' } depd@2.0.0: - resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==, + } + engines: { node: '>= 0.8' } detect-newline@3.1.0: - resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==, + } + engines: { node: '>=8' } diff-sequences@29.6.3: - resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} + resolution: + { + integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==, + } + engines: { node: '>=0.3.1' } dunder-proto@1.0.1: - resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==, + } + engines: { node: '>= 0.4' } ee-first@1.1.1: - resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + resolution: + { + integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==, + } electron-to-chromium@1.5.267: - resolution: {integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==} + resolution: + { + integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==, + } emittery@0.13.1: - resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==, + } + engines: { node: '>=12' } emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + resolution: + { + integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==, + } emojilib@2.4.0: - resolution: {integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==} + resolution: + { + integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==, + } encodeurl@2.0.0: - resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==, + } + engines: { node: '>= 0.8' } end-of-stream@1.4.5: - resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} + resolution: + { + integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==, + } environment@1.1.0: - resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==, + } + engines: { node: '>=18' } error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + resolution: + { + integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==, + } es-define-property@1.0.1: - resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==, + } + engines: { node: '>= 0.4' } es-errors@1.3.0: - resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==, + } + engines: { node: '>= 0.4' } es-object-atoms@1.1.1: - resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==, + } + engines: { node: '>= 0.4' } escalade@3.1.1: - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==, + } + engines: { node: '>=6' } escalade@3.2.0: - resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==, + } + engines: { node: '>=6' } escape-html@1.0.3: - resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} + resolution: + { + integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, + } escape-string-regexp@2.0.0: - resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==, + } + engines: { node: '>=8' } escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==, + } + engines: { node: '>=10' } eslint-plugin-prettier@5.4.1: - resolution: {integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==} - engines: {node: ^14.18.0 || >=16.0.0} + resolution: + { + integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==, + } + engines: { node: ^14.18.0 || >=16.0.0 } peerDependencies: '@types/eslint': '>=8.0.0' eslint: '>=8.0.0' @@ -1326,7 +2125,10 @@ packages: optional: true eslint-plugin-unused-imports@4.1.4: - resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} + resolution: + { + integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==, + } peerDependencies: '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0 eslint: ^9.0.0 || ^8.0.0 @@ -1335,24 +2137,39 @@ packages: optional: true eslint-scope@8.4.0: - resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } eslint-visitor-keys@3.4.3: - resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + resolution: + { + integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==, + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } eslint-visitor-keys@4.2.0: - resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } eslint-visitor-keys@4.2.1: - resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } eslint@9.39.1: - resolution: {integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } hasBin: true peerDependencies: jiti: '*' @@ -1361,392 +2178,695 @@ packages: optional: true espree@10.4.0: - resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } esprima@4.0.1: - resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==, + } + engines: { node: '>=4' } hasBin: true esquery@1.6.0: - resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} - engines: {node: '>=0.10'} + resolution: + { + integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==, + } + engines: { node: '>=0.10' } esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} + resolution: + { + integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==, + } + engines: { node: '>=4.0' } estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} + resolution: + { + integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==, + } + engines: { node: '>=4.0' } esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==, + } + engines: { node: '>=0.10.0' } etag@1.8.1: - resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==, + } + engines: { node: '>= 0.6' } eventsource-parser@3.0.6: - resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==} - engines: {node: '>=18.0.0'} + resolution: + { + integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==, + } + engines: { node: '>=18.0.0' } eventsource@3.0.7: - resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==} - engines: {node: '>=18.0.0'} + resolution: + { + integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==, + } + engines: { node: '>=18.0.0' } execa@5.1.1: - resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, + } + engines: { node: '>=10' } exit@0.1.2: - resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==, + } + engines: { node: '>= 0.8.0' } expect@29.7.0: - resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } express-rate-limit@8.3.1: - resolution: {integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==} - engines: {node: '>= 16'} + resolution: + { + integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==, + } + engines: { node: '>= 16' } peerDependencies: express: '>= 4.11' express@5.2.1: - resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==, + } + engines: { node: '>= 18' } external-editor@3.1.0: - resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==, + } + engines: { node: '>=4' } fast-copy@4.0.2: - resolution: {integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==} + resolution: + { + integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==, + } fast-deep-equal@3.1.3: - resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + resolution: + { + integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==, + } fast-diff@1.3.0: - resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + resolution: + { + integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==, + } fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} + resolution: + { + integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==, + } + engines: { node: '>=8.6.0' } fast-json-stable-stringify@2.1.0: - resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + resolution: + { + integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==, + } fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + resolution: + { + integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==, + } fast-safe-stringify@2.1.1: - resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} + resolution: + { + integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==, + } fast-uri@3.1.0: - resolution: {integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==} + resolution: + { + integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==, + } fastq@1.17.1: - resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + resolution: + { + integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==, + } fb-watchman@2.0.2: - resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + resolution: + { + integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==, + } fflate@0.8.2: - resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + resolution: + { + integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==, + } file-entry-cache@8.0.0: - resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} - engines: {node: '>=16.0.0'} + resolution: + { + integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==, + } + engines: { node: '>=16.0.0' } fill-range@7.1.1: - resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==, + } + engines: { node: '>=8' } finalhandler@2.1.0: - resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==, + } + engines: { node: '>= 0.8' } find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==, + } + engines: { node: '>=8' } find-up@5.0.0: - resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==, + } + engines: { node: '>=10' } flat-cache@4.0.1: - resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} - engines: {node: '>=16'} + resolution: + { + integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==, + } + engines: { node: '>=16' } flatted@3.3.3: - resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} + resolution: + { + integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==, + } flora-colossus@2.0.0: - resolution: {integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==, + } + engines: { node: '>= 12' } forwarded@0.2.0: - resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==, + } + engines: { node: '>= 0.6' } fresh@2.0.0: - resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==, + } + engines: { node: '>= 0.8' } fs-extra@10.1.0: - resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==, + } + engines: { node: '>=12' } fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + resolution: + { + integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==, + } fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + resolution: + { + integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==, + } + engines: { node: ^8.16.0 || ^10.6.0 || >=11.0.0 } os: [darwin] function-bind@1.1.2: - resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + resolution: + { + integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==, + } fuse.js@7.1.0: - resolution: {integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==, + } + engines: { node: '>=10' } galactus@1.0.0: - resolution: {integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==, + } + engines: { node: '>= 12' } gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==, + } + engines: { node: '>=6.9.0' } get-caller-file@2.0.5: - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} - engines: {node: 6.* || 8.* || >= 10.*} + resolution: + { + integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, + } + engines: { node: 6.* || 8.* || >= 10.* } get-intrinsic@1.3.0: - resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==, + } + engines: { node: '>= 0.4' } get-package-type@0.1.0: - resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} - engines: {node: '>=8.0.0'} + resolution: + { + integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==, + } + engines: { node: '>=8.0.0' } get-proto@1.0.1: - resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==, + } + engines: { node: '>= 0.4' } get-stdin@8.0.0: - resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==, + } + engines: { node: '>=10' } get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==, + } + engines: { node: '>=10' } glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==, + } + engines: { node: '>= 6' } glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} + resolution: + { + integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==, + } + engines: { node: '>=10.13.0' } glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + resolution: + { + integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==, + } deprecated: Glob versions prior to v9 are no longer supported glob@8.1.0: - resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==, + } + engines: { node: '>=12' } deprecated: Glob versions prior to v9 are no longer supported globals@14.0.0: - resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==, + } + engines: { node: '>=18' } gopd@1.2.0: - resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==, + } + engines: { node: '>= 0.4' } graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + resolution: + { + integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==, + } graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + resolution: + { + integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==, + } handlebars@4.7.8: - resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} - engines: {node: '>=0.4.7'} + resolution: + { + integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==, + } + engines: { node: '>=0.4.7' } hasBin: true has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==, + } + engines: { node: '>=8' } has-symbols@1.1.0: - resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==, + } + engines: { node: '>= 0.4' } hasown@2.0.0: - resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==, + } + engines: { node: '>= 0.4' } hasown@2.0.2: - resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==, + } + engines: { node: '>= 0.4' } help-me@5.0.0: - resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==} + resolution: + { + integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==, + } highlight.js@10.7.3: - resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} + resolution: + { + integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==, + } hono@4.12.5: - resolution: {integrity: sha512-3qq+FUBtlTHhtYxbxheZgY8NIFnkkC/MR8u5TTsr7YZ3wixryQ3cCwn3iZbg8p8B88iDBBAYSfZDS75t8MN7Vg==} - engines: {node: '>=16.9.0'} + resolution: + { + integrity: sha512-3qq+FUBtlTHhtYxbxheZgY8NIFnkkC/MR8u5TTsr7YZ3wixryQ3cCwn3iZbg8p8B88iDBBAYSfZDS75t8MN7Vg==, + } + engines: { node: '>=16.9.0' } html-escaper@2.0.2: - resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} + resolution: + { + integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==, + } http-errors@2.0.0: - resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==, + } + engines: { node: '>= 0.8' } human-signals@2.1.0: - resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} - engines: {node: '>=10.17.0'} + resolution: + { + integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==, + } + engines: { node: '>=10.17.0' } iconv-lite@0.4.24: - resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==, + } + engines: { node: '>=0.10.0' } iconv-lite@0.6.3: - resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==, + } + engines: { node: '>=0.10.0' } iconv-lite@0.7.0: - resolution: {integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==, + } + engines: { node: '>=0.10.0' } ignore-walk@5.0.1: - resolution: {integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } ignore@5.3.2: - resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} - engines: {node: '>= 4'} + resolution: + { + integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==, + } + engines: { node: '>= 4' } ignore@7.0.5: - resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==} - engines: {node: '>= 4'} + resolution: + { + integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==, + } + engines: { node: '>= 4' } import-fresh@3.3.1: - resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==, + } + engines: { node: '>=6' } import-local@3.1.0: - resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==, + } + engines: { node: '>=8' } hasBin: true imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} + resolution: + { + integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==, + } + engines: { node: '>=0.8.19' } indent-string@4.0.0: - resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==, + } + engines: { node: '>=8' } inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + resolution: + { + integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==, + } deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + resolution: + { + integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==, + } ip-address@10.1.0: - resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==, + } + engines: { node: '>= 12' } ipaddr.js@1.9.1: - resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==, + } + engines: { node: '>= 0.10' } is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + resolution: + { + integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==, + } is-core-module@2.13.1: - resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + resolution: + { + integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==, + } is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==, + } + engines: { node: '>=0.10.0' } is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==, + } + engines: { node: '>=8' } is-generator-fn@2.1.0: - resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==, + } + engines: { node: '>=6' } is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==, + } + engines: { node: '>=0.10.0' } is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} + resolution: + { + integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==, + } + engines: { node: '>=0.12.0' } is-promise@4.0.0: - resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==} + resolution: + { + integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==, + } is-stream@2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==, + } + engines: { node: '>=8' } isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + resolution: + { + integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==, + } istanbul-lib-coverage@3.2.2: - resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==, + } + engines: { node: '>=8' } istanbul-lib-instrument@5.2.1: - resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==, + } + engines: { node: '>=8' } istanbul-lib-instrument@6.0.3: - resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==, + } + engines: { node: '>=10' } istanbul-lib-report@3.0.1: - resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==, + } + engines: { node: '>=10' } istanbul-lib-source-maps@4.0.1: - resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==, + } + engines: { node: '>=10' } istanbul-reports@3.1.6: - resolution: {integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==, + } + engines: { node: '>=8' } jest-changed-files@29.7.0: - resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-circus@29.7.0: - resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-cli@29.7.0: - resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -1755,8 +2875,11 @@ packages: optional: true jest-config@29.7.0: - resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: '@types/node': '*' ts-node: '>=9.0.0' @@ -1767,48 +2890,81 @@ packages: optional: true jest-diff@29.7.0: - resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-docblock@29.7.0: - resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-each@29.7.0: - resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-environment-node@29.7.0: - resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-get-type@29.6.3: - resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-haste-map@29.7.0: - resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-leak-detector@29.7.0: - resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-matcher-utils@29.7.0: - resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-message-util@29.7.0: - resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-mock@29.7.0: - resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-pnp-resolver@1.2.3: - resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==, + } + engines: { node: '>=6' } peerDependencies: jest-resolve: '*' peerDependenciesMeta: @@ -1816,48 +2972,81 @@ packages: optional: true jest-regex-util@29.6.3: - resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-resolve-dependencies@29.7.0: - resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-resolve@29.7.0: - resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-runner@29.7.0: - resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-runtime@29.7.0: - resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-snapshot@29.7.0: - resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-util@29.7.0: - resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-validate@29.7.0: - resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-watcher@29.7.0: - resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-worker@29.7.0: - resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest@29.7.0: - resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -1866,695 +3055,1248 @@ packages: optional: true jose@6.1.3: - resolution: {integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==} + resolution: + { + integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==, + } joycon@3.1.1: - resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==, + } + engines: { node: '>=10' } jq-web@https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz: - resolution: {integrity: sha512-6nmDSHGJm8Cclf2oSuO9xQ7vt5x5bDiuTKX2rkyW1K7Uo2SHeI4ZvpgMITKy+8p3bbEnKovTPGoHhApa6v/PbA==, tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz} + resolution: + { + integrity: sha512-6nmDSHGJm8Cclf2oSuO9xQ7vt5x5bDiuTKX2rkyW1K7Uo2SHeI4ZvpgMITKy+8p3bbEnKovTPGoHhApa6v/PbA==, + tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz, + } version: 0.8.8 js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + resolution: + { + integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==, + } js-yaml@3.14.2: - resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} + resolution: + { + integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==, + } hasBin: true js-yaml@4.1.1: - resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==} + resolution: + { + integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==, + } hasBin: true jsesc@3.1.0: - resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==, + } + engines: { node: '>=6' } hasBin: true json-buffer@3.0.1: - resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + resolution: + { + integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==, + } json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + resolution: + { + integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==, + } json-schema-traverse@0.4.1: - resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + resolution: + { + integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==, + } json-schema-traverse@1.0.0: - resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + resolution: + { + integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==, + } json-schema-typed@8.0.2: - resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==} + resolution: + { + integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==, + } json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + resolution: + { + integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==, + } json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==, + } + engines: { node: '>=6' } hasBin: true jsonc-parser@3.2.1: - resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==} + resolution: + { + integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==, + } jsonfile@6.2.0: - resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==} + resolution: + { + integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==, + } keyv@4.5.4: - resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + resolution: + { + integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==, + } kleur@3.0.3: - resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==, + } + engines: { node: '>=6' } leven@3.1.0: - resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==, + } + engines: { node: '>=6' } levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==, + } + engines: { node: '>= 0.8.0' } lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + resolution: + { + integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==, + } locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==, + } + engines: { node: '>=8' } locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==, + } + engines: { node: '>=10' } lodash.memoize@4.1.2: - resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} + resolution: + { + integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==, + } lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + resolution: + { + integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==, + } lru-cache@10.4.3: - resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + resolution: + { + integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==, + } lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + resolution: + { + integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==, + } make-dir@4.0.0: - resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==, + } + engines: { node: '>=10' } make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + resolution: + { + integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==, + } makeerror@1.0.12: - resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} + resolution: + { + integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==, + } marked-terminal@7.2.1: - resolution: {integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==} - engines: {node: '>=16.0.0'} + resolution: + { + integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==, + } + engines: { node: '>=16.0.0' } peerDependencies: marked: '>=1 <15' marked@9.1.6: - resolution: {integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==} - engines: {node: '>= 16'} + resolution: + { + integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==, + } + engines: { node: '>= 16' } hasBin: true math-intrinsics@1.1.0: - resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==, + } + engines: { node: '>= 0.4' } media-typer@1.1.0: - resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==, + } + engines: { node: '>= 0.8' } merge-descriptors@2.0.0: - resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==, + } + engines: { node: '>=18' } merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + resolution: + { + integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==, + } merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==, + } + engines: { node: '>= 8' } micromatch@4.0.8: - resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} - engines: {node: '>=8.6'} + resolution: + { + integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==, + } + engines: { node: '>=8.6' } mime-db@1.54.0: - resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==, + } + engines: { node: '>= 0.6' } mime-types@3.0.1: - resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==, + } + engines: { node: '>= 0.6' } mimic-fn@2.1.0: - resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==, + } + engines: { node: '>=6' } minimatch@9.0.5: - resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} - engines: {node: '>=16 || 14 >=14.17'} + resolution: + { + integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==, + } + engines: { node: '>=16 || 14 >=14.17' } minimist@1.2.6: - resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} + resolution: + { + integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==, + } minisearch@7.2.0: - resolution: {integrity: sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg==} + resolution: + { + integrity: sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg==, + } mkdirp@2.1.6: - resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==, + } + engines: { node: '>=10' } hasBin: true mri@1.2.0: - resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==, + } + engines: { node: '>=4' } ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + resolution: + { + integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, + } mute-stream@1.0.0: - resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + resolution: + { + integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==, + } + engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } mz@2.7.0: - resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + resolution: + { + integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==, + } natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + resolution: + { + integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==, + } negotiator@1.0.0: - resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==, + } + engines: { node: '>= 0.6' } neo-async@2.6.2: - resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + resolution: + { + integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==, + } node-emoji@2.1.3: - resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==, + } + engines: { node: '>=18' } node-forge@1.3.2: - resolution: {integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==} - engines: {node: '>= 6.13.0'} + resolution: + { + integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==, + } + engines: { node: '>= 6.13.0' } node-int64@0.4.0: - resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} + resolution: + { + integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==, + } node-releases@2.0.27: - resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==} + resolution: + { + integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==, + } normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==, + } + engines: { node: '>=0.10.0' } npm-bundled@2.0.1: - resolution: {integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } npm-normalize-package-bin@2.0.0: - resolution: {integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } npm-packlist@5.1.3: - resolution: {integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } hasBin: true npm-run-path@4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==, + } + engines: { node: '>=8' } object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==, + } + engines: { node: '>=0.10.0' } object-inspect@1.13.4: - resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==, + } + engines: { node: '>= 0.4' } on-exit-leak-free@2.1.2: - resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} - engines: {node: '>=14.0.0'} + resolution: + { + integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==, + } + engines: { node: '>=14.0.0' } on-finished@2.4.1: - resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==, + } + engines: { node: '>= 0.8' } once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + resolution: + { + integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==, + } onetime@5.1.2: - resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==, + } + engines: { node: '>=6' } optionator@0.9.4: - resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==, + } + engines: { node: '>= 0.8.0' } os-tmpdir@1.0.2: - resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==, + } + engines: { node: '>=0.10.0' } p-all@3.0.0: - resolution: {integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==, + } + engines: { node: '>=10' } p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==, + } + engines: { node: '>=6' } p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==, + } + engines: { node: '>=10' } p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==, + } + engines: { node: '>=8' } p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==, + } + engines: { node: '>=10' } p-map@4.0.0: - resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==, + } + engines: { node: '>=10' } p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==, + } + engines: { node: '>=6' } parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==, + } + engines: { node: '>=6' } parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==, + } + engines: { node: '>=8' } parse5-htmlparser2-tree-adapter@6.0.1: - resolution: {integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==} + resolution: + { + integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==, + } parse5@5.1.1: - resolution: {integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==} + resolution: + { + integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==, + } parse5@6.0.1: - resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} + resolution: + { + integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==, + } parseurl@1.3.3: - resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==, + } + engines: { node: '>= 0.8' } path-browserify@1.0.1: - resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + resolution: + { + integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==, + } path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==, + } + engines: { node: '>=8' } path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==, + } + engines: { node: '>=0.10.0' } path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==, + } + engines: { node: '>=8' } path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + resolution: + { + integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==, + } path-to-regexp@8.3.0: - resolution: {integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==} + resolution: + { + integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==, + } picocolors@1.1.1: - resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + resolution: + { + integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==, + } picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} + resolution: + { + integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==, + } + engines: { node: '>=8.6' } pino-abstract-transport@3.0.0: - resolution: {integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==} + resolution: + { + integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==, + } pino-http@11.0.0: - resolution: {integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==} + resolution: + { + integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==, + } pino-pretty@13.1.3: - resolution: {integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==} + resolution: + { + integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==, + } hasBin: true pino-std-serializers@7.1.0: - resolution: {integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==} + resolution: + { + integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==, + } pino@10.3.1: - resolution: {integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==} + resolution: + { + integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==, + } hasBin: true pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==, + } + engines: { node: '>= 6' } pkce-challenge@5.0.0: - resolution: {integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==} - engines: {node: '>=16.20.0'} + resolution: + { + integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==, + } + engines: { node: '>=16.20.0' } pkg-dir@4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==, + } + engines: { node: '>=8' } prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==, + } + engines: { node: '>= 0.8.0' } prettier-linter-helpers@1.0.0: - resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} - engines: {node: '>=6.0.0'} + resolution: + { + integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==, + } + engines: { node: '>=6.0.0' } prettier@3.1.1: - resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} - engines: {node: '>=14'} + resolution: + { + integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==, + } + engines: { node: '>=14' } hasBin: true pretty-bytes@5.6.0: - resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==, + } + engines: { node: '>=6' } pretty-format@29.7.0: - resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } process-warning@5.0.0: - resolution: {integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==} + resolution: + { + integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==, + } prompts@2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==, + } + engines: { node: '>= 6' } proxy-addr@2.0.7: - resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==, + } + engines: { node: '>= 0.10' } publint@0.2.12: - resolution: {integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==} - engines: {node: '>=16'} + resolution: + { + integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==, + } + engines: { node: '>=16' } hasBin: true pump@3.0.4: - resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} + resolution: + { + integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==, + } punycode@2.3.1: - resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==, + } + engines: { node: '>=6' } pure-rand@6.0.4: - resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==} + resolution: + { + integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==, + } qs@6.14.1: - resolution: {integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==} - engines: {node: '>=0.6'} + resolution: + { + integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==, + } + engines: { node: '>=0.6' } queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + resolution: + { + integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==, + } quick-format-unescaped@4.0.4: - resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} + resolution: + { + integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==, + } range-parser@1.2.1: - resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==, + } + engines: { node: '>= 0.6' } raw-body@3.0.1: - resolution: {integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==, + } + engines: { node: '>= 0.10' } react-is@18.2.0: - resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} + resolution: + { + integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==, + } readable-stream@3.6.2: - resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==, + } + engines: { node: '>= 6' } real-require@0.2.0: - resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} - engines: {node: '>= 12.13.0'} + resolution: + { + integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==, + } + engines: { node: '>= 12.13.0' } require-directory@2.1.1: - resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==, + } + engines: { node: '>=0.10.0' } require-from-string@2.0.2: - resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==, + } + engines: { node: '>=0.10.0' } resolve-cwd@3.0.0: - resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==, + } + engines: { node: '>=8' } resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==, + } + engines: { node: '>=4' } resolve-from@5.0.0: - resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==, + } + engines: { node: '>=8' } resolve.exports@2.0.2: - resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==, + } + engines: { node: '>=10' } resolve@1.22.8: - resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} + resolution: + { + integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==, + } hasBin: true reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + resolution: + { + integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==, + } + engines: { iojs: '>=1.0.0', node: '>=0.10.0' } router@2.2.0: - resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==, + } + engines: { node: '>= 18' } run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + resolution: + { + integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==, + } sade@1.8.1: - resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==, + } + engines: { node: '>=6' } safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + resolution: + { + integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==, + } safe-stable-stringify@2.5.0: - resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==, + } + engines: { node: '>=10' } safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + resolution: + { + integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==, + } secure-json-parse@4.1.0: - resolution: {integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==} + resolution: + { + integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==, + } semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + resolution: + { + integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==, + } hasBin: true semver@7.7.1: - resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==, + } + engines: { node: '>=10' } hasBin: true semver@7.7.3: - resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==, + } + engines: { node: '>=10' } hasBin: true send@1.2.0: - resolution: {integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==, + } + engines: { node: '>= 18' } serve-static@2.2.0: - resolution: {integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==, + } + engines: { node: '>= 18' } setprototypeof@1.2.0: - resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} + resolution: + { + integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==, + } shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==, + } + engines: { node: '>=8' } shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==, + } + engines: { node: '>=8' } side-channel-list@1.0.0: - resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==, + } + engines: { node: '>= 0.4' } side-channel-map@1.0.1: - resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==, + } + engines: { node: '>= 0.4' } side-channel-weakmap@1.0.2: - resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==, + } + engines: { node: '>= 0.4' } side-channel@1.1.0: - resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==, + } + engines: { node: '>= 0.4' } signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + resolution: + { + integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==, + } signal-exit@4.1.0: - resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} - engines: {node: '>=14'} + resolution: + { + integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==, + } + engines: { node: '>=14' } sisteransi@1.0.5: - resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + resolution: + { + integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==, + } skin-tone@2.0.0: - resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==, + } + engines: { node: '>=8' } slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==, + } + engines: { node: '>=8' } sonic-boom@4.2.1: - resolution: {integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==} + resolution: + { + integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==, + } source-map-support@0.5.13: - resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} + resolution: + { + integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==, + } source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==, + } + engines: { node: '>=0.10.0' } split2@4.2.0: - resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} - engines: {node: '>= 10.x'} + resolution: + { + integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==, + } + engines: { node: '>= 10.x' } sprintf-js@1.0.3: - resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + resolution: + { + integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==, + } stack-utils@2.0.6: - resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==, + } + engines: { node: '>=10' } statuses@2.0.1: - resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==, + } + engines: { node: '>= 0.8' } statuses@2.0.2: - resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==, + } + engines: { node: '>= 0.8' } string-length@4.0.2: - resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==, + } + engines: { node: '>=10' } string-to-stream@3.0.1: - resolution: {integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==} + resolution: + { + integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==, + } string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==, + } + engines: { node: '>=8' } string_decoder@1.3.0: - resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + resolution: + { + integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==, + } strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==, + } + engines: { node: '>=8' } strip-bom@3.0.0: - resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==, + } + engines: { node: '>=4' } strip-bom@4.0.0: - resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==, + } + engines: { node: '>=8' } strip-final-newline@2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==, + } + engines: { node: '>=6' } strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==, + } + engines: { node: '>=8' } strip-json-comments@5.0.3: - resolution: {integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==} - engines: {node: '>=14.16'} + resolution: + { + integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==, + } + engines: { node: '>=14.16' } superstruct@1.0.4: - resolution: {integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==} - engines: {node: '>=14.0.0'} + resolution: + { + integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==, + } + engines: { node: '>=14.0.0' } supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==, + } + engines: { node: '>=8' } supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==, + } + engines: { node: '>=10' } supports-hyperlinks@3.1.0: - resolution: {integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==} - engines: {node: '>=14.18'} + resolution: + { + integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==, + } + engines: { node: '>=14.18' } supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==, + } + engines: { node: '>= 0.4' } synckit@0.11.8: - resolution: {integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==} - engines: {node: ^14.18.0 || >=16.0.0} + resolution: + { + integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==, + } + engines: { node: ^14.18.0 || >=16.0.0 } test-exclude@6.0.0: - resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==, + } + engines: { node: '>=8' } thenify-all@1.6.0: - resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} - engines: {node: '>=0.8'} + resolution: + { + integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==, + } + engines: { node: '>=0.8' } thenify@3.3.1: - resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + resolution: + { + integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==, + } thread-stream@4.0.0: - resolution: {integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==} - engines: {node: '>=20'} + resolution: + { + integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==, + } + engines: { node: '>=20' } tmp@0.0.33: - resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} - engines: {node: '>=0.6.0'} + resolution: + { + integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==, + } + engines: { node: '>=0.6.0' } tmpl@1.0.5: - resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} + resolution: + { + integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==, + } to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} + resolution: + { + integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==, + } + engines: { node: '>=8.0' } toidentifier@1.0.1: - resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} - engines: {node: '>=0.6'} + resolution: + { + integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==, + } + engines: { node: '>=0.6' } ts-api-utils@2.0.1: - resolution: {integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==} - engines: {node: '>=18.12'} + resolution: + { + integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==, + } + engines: { node: '>=18.12' } peerDependencies: typescript: '>=4.8.4' ts-jest@29.4.6: - resolution: {integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==} - engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} + resolution: + { + integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0 } hasBin: true peerDependencies: '@babel/core': '>=7.0.0-beta.0 <8' @@ -2580,10 +4322,16 @@ packages: optional: true ts-morph@19.0.0: - resolution: {integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==} + resolution: + { + integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==, + } ts-node@10.7.0: - resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} + resolution: + { + integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==, + } hasBin: true peerDependencies: '@swc/core': '>=1.2.50' @@ -2597,195 +4345,330 @@ packages: optional: true tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz: - resolution: {integrity: sha512-tWyCXnx0WqCkVlo5s+4KMj7HC0/0YrCZY0PustUwX9F2lNwd8Kp07q/Q56uGvV9q80XaSDrhy0YqBmrX5TDNpQ==, tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz} + resolution: + { + integrity: sha512-tWyCXnx0WqCkVlo5s+4KMj7HC0/0YrCZY0PustUwX9F2lNwd8Kp07q/Q56uGvV9q80XaSDrhy0YqBmrX5TDNpQ==, + tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz, + } version: 1.1.9 - engines: {node: '>=14'} + engines: { node: '>=14' } hasBin: true peerDependencies: typescript: '>=4.3.0' tsconfig-paths@4.2.0: - resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==, + } + engines: { node: '>=6' } tslib@2.8.1: - resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + resolution: + { + integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==, + } type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==, + } + engines: { node: '>= 0.8.0' } type-detect@4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==, + } + engines: { node: '>=4' } type-fest@0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==, + } + engines: { node: '>=10' } type-fest@4.41.0: - resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} - engines: {node: '>=16'} + resolution: + { + integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==, + } + engines: { node: '>=16' } type-is@2.0.1: - resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==, + } + engines: { node: '>= 0.6' } typescript-eslint@8.31.1: - resolution: {integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' typescript@5.6.1-rc: - resolution: {integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==} - engines: {node: '>=14.17'} + resolution: + { + integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==, + } + engines: { node: '>=14.17' } hasBin: true typescript@5.8.3: - resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} - engines: {node: '>=14.17'} + resolution: + { + integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==, + } + engines: { node: '>=14.17' } hasBin: true uglify-js@3.19.3: - resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} - engines: {node: '>=0.8.0'} + resolution: + { + integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==, + } + engines: { node: '>=0.8.0' } hasBin: true undici-types@6.21.0: - resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + resolution: + { + integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==, + } unicode-emoji-modifier-base@1.0.0: - resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==, + } + engines: { node: '>=4' } universalify@2.0.1: - resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} - engines: {node: '>= 10.0.0'} + resolution: + { + integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==, + } + engines: { node: '>= 10.0.0' } unpipe@1.0.0: - resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==, + } + engines: { node: '>= 0.8' } update-browserslist-db@1.2.3: - resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} + resolution: + { + integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==, + } hasBin: true peerDependencies: browserslist: '>= 4.21.0' uri-js@4.4.1: - resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + resolution: + { + integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==, + } util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + resolution: + { + integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==, + } v8-compile-cache-lib@3.0.0: - resolution: {integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==} + resolution: + { + integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==, + } v8-to-istanbul@9.2.0: - resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} - engines: {node: '>=10.12.0'} + resolution: + { + integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==, + } + engines: { node: '>=10.12.0' } validate-npm-package-name@5.0.1: - resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + resolution: + { + integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==, + } + engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } vary@1.1.2: - resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==, + } + engines: { node: '>= 0.8' } walker@1.0.8: - resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} + resolution: + { + integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==, + } which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==, + } + engines: { node: '>= 8' } hasBin: true word-wrap@1.2.5: - resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==, + } + engines: { node: '>=0.10.0' } wordwrap@1.0.0: - resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} + resolution: + { + integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==, + } wrap-ansi@6.2.0: - resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==, + } + engines: { node: '>=8' } wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==, + } + engines: { node: '>=10' } wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + resolution: + { + integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==, + } write-file-atomic@4.0.2: - resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } y18n@5.0.8: - resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==, + } + engines: { node: '>=10' } yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + resolution: + { + integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==, + } yargs-parser@20.2.9: - resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==, + } + engines: { node: '>=10' } yargs-parser@21.1.1: - resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==, + } + engines: { node: '>=12' } yargs@16.2.0: - resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==, + } + engines: { node: '>=10' } yargs@17.7.2: - resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==, + } + engines: { node: '>=12' } yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==, + } + engines: { node: '>=6' } yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==, + } + engines: { node: '>=10' } yoctocolors-cjs@2.1.3: - resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==, + } + engines: { node: '>=18' } zod-to-json-schema@3.24.6: - resolution: {integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==} + resolution: + { + integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==, + } peerDependencies: zod: ^3.24.1 zod-to-json-schema@3.25.0: - resolution: {integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==} + resolution: + { + integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==, + } peerDependencies: zod: ^3.25 || ^4 zod-to-json-schema@3.25.1: - resolution: {integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==} + resolution: + { + integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==, + } peerDependencies: zod: ^3.25 || ^4 zod-validation-error@4.0.1: - resolution: {integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==} - engines: {node: '>=18.0.0'} + resolution: + { + integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==, + } + engines: { node: '>=18.0.0' } peerDependencies: zod: ^3.25.0 || ^4.0.0 zod@3.25.76: - resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} + resolution: + { + integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==, + } snapshots: - '@andrewbranch/untar.js@1.0.3': {} '@anthropic-ai/mcpb@2.1.2': diff --git a/src/api-promise.ts b/src/api-promise.ts index 4e701286..8c775ee6 100644 --- a/src/api-promise.ts +++ b/src/api-promise.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/api-promise instead */ -export * from "./core/api-promise" \ No newline at end of file +export * from './core/api-promise'; diff --git a/src/client.ts b/src/client.ts index fedfd38c..f873fe53 100644 --- a/src/client.ts +++ b/src/client.ts @@ -21,13 +21,39 @@ import * as API from './resources/index'; import { APIPromise } from './core/api-promise'; import { Org, OrgListResponse, Orgs } from './resources/orgs'; import { User, UserRetrieveResponse } from './resources/user'; -import { Build, BuildCompareParams, BuildCompareResponse, BuildCreateParams, BuildListParams, BuildTarget, Builds, BuildsPage, CheckStep } from './resources/builds/builds'; -import { Project, ProjectCreateParams, ProjectGenerateCommitMessageParams, ProjectGenerateCommitMessageResponse, ProjectListParams, ProjectRetrieveParams, ProjectUpdateParams, Projects, ProjectsPage } from './resources/projects/projects'; +import { + Build, + BuildCompareParams, + BuildCompareResponse, + BuildCreateParams, + BuildListParams, + BuildTarget, + Builds, + BuildsPage, + CheckStep, +} from './resources/builds/builds'; +import { + Project, + ProjectCreateParams, + ProjectGenerateCommitMessageParams, + ProjectGenerateCommitMessageResponse, + ProjectListParams, + ProjectRetrieveParams, + ProjectUpdateParams, + Projects, + ProjectsPage, +} from './resources/projects/projects'; import { type Fetch } from './internal/builtin-types'; import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers'; import { FinalRequestOptions, RequestOptions } from './internal/request-options'; import { readEnv } from './internal/utils/env'; -import { type LogLevel, type Logger, formatRequestDetails, loggerFor, parseLogLevel } from './internal/utils/log'; +import { + type LogLevel, + type Logger, + formatRequestDetails, + loggerFor, + parseLogLevel, +} from './internal/utils/log'; import { isEmptyObj } from './internal/utils/values'; import { unwrapFile } from './lib/unwrap'; @@ -124,7 +150,7 @@ export interface ClientOptions { } /** - * API Client for interfacing with the Stainless API. + * API Client for interfacing with the Stainless API. */ export class Stainless { apiKey: string | null; @@ -162,7 +188,6 @@ export class Stainless { project = null, ...opts }: ClientOptions = {}) { - const options: ClientOptions = { apiKey, project, @@ -173,8 +198,8 @@ export class Stainless { if (baseURL && opts.environment) { throw new Errors.StainlessError( - 'Ambiguous URL; The `baseURL` option (or STAINLESS_BASE_URL env var) and the `environment` option are given. If you want to use the environment you must pass baseURL: null' - ) + 'Ambiguous URL; The `baseURL` option (or STAINLESS_BASE_URL env var) and the `environment` option are given. If you want to use the environment you must pass baseURL: null', + ); } this.baseURL = options.baseURL || environments[options.environment || 'production']; @@ -183,7 +208,10 @@ export class Stainless { const defaultLogLevel = 'warn'; // Set default logLevel early so that we can log a warning in parseLogLevel. this.logLevel = defaultLogLevel; - this.logLevel = parseLogLevel(options.logLevel, 'ClientOptions.logLevel', this) ?? parseLogLevel(readEnv('STAINLESS_LOG'), 'process.env[\'STAINLESS_LOG\']', this) ?? defaultLogLevel; + this.logLevel = + parseLogLevel(options.logLevel, 'ClientOptions.logLevel', this) ?? + parseLogLevel(readEnv('STAINLESS_LOG'), "process.env['STAINLESS_LOG']", this) ?? + defaultLogLevel; this.fetchOptions = options.fetchOptions; this.maxRetries = options.maxRetries ?? 2; this.fetch = options.fetch ?? Shims.getDefaultFetch(); @@ -211,7 +239,7 @@ export class Stainless { fetchOptions: this.fetchOptions, apiKey: this.apiKey, project: this.project, - ...options + ...options, }); return client; } @@ -224,7 +252,7 @@ export class Stainless { } protected defaultQuery(): Record | undefined { - return this._options.defaultQuery + return this._options.defaultQuery; } protected validateHeaders({ values, nulls }: NullableHeaders) { @@ -235,7 +263,9 @@ export class Stainless { return; } - throw new Error('Could not resolve authentication method. Expected the apiKey to be set. Or for the "Authorization" headers to be explicitly omitted') + throw new Error( + 'Could not resolve authentication method. Expected the apiKey to be set. Or for the "Authorization" headers to be explicitly omitted', + ); } protected async authHeaders(opts: FinalRequestOptions): Promise { @@ -266,7 +296,11 @@ export class Stainless { return Errors.APIError.generate(status, error, message, headers); } - buildURL(path: string, query: Record | null | undefined, defaultBaseURL?: string | undefined): string { + buildURL( + path: string, + query: Record | null | undefined, + defaultBaseURL?: string | undefined, + ): string { const baseURL = (!this.#baseURLOverridden() && defaultBaseURL) || this.baseURL; const url = isAbsoluteURL(path) ? @@ -354,7 +388,9 @@ export class Stainless { await this.prepareOptions(options); - const { req, url, timeout } = await this.buildRequest(options, { retryCount: maxRetries - retriesRemaining }); + const { req, url, timeout } = await this.buildRequest(options, { + retryCount: maxRetries - retriesRemaining, + }); await this.prepareRequest(req, { url, options }); @@ -363,7 +399,16 @@ export class Stainless { const retryLogStr = retryOfRequestLogID === undefined ? '' : `, retryOf: ${retryOfRequestLogID}`; const startTime = Date.now(); - loggerFor(this).debug(`[${requestLogID}] sending request`, formatRequestDetails({ retryOfRequestLogID, method: options.method, url, options, headers: req.headers })); + loggerFor(this).debug( + `[${requestLogID}] sending request`, + formatRequestDetails({ + retryOfRequestLogID, + method: options.method, + url, + options, + headers: req.headers, + }), + ); if (options.signal?.aborted) { throw new Errors.APIUserAbortError(); @@ -382,21 +427,45 @@ export class Stainless { // deno throws "TypeError: error sending request for url (https://example/): client error (Connect): tcp connect error: Operation timed out (os error 60): Operation timed out (os error 60)" // undici throws "TypeError: fetch failed" with cause "ConnectTimeoutError: Connect Timeout Error (attempted address: example:443, timeout: 1ms)" // others do not provide enough information to distinguish timeouts from other connection errors - const isTimeout = isAbortError(response) || /timed? ?out/i.test(String(response) + ('cause' in response ? String(response.cause) : '')) + const isTimeout = + isAbortError(response) || + /timed? ?out/i.test(String(response) + ('cause' in response ? String(response.cause) : '')); if (retriesRemaining) { - loggerFor(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - ${retryMessage}`) - loggerFor(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (${retryMessage})`, formatRequestDetails({ retryOfRequestLogID, url, durationMs: headersTime - startTime, message: response.message })); + loggerFor(this).info( + `[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - ${retryMessage}`, + ); + loggerFor(this).debug( + `[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (${retryMessage})`, + formatRequestDetails({ + retryOfRequestLogID, + url, + durationMs: headersTime - startTime, + message: response.message, + }), + ); return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID); } - loggerFor(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - error; no more retries left`) - loggerFor(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (error; no more retries left)`, formatRequestDetails({ retryOfRequestLogID, url, durationMs: headersTime - startTime, message: response.message })); + loggerFor(this).info( + `[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - error; no more retries left`, + ); + loggerFor(this).debug( + `[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (error; no more retries left)`, + formatRequestDetails({ + retryOfRequestLogID, + url, + durationMs: headersTime - startTime, + message: response.message, + }), + ); if (isTimeout) { throw new Errors.APIConnectionTimeoutError(); } throw new Errors.APIConnectionError({ cause: response }); } - const responseInfo = `[${requestLogID}${retryLogStr}] ${req.method} ${url} ${response.ok ? 'succeeded' : 'failed'} with status ${response.status} in ${headersTime - startTime}ms`; + const responseInfo = `[${requestLogID}${retryLogStr}] ${req.method} ${url} ${ + response.ok ? 'succeeded' : 'failed' + } with status ${response.status} in ${headersTime - startTime}ms`; if (!response.ok) { const shouldRetry = await this.shouldRetry(response); @@ -405,27 +474,60 @@ export class Stainless { // We don't need the body of this response. await Shims.CancelReadableStream(response.body); - loggerFor(this).info(`${responseInfo} - ${retryMessage}`) - loggerFor(this).debug(`[${requestLogID}] response error (${retryMessage})`, formatRequestDetails({ retryOfRequestLogID, url: response.url, status: response.status, headers: response.headers, durationMs: headersTime - startTime })); - return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID, response.headers); + loggerFor(this).info(`${responseInfo} - ${retryMessage}`); + loggerFor(this).debug( + `[${requestLogID}] response error (${retryMessage})`, + formatRequestDetails({ + retryOfRequestLogID, + url: response.url, + status: response.status, + headers: response.headers, + durationMs: headersTime - startTime, + }), + ); + return this.retryRequest( + options, + retriesRemaining, + retryOfRequestLogID ?? requestLogID, + response.headers, + ); } const retryMessage = shouldRetry ? `error; no more retries left` : `error; not retryable`; - loggerFor(this).info(`${responseInfo} - ${retryMessage}`) + loggerFor(this).info(`${responseInfo} - ${retryMessage}`); const errText = await response.text().catch((err: any) => castToError(err).message); const errJSON = safeJSON(errText) as any; const errMessage = errJSON ? undefined : errText; - loggerFor(this).debug(`[${requestLogID}] response error (${retryMessage})`, formatRequestDetails({ retryOfRequestLogID, url: response.url, status: response.status, headers: response.headers, message: errMessage, durationMs: Date.now() - startTime })); + loggerFor(this).debug( + `[${requestLogID}] response error (${retryMessage})`, + formatRequestDetails({ + retryOfRequestLogID, + url: response.url, + status: response.status, + headers: response.headers, + message: errMessage, + durationMs: Date.now() - startTime, + }), + ); const err = this.makeStatusError(response.status, errJSON, errMessage, response.headers); throw err; } - loggerFor(this).info(responseInfo) - loggerFor(this).debug(`[${requestLogID}] response start`, formatRequestDetails({ retryOfRequestLogID, url: response.url, status: response.status, headers: response.headers, durationMs: headersTime - startTime })); + loggerFor(this).info(responseInfo); + loggerFor(this).debug( + `[${requestLogID}] response start`, + formatRequestDetails({ + retryOfRequestLogID, + url: response.url, + status: response.status, + headers: response.headers, + durationMs: headersTime - startTime, + }), + ); return { response, options, controller, requestLogID, retryOfRequestLogID, startTime }; } @@ -443,7 +545,10 @@ export class Stainless { ); } - requestAPIList = Pagination.AbstractPage>( + requestAPIList< + Item = unknown, + PageClass extends Pagination.AbstractPage = Pagination.AbstractPage, + >( Page: new (...args: ConstructorParameters) => PageClass, options: PromiseOrValue, ): Pagination.PagePromise { @@ -463,7 +568,9 @@ export class Stainless { const timeout = setTimeout(abort, ms); - const isReadableBody = ((globalThis as any).ReadableStream && options.body instanceof (globalThis as any).ReadableStream) || (typeof options.body === "object" && options.body !== null && Symbol.asyncIterator in options.body); + const isReadableBody = + ((globalThis as any).ReadableStream && options.body instanceof (globalThis as any).ReadableStream) || + (typeof options.body === 'object' && options.body !== null && Symbol.asyncIterator in options.body); const fetchOptions: RequestInit = { signal: controller.signal as any, @@ -478,7 +585,6 @@ export class Stainless { } try { - // use undefined this binding; fetch errors if bound to something else in browser/cloudflare return await this.fetch.call(undefined, url, fetchOptions); } finally { @@ -579,11 +685,12 @@ export class Stainless { const req: FinalizedRequestInit = { method, headers: reqHeaders, - ...(options.signal && { signal: options.signal}), - ...((globalThis as any).ReadableStream && body instanceof (globalThis as any).ReadableStream && { duplex: "half" }), + ...(options.signal && { signal: options.signal }), + ...((globalThis as any).ReadableStream && + body instanceof (globalThis as any).ReadableStream && { duplex: 'half' }), ...(body && { body }), - ...(this.fetchOptions as any ?? {}), - ...(options.fetchOptions as any ?? {}), + ...((this.fetchOptions as any) ?? {}), + ...((options.fetchOptions as any) ?? {}), }; return { req, url, timeout: options.timeout }; @@ -608,15 +715,17 @@ export class Stainless { const headers = buildHeaders([ idempotencyHeaders, - {Accept: 'application/json', - 'User-Agent': this.getUserAgent(), - 'X-Stainless-Retry-Count': String(retryCount), - ...(options.timeout ? { 'X-Stainless-Timeout': String(Math.trunc(options.timeout / 1000)) } : {}), - ...getPlatformHeaders()}, + { + Accept: 'application/json', + 'User-Agent': this.getUserAgent(), + 'X-Stainless-Retry-Count': String(retryCount), + ...(options.timeout ? { 'X-Stainless-Timeout': String(Math.trunc(options.timeout / 1000)) } : {}), + ...getPlatformHeaders(), + }, await this.authHeaders(options), this._options.defaultHeaders, bodyHeaders, - options.headers + options.headers, ]); this.validateHeaders(headers); @@ -643,11 +752,9 @@ export class Stainless { ArrayBuffer.isView(body) || body instanceof ArrayBuffer || body instanceof DataView || - ( - typeof body === 'string' && + (typeof body === 'string' && // Preserve legacy string encoding behavior for now - headers.values.has('content-type') - ) || + headers.values.has('content-type')) || // `Blob` is superset of `File` ((globalThis as any).Blob && body instanceof (globalThis as any).Blob) || // `FormData` -> `multipart/form-data` @@ -678,7 +785,7 @@ export class Stainless { } static Stainless = this; - static DEFAULT_TIMEOUT = 60000 // 1 minute + static DEFAULT_TIMEOUT = 60000; // 1 minute static StainlessError = Errors.StainlessError; static APIError = Errors.APIError; @@ -709,50 +816,40 @@ Stainless.Orgs = Orgs; Stainless.User = User; export declare namespace Stainless { - export type RequestOptions = Opts.RequestOptions; - - export import Page = Pagination.Page; -export { - type PageParams as PageParams, - type PageResponse as PageResponse -}; - -export { - Projects as Projects, - type Project as Project, - type ProjectGenerateCommitMessageResponse as ProjectGenerateCommitMessageResponse, - type ProjectsPage as ProjectsPage, - type ProjectCreateParams as ProjectCreateParams, - type ProjectRetrieveParams as ProjectRetrieveParams, - type ProjectUpdateParams as ProjectUpdateParams, - type ProjectListParams as ProjectListParams, - type ProjectGenerateCommitMessageParams as ProjectGenerateCommitMessageParams -}; - -export { - Builds as Builds, - type Build as Build, - type BuildTarget as BuildTarget, - type CheckStep as CheckStep, - type BuildCompareResponse as BuildCompareResponse, - type BuildsPage as BuildsPage, - type BuildCreateParams as BuildCreateParams, - type BuildListParams as BuildListParams, - type BuildCompareParams as BuildCompareParams -}; - -export { - Orgs as Orgs, - type Org as Org, - type OrgListResponse as OrgListResponse -}; - -export { - User as User, - type UserRetrieveResponse as UserRetrieveResponse -}; - -export type Commit = API.Commit; -export type FileInput = API.FileInput; -export type Target = API.Target; - } + export type RequestOptions = Opts.RequestOptions; + + export import Page = Pagination.Page; + export { type PageParams as PageParams, type PageResponse as PageResponse }; + + export { + Projects as Projects, + type Project as Project, + type ProjectGenerateCommitMessageResponse as ProjectGenerateCommitMessageResponse, + type ProjectsPage as ProjectsPage, + type ProjectCreateParams as ProjectCreateParams, + type ProjectRetrieveParams as ProjectRetrieveParams, + type ProjectUpdateParams as ProjectUpdateParams, + type ProjectListParams as ProjectListParams, + type ProjectGenerateCommitMessageParams as ProjectGenerateCommitMessageParams, + }; + + export { + Builds as Builds, + type Build as Build, + type BuildTarget as BuildTarget, + type CheckStep as CheckStep, + type BuildCompareResponse as BuildCompareResponse, + type BuildsPage as BuildsPage, + type BuildCreateParams as BuildCreateParams, + type BuildListParams as BuildListParams, + type BuildCompareParams as BuildCompareParams, + }; + + export { Orgs as Orgs, type Org as Org, type OrgListResponse as OrgListResponse }; + + export { User as User, type UserRetrieveResponse as UserRetrieveResponse }; + + export type Commit = API.Commit; + export type FileInput = API.FileInput; + export type Target = API.Target; +} diff --git a/src/core/api-promise.ts b/src/core/api-promise.ts index 625c60af..538567a4 100644 --- a/src/core/api-promise.ts +++ b/src/core/api-promise.ts @@ -16,7 +16,10 @@ export class APIPromise extends Promise { constructor( client: Stainless, private responsePromise: Promise, - private parseResponse: (client: Stainless, props: APIResponseProps) => PromiseOrValue = defaultParseResponse, + private parseResponse: ( + client: Stainless, + props: APIResponseProps, + ) => PromiseOrValue = defaultParseResponse, ) { super((resolve) => { // this is maybe a bit weird but this has to be a no-op to not implicitly @@ -28,7 +31,9 @@ export class APIPromise extends Promise { } _thenUnwrap(transform: (data: T, props: APIResponseProps) => U): APIPromise { - return new APIPromise(this.#client, this.responsePromise, async (client, props) => transform(await this.parseResponse(client, props), props)); + return new APIPromise(this.#client, this.responsePromise, async (client, props) => + transform(await this.parseResponse(client, props), props), + ); } /** diff --git a/src/core/error.ts b/src/core/error.ts index a7ee6096..606035f6 100644 --- a/src/core/error.ts +++ b/src/core/error.ts @@ -2,10 +2,13 @@ import { castToError } from '../internal/errors'; -export class StainlessError extends Error { -} +export class StainlessError extends Error {} -export class APIError extends StainlessError { +export class APIError< + TStatus extends number | undefined = number | undefined, + THeaders extends Headers | undefined = Headers | undefined, + TError extends Object | undefined = Object | undefined, +> extends StainlessError { /** HTTP status for the response that caused the error */ readonly status: TStatus; /** HTTP headers for the response that caused the error */ @@ -13,9 +16,6 @@ export class APIError { -} +export class BadRequestError extends APIError<400, Headers> {} -export class AuthenticationError extends APIError<401, Headers> { -} +export class AuthenticationError extends APIError<401, Headers> {} -export class PermissionDeniedError extends APIError<403, Headers> { -} +export class PermissionDeniedError extends APIError<403, Headers> {} -export class NotFoundError extends APIError<404, Headers> { -} +export class NotFoundError extends APIError<404, Headers> {} -export class ConflictError extends APIError<409, Headers> { -} +export class ConflictError extends APIError<409, Headers> {} -export class UnprocessableEntityError extends APIError<422, Headers> { -} +export class UnprocessableEntityError extends APIError<422, Headers> {} -export class RateLimitError extends APIError<429, Headers> { -} +export class RateLimitError extends APIError<429, Headers> {} -export class InternalServerError extends APIError { -} +export class InternalServerError extends APIError {} diff --git a/src/core/pagination.ts b/src/core/pagination.ts index 3ca246ad..0d6cf111 100644 --- a/src/core/pagination.ts +++ b/src/core/pagination.ts @@ -87,7 +87,8 @@ export class PagePromise< super( client, request, - async (client, props) => new Page(client, props.response, await defaultParseResponse(client, props), props.options) + async (client, props) => + new Page(client, props.response, await defaultParseResponse(client, props), props.options), ); } @@ -133,7 +134,7 @@ export class Page extends AbstractPage implements PageResponse } nextPageRequestOptions(): PageRequestOptions | null { - const cursor = this.next_cursor + const cursor = this.next_cursor; if (!cursor) { return null; } diff --git a/src/error.ts b/src/error.ts index d0832d34..fc55f46c 100644 --- a/src/error.ts +++ b/src/error.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/error instead */ -export * from "./core/error" \ No newline at end of file +export * from './core/error'; diff --git a/src/index.ts b/src/index.ts index 14a4817e..16f9548a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,4 +6,18 @@ export { type Uploadable, toFile } from './core/uploads'; export { APIPromise } from './core/api-promise'; export { Stainless, type ClientOptions } from './client'; export { PagePromise } from './core/pagination'; -export { StainlessError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError } from './core/error'; +export { + StainlessError, + APIError, + APIConnectionError, + APIConnectionTimeoutError, + APIUserAbortError, + NotFoundError, + ConflictError, + RateLimitError, + BadRequestError, + AuthenticationError, + InternalServerError, + PermissionDeniedError, + UnprocessableEntityError, +} from './core/error'; diff --git a/src/internal/builtin-types.ts b/src/internal/builtin-types.ts index 6059d5db..c23d3bde 100644 --- a/src/internal/builtin-types.ts +++ b/src/internal/builtin-types.ts @@ -1,23 +1,20 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -export type Fetch = ( - input: string | URL | Request, - init?: RequestInit, -) => Promise +export type Fetch = (input: string | URL | Request, init?: RequestInit) => Promise; /** * An alias to the builtin `RequestInit` type so we can * easily alias it in import statements if there are name clashes. - * - * https://developer.mozilla.org/docs/Web/API/RequestInit + * + * https://developer.mozilla.org/docs/Web/API/RequestInit */ type _RequestInit = RequestInit; /** * An alias to the builtin `Response` type so we can * easily alias it in import statements if there are name clashes. - * - * https://developer.mozilla.org/docs/Web/API/Response + * + * https://developer.mozilla.org/docs/Web/API/Response */ type _Response = Response; @@ -54,7 +51,15 @@ type _Array = Array; */ type _Record = Record; -export type { _Array as Array, _BodyInit as BodyInit, _HeadersInit as HeadersInit, _Record as Record, _RequestInfo as RequestInfo, _RequestInit as RequestInit, _Response as Response }; +export type { + _Array as Array, + _BodyInit as BodyInit, + _HeadersInit as HeadersInit, + _Record as Record, + _RequestInfo as RequestInfo, + _RequestInit as RequestInit, + _Response as Response, +}; /** * A copy of the builtin `EndingType` type as it isn't fully supported in certain diff --git a/src/internal/detect-platform.ts b/src/internal/detect-platform.ts index 394ede88..e82d95c9 100644 --- a/src/internal/detect-platform.ts +++ b/src/internal/detect-platform.ts @@ -25,7 +25,11 @@ function getDetectedPlatform(): DetectedPlatform { if (typeof EdgeRuntime !== 'undefined') { return 'edge'; } - if (Object.prototype.toString.call(typeof (globalThis as any).process !== 'undefined' ? (globalThis as any).process : 0) === '[object process]') { + if ( + Object.prototype.toString.call( + typeof (globalThis as any).process !== 'undefined' ? (globalThis as any).process : 0, + ) === '[object process]' + ) { return 'node'; } return 'unknown'; diff --git a/src/internal/errors.ts b/src/internal/errors.ts index c14a742b..82c7b14d 100644 --- a/src/internal/errors.ts +++ b/src/internal/errors.ts @@ -2,12 +2,12 @@ export function isAbortError(err: unknown) { return ( - typeof err === 'object' && err !== null && ( - // Spec-compliant fetch implementations - ('name' in err && (err as any).name === 'AbortError') || + typeof err === 'object' && + err !== null && + // Spec-compliant fetch implementations + (('name' in err && (err as any).name === 'AbortError') || // Expo fetch - ('message' in err && String((err as any).message).includes('FetchRequestCanceledException')) - ) + ('message' in err && String((err as any).message).includes('FetchRequestCanceledException'))) ); } @@ -24,10 +24,10 @@ export const castToError = (err: any): Error => { if (err.name) error.name = err.name; return error; } - } catch { } + } catch {} try { return new Error(JSON.stringify(err)); - } catch { } + } catch {} } return new Error(err); }; diff --git a/src/internal/headers.ts b/src/internal/headers.ts index fa2ea2b9..c724a9d2 100644 --- a/src/internal/headers.ts +++ b/src/internal/headers.ts @@ -1,6 +1,6 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { isReadonlyArray } from "./utils/values"; +import { isReadonlyArray } from './utils/values'; type HeaderValue = string | undefined | null; export type HeadersLike = @@ -51,7 +51,7 @@ function* iterateHeaders(headers: HeadersLike): IterableIterator(client: Stainless, props: APIResponseProps): Promise { const { response, requestLogID, retryOfRequestLogID, startTime } = props; const body = await (async () => { - // fetch refuses to read the body when the status code is 204. if (response.status === 204) { return null as T; @@ -43,6 +42,15 @@ export async function defaultParseResponse(client: Stainless, props: APIRespo const text = await response.text(); return text as unknown as T; })(); - loggerFor(client).debug(`[${requestLogID}] response parsed`, formatRequestDetails({ retryOfRequestLogID, url: response.url, status: response.status, body, durationMs: Date.now() - startTime })); + loggerFor(client).debug( + `[${requestLogID}] response parsed`, + formatRequestDetails({ + retryOfRequestLogID, + url: response.url, + status: response.status, + body, + durationMs: Date.now() - startTime, + }), + ); return body; } diff --git a/src/internal/qs/utils.ts b/src/internal/qs/utils.ts index f21d955b..4cd56579 100644 --- a/src/internal/qs/utils.ts +++ b/src/internal/qs/utils.ts @@ -62,10 +62,7 @@ export function merge( if (isArray(target)) { target.push(source); } else if (target && typeof target === 'object') { - if ( - (options && (options.plainObjects || options.allowPrototypes)) || - !has(Object.prototype, source) - ) { + if ((options && (options.plainObjects || options.allowPrototypes)) || !has(Object.prototype, source)) { target[source] = true; } } else { diff --git a/src/internal/request-options.ts b/src/internal/request-options.ts index a8558b20..2aabf9aa 100644 --- a/src/internal/request-options.ts +++ b/src/internal/request-options.ts @@ -76,14 +76,10 @@ export type RequestOptions = { defaultBaseURL?: string | undefined; __binaryResponse?: boolean | undefined; - }; export type EncodedContent = { bodyHeaders: HeadersLike; body: BodyInit }; -export type RequestEncoder = (request: { - headers: NullableHeaders; - body: unknown; -}) => EncodedContent; +export type RequestEncoder = (request: { headers: NullableHeaders; body: unknown }) => EncodedContent; export const FallbackEncoder: RequestEncoder = ({ headers, body }) => { return { diff --git a/src/internal/shim-types.ts b/src/internal/shim-types.ts index accbf576..8ddf7b0a 100644 --- a/src/internal/shim-types.ts +++ b/src/internal/shim-types.ts @@ -19,8 +19,8 @@ type _ConditionalNodeReadableStream = typeof globalThis extends { ReadableStream: any } ? never : _NodeReadableStream; type _ReadableStream = NeverToAny< - ([0] extends [1 & _DOMReadableStream] ? never : _DOMReadableStream) | - ([0] extends [1 & _ConditionalNodeReadableStream] ? never : _ConditionalNodeReadableStream) + | ([0] extends [1 & _DOMReadableStream] ? never : _DOMReadableStream) + | ([0] extends [1 & _ConditionalNodeReadableStream] ? never : _ConditionalNodeReadableStream) >; export type { _ReadableStream as ReadableStream }; diff --git a/src/internal/shims.ts b/src/internal/shims.ts index 9c505e64..87104c45 100644 --- a/src/internal/shims.ts +++ b/src/internal/shims.ts @@ -27,7 +27,9 @@ export function makeReadableStream(...args: ReadableStreamArgs): ReadableStream if (typeof ReadableStream === 'undefined') { // Note: All of the platforms / runtimes we officially support already define // `ReadableStream` as a global, so this should only ever be hit on unsupported runtimes. - throw new Error('`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`'); + throw new Error( + '`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`', + ); } return new ReadableStream(...args); diff --git a/src/internal/to-file.ts b/src/internal/to-file.ts index c72a2b41..30eada32 100644 --- a/src/internal/to-file.ts +++ b/src/internal/to-file.ts @@ -1,4 +1,4 @@ -import { BlobPart, getName, makeFile, isAsyncIterable } from "./uploads"; +import { BlobPart, getName, makeFile, isAsyncIterable } from './uploads'; import type { FilePropertyBag } from './builtin-types'; import { checkFileSupport } from './uploads'; @@ -65,8 +65,11 @@ const isResponseLike = (value: any): value is ResponseLike => typeof value.url === 'string' && typeof value.blob === 'function'; -export type ToFileInput = FileLike | ResponseLike | Exclude | AsyncIterable; - +export type ToFileInput = + | FileLike + | ResponseLike + | Exclude + | AsyncIterable; /** * Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats @@ -116,9 +119,7 @@ export async function toFile( return makeFile(parts, name, options); } -async function getBytes( - value: BlobLikePart | AsyncIterable, -): Promise> { +async function getBytes(value: BlobLikePart | AsyncIterable): Promise> { let parts: Array = []; if ( typeof value === 'string' || @@ -151,4 +152,3 @@ function propsForError(value: unknown): string { const props = Object.getOwnPropertyNames(value); return `; props: [${props.map((p) => `"${p}"`).join(', ')}]`; } - diff --git a/src/internal/types.ts b/src/internal/types.ts index c45fee32..a050513a 100644 --- a/src/internal/types.ts +++ b/src/internal/types.ts @@ -7,34 +7,39 @@ export type KeysEnum = { [P in keyof Required]: true }; export type FinalizedRequestInit = RequestInit & { headers: Headers }; -type NotAny = [0] extends [(1 & T)] ? never : T; +type NotAny = [0] extends [1 & T] ? never : T; /** * Some environments overload the global fetch function, and Parameters only gets the last signature. */ -type OverloadedParameters = T extends { - (...args: infer A): unknown; - (...args: infer B): unknown; - (...args: infer C): unknown; - (...args: infer D): unknown; -} - ? A | B | C | D - : T extends { +type OverloadedParameters = + T extends ( + { (...args: infer A): unknown; (...args: infer B): unknown; (...args: infer C): unknown; + (...args: infer D): unknown; } - ? A | B | C - : T extends { + ) ? + A | B | C | D + : T extends ( + { + (...args: infer A): unknown; + (...args: infer B): unknown; + (...args: infer C): unknown; + } + ) ? + A | B | C + : T extends ( + { (...args: infer A): unknown; (...args: infer B): unknown; } - ? A | B - : T extends (...args: infer A) => unknown - ? A + ) ? + A | B + : T extends (...args: infer A) => unknown ? A : never; - /** * These imports attempt to get types from a parent package's dependencies. * Unresolved bare specifiers can trigger [automatic type acquisition][1] in some projects, which @@ -69,7 +74,6 @@ type NodeFetch2RequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; /** @ts-ignore For users who use Deno */ /* prettier-ignore */ type FetchRequestInit = NonNullable[1]>; - type RequestInits = | NotAny diff --git a/src/internal/utils/log.ts b/src/internal/utils/log.ts index a164a80c..a09760c4 100644 --- a/src/internal/utils/log.ts +++ b/src/internal/utils/log.ts @@ -4,7 +4,7 @@ import { hasOwn } from './values'; import { type Stainless } from '../../client'; import { RequestOptions } from '../request-options'; -type LogFn = (message: string, ...rest: unknown[]) => void +type LogFn = (message: string, ...rest: unknown[]) => void; export type Logger = { error: LogFn; warn: LogFn; @@ -21,14 +21,22 @@ const levelNumbers = { debug: 500, }; -export const parseLogLevel = (maybeLevel: string | undefined, sourceName: string, client: Stainless): LogLevel | undefined => { +export const parseLogLevel = ( + maybeLevel: string | undefined, + sourceName: string, + client: Stainless, +): LogLevel | undefined => { if (!maybeLevel) { return undefined; } if (hasOwn(levelNumbers, maybeLevel)) { return maybeLevel; - }; - loggerFor(client).warn(`${sourceName} was set to ${JSON.stringify(maybeLevel)}, expected one of ${JSON.stringify(Object.keys(levelNumbers))}`); + } + loggerFor(client).warn( + `${sourceName} was set to ${JSON.stringify(maybeLevel)}, expected one of ${JSON.stringify( + Object.keys(levelNumbers), + )}`, + ); return undefined; }; @@ -89,11 +97,24 @@ export const formatRequestDetails = (details: { body?: unknown; }) => { if (details.options) { - details.options = {...details.options}; + details.options = { ...details.options }; delete details.options['headers']; // redundant + leaks internals } if (details.headers) { - details.headers = Object.fromEntries((details.headers instanceof Headers ? [...details.headers] : Object.entries(details.headers)).map(([name, value]) => [name, name.toLowerCase() === 'authorization' || name.toLowerCase() === 'cookie' || name.toLowerCase() === 'set-cookie' ? '***' : value])) + details.headers = Object.fromEntries( + (details.headers instanceof Headers ? [...details.headers] : Object.entries(details.headers)).map( + ([name, value]) => [ + name, + ( + name.toLowerCase() === 'authorization' || + name.toLowerCase() === 'cookie' || + name.toLowerCase() === 'set-cookie' + ) ? + '***' + : value, + ], + ), + ); } if ('retryOfRequestLogID' in details) { if (details.retryOfRequestLogID) { @@ -101,5 +122,5 @@ export const formatRequestDetails = (details: { } delete details.retryOfRequestLogID; } - return details -} + return details; +}; diff --git a/src/internal/utils/query.ts b/src/internal/utils/query.ts index 06e72d93..0139cacb 100644 --- a/src/internal/utils/query.ts +++ b/src/internal/utils/query.ts @@ -3,5 +3,5 @@ import * as qs from '../qs/stringify'; export function stringifyQuery(query: object | Record) { - return qs.stringify(query, { arrayFormat: 'comma' }) + return qs.stringify(query, { arrayFormat: 'comma' }); } diff --git a/src/internal/utils/uuid.ts b/src/internal/utils/uuid.ts index 53708ba6..b0e53aaf 100644 --- a/src/internal/utils/uuid.ts +++ b/src/internal/utils/uuid.ts @@ -10,10 +10,8 @@ export let uuid4 = function () { return crypto.randomUUID(); } const u8 = new Uint8Array(1); - const randomByte = crypto - ? () => crypto.getRandomValues(u8)[0]! - : () => (Math.random() * 0xff) & 0xff; - return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => + const randomByte = crypto ? () => crypto.getRandomValues(u8)[0]! : () => (Math.random() * 0xff) & 0xff; + return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16), ); -} +}; diff --git a/src/pagination.ts b/src/pagination.ts index e1e5d091..90bf015e 100644 --- a/src/pagination.ts +++ b/src/pagination.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/pagination instead */ -export * from "./core/pagination" \ No newline at end of file +export * from './core/pagination'; diff --git a/src/resource.ts b/src/resource.ts index 57a27a94..363e3516 100644 --- a/src/resource.ts +++ b/src/resource.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/resource instead */ -export * from "./core/resource" \ No newline at end of file +export * from './core/resource'; diff --git a/src/resources/builds/builds.ts b/src/resources/builds/builds.ts index f65d7fb3..be1b6e5d 100644 --- a/src/resources/builds/builds.ts +++ b/src/resources/builds/builds.ts @@ -4,7 +4,13 @@ import { APIResource } from '../../core/resource'; import * as BuildsAPI from './builds'; import * as Shared from '../shared'; import * as DiagnosticsAPI from './diagnostics'; -import { BuildDiagnostic, BuildDiagnosticMore, BuildDiagnosticsPage, DiagnosticListParams, Diagnostics } from './diagnostics'; +import { + BuildDiagnostic, + BuildDiagnosticMore, + BuildDiagnosticsPage, + DiagnosticListParams, + Diagnostics, +} from './diagnostics'; import * as TargetOutputsAPI from './target-outputs'; import { TargetOutputRetrieveParams, TargetOutputRetrieveResponse, TargetOutputs } from './target-outputs'; import { APIPromise } from '../../core/api-promise'; @@ -23,7 +29,7 @@ export class Builds extends APIResource { * points to the one specified by the input revision. */ create(params: BuildCreateParams, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params + const { project = this._client.project, ...body } = params; return this._client.post('/v0/builds', { body: { project, ...body }, ...options }); } @@ -40,8 +46,11 @@ export class Builds extends APIResource { * An optional revision can be specified to filter by config commit SHA, or hashes * of file contents. */ - list(params: BuildListParams | null | undefined = {}, options?: RequestOptions): PagePromise { - const { project = this._client.project, ...query } = params ?? {} + list( + params: BuildListParams | null | undefined = {}, + options?: RequestOptions, + ): PagePromise { + const { project = this._client.project, ...query } = params ?? {}; return this._client.getAPIList('/v0/builds', Page, { query: { project, ...query }, ...options }); } @@ -57,12 +66,12 @@ export class Builds extends APIResource { * the set of config files, and any custom code. */ compare(params: BuildCompareParams, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params + const { project = this._client.project, ...body } = params; return this._client.post('/v0/builds/compare', { body: { project, ...body }, ...options }); } } -export type BuildsPage = Page +export type BuildsPage = Page; export interface Build { /** @@ -132,7 +141,12 @@ export namespace Build { } export interface BuildTarget { - commit: BuildTarget.NotStarted | BuildTarget.Waiting | BuildTarget.Queued | BuildTarget.InProgress | BuildTarget.Completed; + commit: + | BuildTarget.NotStarted + | BuildTarget.Waiting + | BuildTarget.Queued + | BuildTarget.InProgress + | BuildTarget.Completed; install_url: string | null; @@ -174,7 +188,19 @@ export namespace BuildTarget { completed_at: string; - conclusion: 'error' | 'warning' | 'note' | 'success' | 'merge_conflict' | 'upstream_merge_conflict' | 'fatal' | 'payment_required' | 'cancelled' | 'timed_out' | 'noop' | 'version_bump'; + conclusion: + | 'error' + | 'warning' + | 'note' + | 'success' + | 'merge_conflict' + | 'upstream_merge_conflict' + | 'fatal' + | 'payment_required' + | 'cancelled' + | 'timed_out' + | 'noop' + | 'version_bump'; merge_conflict_pr: Completed.MergeConflictPr | null; @@ -190,7 +216,19 @@ export namespace BuildTarget { completed_at: string; - conclusion: 'error' | 'warning' | 'note' | 'success' | 'merge_conflict' | 'upstream_merge_conflict' | 'fatal' | 'payment_required' | 'cancelled' | 'timed_out' | 'noop' | 'version_bump'; + conclusion: + | 'error' + | 'warning' + | 'note' + | 'success' + | 'merge_conflict' + | 'upstream_merge_conflict' + | 'fatal' + | 'payment_required' + | 'cancelled' + | 'timed_out' + | 'noop' + | 'version_bump'; merge_conflict_pr: Completed.MergeConflictPr | null; } @@ -231,7 +269,12 @@ export namespace BuildTarget { } } -export type CheckStep = CheckStep.NotStarted | CheckStep.Waiting | CheckStep.Queued | CheckStep.InProgress | CheckStep.Completed +export type CheckStep = + | CheckStep.NotStarted + | CheckStep.Waiting + | CheckStep.Queued + | CheckStep.InProgress + | CheckStep.Completed; export namespace CheckStep { export interface NotStarted { @@ -274,7 +317,14 @@ export namespace CheckStep { * deprecated */ export interface Completed { - conclusion: 'success' | 'failure' | 'skipped' | 'cancelled' | 'action_required' | 'neutral' | 'timed_out'; + conclusion: + | 'success' + | 'failure' + | 'skipped' + | 'cancelled' + | 'action_required' + | 'neutral' + | 'timed_out'; url: string | null; } @@ -480,7 +530,7 @@ export declare namespace Builds { type BuildsPage as BuildsPage, type BuildCreateParams as BuildCreateParams, type BuildListParams as BuildListParams, - type BuildCompareParams as BuildCompareParams + type BuildCompareParams as BuildCompareParams, }; export { @@ -488,12 +538,12 @@ export declare namespace Builds { type BuildDiagnostic as BuildDiagnostic, type BuildDiagnosticMore as BuildDiagnosticMore, type BuildDiagnosticsPage as BuildDiagnosticsPage, - type DiagnosticListParams as DiagnosticListParams + type DiagnosticListParams as DiagnosticListParams, }; export { TargetOutputs as TargetOutputs, type TargetOutputRetrieveResponse as TargetOutputRetrieveResponse, - type TargetOutputRetrieveParams as TargetOutputRetrieveParams + type TargetOutputRetrieveParams as TargetOutputRetrieveParams, }; } diff --git a/src/resources/builds/diagnostics.ts b/src/resources/builds/diagnostics.ts index 05c1f268..5cf467c5 100644 --- a/src/resources/builds/diagnostics.ts +++ b/src/resources/builds/diagnostics.ts @@ -12,12 +12,19 @@ export class Diagnostics extends APIResource { * If no language targets are specified, diagnostics for all languages are * returned. */ - list(buildID: string, query: DiagnosticListParams | null | undefined = {}, options?: RequestOptions): PagePromise { - return this._client.getAPIList(path`/v0/builds/${buildID}/diagnostics`, Page, { query, ...options }); + list( + buildID: string, + query: DiagnosticListParams | null | undefined = {}, + options?: RequestOptions, + ): PagePromise { + return this._client.getAPIList(path`/v0/builds/${buildID}/diagnostics`, Page, { + query, + ...options, + }); } } -export type BuildDiagnosticsPage = Page +export type BuildDiagnosticsPage = Page; export interface BuildDiagnostic { /** @@ -53,7 +60,7 @@ export interface BuildDiagnostic { oas_ref?: string; } -export type BuildDiagnosticMore = BuildDiagnosticMore.Markdown | BuildDiagnosticMore.Raw +export type BuildDiagnosticMore = BuildDiagnosticMore.Markdown | BuildDiagnosticMore.Raw; export namespace BuildDiagnosticMore { export interface Markdown { @@ -91,6 +98,6 @@ export declare namespace Diagnostics { type BuildDiagnostic as BuildDiagnostic, type BuildDiagnosticMore as BuildDiagnosticMore, type BuildDiagnosticsPage as BuildDiagnosticsPage, - type DiagnosticListParams as DiagnosticListParams + type DiagnosticListParams as DiagnosticListParams, }; } diff --git a/src/resources/builds/index.ts b/src/resources/builds/index.ts index 6f041c0e..e4019029 100644 --- a/src/resources/builds/index.ts +++ b/src/resources/builds/index.ts @@ -1,5 +1,25 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -export { Builds, type Build, type BuildTarget, type CheckStep, type BuildCompareResponse, type BuildCreateParams, type BuildListParams, type BuildCompareParams, type BuildsPage } from './builds';; -export { Diagnostics, type BuildDiagnostic, type BuildDiagnosticMore, type DiagnosticListParams, type BuildDiagnosticsPage } from './diagnostics';; -export { TargetOutputs, type TargetOutputRetrieveResponse, type TargetOutputRetrieveParams } from './target-outputs';; +export { + Builds, + type Build, + type BuildTarget, + type CheckStep, + type BuildCompareResponse, + type BuildCreateParams, + type BuildListParams, + type BuildCompareParams, + type BuildsPage, +} from './builds'; +export { + Diagnostics, + type BuildDiagnostic, + type BuildDiagnosticMore, + type DiagnosticListParams, + type BuildDiagnosticsPage, +} from './diagnostics'; +export { + TargetOutputs, + type TargetOutputRetrieveResponse, + type TargetOutputRetrieveParams, +} from './target-outputs'; diff --git a/src/resources/builds/target-outputs.ts b/src/resources/builds/target-outputs.ts index f7df5706..b9163275 100644 --- a/src/resources/builds/target-outputs.ts +++ b/src/resources/builds/target-outputs.ts @@ -18,12 +18,17 @@ export class TargetOutputs extends APIResource { * and the output method _must_ be `url`. See the documentation for `type` for more * information. */ - retrieve(query: TargetOutputRetrieveParams, options?: RequestOptions): APIPromise { + retrieve( + query: TargetOutputRetrieveParams, + options?: RequestOptions, + ): APIPromise { return this._client.get('/v0/build_target_outputs', { query, ...options }); } } -export type TargetOutputRetrieveResponse = TargetOutputRetrieveResponse.URL | TargetOutputRetrieveResponse.Git +export type TargetOutputRetrieveResponse = + | TargetOutputRetrieveResponse.URL + | TargetOutputRetrieveResponse.Git; export namespace TargetOutputRetrieveResponse { export interface URL { @@ -31,7 +36,14 @@ export namespace TargetOutputRetrieveResponse { target: Shared.Target; - type: 'source' | 'dist' | 'wheel' | 'openapi-with-transforms' | 'openapi-with-code-samples' | 'openapi-sdk-spec' | 'file'; + type: + | 'source' + | 'dist' + | 'wheel' + | 'openapi-with-transforms' + | 'openapi-with-code-samples' + | 'openapi-sdk-spec' + | 'file'; /** * URL for direct download @@ -60,7 +72,14 @@ export namespace TargetOutputRetrieveResponse { target: Shared.Target; - type: 'source' | 'dist' | 'wheel' | 'openapi-with-transforms' | 'openapi-with-code-samples' | 'openapi-sdk-spec' | 'file'; + type: + | 'source' + | 'dist' + | 'wheel' + | 'openapi-with-transforms' + | 'openapi-with-code-samples' + | 'openapi-sdk-spec' + | 'file'; /** * URL to git remote @@ -78,9 +97,29 @@ export interface TargetOutputRetrieveParams { /** * SDK language target name */ - target: 'node' | 'typescript' | 'python' | 'go' | 'java' | 'kotlin' | 'ruby' | 'terraform' | 'cli' | 'php' | 'csharp' | 'sql' | 'openapi'; - - type: 'source' | 'dist' | 'wheel' | 'openapi-with-transforms' | 'openapi-with-code-samples' | 'openapi-sdk-spec' | 'file'; + target: + | 'node' + | 'typescript' + | 'python' + | 'go' + | 'java' + | 'kotlin' + | 'ruby' + | 'terraform' + | 'cli' + | 'php' + | 'csharp' + | 'sql' + | 'openapi'; + + type: + | 'source' + | 'dist' + | 'wheel' + | 'openapi-with-transforms' + | 'openapi-with-code-samples' + | 'openapi-sdk-spec' + | 'file'; /** * Output format: url (download URL) or git (temporary access token). @@ -96,6 +135,6 @@ export interface TargetOutputRetrieveParams { export declare namespace TargetOutputs { export { type TargetOutputRetrieveResponse as TargetOutputRetrieveResponse, - type TargetOutputRetrieveParams as TargetOutputRetrieveParams + type TargetOutputRetrieveParams as TargetOutputRetrieveParams, }; } diff --git a/src/resources/index.ts b/src/resources/index.ts index c88b0d4f..f3588593 100644 --- a/src/resources/index.ts +++ b/src/resources/index.ts @@ -1,7 +1,27 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -export * from './shared';; -export { Builds, type Build, type BuildTarget, type CheckStep, type BuildCompareResponse, type BuildCreateParams, type BuildListParams, type BuildCompareParams, type BuildsPage } from './builds/builds';; -export { Orgs, type Org, type OrgListResponse } from './orgs';; -export { Projects, type Project, type ProjectGenerateCommitMessageResponse, type ProjectCreateParams, type ProjectRetrieveParams, type ProjectUpdateParams, type ProjectListParams, type ProjectGenerateCommitMessageParams, type ProjectsPage } from './projects/projects';; -export { User, type UserRetrieveResponse } from './user';; +export * from './shared'; +export { + Builds, + type Build, + type BuildTarget, + type CheckStep, + type BuildCompareResponse, + type BuildCreateParams, + type BuildListParams, + type BuildCompareParams, + type BuildsPage, +} from './builds/builds'; +export { Orgs, type Org, type OrgListResponse } from './orgs'; +export { + Projects, + type Project, + type ProjectGenerateCommitMessageResponse, + type ProjectCreateParams, + type ProjectRetrieveParams, + type ProjectUpdateParams, + type ProjectListParams, + type ProjectGenerateCommitMessageParams, + type ProjectsPage, +} from './projects/projects'; +export { User, type UserRetrieveResponse } from './user'; diff --git a/src/resources/orgs.ts b/src/resources/orgs.ts index 87102798..4d9f9dc4 100644 --- a/src/resources/orgs.ts +++ b/src/resources/orgs.ts @@ -40,8 +40,5 @@ export interface OrgListResponse { } export declare namespace Orgs { - export { - type Org as Org, - type OrgListResponse as OrgListResponse - }; + export { type Org as Org, type OrgListResponse as OrgListResponse }; } diff --git a/src/resources/projects/branches.ts b/src/resources/projects/branches.ts index c2cf22f8..0c25e387 100644 --- a/src/resources/projects/branches.ts +++ b/src/resources/projects/branches.ts @@ -16,31 +16,45 @@ export class Branches extends APIResource { * branch will also inherit custom code changes from that branch. */ create(params: BranchCreateParams, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params + const { project = this._client.project, ...body } = params; return this._client.post(path`/v0/projects/${project}/branches`, { body, ...options }); } /** * Retrieve a project branch by name. */ - retrieve(branch: string, params: BranchRetrieveParams | null | undefined = {}, options?: RequestOptions): APIPromise { - const { project = this._client.project } = params ?? {} + retrieve( + branch: string, + params: BranchRetrieveParams | null | undefined = {}, + options?: RequestOptions, + ): APIPromise { + const { project = this._client.project } = params ?? {}; return this._client.get(path`/v0/projects/${project}/branches/${branch}`, options); } /** * Retrieve a project branch by name. */ - list(params: BranchListParams | null | undefined = {}, options?: RequestOptions): PagePromise { - const { project = this._client.project, ...query } = params ?? {} - return this._client.getAPIList(path`/v0/projects/${project}/branches`, Page, { query, ...options }); + list( + params: BranchListParams | null | undefined = {}, + options?: RequestOptions, + ): PagePromise { + const { project = this._client.project, ...query } = params ?? {}; + return this._client.getAPIList(path`/v0/projects/${project}/branches`, Page, { + query, + ...options, + }); } /** * Delete a project branch by name. */ - delete(branch: string, params: BranchDeleteParams | null | undefined = {}, options?: RequestOptions): APIPromise { - const { project = this._client.project } = params ?? {} + delete( + branch: string, + params: BranchDeleteParams | null | undefined = {}, + options?: RequestOptions, + ): APIPromise { + const { project = this._client.project } = params ?? {}; return this._client.delete(path`/v0/projects/${project}/branches/${branch}`, options); } @@ -50,9 +64,16 @@ export class Branches extends APIResource { * The branch is rebased onto the `base` branch or commit SHA, inheriting any * config and custom code changes. */ - rebase(branch: string, params: BranchRebaseParams | null | undefined = {}, options?: RequestOptions): APIPromise { - const { project = this._client.project, base } = params ?? {} - return this._client.put(path`/v0/projects/${project}/branches/${branch}/rebase`, { query: { base }, ...options }); + rebase( + branch: string, + params: BranchRebaseParams | null | undefined = {}, + options?: RequestOptions, + ): APIPromise { + const { project = this._client.project, base } = params ?? {}; + return this._client.put(path`/v0/projects/${project}/branches/${branch}/rebase`, { + query: { base }, + ...options, + }); } /** @@ -61,13 +82,20 @@ export class Branches extends APIResource { * If `branch` === `main`, the branch is reset to `target_config_sha`. Otherwise, * the branch is reset to `main`. */ - reset(branch: string, params: BranchResetParams | null | undefined = {}, options?: RequestOptions): APIPromise { - const { project = this._client.project, target_config_sha } = params ?? {} - return this._client.put(path`/v0/projects/${project}/branches/${branch}/reset`, { query: { target_config_sha }, ...options }); + reset( + branch: string, + params: BranchResetParams | null | undefined = {}, + options?: RequestOptions, + ): APIPromise { + const { project = this._client.project, target_config_sha } = params ?? {}; + return this._client.put(path`/v0/projects/${project}/branches/${branch}/reset`, { + query: { target_config_sha }, + ...options, + }); } } -export type BranchListResponsesPage = Page +export type BranchListResponsesPage = Page; /** * A project branch names a line of development for a project. Like a Git branch, @@ -197,7 +225,7 @@ export namespace BranchListResponse { } } -export type BranchDeleteResponse = unknown +export type BranchDeleteResponse = unknown; export interface BranchCreateParams { /** @@ -278,6 +306,6 @@ export declare namespace Branches { type BranchListParams as BranchListParams, type BranchDeleteParams as BranchDeleteParams, type BranchRebaseParams as BranchRebaseParams, - type BranchResetParams as BranchResetParams + type BranchResetParams as BranchResetParams, }; } diff --git a/src/resources/projects/configs.ts b/src/resources/projects/configs.ts index f71661f4..a4442492 100644 --- a/src/resources/projects/configs.ts +++ b/src/resources/projects/configs.ts @@ -9,8 +9,11 @@ export class Configs extends APIResource { /** * Retrieve the configuration files for a given project. */ - retrieve(params: ConfigRetrieveParams | null | undefined = {}, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...query } = params ?? {} + retrieve( + params: ConfigRetrieveParams | null | undefined = {}, + options?: RequestOptions, + ): APIPromise { + const { project = this._client.project, ...query } = params ?? {}; return this._client.get(path`/v0/projects/${project}/configs`, { query, ...options }); } @@ -18,7 +21,7 @@ export class Configs extends APIResource { * Generate suggestions for changes to config files based on an OpenAPI spec. */ guess(params: ConfigGuessParams, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params + const { project = this._client.project, ...body } = params; return this._client.post(path`/v0/projects/${project}/configs/guess`, { body, ...options }); } } @@ -26,7 +29,7 @@ export class Configs extends APIResource { /** * Config files contents */ -export type ConfigRetrieveResponse = { [key: string]: ConfigRetrieveResponse.item } +export type ConfigRetrieveResponse = { [key: string]: ConfigRetrieveResponse.item }; export namespace ConfigRetrieveResponse { export interface item { @@ -40,7 +43,7 @@ export namespace ConfigRetrieveResponse { /** * Config files contents */ -export type ConfigGuessResponse = { [key: string]: ConfigGuessResponse.item } +export type ConfigGuessResponse = { [key: string]: ConfigGuessResponse.item }; export namespace ConfigGuessResponse { export interface item { @@ -90,6 +93,6 @@ export declare namespace Configs { type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigGuessResponse as ConfigGuessResponse, type ConfigRetrieveParams as ConfigRetrieveParams, - type ConfigGuessParams as ConfigGuessParams + type ConfigGuessParams as ConfigGuessParams, }; } diff --git a/src/resources/projects/index.ts b/src/resources/projects/index.ts index 3729842b..d4d514ad 100644 --- a/src/resources/projects/index.ts +++ b/src/resources/projects/index.ts @@ -1,5 +1,33 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -export { Branches, type ProjectBranch, type BranchListResponse, type BranchDeleteResponse, type BranchCreateParams, type BranchRetrieveParams, type BranchListParams, type BranchDeleteParams, type BranchRebaseParams, type BranchResetParams, type BranchListResponsesPage } from './branches';; -export { Configs, type ConfigRetrieveResponse, type ConfigGuessResponse, type ConfigRetrieveParams, type ConfigGuessParams } from './configs';; -export { Projects, type Project, type ProjectGenerateCommitMessageResponse, type ProjectCreateParams, type ProjectRetrieveParams, type ProjectUpdateParams, type ProjectListParams, type ProjectGenerateCommitMessageParams, type ProjectsPage } from './projects';; +export { + Branches, + type ProjectBranch, + type BranchListResponse, + type BranchDeleteResponse, + type BranchCreateParams, + type BranchRetrieveParams, + type BranchListParams, + type BranchDeleteParams, + type BranchRebaseParams, + type BranchResetParams, + type BranchListResponsesPage, +} from './branches'; +export { + Configs, + type ConfigRetrieveResponse, + type ConfigGuessResponse, + type ConfigRetrieveParams, + type ConfigGuessParams, +} from './configs'; +export { + Projects, + type Project, + type ProjectGenerateCommitMessageResponse, + type ProjectCreateParams, + type ProjectRetrieveParams, + type ProjectUpdateParams, + type ProjectListParams, + type ProjectGenerateCommitMessageParams, + type ProjectsPage, +} from './projects'; diff --git a/src/resources/projects/projects.ts b/src/resources/projects/projects.ts index 7eda457c..0cab4a00 100644 --- a/src/resources/projects/projects.ts +++ b/src/resources/projects/projects.ts @@ -3,9 +3,27 @@ import { APIResource } from '../../core/resource'; import * as Shared from '../shared'; import * as BranchesAPI from './branches'; -import { BranchCreateParams, BranchDeleteParams, BranchDeleteResponse, BranchListParams, BranchListResponse, BranchListResponsesPage, BranchRebaseParams, BranchResetParams, BranchRetrieveParams, Branches, ProjectBranch } from './branches'; +import { + BranchCreateParams, + BranchDeleteParams, + BranchDeleteResponse, + BranchListParams, + BranchListResponse, + BranchListResponsesPage, + BranchRebaseParams, + BranchResetParams, + BranchRetrieveParams, + Branches, + ProjectBranch, +} from './branches'; import * as ConfigsAPI from './configs'; -import { ConfigGuessParams, ConfigGuessResponse, ConfigRetrieveParams, ConfigRetrieveResponse, Configs } from './configs'; +import { + ConfigGuessParams, + ConfigGuessResponse, + ConfigRetrieveParams, + ConfigRetrieveResponse, + Configs, +} from './configs'; import { APIPromise } from '../../core/api-promise'; import { Page, type PageParams, PagePromise } from '../../core/pagination'; import { RequestOptions } from '../../internal/request-options'; @@ -25,8 +43,11 @@ export class Projects extends APIResource { /** * Retrieve a project by name. */ - retrieve(params: ProjectRetrieveParams | null | undefined = {}, options?: RequestOptions): APIPromise { - const { project = this._client.project } = params ?? {} + retrieve( + params: ProjectRetrieveParams | null | undefined = {}, + options?: RequestOptions, + ): APIPromise { + const { project = this._client.project } = params ?? {}; return this._client.get(path`/v0/projects/${project}`, options); } @@ -34,27 +55,37 @@ export class Projects extends APIResource { * Update a project's properties. */ update(params: ProjectUpdateParams | null | undefined = {}, options?: RequestOptions): APIPromise { - const { project = this._client.project, ...body } = params ?? {} + const { project = this._client.project, ...body } = params ?? {}; return this._client.patch(path`/v0/projects/${project}`, { body, ...options }); } /** * List projects in an organization, from oldest to newest. */ - list(query: ProjectListParams | null | undefined = {}, options?: RequestOptions): PagePromise { + list( + query: ProjectListParams | null | undefined = {}, + options?: RequestOptions, + ): PagePromise { return this._client.getAPIList('/v0/projects', Page, { query, ...options }); } /** * Generates an AI commit message by comparing two git refs in the SDK repository. */ - generateCommitMessage(params: ProjectGenerateCommitMessageParams, options?: RequestOptions): APIPromise { - const { project = this._client.project, target, ...body } = params - return this._client.post(path`/v0/projects/${project}/generate_commit_message`, { query: { target }, body, ...options }); + generateCommitMessage( + params: ProjectGenerateCommitMessageParams, + options?: RequestOptions, + ): APIPromise { + const { project = this._client.project, target, ...body } = params; + return this._client.post(path`/v0/projects/${project}/generate_commit_message`, { + query: { target }, + body, + ...options, + }); } } -export type ProjectsPage = Page +export type ProjectsPage = Page; /** * A project is a collection of SDKs generated from the same set of config files. @@ -138,7 +169,20 @@ export interface ProjectGenerateCommitMessageParams { /** * Query param: Language target */ - target: 'python' | 'node' | 'typescript' | 'java' | 'kotlin' | 'go' | 'ruby' | 'terraform' | 'cli' | 'csharp' | 'php' | 'openapi' | 'sql'; + target: + | 'python' + | 'node' + | 'typescript' + | 'java' + | 'kotlin' + | 'go' + | 'ruby' + | 'terraform' + | 'cli' + | 'csharp' + | 'php' + | 'openapi' + | 'sql'; /** * Body param: Base ref for comparison @@ -163,7 +207,7 @@ export declare namespace Projects { type ProjectRetrieveParams as ProjectRetrieveParams, type ProjectUpdateParams as ProjectUpdateParams, type ProjectListParams as ProjectListParams, - type ProjectGenerateCommitMessageParams as ProjectGenerateCommitMessageParams + type ProjectGenerateCommitMessageParams as ProjectGenerateCommitMessageParams, }; export { @@ -177,7 +221,7 @@ export declare namespace Projects { type BranchListParams as BranchListParams, type BranchDeleteParams as BranchDeleteParams, type BranchRebaseParams as BranchRebaseParams, - type BranchResetParams as BranchResetParams + type BranchResetParams as BranchResetParams, }; export { @@ -185,6 +229,6 @@ export declare namespace Projects { type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigGuessResponse as ConfigGuessResponse, type ConfigRetrieveParams as ConfigRetrieveParams, - type ConfigGuessParams as ConfigGuessParams + type ConfigGuessParams as ConfigGuessParams, }; } diff --git a/src/resources/shared.ts b/src/resources/shared.ts index 91579dd6..d18a2687 100644 --- a/src/resources/shared.ts +++ b/src/resources/shared.ts @@ -1,6 +1,5 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. - export interface Commit { repo: Commit.Repo; @@ -31,7 +30,7 @@ export namespace Commit { } } -export type FileInput = FileInput.Content | FileInput.URL +export type FileInput = FileInput.Content | FileInput.URL; export namespace FileInput { export interface Content { @@ -49,4 +48,17 @@ export namespace FileInput { } } -export type Target = 'node' | 'typescript' | 'python' | 'go' | 'java' | 'kotlin' | 'ruby' | 'terraform' | 'cli' | 'php' | 'csharp' | 'sql' | 'openapi' +export type Target = + | 'node' + | 'typescript' + | 'python' + | 'go' + | 'java' + | 'kotlin' + | 'ruby' + | 'terraform' + | 'cli' + | 'php' + | 'csharp' + | 'sql' + | 'openapi'; diff --git a/src/resources/user.ts b/src/resources/user.ts index 064142d1..47a4dcb5 100644 --- a/src/resources/user.ts +++ b/src/resources/user.ts @@ -32,7 +32,5 @@ export namespace UserRetrieveResponse { } export declare namespace User { - export { - type UserRetrieveResponse as UserRetrieveResponse - }; + export { type UserRetrieveResponse as UserRetrieveResponse }; } diff --git a/src/uploads.ts b/src/uploads.ts index d5437085..b2ef6471 100644 --- a/src/uploads.ts +++ b/src/uploads.ts @@ -1,2 +1,2 @@ /** @deprecated Import from ./core/uploads instead */ -export * from "./core/uploads" \ No newline at end of file +export * from './core/uploads'; diff --git a/src/version.ts b/src/version.ts index 63aeba8a..1f5d1586 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.5.0';// x-release-please-version +export const VERSION = '0.5.0'; // x-release-please-version diff --git a/tests/api-resources/builds/builds.test.ts b/tests/api-resources/builds/builds.test.ts index 6f9b5d52..a0ed1455 100644 --- a/tests/api-resources/builds/builds.test.ts +++ b/tests/api-resources/builds/builds.test.ts @@ -2,7 +2,10 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); +const client = new Stainless({ + apiKey: 'My API Key', + baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', +}); describe('resource builds', () => { test('create: only required params', async () => { @@ -18,29 +21,29 @@ describe('resource builds', () => { test('create: required and optional params', async () => { const response = await client.builds.create({ - project: 'project', - revision: 'string', - allow_empty: true, - branch: 'branch', - commit_message: 'commit_message', - enable_ai_commit_message: true, - target_commit_messages: { - cli: 'cli', - csharp: 'csharp', - go: 'go', - java: 'java', - kotlin: 'kotlin', - node: 'node', - openapi: 'openapi', - php: 'php', - python: 'python', - ruby: 'ruby', - sql: 'sql', - terraform: 'terraform', - typescript: 'typescript', - }, - targets: ['node'], - }); + project: 'project', + revision: 'string', + allow_empty: true, + branch: 'branch', + commit_message: 'commit_message', + enable_ai_commit_message: true, + target_commit_messages: { + cli: 'cli', + csharp: 'csharp', + go: 'go', + java: 'java', + kotlin: 'kotlin', + node: 'node', + openapi: 'openapi', + php: 'php', + python: 'python', + ruby: 'ruby', + sql: 'sql', + terraform: 'terraform', + typescript: 'typescript', + }, + targets: ['node'], + }); }); test('retrieve', async () => { @@ -67,20 +70,20 @@ describe('resource builds', () => { test('list: required and optional params', async () => { const response = await client.builds.list({ - project: 'project', - branch: 'branch', - cursor: 'cursor', - limit: 1, - revision: 'string', - }); + project: 'project', + branch: 'branch', + cursor: 'cursor', + limit: 1, + revision: 'string', + }); }); test('compare: only required params', async () => { const responsePromise = client.builds.compare({ - base: { branch: 'branch', revision: 'string' }, - head: { branch: 'branch', revision: 'string' }, - project: 'project', - }); + base: { branch: 'branch', revision: 'string' }, + head: { branch: 'branch', revision: 'string' }, + project: 'project', + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -92,18 +95,18 @@ describe('resource builds', () => { test('compare: required and optional params', async () => { const response = await client.builds.compare({ - base: { - branch: 'branch', - revision: 'string', - commit_message: 'commit_message', - }, - head: { - branch: 'branch', - revision: 'string', - commit_message: 'commit_message', - }, - project: 'project', - targets: ['node'], - }); + base: { + branch: 'branch', + revision: 'string', + commit_message: 'commit_message', + }, + head: { + branch: 'branch', + revision: 'string', + commit_message: 'commit_message', + }, + project: 'project', + targets: ['node'], + }); }); }); diff --git a/tests/api-resources/builds/diagnostics.test.ts b/tests/api-resources/builds/diagnostics.test.ts index 73bb4568..9f8b5cce 100644 --- a/tests/api-resources/builds/diagnostics.test.ts +++ b/tests/api-resources/builds/diagnostics.test.ts @@ -2,7 +2,10 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); +const client = new Stainless({ + apiKey: 'My API Key', + baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', +}); describe('resource diagnostics', () => { test('list', async () => { @@ -18,13 +21,17 @@ describe('resource diagnostics', () => { test('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error - await expect(client.builds.diagnostics.list('buildId', { - cursor: 'cursor', - limit: 1, - severity: 'fatal', - targets: 'targets', - }, { path: '/_stainless_unknown_path' })) - .rejects - .toThrow(Stainless.NotFoundError); + await expect( + client.builds.diagnostics.list( + 'buildId', + { + cursor: 'cursor', + limit: 1, + severity: 'fatal', + targets: 'targets', + }, + { path: '/_stainless_unknown_path' }, + ), + ).rejects.toThrow(Stainless.NotFoundError); }); }); diff --git a/tests/api-resources/builds/target-outputs.test.ts b/tests/api-resources/builds/target-outputs.test.ts index a2b71403..55ebdd2d 100644 --- a/tests/api-resources/builds/target-outputs.test.ts +++ b/tests/api-resources/builds/target-outputs.test.ts @@ -2,15 +2,18 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); +const client = new Stainless({ + apiKey: 'My API Key', + baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', +}); describe('resource targetOutputs', () => { test('retrieve: only required params', async () => { const responsePromise = client.builds.targetOutputs.retrieve({ - build_id: 'build_id', - target: 'node', - type: 'source', - }); + build_id: 'build_id', + target: 'node', + type: 'source', + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -22,11 +25,11 @@ describe('resource targetOutputs', () => { test('retrieve: required and optional params', async () => { const response = await client.builds.targetOutputs.retrieve({ - build_id: 'build_id', - target: 'node', - type: 'source', - output: 'url', - path: 'path', - }); + build_id: 'build_id', + target: 'node', + type: 'source', + output: 'url', + path: 'path', + }); }); }); diff --git a/tests/api-resources/orgs.test.ts b/tests/api-resources/orgs.test.ts index beb3bcd0..fecf2137 100644 --- a/tests/api-resources/orgs.test.ts +++ b/tests/api-resources/orgs.test.ts @@ -2,7 +2,10 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); +const client = new Stainless({ + apiKey: 'My API Key', + baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', +}); describe('resource orgs', () => { test('retrieve', async () => { diff --git a/tests/api-resources/projects/branches.test.ts b/tests/api-resources/projects/branches.test.ts index ec2fc1db..323394b9 100644 --- a/tests/api-resources/projects/branches.test.ts +++ b/tests/api-resources/projects/branches.test.ts @@ -2,15 +2,18 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); +const client = new Stainless({ + apiKey: 'My API Key', + baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', +}); describe('resource branches', () => { test('create: only required params', async () => { const responsePromise = client.projects.branches.create({ - project: 'project', - branch: 'branch', - branch_from: 'branch_from', - }); + project: 'project', + branch: 'branch', + branch_from: 'branch_from', + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -22,11 +25,11 @@ describe('resource branches', () => { test('create: required and optional params', async () => { const response = await client.projects.branches.create({ - project: 'project', - branch: 'branch', - branch_from: 'branch_from', - force: true, - }); + project: 'project', + branch: 'branch', + branch_from: 'branch_from', + force: true, + }); }); test('retrieve: only required params', async () => { @@ -57,10 +60,10 @@ describe('resource branches', () => { test('list: required and optional params', async () => { const response = await client.projects.branches.list({ - project: 'project', - cursor: 'cursor', - limit: 1, - }); + project: 'project', + cursor: 'cursor', + limit: 1, + }); }); test('delete: only required params', async () => { @@ -105,6 +108,9 @@ describe('resource branches', () => { }); test('reset: required and optional params', async () => { - const response = await client.projects.branches.reset('branch', { project: 'project', target_config_sha: 'target_config_sha' }); + const response = await client.projects.branches.reset('branch', { + project: 'project', + target_config_sha: 'target_config_sha', + }); }); }); diff --git a/tests/api-resources/projects/configs.test.ts b/tests/api-resources/projects/configs.test.ts index 12d240e4..ed3790f1 100644 --- a/tests/api-resources/projects/configs.test.ts +++ b/tests/api-resources/projects/configs.test.ts @@ -2,7 +2,10 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); +const client = new Stainless({ + apiKey: 'My API Key', + baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', +}); describe('resource configs', () => { test('retrieve: only required params', async () => { @@ -18,10 +21,10 @@ describe('resource configs', () => { test('retrieve: required and optional params', async () => { const response = await client.projects.configs.retrieve({ - project: 'project', - branch: 'branch', - include: 'include', - }); + project: 'project', + branch: 'branch', + include: 'include', + }); }); test('guess: only required params', async () => { @@ -37,9 +40,9 @@ describe('resource configs', () => { test('guess: required and optional params', async () => { const response = await client.projects.configs.guess({ - project: 'project', - spec: 'spec', - branch: 'branch', - }); + project: 'project', + spec: 'spec', + branch: 'branch', + }); }); }); diff --git a/tests/api-resources/projects/projects.test.ts b/tests/api-resources/projects/projects.test.ts index e7c549ce..a85d5bec 100644 --- a/tests/api-resources/projects/projects.test.ts +++ b/tests/api-resources/projects/projects.test.ts @@ -2,17 +2,20 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); +const client = new Stainless({ + apiKey: 'My API Key', + baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', +}); describe('resource projects', () => { test('create: only required params', async () => { const responsePromise = client.projects.create({ - display_name: 'display_name', - org: 'org', - revision: { foo: { content: 'content' } }, - slug: 'slug', - targets: ['node'], - }); + display_name: 'display_name', + org: 'org', + revision: { foo: { content: 'content' } }, + slug: 'slug', + targets: ['node'], + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -24,12 +27,12 @@ describe('resource projects', () => { test('create: required and optional params', async () => { const response = await client.projects.create({ - display_name: 'display_name', - org: 'org', - revision: { foo: { content: 'content' } }, - slug: 'slug', - targets: ['node'], - }); + display_name: 'display_name', + org: 'org', + revision: { foo: { content: 'content' } }, + slug: 'slug', + targets: ['node'], + }); }); test('retrieve: only required params', async () => { @@ -75,22 +78,25 @@ describe('resource projects', () => { test('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error - await expect(client.projects.list({ - cursor: 'cursor', - limit: 1, - org: 'org', - }, { path: '/_stainless_unknown_path' })) - .rejects - .toThrow(Stainless.NotFoundError); + await expect( + client.projects.list( + { + cursor: 'cursor', + limit: 1, + org: 'org', + }, + { path: '/_stainless_unknown_path' }, + ), + ).rejects.toThrow(Stainless.NotFoundError); }); test('generateCommitMessage: only required params', async () => { const responsePromise = client.projects.generateCommitMessage({ - project: 'project', - target: 'python', - base_ref: 'base_ref', - head_ref: 'head_ref', - }); + project: 'project', + target: 'python', + base_ref: 'base_ref', + head_ref: 'head_ref', + }); const rawResponse = await responsePromise.asResponse(); expect(rawResponse).toBeInstanceOf(Response); const response = await responsePromise; @@ -102,10 +108,10 @@ describe('resource projects', () => { test('generateCommitMessage: required and optional params', async () => { const response = await client.projects.generateCommitMessage({ - project: 'project', - target: 'python', - base_ref: 'base_ref', - head_ref: 'head_ref', - }); + project: 'project', + target: 'python', + base_ref: 'base_ref', + head_ref: 'head_ref', + }); }); }); diff --git a/tests/api-resources/user.test.ts b/tests/api-resources/user.test.ts index 6b2b27d4..ff9e8bec 100644 --- a/tests/api-resources/user.test.ts +++ b/tests/api-resources/user.test.ts @@ -2,7 +2,10 @@ import Stainless from '@stainless-api/sdk'; -const client = new Stainless({ apiKey: 'My API Key', baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010' }); +const client = new Stainless({ + apiKey: 'My API Key', + baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', +}); describe('resource user', () => { test('retrieve', async () => { diff --git a/tests/index.test.ts b/tests/index.test.ts index b63afede..145dc492 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -21,10 +21,10 @@ describe('instantiate client', () => { describe('defaultHeaders', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultHeaders: { 'X-My-Default-Header': '2' }, - apiKey: 'My API Key', -}) + baseURL: 'http://localhost:5000/', + defaultHeaders: { 'X-My-Default-Header': '2' }, + apiKey: 'My API Key', + }); test('they are used in the request', async () => { const { req } = await client.buildRequest({ path: '/foo', method: 'post' }); @@ -49,191 +49,193 @@ describe('instantiate client', () => { expect(req.headers.has('x-my-default-header')).toBe(false); }); }); -describe('logging', () => { - const env = process.env; + describe('logging', () => { + const env = process.env; - beforeEach(() => { - process.env = { ...env }; - process.env['STAINLESS_LOG'] = undefined; - }); + beforeEach(() => { + process.env = { ...env }; + process.env['STAINLESS_LOG'] = undefined; + }); - afterEach(() => { - process.env = env; - }); + afterEach(() => { + process.env = env; + }); - const forceAPIResponseForClient = async (client: Stainless) => { - await new APIPromise( - client, - Promise.resolve({ - response: new Response(), - controller: new AbortController(), - requestLogID: 'log_000000', - retryOfRequestLogID: undefined, - startTime: Date.now(), - options: { - method: 'get', - path: '/', - }, - }), - ); - }; - - test('debug logs when log level is debug', async () => { - const debugMock = jest.fn(); - const logger = { - debug: debugMock, - info: jest.fn(), - warn: jest.fn(), - error: jest.fn(), + const forceAPIResponseForClient = async (client: Stainless) => { + await new APIPromise( + client, + Promise.resolve({ + response: new Response(), + controller: new AbortController(), + requestLogID: 'log_000000', + retryOfRequestLogID: undefined, + startTime: Date.now(), + options: { + method: 'get', + path: '/', + }, + }), + ); }; - const client = new Stainless({ - logger: logger, - logLevel: 'debug', - apiKey: 'My API Key', -}); + test('debug logs when log level is debug', async () => { + const debugMock = jest.fn(); + const logger = { + debug: debugMock, + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), + }; - await forceAPIResponseForClient(client); - expect(debugMock).toHaveBeenCalled(); - }); + const client = new Stainless({ + logger: logger, + logLevel: 'debug', + apiKey: 'My API Key', + }); - test('default logLevel is warn', async () => { - const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.logLevel).toBe('warn'); - }); + await forceAPIResponseForClient(client); + expect(debugMock).toHaveBeenCalled(); + }); - test('debug logs are skipped when log level is info', async () => { - const debugMock = jest.fn(); - const logger = { - debug: debugMock, - info: jest.fn(), - warn: jest.fn(), - error: jest.fn(), - }; + test('default logLevel is warn', async () => { + const client = new Stainless({ apiKey: 'My API Key' }); + expect(client.logLevel).toBe('warn'); + }); - const client = new Stainless({ - logger: logger, - logLevel: 'info', - apiKey: 'My API Key', -}); + test('debug logs are skipped when log level is info', async () => { + const debugMock = jest.fn(); + const logger = { + debug: debugMock, + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), + }; - await forceAPIResponseForClient(client); - expect(debugMock).not.toHaveBeenCalled(); - }); + const client = new Stainless({ + logger: logger, + logLevel: 'info', + apiKey: 'My API Key', + }); - test('debug logs happen with debug env var', async () => { - const debugMock = jest.fn(); - const logger = { - debug: debugMock, - info: jest.fn(), - warn: jest.fn(), - error: jest.fn(), - }; + await forceAPIResponseForClient(client); + expect(debugMock).not.toHaveBeenCalled(); + }); - process.env['STAINLESS_LOG'] = 'debug'; - const client = new Stainless({ logger: logger, apiKey: 'My API Key' }); - expect(client.logLevel).toBe('debug'); + test('debug logs happen with debug env var', async () => { + const debugMock = jest.fn(); + const logger = { + debug: debugMock, + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), + }; - await forceAPIResponseForClient(client); - expect(debugMock).toHaveBeenCalled(); - }); + process.env['STAINLESS_LOG'] = 'debug'; + const client = new Stainless({ logger: logger, apiKey: 'My API Key' }); + expect(client.logLevel).toBe('debug'); - test('warn when env var level is invalid', async () => { - const warnMock = jest.fn(); - const logger = { - debug: jest.fn(), - info: jest.fn(), - warn: warnMock, - error: jest.fn(), - }; + await forceAPIResponseForClient(client); + expect(debugMock).toHaveBeenCalled(); + }); - process.env['STAINLESS_LOG'] = 'not a log level'; - const client = new Stainless({ logger: logger, apiKey: 'My API Key' }); - expect(client.logLevel).toBe('warn'); - expect(warnMock).toHaveBeenCalledWith('process.env[\'STAINLESS_LOG\'] was set to "not a log level", expected one of ["off","error","warn","info","debug"]'); - }); + test('warn when env var level is invalid', async () => { + const warnMock = jest.fn(); + const logger = { + debug: jest.fn(), + info: jest.fn(), + warn: warnMock, + error: jest.fn(), + }; - test('client log level overrides env var', async () => { - const debugMock = jest.fn(); - const logger = { - debug: debugMock, - info: jest.fn(), - warn: jest.fn(), - error: jest.fn(), - }; + process.env['STAINLESS_LOG'] = 'not a log level'; + const client = new Stainless({ logger: logger, apiKey: 'My API Key' }); + expect(client.logLevel).toBe('warn'); + expect(warnMock).toHaveBeenCalledWith( + 'process.env[\'STAINLESS_LOG\'] was set to "not a log level", expected one of ["off","error","warn","info","debug"]', + ); + }); - process.env['STAINLESS_LOG'] = 'debug'; - const client = new Stainless({ - logger: logger, - logLevel: 'off', - apiKey: 'My API Key', -}); + test('client log level overrides env var', async () => { + const debugMock = jest.fn(); + const logger = { + debug: debugMock, + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), + }; - await forceAPIResponseForClient(client); - expect(debugMock).not.toHaveBeenCalled(); - }); + process.env['STAINLESS_LOG'] = 'debug'; + const client = new Stainless({ + logger: logger, + logLevel: 'off', + apiKey: 'My API Key', + }); - test('no warning logged for invalid env var level + valid client level', async () => { - const warnMock = jest.fn(); - const logger = { - debug: jest.fn(), - info: jest.fn(), - warn: warnMock, - error: jest.fn(), - }; + await forceAPIResponseForClient(client); + expect(debugMock).not.toHaveBeenCalled(); + }); - process.env['STAINLESS_LOG'] = 'not a log level'; - const client = new Stainless({ - logger: logger, - logLevel: 'debug', - apiKey: 'My API Key', -}); - expect(client.logLevel).toBe('debug'); - expect(warnMock).not.toHaveBeenCalled(); + test('no warning logged for invalid env var level + valid client level', async () => { + const warnMock = jest.fn(); + const logger = { + debug: jest.fn(), + info: jest.fn(), + warn: warnMock, + error: jest.fn(), + }; + + process.env['STAINLESS_LOG'] = 'not a log level'; + const client = new Stainless({ + logger: logger, + logLevel: 'debug', + apiKey: 'My API Key', + }); + expect(client.logLevel).toBe('debug'); + expect(warnMock).not.toHaveBeenCalled(); + }); }); -}); describe('defaultQuery', () => { test('with null query params given', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultQuery: { apiVersion: 'foo' }, - apiKey: 'My API Key', -}); + baseURL: 'http://localhost:5000/', + defaultQuery: { apiVersion: 'foo' }, + apiKey: 'My API Key', + }); expect(client.buildURL('/foo', null)).toEqual('http://localhost:5000/foo?apiVersion=foo'); }); test('multiple default query params', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultQuery: { apiVersion: 'foo', hello: 'world' }, - apiKey: 'My API Key', -}); + baseURL: 'http://localhost:5000/', + defaultQuery: { apiVersion: 'foo', hello: 'world' }, + apiKey: 'My API Key', + }); expect(client.buildURL('/foo', null)).toEqual('http://localhost:5000/foo?apiVersion=foo&hello=world'); }); test('overriding with `undefined`', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultQuery: { hello: 'world' }, - apiKey: 'My API Key', -}) + baseURL: 'http://localhost:5000/', + defaultQuery: { hello: 'world' }, + apiKey: 'My API Key', + }); expect(client.buildURL('/foo', { hello: undefined })).toEqual('http://localhost:5000/foo'); }); }); test('custom fetch', async () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - apiKey: 'My API Key', - fetch: (url) => { - return Promise.resolve( - new Response(JSON.stringify({ url, custom: true }), { - headers: { 'Content-Type': 'application/json' }, - }), - ); -}, -}); + baseURL: 'http://localhost:5000/', + apiKey: 'My API Key', + fetch: (url) => { + return Promise.resolve( + new Response(JSON.stringify({ url, custom: true }), { + headers: { 'Content-Type': 'application/json' }, + }), + ); + }, + }); const response = await client.get('/foo'); expect(response).toEqual({ url: 'http://localhost:5000/foo', custom: true }); @@ -242,37 +244,35 @@ describe('logging', () => { test('explicit global fetch', async () => { // make sure the global fetch type is assignable to our Fetch type const client = new Stainless({ - baseURL: 'http://localhost:5000/', - apiKey: 'My API Key', - fetch: defaultFetch, -}); + baseURL: 'http://localhost:5000/', + apiKey: 'My API Key', + fetch: defaultFetch, + }); }); test('custom signal', async () => { const client = new Stainless({ - baseURL: process.env["TEST_API_BASE_URL"] ?? 'http://127.0.0.1:4010', - apiKey: 'My API Key', - fetch: (...args) => { - return new Promise((resolve, reject) => - setTimeout( - () => - defaultFetch(...args) - .then(resolve) - .catch(reject), - 300, - ), - ); -}, -}); + baseURL: process.env['TEST_API_BASE_URL'] ?? 'http://127.0.0.1:4010', + apiKey: 'My API Key', + fetch: (...args) => { + return new Promise((resolve, reject) => + setTimeout( + () => + defaultFetch(...args) + .then(resolve) + .catch(reject), + 300, + ), + ); + }, + }); const controller = new AbortController(); setTimeout(() => controller.abort(), 200); const spy = jest.spyOn(client, 'request'); - await expect(client.get('/foo', { signal: controller.signal })).rejects.toThrowError( - APIUserAbortError, - ); + await expect(client.get('/foo', { signal: controller.signal })).rejects.toThrowError(APIUserAbortError); expect(spy).toHaveBeenCalledTimes(1); }); @@ -284,10 +284,10 @@ describe('logging', () => { }; const client = new Stainless({ - baseURL: 'http://localhost:5000/', - apiKey: 'My API Key', - fetch: testFetch, -}); + baseURL: 'http://localhost:5000/', + apiKey: 'My API Key', + fetch: testFetch, + }); await client.patch('/foo'); expect(capturedRequest?.method).toEqual('PATCH'); @@ -322,47 +322,52 @@ describe('logging', () => { test('empty env variable', () => { process.env['STAINLESS_BASE_URL'] = ''; // empty const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.baseURL).toEqual('https://api.stainless.com') + expect(client.baseURL).toEqual('https://api.stainless.com'); }); test('blank env variable', () => { process.env['STAINLESS_BASE_URL'] = ' '; // blank const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.baseURL).toEqual('https://api.stainless.com') + expect(client.baseURL).toEqual('https://api.stainless.com'); }); test('env variable with environment', () => { process.env['STAINLESS_BASE_URL'] = 'https://example.com/from_env'; expect( - () => - new Stainless({ apiKey: 'My API Key', environment: 'production' }) + () => new Stainless({ apiKey: 'My API Key', environment: 'production' }), ).toThrowErrorMatchingInlineSnapshot( `"Ambiguous URL; The \`baseURL\` option (or STAINLESS_BASE_URL env var) and the \`environment\` option are given. If you want to use the environment you must pass baseURL: null"`, ); const client = new Stainless({ - apiKey: 'My API Key', - baseURL: null, - environment: 'production', - }); - expect(client.baseURL).toEqual('https://api.stainless.com') + apiKey: 'My API Key', + baseURL: null, + environment: 'production', + }); + expect(client.baseURL).toEqual('https://api.stainless.com'); }); test('in request options', () => { const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual('http://localhost:5000/option/foo'); + expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual( + 'http://localhost:5000/option/foo', + ); }); test('in request options overridden by client options', () => { const client = new Stainless({ apiKey: 'My API Key', baseURL: 'http://localhost:5000/client' }); - expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual('http://localhost:5000/client/foo'); + expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual( + 'http://localhost:5000/client/foo', + ); }); test('in request options overridden by env variable', () => { process.env['STAINLESS_BASE_URL'] = 'http://localhost:5000/env'; const client = new Stainless({ apiKey: 'My API Key' }); - expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual('http://localhost:5000/env/foo'); + expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual( + 'http://localhost:5000/env/foo', + ); }); }); @@ -378,10 +383,10 @@ describe('logging', () => { describe('withOptions', () => { test('creates a new client with overridden options', async () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - maxRetries: 3, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + maxRetries: 3, + apiKey: 'My API Key', + }); const newClient = client.withOptions({ maxRetries: 5, @@ -403,11 +408,11 @@ describe('logging', () => { test('inherits options from the parent client', async () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - defaultHeaders: { 'X-Test-Header': 'test-value' }, - defaultQuery: { 'test-param': 'test-value' }, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + defaultHeaders: { 'X-Test-Header': 'test-value' }, + defaultQuery: { 'test-param': 'test-value' }, + apiKey: 'My API Key', + }); const newClient = client.withOptions({ baseURL: 'http://localhost:5001/', @@ -422,10 +427,10 @@ describe('logging', () => { test('respects runtime property changes when creating new client', () => { const client = new Stainless({ - baseURL: 'http://localhost:5000/', - timeout: 1000, - apiKey: 'My API Key', - }); + baseURL: 'http://localhost:5000/', + timeout: 1000, + apiKey: 'My API Key', + }); // Modify the client properties directly after creation client.baseURL = 'http://localhost:6000/'; @@ -471,13 +476,18 @@ describe('request building', () => { describe('custom headers', () => { test('handles undefined', async () => { - const { req } = await client.buildRequest({ path: '/foo', method: 'post', body: { value: 'hello' }, headers: { 'X-Foo': 'baz', 'x-foo': 'bar', 'x-Foo': undefined, 'x-baz': 'bam', 'X-Baz': null } }); + const { req } = await client.buildRequest({ + path: '/foo', + method: 'post', + body: { value: 'hello' }, + headers: { 'X-Foo': 'baz', 'x-foo': 'bar', 'x-Foo': undefined, 'x-baz': 'bam', 'X-Baz': null }, + }); expect(req.headers.get('x-foo')).toEqual('bar'); expect(req.headers.get('x-Foo')).toEqual('bar'); expect(req.headers.get('X-Foo')).toEqual('bar'); expect(req.headers.get('x-baz')).toEqual(null); }); - }) + }); }); describe('default encoder', () => { @@ -554,37 +564,40 @@ describe('default encoder', () => { describe('retries', () => { test('retry on timeout', async () => { let count = 0; - const testFetch = async (url: string | URL | Request, { signal }: RequestInit = {}): Promise => { - if (count++ === 0) { - return new Promise((resolve, reject) => - signal?.addEventListener('abort', () => reject(new Error('timed out'))), - ); - } - return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); - }; - - const client = new Stainless({ - apiKey: 'My API Key', - timeout: 10, - fetch: testFetch, - }); + const testFetch = async ( + url: string | URL | Request, + { signal }: RequestInit = {}, + ): Promise => { + if (count++ === 0) { + return new Promise( + (resolve, reject) => signal?.addEventListener('abort', () => reject(new Error('timed out'))), + ); + } + return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); + }; - expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 }); - expect(count).toEqual(2); - expect( - await client - .request({ path: '/foo', method: 'get' }) - .asResponse() - .then((r) => r.text()), - ).toEqual(JSON.stringify({ a: 1 })); - expect(count).toEqual(3); + const client = new Stainless({ + apiKey: 'My API Key', + timeout: 10, + fetch: testFetch, }); + expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 }); + expect(count).toEqual(2); + expect( + await client + .request({ path: '/foo', method: 'get' }) + .asResponse() + .then((r) => r.text()), + ).toEqual(JSON.stringify({ a: 1 })); + expect(count).toEqual(3); + }); + test('retry count header', async () => { let count = 0; let capturedRequest: RequestInit | undefined; const testFetch = async (url: string | URL | Request, init: RequestInit = {}): Promise => { - count++ + count++; if (count <= 2) { return new Response(undefined, { status: 429, @@ -598,10 +611,10 @@ describe('retries', () => { }; const client = new Stainless({ - apiKey: 'My API Key', - fetch: testFetch, - maxRetries: 4, - }); + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + }); expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 }); @@ -613,7 +626,7 @@ describe('retries', () => { let count = 0; let capturedRequest: RequestInit | undefined; const testFetch = async (url: string | URL | Request, init: RequestInit = {}): Promise => { - count++ + count++; if (count <= 2) { return new Response(undefined, { status: 429, @@ -626,10 +639,10 @@ describe('retries', () => { return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; const client = new Stainless({ - apiKey: 'My API Key', - fetch: testFetch, - maxRetries: 4, - }); + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + }); expect( await client.request({ @@ -646,7 +659,7 @@ describe('retries', () => { let count = 0; let capturedRequest: RequestInit | undefined; const testFetch = async (url: string | URL | Request, init: RequestInit = {}): Promise => { - count++ + count++; if (count <= 2) { return new Response(undefined, { status: 429, @@ -659,11 +672,11 @@ describe('retries', () => { return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; const client = new Stainless({ - apiKey: 'My API Key', - fetch: testFetch, - maxRetries: 4, - defaultHeaders: { 'X-Stainless-Retry-Count': null }, - }); + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + defaultHeaders: { 'X-Stainless-Retry-Count': null }, + }); expect( await client.request({ @@ -679,7 +692,7 @@ describe('retries', () => { let count = 0; let capturedRequest: RequestInit | undefined; const testFetch = async (url: string | URL | Request, init: RequestInit = {}): Promise => { - count++ + count++; if (count <= 2) { return new Response(undefined, { status: 429, @@ -692,10 +705,10 @@ describe('retries', () => { return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } }); }; const client = new Stainless({ - apiKey: 'My API Key', - fetch: testFetch, - maxRetries: 4, - }); + apiKey: 'My API Key', + fetch: testFetch, + maxRetries: 4, + }); expect( await client.request({ @@ -710,7 +723,10 @@ describe('retries', () => { test('retry on 429 with retry-after', async () => { let count = 0; - const testFetch = async (url: string | URL | Request, { signal }: RequestInit = {}): Promise => { + const testFetch = async ( + url: string | URL | Request, + { signal }: RequestInit = {}, + ): Promise => { if (count++ === 0) { return new Response(undefined, { status: 429, @@ -737,7 +753,10 @@ describe('retries', () => { test('retry on 429 with retry-after-ms', async () => { let count = 0; - const testFetch = async (url: string | URL | Request, { signal }: RequestInit = {}): Promise => { + const testFetch = async ( + url: string | URL | Request, + { signal }: RequestInit = {}, + ): Promise => { if (count++ === 0) { return new Response(undefined, { status: 429, diff --git a/tests/qs/utils.test.ts b/tests/qs/utils.test.ts index 23f10c0a..6ed013dd 100644 --- a/tests/qs/utils.test.ts +++ b/tests/qs/utils.test.ts @@ -66,7 +66,7 @@ describe('merge()', function () { // st.equal(getCount, 1); expect(setCount).toEqual(0); expect(getCount).toEqual(1); - observed[0] = observed[0]; + observed[0] = observed[0]; // st.equal(setCount, 1); // st.equal(getCount, 2); expect(setCount).toEqual(1); diff --git a/tests/stringifyQuery.test.ts b/tests/stringifyQuery.test.ts index 4b7e4976..266a0bce 100644 --- a/tests/stringifyQuery.test.ts +++ b/tests/stringifyQuery.test.ts @@ -2,18 +2,20 @@ import { stringifyQuery } from '@stainless-api/sdk/internal/utils/query'; -describe(stringifyQuery, () => { for (const [input, expected] of [ - [{ a: '1', b: 2, c: true }, 'a=1&b=2&c=true'], - [{ a: null, b: false, c: undefined }, 'a=&b=false'], - [{ 'a/b': 1.28341 }, `${encodeURIComponent('a/b')}=1.28341`], - [ - { 'a/b': 'c/d', 'e=f': 'g&h' }, - `${encodeURIComponent('a/b')}=${encodeURIComponent('c/d')}&${encodeURIComponent( - 'e=f', - )}=${encodeURIComponent('g&h')}`, - ], -] as const) { - it(`${JSON.stringify(input)} -> ${expected}`, () => { - expect(stringifyQuery(input)).toEqual(expected); - }); -} }) +describe(stringifyQuery, () => { + for (const [input, expected] of [ + [{ a: '1', b: 2, c: true }, 'a=1&b=2&c=true'], + [{ a: null, b: false, c: undefined }, 'a=&b=false'], + [{ 'a/b': 1.28341 }, `${encodeURIComponent('a/b')}=1.28341`], + [ + { 'a/b': 'c/d', 'e=f': 'g&h' }, + `${encodeURIComponent('a/b')}=${encodeURIComponent('c/d')}&${encodeURIComponent( + 'e=f', + )}=${encodeURIComponent('g&h')}`, + ], + ] as const) { + it(`${JSON.stringify(input)} -> ${expected}`, () => { + expect(stringifyQuery(input)).toEqual(expected); + }); + } +}); From c1614b4236cf224d2eeff1219c2f922dc865e837 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2026 02:08:06 +0000 Subject: [PATCH 59/69] chore(internal): codegen related update --- .github/workflows/release-doctor.yml | 1 + eslint.config.mjs | 3 + package.json | 1 + pnpm-lock.yaml | 3996 +++++++------------------- scripts/fast-format | 6 +- scripts/format | 3 +- scripts/lint | 3 - scripts/utils/postprocess-files.cjs | 9 +- src/internal/types.ts | 14 +- 9 files changed, 1085 insertions(+), 2951 deletions(-) diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index a73ddf71..59c083ce 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -19,3 +19,4 @@ jobs: bash ./bin/check-release-environment env: DOCKERHUB_TOKEN: ${{ secrets.STAINLESS_DOCKERHUB_TOKEN || secrets.DOCKERHUB_TOKEN }} + diff --git a/eslint.config.mjs b/eslint.config.mjs index 191d510c..1aecb0bb 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,6 +1,7 @@ // @ts-check import tseslint from 'typescript-eslint'; import unusedImports from 'eslint-plugin-unused-imports'; +import prettier from 'eslint-plugin-prettier'; export default tseslint.config( { @@ -13,9 +14,11 @@ export default tseslint.config( plugins: { '@typescript-eslint': tseslint.plugin, 'unused-imports': unusedImports, + prettier, }, rules: { 'no-unused-vars': 'off', + 'prettier/prettier': 'error', 'unused-imports/no-unused-imports': 'error', 'no-restricted-imports': [ 'error', diff --git a/package.json b/package.json index 646fbbf7..897df356 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "@typescript-eslint/eslint-plugin": "8.31.1", "@typescript-eslint/parser": "8.31.1", "eslint": "^9.39.1", + "eslint-plugin-prettier": "^5.4.1", "eslint-plugin-unused-imports": "^4.1.4", "iconv-lite": "^0.6.3", "jest": "^29.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3cc75195..d6c01d1a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,7 @@ overrides: minimatch: ^9.0.5 importers: + .: devDependencies: '@arethetypeswrong/cli': @@ -34,6 +35,9 @@ importers: eslint: specifier: ^9.39.1 version: 9.39.1 + eslint-plugin-prettier: + specifier: ^5.4.1 + version: 5.4.1(eslint@9.39.1)(prettier@3.1.1) eslint-plugin-unused-imports: specifier: ^4.1.4 version: 4.1.4(@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1) @@ -199,574 +203,344 @@ importers: version: 4.2.0 packages: + '@andrewbranch/untar.js@1.0.3': - resolution: - { - integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==, - } + resolution: {integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==} '@anthropic-ai/mcpb@2.1.2': - resolution: - { - integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==, - } + resolution: {integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==} hasBin: true '@arethetypeswrong/cli@0.17.0': - resolution: - { - integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==} + engines: {node: '>=18'} hasBin: true '@arethetypeswrong/core@0.17.0': - resolution: - { - integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==} + engines: {node: '>=18'} '@babel/code-frame@7.28.6': - resolution: - { - integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==} + engines: {node: '>=6.9.0'} '@babel/compat-data@7.28.6': - resolution: - { - integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==} + engines: {node: '>=6.9.0'} '@babel/core@7.28.6': - resolution: - { - integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==} + engines: {node: '>=6.9.0'} '@babel/generator@7.28.6': - resolution: - { - integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==} + engines: {node: '>=6.9.0'} '@babel/helper-compilation-targets@7.28.6': - resolution: - { - integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==} + engines: {node: '>=6.9.0'} '@babel/helper-globals@7.28.0': - resolution: - { - integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} + engines: {node: '>=6.9.0'} '@babel/helper-module-imports@7.28.6': - resolution: - { - integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==} + engines: {node: '>=6.9.0'} '@babel/helper-module-transforms@7.28.6': - resolution: - { - integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-plugin-utils@7.28.6': - resolution: - { - integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==} + engines: {node: '>=6.9.0'} '@babel/helper-string-parser@7.27.1': - resolution: - { - integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} + engines: {node: '>=6.9.0'} '@babel/helper-validator-identifier@7.28.5': - resolution: - { - integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} + engines: {node: '>=6.9.0'} '@babel/helper-validator-option@7.27.1': - resolution: - { - integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==} + engines: {node: '>=6.9.0'} '@babel/helpers@7.28.6': - resolution: - { - integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==} + engines: {node: '>=6.9.0'} '@babel/parser@7.28.6': - resolution: - { - integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==, - } - engines: { node: '>=6.0.0' } + resolution: {integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==} + engines: {node: '>=6.0.0'} hasBin: true '@babel/plugin-syntax-async-generators@7.8.4': - resolution: - { - integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==, - } + resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-bigint@7.8.3': - resolution: - { - integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==, - } + resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-properties@7.12.13': - resolution: - { - integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==, - } + resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-static-block@7.14.5': - resolution: - { - integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-attributes@7.28.6': - resolution: - { - integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-meta@7.10.4': - resolution: - { - integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==, - } + resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-json-strings@7.8.3': - resolution: - { - integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==, - } + resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-jsx@7.28.6': - resolution: - { - integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-logical-assignment-operators@7.10.4': - resolution: - { - integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==, - } + resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3': - resolution: - { - integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==, - } + resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-numeric-separator@7.10.4': - resolution: - { - integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==, - } + resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-object-rest-spread@7.8.3': - resolution: - { - integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==, - } + resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-catch-binding@7.8.3': - resolution: - { - integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==, - } + resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-chaining@7.8.3': - resolution: - { - integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==, - } + resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-private-property-in-object@7.14.5': - resolution: - { - integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-top-level-await@7.14.5': - resolution: - { - integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-typescript@7.28.6': - resolution: - { - integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==} + engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/template@7.28.6': - resolution: - { - integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==} + engines: {node: '>=6.9.0'} '@babel/traverse@7.28.6': - resolution: - { - integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==} + engines: {node: '>=6.9.0'} '@babel/types@7.28.6': - resolution: - { - integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==} + engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@0.2.3': - resolution: - { - integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==, - } + resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} '@cloudflare/cabidela@0.2.4': - resolution: - { - integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==, - } + resolution: {integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==} '@colors/colors@1.5.0': - resolution: - { - integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==, - } - engines: { node: '>=0.1.90' } + resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} + engines: {node: '>=0.1.90'} '@cspotcode/source-map-consumer@0.8.0': - resolution: - { - integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==} + engines: {node: '>= 12'} '@cspotcode/source-map-support@0.7.0': - resolution: - { - integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} + engines: {node: '>=12'} '@eslint-community/eslint-utils@4.4.0': - resolution: - { - integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==, - } - engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/eslint-utils@4.9.0': - resolution: - { - integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==, - } - engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/regexpp@4.12.1': - resolution: - { - integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==, - } - engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } + resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} '@eslint-community/regexpp@4.12.2': - resolution: - { - integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==, - } - engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } + resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} '@eslint/config-array@0.21.1': - resolution: - { - integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/config-helpers@0.4.2': - resolution: - { - integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/core@0.17.0': - resolution: - { - integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/eslintrc@3.3.3': - resolution: - { - integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/js@9.39.1': - resolution: - { - integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.7': - resolution: - { - integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/plugin-kit@0.4.1': - resolution: - { - integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@hono/node-server@1.19.11': - resolution: - { - integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==, - } - engines: { node: '>=18.14.1' } + resolution: {integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==} + engines: {node: '>=18.14.1'} peerDependencies: hono: ^4 '@humanfs/core@0.19.1': - resolution: - { - integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==, - } - engines: { node: '>=18.18.0' } + resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} + engines: {node: '>=18.18.0'} '@humanfs/node@0.16.7': - resolution: - { - integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==, - } - engines: { node: '>=18.18.0' } + resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==} + engines: {node: '>=18.18.0'} '@humanwhocodes/module-importer@1.0.1': - resolution: - { - integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==, - } - engines: { node: '>=12.22' } + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} '@humanwhocodes/retry@0.4.3': - resolution: - { - integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==, - } - engines: { node: '>=18.18' } + resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} + engines: {node: '>=18.18'} '@inquirer/checkbox@3.0.1': - resolution: - { - integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==} + engines: {node: '>=18'} '@inquirer/confirm@4.0.1': - resolution: - { - integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==} + engines: {node: '>=18'} '@inquirer/core@9.2.1': - resolution: - { - integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==} + engines: {node: '>=18'} '@inquirer/editor@3.0.1': - resolution: - { - integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==} + engines: {node: '>=18'} '@inquirer/expand@3.0.1': - resolution: - { - integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==} + engines: {node: '>=18'} '@inquirer/figures@1.0.15': - resolution: - { - integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==} + engines: {node: '>=18'} '@inquirer/input@3.0.1': - resolution: - { - integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==} + engines: {node: '>=18'} '@inquirer/number@2.0.1': - resolution: - { - integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==} + engines: {node: '>=18'} '@inquirer/password@3.0.1': - resolution: - { - integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==} + engines: {node: '>=18'} '@inquirer/prompts@6.0.1': - resolution: - { - integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==} + engines: {node: '>=18'} '@inquirer/rawlist@3.0.1': - resolution: - { - integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==} + engines: {node: '>=18'} '@inquirer/search@2.0.1': - resolution: - { - integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==} + engines: {node: '>=18'} '@inquirer/select@3.0.1': - resolution: - { - integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==} + engines: {node: '>=18'} '@inquirer/type@2.0.0': - resolution: - { - integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==} + engines: {node: '>=18'} '@istanbuljs/load-nyc-config@1.1.0': - resolution: - { - integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} + engines: {node: '>=8'} '@istanbuljs/schema@0.1.3': - resolution: - { - integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} + engines: {node: '>=8'} '@jest/console@29.7.0': - resolution: - { - integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/core@29.7.0': - resolution: - { - integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -774,53 +548,32 @@ packages: optional: true '@jest/create-cache-key-function@29.7.0': - resolution: - { - integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/environment@29.7.0': - resolution: - { - integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/expect-utils@29.7.0': - resolution: - { - integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/expect@29.7.0': - resolution: - { - integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/fake-timers@29.7.0': - resolution: - { - integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/globals@29.7.0': - resolution: - { - integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/reporters@29.7.0': - resolution: - { - integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -828,96 +581,54 @@ packages: optional: true '@jest/schemas@29.6.3': - resolution: - { - integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/source-map@29.6.3': - resolution: - { - integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/test-result@29.7.0': - resolution: - { - integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/test-sequencer@29.7.0': - resolution: - { - integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/transform@29.7.0': - resolution: - { - integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/types@29.6.3': - resolution: - { - integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jridgewell/gen-mapping@0.3.13': - resolution: - { - integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==, - } + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} '@jridgewell/remapping@2.3.5': - resolution: - { - integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==, - } + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} '@jridgewell/resolve-uri@3.1.1': - resolution: - { - integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==, - } - engines: { node: '>=6.0.0' } + resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + engines: {node: '>=6.0.0'} '@jridgewell/sourcemap-codec@1.4.15': - resolution: - { - integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==, - } + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} '@jridgewell/sourcemap-codec@1.5.5': - resolution: - { - integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==, - } + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} '@jridgewell/trace-mapping@0.3.20': - resolution: - { - integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==, - } + resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} '@jridgewell/trace-mapping@0.3.31': - resolution: - { - integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==, - } + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} '@modelcontextprotocol/sdk@1.27.1': - resolution: - { - integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==} + engines: {node: '>=18'} peerDependencies: '@cfworker/json-schema': ^4.1.1 zod: ^3.25 || ^4.0 @@ -926,164 +637,104 @@ packages: optional: true '@nodelib/fs.scandir@2.1.5': - resolution: - { - integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} '@nodelib/fs.stat@2.0.5': - resolution: - { - integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} '@nodelib/fs.walk@1.2.8': - resolution: - { - integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} '@pinojs/redact@0.4.0': - resolution: - { - integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==, - } + resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==} '@pkgr/core@0.2.4': - resolution: - { - integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==, - } - engines: { node: ^12.20.0 || ^14.18.0 || >=16.0.0 } + resolution: {integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} '@sinclair/typebox@0.27.8': - resolution: - { - integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==, - } + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} '@sindresorhus/is@4.6.0': - resolution: - { - integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} + engines: {node: '>=10'} '@sinonjs/commons@3.0.0': - resolution: - { - integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==, - } + resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} '@sinonjs/fake-timers@10.3.0': - resolution: - { - integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==, - } + resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} '@swc/core-darwin-arm64@1.4.16': - resolution: - { - integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==} + engines: {node: '>=10'} cpu: [arm64] os: [darwin] '@swc/core-darwin-x64@1.4.16': - resolution: - { - integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==} + engines: {node: '>=10'} cpu: [x64] os: [darwin] '@swc/core-linux-arm-gnueabihf@1.4.16': - resolution: - { - integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==} + engines: {node: '>=10'} cpu: [arm] os: [linux] '@swc/core-linux-arm64-gnu@1.4.16': - resolution: - { - integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==} + engines: {node: '>=10'} cpu: [arm64] os: [linux] libc: [glibc] '@swc/core-linux-arm64-musl@1.4.16': - resolution: - { - integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==} + engines: {node: '>=10'} cpu: [arm64] os: [linux] libc: [musl] '@swc/core-linux-x64-gnu@1.4.16': - resolution: - { - integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==} + engines: {node: '>=10'} cpu: [x64] os: [linux] libc: [glibc] '@swc/core-linux-x64-musl@1.4.16': - resolution: - { - integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==} + engines: {node: '>=10'} cpu: [x64] os: [linux] libc: [musl] '@swc/core-win32-arm64-msvc@1.4.16': - resolution: - { - integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==} + engines: {node: '>=10'} cpu: [arm64] os: [win32] '@swc/core-win32-ia32-msvc@1.4.16': - resolution: - { - integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==} + engines: {node: '>=10'} cpu: [ia32] os: [win32] '@swc/core-win32-x64-msvc@1.4.16': - resolution: - { - integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==} + engines: {node: '>=10'} cpu: [x64] os: [win32] '@swc/core@1.4.16': - resolution: - { - integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==} + engines: {node: '>=10'} peerDependencies: '@swc/helpers': ^0.5.0 peerDependenciesMeta: @@ -1091,366 +742,204 @@ packages: optional: true '@swc/counter@0.1.3': - resolution: - { - integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==, - } + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} '@swc/jest@0.2.36': - resolution: - { - integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==, - } - engines: { npm: '>= 7.0.0' } + resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} + engines: {npm: '>= 7.0.0'} peerDependencies: '@swc/core': '*' '@swc/types@0.1.6': - resolution: - { - integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==, - } + resolution: {integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==} '@ts-morph/common@0.20.0': - resolution: - { - integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==, - } + resolution: {integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==} '@tsconfig/node10@1.0.8': - resolution: - { - integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==, - } + resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==} '@tsconfig/node12@1.0.9': - resolution: - { - integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==, - } + resolution: {integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==} '@tsconfig/node14@1.0.1': - resolution: - { - integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==, - } + resolution: {integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==} '@tsconfig/node16@1.0.2': - resolution: - { - integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==, - } + resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} '@types/babel__core@7.20.5': - resolution: - { - integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==, - } + resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} '@types/babel__generator@7.6.8': - resolution: - { - integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==, - } + resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} '@types/babel__template@7.4.4': - resolution: - { - integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==, - } + resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} '@types/babel__traverse@7.20.4': - resolution: - { - integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==, - } + resolution: {integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==} '@types/body-parser@1.19.6': - resolution: - { - integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==, - } + resolution: {integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==} '@types/connect@3.4.38': - resolution: - { - integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==, - } + resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} '@types/cookie-parser@1.4.10': - resolution: - { - integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==, - } + resolution: {integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==} peerDependencies: '@types/express': '*' '@types/cors@2.8.19': - resolution: - { - integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==, - } + resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==} '@types/estree@1.0.8': - resolution: - { - integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==, - } + resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} '@types/express-serve-static-core@5.0.7': - resolution: - { - integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==, - } + resolution: {integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==} '@types/express@5.0.3': - resolution: - { - integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==, - } + resolution: {integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==} '@types/graceful-fs@4.1.9': - resolution: - { - integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==, - } + resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} '@types/http-errors@2.0.5': - resolution: - { - integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==, - } + resolution: {integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==} '@types/istanbul-lib-coverage@2.0.6': - resolution: - { - integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==, - } + resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} '@types/istanbul-lib-report@3.0.3': - resolution: - { - integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==, - } + resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} '@types/istanbul-reports@3.0.4': - resolution: - { - integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==, - } + resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} '@types/jest@29.5.11': - resolution: - { - integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==, - } + resolution: {integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==} '@types/json-schema@7.0.15': - resolution: - { - integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==, - } + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} '@types/mime@1.3.5': - resolution: - { - integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==, - } + resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} '@types/mute-stream@0.0.4': - resolution: - { - integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==, - } + resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} '@types/node@20.19.11': - resolution: - { - integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==, - } + resolution: {integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==} '@types/node@22.19.1': - resolution: - { - integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==, - } + resolution: {integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==} '@types/qs@6.14.0': - resolution: - { - integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==, - } + resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==} '@types/range-parser@1.2.7': - resolution: - { - integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==, - } + resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} '@types/send@0.17.5': - resolution: - { - integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==, - } + resolution: {integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==} '@types/serve-static@1.15.8': - resolution: - { - integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==, - } + resolution: {integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==} '@types/stack-utils@2.0.3': - resolution: - { - integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==, - } + resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} '@types/wrap-ansi@3.0.0': - resolution: - { - integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==, - } + resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} '@types/yargs-parser@21.0.3': - resolution: - { - integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==, - } + resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} '@types/yargs@17.0.32': - resolution: - { - integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==, - } + resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} '@typescript-eslint/eslint-plugin@8.31.1': - resolution: - { - integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/parser@8.31.1': - resolution: - { - integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/scope-manager@8.31.1': - resolution: - { - integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/type-utils@8.31.1': - resolution: - { - integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/types@8.31.1': - resolution: - { - integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/typescript-estree@8.31.1': - resolution: - { - integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/utils@8.31.1': - resolution: - { - integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/visitor-keys@8.31.1': - resolution: - { - integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@valtown/deno-http-worker@0.0.21': - resolution: - { - integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==, - } - engines: { node: 20 || 22 || 24 } + resolution: {integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==} + engines: {node: 20 || 22 || 24} accepts@2.0.0: - resolution: - { - integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} + engines: {node: '>= 0.6'} acorn-jsx@5.3.2: - resolution: - { - integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==, - } + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 acorn-walk@8.2.0: - resolution: - { - integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==, - } - engines: { node: '>=0.4.0' } + resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} + engines: {node: '>=0.4.0'} acorn@8.14.0: - resolution: - { - integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==, - } - engines: { node: '>=0.4.0' } + resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} + engines: {node: '>=0.4.0'} hasBin: true acorn@8.15.0: - resolution: - { - integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==, - } - engines: { node: '>=0.4.0' } + resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} + engines: {node: '>=0.4.0'} hasBin: true aggregate-error@3.1.0: - resolution: - { - integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} + engines: {node: '>=8'} ajv-formats@3.0.1: - resolution: - { - integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==, - } + resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} peerDependencies: ajv: ^8.0.0 peerDependenciesMeta: @@ -1458,466 +947,262 @@ packages: optional: true ajv@6.12.6: - resolution: - { - integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==, - } + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} ajv@8.18.0: - resolution: - { - integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==, - } + resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==} ansi-escapes@4.3.2: - resolution: - { - integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} + engines: {node: '>=8'} ansi-escapes@7.0.0: - resolution: - { - integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==} + engines: {node: '>=18'} ansi-regex@5.0.1: - resolution: - { - integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} ansi-regex@6.1.0: - resolution: - { - integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} + engines: {node: '>=12'} ansi-styles@4.3.0: - resolution: - { - integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} ansi-styles@5.2.0: - resolution: - { - integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} any-promise@1.3.0: - resolution: - { - integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==, - } + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} anymatch@3.1.3: - resolution: - { - integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} arg@4.1.3: - resolution: - { - integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==, - } + resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} argparse@1.0.10: - resolution: - { - integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==, - } + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} argparse@2.0.1: - resolution: - { - integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==, - } + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} atomic-sleep@1.0.0: - resolution: - { - integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==, - } - engines: { node: '>=8.0.0' } + resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} + engines: {node: '>=8.0.0'} babel-jest@29.7.0: - resolution: - { - integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.8.0 babel-plugin-istanbul@6.1.1: - resolution: - { - integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} + engines: {node: '>=8'} babel-plugin-jest-hoist@29.6.3: - resolution: - { - integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} babel-preset-current-node-syntax@1.2.0: - resolution: - { - integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==, - } + resolution: {integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==} peerDependencies: '@babel/core': ^7.0.0 || ^8.0.0-0 babel-preset-jest@29.6.3: - resolution: - { - integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.0.0 balanced-match@1.0.2: - resolution: - { - integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==, - } + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} baseline-browser-mapping@2.9.14: - resolution: - { - integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==, - } + resolution: {integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==} hasBin: true body-parser@2.2.2: - resolution: - { - integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==} + engines: {node: '>=18'} brace-expansion@2.0.2: - resolution: - { - integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==, - } + resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} braces@3.0.3: - resolution: - { - integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} browserslist@4.28.1: - resolution: - { - integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==, - } - engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 } + resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true bs-logger@0.2.6: - resolution: - { - integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} + engines: {node: '>= 6'} bser@2.1.1: - resolution: - { - integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==, - } + resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} buffer-from@1.1.2: - resolution: - { - integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==, - } + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} bytes@3.1.2: - resolution: - { - integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} + engines: {node: '>= 0.8'} call-bind-apply-helpers@1.0.2: - resolution: - { - integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} + engines: {node: '>= 0.4'} call-bound@1.0.4: - resolution: - { - integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} + engines: {node: '>= 0.4'} callsites@3.1.0: - resolution: - { - integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} camelcase@5.3.1: - resolution: - { - integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} + engines: {node: '>=6'} camelcase@6.3.0: - resolution: - { - integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} + engines: {node: '>=10'} caniuse-lite@1.0.30001764: - resolution: - { - integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==, - } + resolution: {integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==} chalk@4.1.2: - resolution: - { - integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} chalk@5.3.0: - resolution: - { - integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==, - } - engines: { node: ^12.17.0 || ^14.13 || >=16.0.0 } + resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} char-regex@1.0.2: - resolution: - { - integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} + engines: {node: '>=10'} chardet@0.7.0: - resolution: - { - integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==, - } + resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} ci-info@3.9.0: - resolution: - { - integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} + engines: {node: '>=8'} cjs-module-lexer@1.4.1: - resolution: - { - integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==, - } + resolution: {integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==} clean-stack@2.2.0: - resolution: - { - integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} + engines: {node: '>=6'} cli-highlight@2.1.11: - resolution: - { - integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==, - } - engines: { node: '>=8.0.0', npm: '>=5.0.0' } + resolution: {integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==} + engines: {node: '>=8.0.0', npm: '>=5.0.0'} hasBin: true cli-table3@0.6.5: - resolution: - { - integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==, - } - engines: { node: 10.* || >= 12.* } + resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} + engines: {node: 10.* || >= 12.*} cli-width@4.1.0: - resolution: - { - integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} + engines: {node: '>= 12'} cliui@7.0.4: - resolution: - { - integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==, - } + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} cliui@8.0.1: - resolution: - { - integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} co@4.6.0: - resolution: - { - integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==, - } - engines: { iojs: '>= 1.0.0', node: '>= 0.12.0' } + resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} + engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} code-block-writer@12.0.0: - resolution: - { - integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==, - } + resolution: {integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==} collect-v8-coverage@1.0.2: - resolution: - { - integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==, - } + resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} color-convert@2.0.1: - resolution: - { - integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==, - } - engines: { node: '>=7.0.0' } + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} color-name@1.1.4: - resolution: - { - integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, - } + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} colorette@2.0.20: - resolution: - { - integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==, - } + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} commander@10.0.1: - resolution: - { - integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==, - } - engines: { node: '>=14' } + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} + engines: {node: '>=14'} commander@13.1.0: - resolution: - { - integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} + engines: {node: '>=18'} content-disposition@1.0.0: - resolution: - { - integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==} + engines: {node: '>= 0.6'} content-type@1.0.5: - resolution: - { - integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} + engines: {node: '>= 0.6'} convert-source-map@2.0.0: - resolution: - { - integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==, - } + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} cookie-parser@1.4.7: - resolution: - { - integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==} + engines: {node: '>= 0.8.0'} cookie-signature@1.0.6: - resolution: - { - integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==, - } + resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} cookie-signature@1.2.2: - resolution: - { - integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==, - } - engines: { node: '>=6.6.0' } + resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==} + engines: {node: '>=6.6.0'} cookie@0.7.2: - resolution: - { - integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} + engines: {node: '>= 0.6'} cors@2.8.5: - resolution: - { - integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==, - } - engines: { node: '>= 0.10' } + resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} + engines: {node: '>= 0.10'} create-jest@29.7.0: - resolution: - { - integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true create-require@1.1.1: - resolution: - { - integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==, - } + resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} cross-spawn@7.0.6: - resolution: - { - integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} dateformat@4.6.3: - resolution: - { - integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==, - } + resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==} debug@4.4.1: - resolution: - { - integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==, - } - engines: { node: '>=6.0' } + resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} + engines: {node: '>=6.0'} peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1925,11 +1210,8 @@ packages: optional: true debug@4.4.3: - resolution: - { - integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==, - } - engines: { node: '>=6.0' } + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1937,10 +1219,7 @@ packages: optional: true dedent@1.5.1: - resolution: - { - integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==, - } + resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==} peerDependencies: babel-plugin-macros: ^3.1.0 peerDependenciesMeta: @@ -1948,171 +1227,96 @@ packages: optional: true deep-is@0.1.4: - resolution: - { - integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==, - } + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} deepmerge@4.3.1: - resolution: - { - integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} depd@2.0.0: - resolution: - { - integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} + engines: {node: '>= 0.8'} detect-newline@3.1.0: - resolution: - { - integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} + engines: {node: '>=8'} diff-sequences@29.6.3: - resolution: - { - integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} diff@4.0.2: - resolution: - { - integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==, - } - engines: { node: '>=0.3.1' } + resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} + engines: {node: '>=0.3.1'} dunder-proto@1.0.1: - resolution: - { - integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} + engines: {node: '>= 0.4'} ee-first@1.1.1: - resolution: - { - integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==, - } + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} electron-to-chromium@1.5.267: - resolution: - { - integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==, - } + resolution: {integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==} emittery@0.13.1: - resolution: - { - integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} + engines: {node: '>=12'} emoji-regex@8.0.0: - resolution: - { - integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==, - } + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} emojilib@2.4.0: - resolution: - { - integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==, - } + resolution: {integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==} encodeurl@2.0.0: - resolution: - { - integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} + engines: {node: '>= 0.8'} end-of-stream@1.4.5: - resolution: - { - integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==, - } + resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} environment@1.1.0: - resolution: - { - integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} + engines: {node: '>=18'} error-ex@1.3.2: - resolution: - { - integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==, - } + resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} es-define-property@1.0.1: - resolution: - { - integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} es-errors@1.3.0: - resolution: - { - integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} es-object-atoms@1.1.1: - resolution: - { - integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} + engines: {node: '>= 0.4'} escalade@3.1.1: - resolution: - { - integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + engines: {node: '>=6'} escalade@3.2.0: - resolution: - { - integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} escape-html@1.0.3: - resolution: - { - integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, - } + resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} escape-string-regexp@2.0.0: - resolution: - { - integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} + engines: {node: '>=8'} escape-string-regexp@4.0.0: - resolution: - { - integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} eslint-plugin-prettier@5.4.1: - resolution: - { - integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==, - } - engines: { node: ^14.18.0 || >=16.0.0 } + resolution: {integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==} + engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: '@types/eslint': '>=8.0.0' eslint: '>=8.0.0' @@ -2125,10 +1329,7 @@ packages: optional: true eslint-plugin-unused-imports@4.1.4: - resolution: - { - integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==, - } + resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} peerDependencies: '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0 eslint: ^9.0.0 || ^8.0.0 @@ -2137,39 +1338,24 @@ packages: optional: true eslint-scope@8.4.0: - resolution: - { - integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint-visitor-keys@3.4.3: - resolution: - { - integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==, - } - engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} eslint-visitor-keys@4.2.0: - resolution: - { - integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint-visitor-keys@4.2.1: - resolution: - { - integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint@9.39.1: - resolution: - { - integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: jiti: '*' @@ -2178,695 +1364,392 @@ packages: optional: true espree@10.4.0: - resolution: - { - integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} esprima@4.0.1: - resolution: - { - integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} hasBin: true esquery@1.6.0: - resolution: - { - integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==, - } - engines: { node: '>=0.10' } + resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} + engines: {node: '>=0.10'} esrecurse@4.3.0: - resolution: - { - integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==, - } - engines: { node: '>=4.0' } + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} estraverse@5.3.0: - resolution: - { - integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==, - } - engines: { node: '>=4.0' } + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} esutils@2.0.3: - resolution: - { - integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} etag@1.8.1: - resolution: - { - integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} + engines: {node: '>= 0.6'} eventsource-parser@3.0.6: - resolution: - { - integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==, - } - engines: { node: '>=18.0.0' } + resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==} + engines: {node: '>=18.0.0'} eventsource@3.0.7: - resolution: - { - integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==, - } - engines: { node: '>=18.0.0' } + resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==} + engines: {node: '>=18.0.0'} execa@5.1.1: - resolution: - { - integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} exit@0.1.2: - resolution: - { - integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} + engines: {node: '>= 0.8.0'} expect@29.7.0: - resolution: - { - integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} express-rate-limit@8.3.1: - resolution: - { - integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==, - } - engines: { node: '>= 16' } + resolution: {integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==} + engines: {node: '>= 16'} peerDependencies: express: '>= 4.11' express@5.2.1: - resolution: - { - integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==, - } - engines: { node: '>= 18' } + resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==} + engines: {node: '>= 18'} external-editor@3.1.0: - resolution: - { - integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} + engines: {node: '>=4'} fast-copy@4.0.2: - resolution: - { - integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==, - } + resolution: {integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==} fast-deep-equal@3.1.3: - resolution: - { - integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==, - } + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} fast-diff@1.3.0: - resolution: - { - integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==, - } + resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} fast-glob@3.3.2: - resolution: - { - integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==, - } - engines: { node: '>=8.6.0' } + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + engines: {node: '>=8.6.0'} fast-json-stable-stringify@2.1.0: - resolution: - { - integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==, - } + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} fast-levenshtein@2.0.6: - resolution: - { - integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==, - } + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} fast-safe-stringify@2.1.1: - resolution: - { - integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==, - } + resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} fast-uri@3.1.0: - resolution: - { - integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==, - } + resolution: {integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==} fastq@1.17.1: - resolution: - { - integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==, - } + resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} fb-watchman@2.0.2: - resolution: - { - integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==, - } + resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} fflate@0.8.2: - resolution: - { - integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==, - } + resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} file-entry-cache@8.0.0: - resolution: - { - integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==, - } - engines: { node: '>=16.0.0' } + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} fill-range@7.1.1: - resolution: - { - integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} finalhandler@2.1.0: - resolution: - { - integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==} + engines: {node: '>= 0.8'} find-up@4.1.0: - resolution: - { - integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} find-up@5.0.0: - resolution: - { - integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} flat-cache@4.0.1: - resolution: - { - integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==, - } - engines: { node: '>=16' } + resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} + engines: {node: '>=16'} flatted@3.3.3: - resolution: - { - integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==, - } + resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} flora-colossus@2.0.0: - resolution: - { - integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==} + engines: {node: '>= 12'} forwarded@0.2.0: - resolution: - { - integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} + engines: {node: '>= 0.6'} fresh@2.0.0: - resolution: - { - integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==} + engines: {node: '>= 0.8'} fs-extra@10.1.0: - resolution: - { - integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} + engines: {node: '>=12'} fs.realpath@1.0.0: - resolution: - { - integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==, - } + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} fsevents@2.3.3: - resolution: - { - integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==, - } - engines: { node: ^8.16.0 || ^10.6.0 || >=11.0.0 } + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] function-bind@1.1.2: - resolution: - { - integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==, - } + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} fuse.js@7.1.0: - resolution: - { - integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==} + engines: {node: '>=10'} galactus@1.0.0: - resolution: - { - integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==} + engines: {node: '>= 12'} gensync@1.0.0-beta.2: - resolution: - { - integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==, - } - engines: { node: '>=6.9.0' } + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} get-caller-file@2.0.5: - resolution: - { - integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, - } - engines: { node: 6.* || 8.* || >= 10.* } + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} get-intrinsic@1.3.0: - resolution: - { - integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} + engines: {node: '>= 0.4'} get-package-type@0.1.0: - resolution: - { - integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==, - } - engines: { node: '>=8.0.0' } + resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} + engines: {node: '>=8.0.0'} get-proto@1.0.1: - resolution: - { - integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} get-stdin@8.0.0: - resolution: - { - integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} + engines: {node: '>=10'} get-stream@6.0.1: - resolution: - { - integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} glob-parent@5.1.2: - resolution: - { - integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} glob-parent@6.0.2: - resolution: - { - integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==, - } - engines: { node: '>=10.13.0' } + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} glob@7.2.3: - resolution: - { - integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==, - } + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} deprecated: Glob versions prior to v9 are no longer supported glob@8.1.0: - resolution: - { - integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} + engines: {node: '>=12'} deprecated: Glob versions prior to v9 are no longer supported globals@14.0.0: - resolution: - { - integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} gopd@1.2.0: - resolution: - { - integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} graceful-fs@4.2.11: - resolution: - { - integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==, - } + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} graphemer@1.4.0: - resolution: - { - integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==, - } + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} handlebars@4.7.8: - resolution: - { - integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==, - } - engines: { node: '>=0.4.7' } + resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} + engines: {node: '>=0.4.7'} hasBin: true has-flag@4.0.0: - resolution: - { - integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} has-symbols@1.1.0: - resolution: - { - integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} + engines: {node: '>= 0.4'} hasown@2.0.0: - resolution: - { - integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} + engines: {node: '>= 0.4'} hasown@2.0.2: - resolution: - { - integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} help-me@5.0.0: - resolution: - { - integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==, - } + resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==} highlight.js@10.7.3: - resolution: - { - integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==, - } + resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} hono@4.12.5: - resolution: - { - integrity: sha512-3qq+FUBtlTHhtYxbxheZgY8NIFnkkC/MR8u5TTsr7YZ3wixryQ3cCwn3iZbg8p8B88iDBBAYSfZDS75t8MN7Vg==, - } - engines: { node: '>=16.9.0' } + resolution: {integrity: sha512-3qq+FUBtlTHhtYxbxheZgY8NIFnkkC/MR8u5TTsr7YZ3wixryQ3cCwn3iZbg8p8B88iDBBAYSfZDS75t8MN7Vg==} + engines: {node: '>=16.9.0'} html-escaper@2.0.2: - resolution: - { - integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==, - } + resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} http-errors@2.0.0: - resolution: - { - integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} + engines: {node: '>= 0.8'} human-signals@2.1.0: - resolution: - { - integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==, - } - engines: { node: '>=10.17.0' } + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} iconv-lite@0.4.24: - resolution: - { - integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} iconv-lite@0.6.3: - resolution: - { - integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} iconv-lite@0.7.0: - resolution: - { - integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==} + engines: {node: '>=0.10.0'} ignore-walk@5.0.1: - resolution: - { - integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} ignore@5.3.2: - resolution: - { - integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==, - } - engines: { node: '>= 4' } + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} ignore@7.0.5: - resolution: - { - integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==, - } - engines: { node: '>= 4' } + resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==} + engines: {node: '>= 4'} import-fresh@3.3.1: - resolution: - { - integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} + engines: {node: '>=6'} import-local@3.1.0: - resolution: - { - integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} + engines: {node: '>=8'} hasBin: true imurmurhash@0.1.4: - resolution: - { - integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==, - } - engines: { node: '>=0.8.19' } + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} indent-string@4.0.0: - resolution: - { - integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} inflight@1.0.6: - resolution: - { - integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==, - } + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: - resolution: - { - integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==, - } + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} ip-address@10.1.0: - resolution: - { - integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==, - } - engines: { node: '>= 12' } + resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==} + engines: {node: '>= 12'} ipaddr.js@1.9.1: - resolution: - { - integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==, - } - engines: { node: '>= 0.10' } + resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} + engines: {node: '>= 0.10'} is-arrayish@0.2.1: - resolution: - { - integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==, - } + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} is-core-module@2.13.1: - resolution: - { - integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==, - } + resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} is-extglob@2.1.1: - resolution: - { - integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} is-fullwidth-code-point@3.0.0: - resolution: - { - integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} is-generator-fn@2.1.0: - resolution: - { - integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} + engines: {node: '>=6'} is-glob@4.0.3: - resolution: - { - integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} is-number@7.0.0: - resolution: - { - integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==, - } - engines: { node: '>=0.12.0' } + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} is-promise@4.0.0: - resolution: - { - integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==, - } + resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==} is-stream@2.0.1: - resolution: - { - integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} isexe@2.0.0: - resolution: - { - integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==, - } + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} istanbul-lib-coverage@3.2.2: - resolution: - { - integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} + engines: {node: '>=8'} istanbul-lib-instrument@5.2.1: - resolution: - { - integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} + engines: {node: '>=8'} istanbul-lib-instrument@6.0.3: - resolution: - { - integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==} + engines: {node: '>=10'} istanbul-lib-report@3.0.1: - resolution: - { - integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} + engines: {node: '>=10'} istanbul-lib-source-maps@4.0.1: - resolution: - { - integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} + engines: {node: '>=10'} istanbul-reports@3.1.6: - resolution: - { - integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==} + engines: {node: '>=8'} jest-changed-files@29.7.0: - resolution: - { - integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-circus@29.7.0: - resolution: - { - integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-cli@29.7.0: - resolution: - { - integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -2875,11 +1758,8 @@ packages: optional: true jest-config@29.7.0: - resolution: - { - integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@types/node': '*' ts-node: '>=9.0.0' @@ -2890,81 +1770,48 @@ packages: optional: true jest-diff@29.7.0: - resolution: - { - integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-docblock@29.7.0: - resolution: - { - integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-each@29.7.0: - resolution: - { - integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-environment-node@29.7.0: - resolution: - { - integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-get-type@29.6.3: - resolution: - { - integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-haste-map@29.7.0: - resolution: - { - integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-leak-detector@29.7.0: - resolution: - { - integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-matcher-utils@29.7.0: - resolution: - { - integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-message-util@29.7.0: - resolution: - { - integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-mock@29.7.0: - resolution: - { - integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-pnp-resolver@1.2.3: - resolution: - { - integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} + engines: {node: '>=6'} peerDependencies: jest-resolve: '*' peerDependenciesMeta: @@ -2972,81 +1819,48 @@ packages: optional: true jest-regex-util@29.6.3: - resolution: - { - integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-resolve-dependencies@29.7.0: - resolution: - { - integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-resolve@29.7.0: - resolution: - { - integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-runner@29.7.0: - resolution: - { - integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-runtime@29.7.0: - resolution: - { - integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-snapshot@29.7.0: - resolution: - { - integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-util@29.7.0: - resolution: - { - integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-validate@29.7.0: - resolution: - { - integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-watcher@29.7.0: - resolution: - { - integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-worker@29.7.0: - resolution: - { - integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest@29.7.0: - resolution: - { - integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -3055,1248 +1869,695 @@ packages: optional: true jose@6.1.3: - resolution: - { - integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==, - } + resolution: {integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==} joycon@3.1.1: - resolution: - { - integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} jq-web@https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz: - resolution: - { - integrity: sha512-6nmDSHGJm8Cclf2oSuO9xQ7vt5x5bDiuTKX2rkyW1K7Uo2SHeI4ZvpgMITKy+8p3bbEnKovTPGoHhApa6v/PbA==, - tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz, - } + resolution: {integrity: sha512-6nmDSHGJm8Cclf2oSuO9xQ7vt5x5bDiuTKX2rkyW1K7Uo2SHeI4ZvpgMITKy+8p3bbEnKovTPGoHhApa6v/PbA==, tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz} version: 0.8.8 js-tokens@4.0.0: - resolution: - { - integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==, - } + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} js-yaml@3.14.2: - resolution: - { - integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==, - } + resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} hasBin: true js-yaml@4.1.1: - resolution: - { - integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==, - } + resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==} hasBin: true jsesc@3.1.0: - resolution: - { - integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} hasBin: true json-buffer@3.0.1: - resolution: - { - integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==, - } + resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} json-parse-even-better-errors@2.3.1: - resolution: - { - integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==, - } + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} json-schema-traverse@0.4.1: - resolution: - { - integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==, - } + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} json-schema-traverse@1.0.0: - resolution: - { - integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==, - } + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} json-schema-typed@8.0.2: - resolution: - { - integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==, - } + resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==} json-stable-stringify-without-jsonify@1.0.1: - resolution: - { - integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==, - } + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} json5@2.2.3: - resolution: - { - integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} hasBin: true jsonc-parser@3.2.1: - resolution: - { - integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==, - } + resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==} jsonfile@6.2.0: - resolution: - { - integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==, - } + resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==} keyv@4.5.4: - resolution: - { - integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==, - } + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} kleur@3.0.3: - resolution: - { - integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} + engines: {node: '>=6'} leven@3.1.0: - resolution: - { - integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} + engines: {node: '>=6'} levn@0.4.1: - resolution: - { - integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} + engines: {node: '>= 0.8.0'} lines-and-columns@1.2.4: - resolution: - { - integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==, - } + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} locate-path@5.0.0: - resolution: - { - integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} locate-path@6.0.0: - resolution: - { - integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} lodash.memoize@4.1.2: - resolution: - { - integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==, - } + resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} lodash.merge@4.6.2: - resolution: - { - integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==, - } + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} lru-cache@10.4.3: - resolution: - { - integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==, - } + resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} lru-cache@5.1.1: - resolution: - { - integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==, - } + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} make-dir@4.0.0: - resolution: - { - integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} + engines: {node: '>=10'} make-error@1.3.6: - resolution: - { - integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==, - } + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} makeerror@1.0.12: - resolution: - { - integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==, - } + resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} marked-terminal@7.2.1: - resolution: - { - integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==, - } - engines: { node: '>=16.0.0' } + resolution: {integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==} + engines: {node: '>=16.0.0'} peerDependencies: marked: '>=1 <15' marked@9.1.6: - resolution: - { - integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==, - } - engines: { node: '>= 16' } + resolution: {integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==} + engines: {node: '>= 16'} hasBin: true math-intrinsics@1.1.0: - resolution: - { - integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} + engines: {node: '>= 0.4'} media-typer@1.1.0: - resolution: - { - integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==} + engines: {node: '>= 0.8'} merge-descriptors@2.0.0: - resolution: - { - integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==} + engines: {node: '>=18'} merge-stream@2.0.0: - resolution: - { - integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==, - } + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} merge2@1.4.1: - resolution: - { - integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} micromatch@4.0.8: - resolution: - { - integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==, - } - engines: { node: '>=8.6' } + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} mime-db@1.54.0: - resolution: - { - integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} + engines: {node: '>= 0.6'} mime-types@3.0.1: - resolution: - { - integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==} + engines: {node: '>= 0.6'} mimic-fn@2.1.0: - resolution: - { - integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} minimatch@9.0.5: - resolution: - { - integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==, - } - engines: { node: '>=16 || 14 >=14.17' } + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} minimist@1.2.6: - resolution: - { - integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==, - } + resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} minisearch@7.2.0: - resolution: - { - integrity: sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg==, - } + resolution: {integrity: sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg==} mkdirp@2.1.6: - resolution: - { - integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==} + engines: {node: '>=10'} hasBin: true mri@1.2.0: - resolution: - { - integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} + engines: {node: '>=4'} ms@2.1.3: - resolution: - { - integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, - } + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} mute-stream@1.0.0: - resolution: - { - integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==, - } - engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } + resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} mz@2.7.0: - resolution: - { - integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==, - } + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} natural-compare@1.4.0: - resolution: - { - integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==, - } + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} negotiator@1.0.0: - resolution: - { - integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} + engines: {node: '>= 0.6'} neo-async@2.6.2: - resolution: - { - integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==, - } + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} node-emoji@2.1.3: - resolution: - { - integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} + engines: {node: '>=18'} node-forge@1.3.2: - resolution: - { - integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==, - } - engines: { node: '>= 6.13.0' } + resolution: {integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==} + engines: {node: '>= 6.13.0'} node-int64@0.4.0: - resolution: - { - integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==, - } + resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} node-releases@2.0.27: - resolution: - { - integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==, - } + resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==} normalize-path@3.0.0: - resolution: - { - integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} npm-bundled@2.0.1: - resolution: - { - integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} npm-normalize-package-bin@2.0.0: - resolution: - { - integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} npm-packlist@5.1.3: - resolution: - { - integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} hasBin: true npm-run-path@4.0.1: - resolution: - { - integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} object-assign@4.1.1: - resolution: - { - integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} object-inspect@1.13.4: - resolution: - { - integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} + engines: {node: '>= 0.4'} on-exit-leak-free@2.1.2: - resolution: - { - integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==, - } - engines: { node: '>=14.0.0' } + resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} + engines: {node: '>=14.0.0'} on-finished@2.4.1: - resolution: - { - integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} + engines: {node: '>= 0.8'} once@1.4.0: - resolution: - { - integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==, - } + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} onetime@5.1.2: - resolution: - { - integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} optionator@0.9.4: - resolution: - { - integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} + engines: {node: '>= 0.8.0'} os-tmpdir@1.0.2: - resolution: - { - integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} + engines: {node: '>=0.10.0'} p-all@3.0.0: - resolution: - { - integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==} + engines: {node: '>=10'} p-limit@2.3.0: - resolution: - { - integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} p-limit@3.1.0: - resolution: - { - integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} p-locate@4.1.0: - resolution: - { - integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} p-locate@5.0.0: - resolution: - { - integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} p-map@4.0.0: - resolution: - { - integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} + engines: {node: '>=10'} p-try@2.2.0: - resolution: - { - integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} parent-module@1.0.1: - resolution: - { - integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} parse-json@5.2.0: - resolution: - { - integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} parse5-htmlparser2-tree-adapter@6.0.1: - resolution: - { - integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==, - } + resolution: {integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==} parse5@5.1.1: - resolution: - { - integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==, - } + resolution: {integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==} parse5@6.0.1: - resolution: - { - integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==, - } + resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} parseurl@1.3.3: - resolution: - { - integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} + engines: {node: '>= 0.8'} path-browserify@1.0.1: - resolution: - { - integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==, - } + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} path-exists@4.0.0: - resolution: - { - integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} path-is-absolute@1.0.1: - resolution: - { - integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} path-key@3.1.1: - resolution: - { - integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} path-parse@1.0.7: - resolution: - { - integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==, - } + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} path-to-regexp@8.3.0: - resolution: - { - integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==, - } + resolution: {integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==} picocolors@1.1.1: - resolution: - { - integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==, - } + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} picomatch@2.3.1: - resolution: - { - integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==, - } - engines: { node: '>=8.6' } + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} pino-abstract-transport@3.0.0: - resolution: - { - integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==, - } + resolution: {integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==} pino-http@11.0.0: - resolution: - { - integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==, - } + resolution: {integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==} pino-pretty@13.1.3: - resolution: - { - integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==, - } + resolution: {integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==} hasBin: true pino-std-serializers@7.1.0: - resolution: - { - integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==, - } + resolution: {integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==} pino@10.3.1: - resolution: - { - integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==, - } + resolution: {integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==} hasBin: true pirates@4.0.6: - resolution: - { - integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} + engines: {node: '>= 6'} pkce-challenge@5.0.0: - resolution: - { - integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==, - } - engines: { node: '>=16.20.0' } + resolution: {integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==} + engines: {node: '>=16.20.0'} pkg-dir@4.2.0: - resolution: - { - integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} + engines: {node: '>=8'} prelude-ls@1.2.1: - resolution: - { - integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} + engines: {node: '>= 0.8.0'} prettier-linter-helpers@1.0.0: - resolution: - { - integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==, - } - engines: { node: '>=6.0.0' } + resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} + engines: {node: '>=6.0.0'} prettier@3.1.1: - resolution: - { - integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==, - } - engines: { node: '>=14' } + resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} + engines: {node: '>=14'} hasBin: true pretty-bytes@5.6.0: - resolution: - { - integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} + engines: {node: '>=6'} pretty-format@29.7.0: - resolution: - { - integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==, - } - engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } + resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} process-warning@5.0.0: - resolution: - { - integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==, - } + resolution: {integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==} prompts@2.4.2: - resolution: - { - integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} + engines: {node: '>= 6'} proxy-addr@2.0.7: - resolution: - { - integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==, - } - engines: { node: '>= 0.10' } + resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} + engines: {node: '>= 0.10'} publint@0.2.12: - resolution: - { - integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==, - } - engines: { node: '>=16' } + resolution: {integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==} + engines: {node: '>=16'} hasBin: true pump@3.0.4: - resolution: - { - integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==, - } + resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} punycode@2.3.1: - resolution: - { - integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} pure-rand@6.0.4: - resolution: - { - integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==, - } + resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==} qs@6.14.1: - resolution: - { - integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==, - } - engines: { node: '>=0.6' } + resolution: {integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==} + engines: {node: '>=0.6'} queue-microtask@1.2.3: - resolution: - { - integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==, - } + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} quick-format-unescaped@4.0.4: - resolution: - { - integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==, - } + resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} range-parser@1.2.1: - resolution: - { - integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} + engines: {node: '>= 0.6'} raw-body@3.0.1: - resolution: - { - integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==, - } - engines: { node: '>= 0.10' } + resolution: {integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==} + engines: {node: '>= 0.10'} react-is@18.2.0: - resolution: - { - integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==, - } + resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} readable-stream@3.6.2: - resolution: - { - integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==, - } - engines: { node: '>= 6' } + resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} + engines: {node: '>= 6'} real-require@0.2.0: - resolution: - { - integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==, - } - engines: { node: '>= 12.13.0' } + resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} + engines: {node: '>= 12.13.0'} require-directory@2.1.1: - resolution: - { - integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} require-from-string@2.0.2: - resolution: - { - integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} resolve-cwd@3.0.0: - resolution: - { - integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} + engines: {node: '>=8'} resolve-from@4.0.0: - resolution: - { - integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} resolve-from@5.0.0: - resolution: - { - integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} + engines: {node: '>=8'} resolve.exports@2.0.2: - resolution: - { - integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} + engines: {node: '>=10'} resolve@1.22.8: - resolution: - { - integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==, - } + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true reusify@1.0.4: - resolution: - { - integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==, - } - engines: { iojs: '>=1.0.0', node: '>=0.10.0' } + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} router@2.2.0: - resolution: - { - integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==, - } - engines: { node: '>= 18' } + resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==} + engines: {node: '>= 18'} run-parallel@1.2.0: - resolution: - { - integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==, - } + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} sade@1.8.1: - resolution: - { - integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} + engines: {node: '>=6'} safe-buffer@5.2.1: - resolution: - { - integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==, - } + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} safe-stable-stringify@2.5.0: - resolution: - { - integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==} + engines: {node: '>=10'} safer-buffer@2.1.2: - resolution: - { - integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==, - } + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} secure-json-parse@4.1.0: - resolution: - { - integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==, - } + resolution: {integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==} semver@6.3.1: - resolution: - { - integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==, - } + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true semver@7.7.1: - resolution: - { - integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} + engines: {node: '>=10'} hasBin: true semver@7.7.3: - resolution: - { - integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} + engines: {node: '>=10'} hasBin: true send@1.2.0: - resolution: - { - integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==, - } - engines: { node: '>= 18' } + resolution: {integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==} + engines: {node: '>= 18'} serve-static@2.2.0: - resolution: - { - integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==, - } - engines: { node: '>= 18' } + resolution: {integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==} + engines: {node: '>= 18'} setprototypeof@1.2.0: - resolution: - { - integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==, - } + resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} shebang-command@2.0.0: - resolution: - { - integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} shebang-regex@3.0.0: - resolution: - { - integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} side-channel-list@1.0.0: - resolution: - { - integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==} + engines: {node: '>= 0.4'} side-channel-map@1.0.1: - resolution: - { - integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} + engines: {node: '>= 0.4'} side-channel-weakmap@1.0.2: - resolution: - { - integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} + engines: {node: '>= 0.4'} side-channel@1.1.0: - resolution: - { - integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==} + engines: {node: '>= 0.4'} signal-exit@3.0.7: - resolution: - { - integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==, - } + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} signal-exit@4.1.0: - resolution: - { - integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==, - } - engines: { node: '>=14' } + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} sisteransi@1.0.5: - resolution: - { - integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==, - } + resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} skin-tone@2.0.0: - resolution: - { - integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} + engines: {node: '>=8'} slash@3.0.0: - resolution: - { - integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} sonic-boom@4.2.1: - resolution: - { - integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==, - } + resolution: {integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==} source-map-support@0.5.13: - resolution: - { - integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==, - } + resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} source-map@0.6.1: - resolution: - { - integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} split2@4.2.0: - resolution: - { - integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==, - } - engines: { node: '>= 10.x' } + resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} + engines: {node: '>= 10.x'} sprintf-js@1.0.3: - resolution: - { - integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==, - } + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} stack-utils@2.0.6: - resolution: - { - integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} + engines: {node: '>=10'} statuses@2.0.1: - resolution: - { - integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} + engines: {node: '>= 0.8'} statuses@2.0.2: - resolution: - { - integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} + engines: {node: '>= 0.8'} string-length@4.0.2: - resolution: - { - integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} + engines: {node: '>=10'} string-to-stream@3.0.1: - resolution: - { - integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==, - } + resolution: {integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==} string-width@4.2.3: - resolution: - { - integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} string_decoder@1.3.0: - resolution: - { - integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==, - } + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} strip-ansi@6.0.1: - resolution: - { - integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} strip-bom@3.0.0: - resolution: - { - integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} strip-bom@4.0.0: - resolution: - { - integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} + engines: {node: '>=8'} strip-final-newline@2.0.0: - resolution: - { - integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} strip-json-comments@3.1.1: - resolution: - { - integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} strip-json-comments@5.0.3: - resolution: - { - integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==, - } - engines: { node: '>=14.16' } + resolution: {integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==} + engines: {node: '>=14.16'} superstruct@1.0.4: - resolution: - { - integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==, - } - engines: { node: '>=14.0.0' } + resolution: {integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==} + engines: {node: '>=14.0.0'} supports-color@7.2.0: - resolution: - { - integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} supports-color@8.1.1: - resolution: - { - integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} supports-hyperlinks@3.1.0: - resolution: - { - integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==, - } - engines: { node: '>=14.18' } + resolution: {integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==} + engines: {node: '>=14.18'} supports-preserve-symlinks-flag@1.0.0: - resolution: - { - integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==, - } - engines: { node: '>= 0.4' } + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} synckit@0.11.8: - resolution: - { - integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==, - } - engines: { node: ^14.18.0 || >=16.0.0 } + resolution: {integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==} + engines: {node: ^14.18.0 || >=16.0.0} test-exclude@6.0.0: - resolution: - { - integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} + engines: {node: '>=8'} thenify-all@1.6.0: - resolution: - { - integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==, - } - engines: { node: '>=0.8' } + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} thenify@3.3.1: - resolution: - { - integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==, - } + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} thread-stream@4.0.0: - resolution: - { - integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==, - } - engines: { node: '>=20' } + resolution: {integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==} + engines: {node: '>=20'} tmp@0.0.33: - resolution: - { - integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==, - } - engines: { node: '>=0.6.0' } + resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} + engines: {node: '>=0.6.0'} tmpl@1.0.5: - resolution: - { - integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==, - } + resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} to-regex-range@5.0.1: - resolution: - { - integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==, - } - engines: { node: '>=8.0' } + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} toidentifier@1.0.1: - resolution: - { - integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==, - } - engines: { node: '>=0.6' } + resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} + engines: {node: '>=0.6'} ts-api-utils@2.0.1: - resolution: - { - integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==, - } - engines: { node: '>=18.12' } + resolution: {integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==} + engines: {node: '>=18.12'} peerDependencies: typescript: '>=4.8.4' ts-jest@29.4.6: - resolution: - { - integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==, - } - engines: { node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0 } + resolution: {integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==} + engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@babel/core': '>=7.0.0-beta.0 <8' @@ -4322,16 +2583,10 @@ packages: optional: true ts-morph@19.0.0: - resolution: - { - integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==, - } + resolution: {integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==} ts-node@10.7.0: - resolution: - { - integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==, - } + resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} hasBin: true peerDependencies: '@swc/core': '>=1.2.50' @@ -4345,330 +2600,195 @@ packages: optional: true tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz: - resolution: - { - integrity: sha512-tWyCXnx0WqCkVlo5s+4KMj7HC0/0YrCZY0PustUwX9F2lNwd8Kp07q/Q56uGvV9q80XaSDrhy0YqBmrX5TDNpQ==, - tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz, - } + resolution: {integrity: sha512-tWyCXnx0WqCkVlo5s+4KMj7HC0/0YrCZY0PustUwX9F2lNwd8Kp07q/Q56uGvV9q80XaSDrhy0YqBmrX5TDNpQ==, tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz} version: 1.1.9 - engines: { node: '>=14' } + engines: {node: '>=14'} hasBin: true peerDependencies: typescript: '>=4.3.0' tsconfig-paths@4.2.0: - resolution: - { - integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==} + engines: {node: '>=6'} tslib@2.8.1: - resolution: - { - integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==, - } + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} type-check@0.4.0: - resolution: - { - integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==, - } - engines: { node: '>= 0.8.0' } + resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} + engines: {node: '>= 0.8.0'} type-detect@4.0.8: - resolution: - { - integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} + engines: {node: '>=4'} type-fest@0.21.3: - resolution: - { - integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} + engines: {node: '>=10'} type-fest@4.41.0: - resolution: - { - integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==, - } - engines: { node: '>=16' } + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} + engines: {node: '>=16'} type-is@2.0.1: - resolution: - { - integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==, - } - engines: { node: '>= 0.6' } + resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==} + engines: {node: '>= 0.6'} typescript-eslint@8.31.1: - resolution: - { - integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==, - } - engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } + resolution: {integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' typescript@5.6.1-rc: - resolution: - { - integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==, - } - engines: { node: '>=14.17' } + resolution: {integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==} + engines: {node: '>=14.17'} hasBin: true typescript@5.8.3: - resolution: - { - integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==, - } - engines: { node: '>=14.17' } + resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} + engines: {node: '>=14.17'} hasBin: true uglify-js@3.19.3: - resolution: - { - integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==, - } - engines: { node: '>=0.8.0' } + resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} + engines: {node: '>=0.8.0'} hasBin: true undici-types@6.21.0: - resolution: - { - integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==, - } + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} unicode-emoji-modifier-base@1.0.0: - resolution: - { - integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==, - } - engines: { node: '>=4' } + resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} + engines: {node: '>=4'} universalify@2.0.1: - resolution: - { - integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==, - } - engines: { node: '>= 10.0.0' } + resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} + engines: {node: '>= 10.0.0'} unpipe@1.0.0: - resolution: - { - integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} + engines: {node: '>= 0.8'} update-browserslist-db@1.2.3: - resolution: - { - integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==, - } + resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' uri-js@4.4.1: - resolution: - { - integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==, - } + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} util-deprecate@1.0.2: - resolution: - { - integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==, - } + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} v8-compile-cache-lib@3.0.0: - resolution: - { - integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==, - } + resolution: {integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==} v8-to-istanbul@9.2.0: - resolution: - { - integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==, - } - engines: { node: '>=10.12.0' } + resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} + engines: {node: '>=10.12.0'} validate-npm-package-name@5.0.1: - resolution: - { - integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==, - } - engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } + resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} vary@1.1.2: - resolution: - { - integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==, - } - engines: { node: '>= 0.8' } + resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} + engines: {node: '>= 0.8'} walker@1.0.8: - resolution: - { - integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==, - } + resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} which@2.0.2: - resolution: - { - integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==, - } - engines: { node: '>= 8' } + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} hasBin: true word-wrap@1.2.5: - resolution: - { - integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==, - } - engines: { node: '>=0.10.0' } + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} wordwrap@1.0.0: - resolution: - { - integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==, - } + resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} wrap-ansi@6.2.0: - resolution: - { - integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==, - } - engines: { node: '>=8' } + resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} + engines: {node: '>=8'} wrap-ansi@7.0.0: - resolution: - { - integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} wrappy@1.0.2: - resolution: - { - integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==, - } + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} write-file-atomic@4.0.2: - resolution: - { - integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==, - } - engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } + resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} y18n@5.0.8: - resolution: - { - integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} yallist@3.1.1: - resolution: - { - integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==, - } + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} yargs-parser@20.2.9: - resolution: - { - integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} yargs-parser@21.1.1: - resolution: - { - integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} yargs@16.2.0: - resolution: - { - integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} yargs@17.7.2: - resolution: - { - integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==, - } - engines: { node: '>=12' } + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} yn@3.1.1: - resolution: - { - integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==, - } - engines: { node: '>=6' } + resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} + engines: {node: '>=6'} yocto-queue@0.1.0: - resolution: - { - integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==, - } - engines: { node: '>=10' } + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} yoctocolors-cjs@2.1.3: - resolution: - { - integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==, - } - engines: { node: '>=18' } + resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==} + engines: {node: '>=18'} zod-to-json-schema@3.24.6: - resolution: - { - integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==, - } + resolution: {integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==} peerDependencies: zod: ^3.24.1 zod-to-json-schema@3.25.0: - resolution: - { - integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==, - } + resolution: {integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==} peerDependencies: zod: ^3.25 || ^4 zod-to-json-schema@3.25.1: - resolution: - { - integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==, - } + resolution: {integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==} peerDependencies: zod: ^3.25 || ^4 zod-validation-error@4.0.1: - resolution: - { - integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==, - } - engines: { node: '>=18.0.0' } + resolution: {integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==} + engines: {node: '>=18.0.0'} peerDependencies: zod: ^3.25.0 || ^4.0.0 zod@3.25.76: - resolution: - { - integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==, - } + resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} snapshots: + '@andrewbranch/untar.js@1.0.3': {} '@anthropic-ai/mcpb@2.1.2': diff --git a/scripts/fast-format b/scripts/fast-format index e1723136..53721ac0 100755 --- a/scripts/fast-format +++ b/scripts/fast-format @@ -31,8 +31,10 @@ if ! [ -z "$ESLINT_FILES" ]; then fi echo "==> Running prettier --write" -PRETTIER_FILES="$(grep '\.\([mc]?tsx?\|[mc]?jsx?\|json\)$' "$FILE_LIST" || true)" +# format things eslint didn't +PRETTIER_FILES="$(grep '\.\(js\|json\)$' "$FILE_LIST" || true)" if ! [ -z "$PRETTIER_FILES" ]; then echo "$PRETTIER_FILES" | xargs ./node_modules/.bin/prettier \ - --write --cache --cache-strategy metadata --no-error-on-unmatched-pattern + --write --cache --cache-strategy metadata --no-error-on-unmatched-pattern \ + '!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs' fi diff --git a/scripts/format b/scripts/format index b1b2c17a..7a756401 100755 --- a/scripts/format +++ b/scripts/format @@ -8,4 +8,5 @@ echo "==> Running eslint --fix" ./node_modules/.bin/eslint --fix . echo "==> Running prettier --write" -./node_modules/.bin/prettier --write --cache --cache-strategy metadata . +# format things eslint didn't +./node_modules/.bin/prettier --write --cache --cache-strategy metadata . '!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs' diff --git a/scripts/lint b/scripts/lint index 1f532548..3ffb78a6 100755 --- a/scripts/lint +++ b/scripts/lint @@ -4,9 +4,6 @@ set -e cd "$(dirname "$0")/.." -echo "==> Running prettier --check" -./node_modules/.bin/prettier --check . - echo "==> Running eslint" ./node_modules/.bin/eslint . diff --git a/scripts/utils/postprocess-files.cjs b/scripts/utils/postprocess-files.cjs index deae575e..a8cdeb7c 100644 --- a/scripts/utils/postprocess-files.cjs +++ b/scripts/utils/postprocess-files.cjs @@ -23,12 +23,19 @@ async function postprocess() { // strip out lib="dom", types="node", and types="react" references; these // are needed at build time, but would pollute the user's TS environment - const transformed = code.replace( + let transformed = code.replace( /^ *\/\/\/ * ' '.repeat(match.length - 1) + '\n', ); + // TypeScript's declaration emitter collapses /** @ts-ignore */ onto the same + // line as the type declaration, which doesn't work. So we convert to // @ts-ignore + // on its own line to properly suppresses errors. + if (file.endsWith('.d.ts') || file.endsWith('.d.mts') || file.endsWith('.d.cts')) { + transformed = transformed.replace(/\/\*\* @ts-ignore\b[^*]*\*\/ /gm, '// @ts-ignore\n'); + } + if (transformed !== code) { console.error(`wrote ${path.relative(process.cwd(), file)}`); await fs.promises.writeFile(file, transformed, 'utf8'); diff --git a/src/internal/types.ts b/src/internal/types.ts index a050513a..b668dfc0 100644 --- a/src/internal/types.ts +++ b/src/internal/types.ts @@ -40,6 +40,7 @@ type OverloadedParameters = : T extends (...args: infer A) => unknown ? A : never; +/* eslint-disable */ /** * These imports attempt to get types from a parent package's dependencies. * Unresolved bare specifiers can trigger [automatic type acquisition][1] in some projects, which @@ -62,18 +63,19 @@ type OverloadedParameters = * * [1]: https://www.typescriptlang.org/tsconfig/#typeAcquisition */ -/** @ts-ignore For users with \@types/node */ /* prettier-ignore */ +/** @ts-ignore For users with \@types/node */ type UndiciTypesRequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users with undici */ /* prettier-ignore */ +/** @ts-ignore For users with undici */ type UndiciRequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users with \@types/bun */ /* prettier-ignore */ +/** @ts-ignore For users with \@types/bun */ type BunRequestInit = globalThis.FetchRequestInit; -/** @ts-ignore For users with node-fetch@2 */ /* prettier-ignore */ +/** @ts-ignore For users with node-fetch@2 */ type NodeFetch2RequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ /* prettier-ignore */ +/** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ type NodeFetch3RequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users who use Deno */ /* prettier-ignore */ +/** @ts-ignore For users who use Deno */ type FetchRequestInit = NonNullable[1]>; +/* eslint-enable */ type RequestInits = | NotAny From 5dd3dca364fb1d22777575b1db552a3747044fe9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2026 02:08:46 +0000 Subject: [PATCH 60/69] feat: support setting headers via env --- src/client.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/client.ts b/src/client.ts index f873fe53..ac05ec9d 100644 --- a/src/client.ts +++ b/src/client.ts @@ -217,6 +217,18 @@ export class Stainless { this.fetch = options.fetch ?? Shims.getDefaultFetch(); this.#encoder = Opts.FallbackEncoder; + const customHeadersEnv = readEnv('STAINLESS_CUSTOM_HEADERS'); + if (customHeadersEnv) { + const parsed: Record = {}; + for (const line of customHeadersEnv.split('\n')) { + const colon = line.indexOf(':'); + if (colon >= 0) { + parsed[line.substring(0, colon).trim()] = line.substring(colon + 1).trim(); + } + } + options.defaultHeaders = { ...parsed, ...options.defaultHeaders }; + } + this._options = options; this.apiKey = apiKey; From 3f0f01c00632bbaffe94082a20d259a1928085af Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2026 19:50:50 +0000 Subject: [PATCH 61/69] chore(format): run eslint and prettier separately --- .github/workflows/release-doctor.yml | 1 - eslint.config.mjs | 3 - package.json | 1 - pnpm-lock.yaml | 3996 +++++++++++++++++++------- scripts/fast-format | 9 +- scripts/format | 3 +- scripts/lint | 3 + src/internal/types.ts | 14 +- 8 files changed, 2951 insertions(+), 1079 deletions(-) diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 59c083ce..a73ddf71 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -19,4 +19,3 @@ jobs: bash ./bin/check-release-environment env: DOCKERHUB_TOKEN: ${{ secrets.STAINLESS_DOCKERHUB_TOKEN || secrets.DOCKERHUB_TOKEN }} - diff --git a/eslint.config.mjs b/eslint.config.mjs index 1aecb0bb..191d510c 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,7 +1,6 @@ // @ts-check import tseslint from 'typescript-eslint'; import unusedImports from 'eslint-plugin-unused-imports'; -import prettier from 'eslint-plugin-prettier'; export default tseslint.config( { @@ -14,11 +13,9 @@ export default tseslint.config( plugins: { '@typescript-eslint': tseslint.plugin, 'unused-imports': unusedImports, - prettier, }, rules: { 'no-unused-vars': 'off', - 'prettier/prettier': 'error', 'unused-imports/no-unused-imports': 'error', 'no-restricted-imports': [ 'error', diff --git a/package.json b/package.json index 897df356..646fbbf7 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "@typescript-eslint/eslint-plugin": "8.31.1", "@typescript-eslint/parser": "8.31.1", "eslint": "^9.39.1", - "eslint-plugin-prettier": "^5.4.1", "eslint-plugin-unused-imports": "^4.1.4", "iconv-lite": "^0.6.3", "jest": "^29.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d6c01d1a..3cc75195 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,6 @@ overrides: minimatch: ^9.0.5 importers: - .: devDependencies: '@arethetypeswrong/cli': @@ -35,9 +34,6 @@ importers: eslint: specifier: ^9.39.1 version: 9.39.1 - eslint-plugin-prettier: - specifier: ^5.4.1 - version: 5.4.1(eslint@9.39.1)(prettier@3.1.1) eslint-plugin-unused-imports: specifier: ^4.1.4 version: 4.1.4(@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1)(typescript@5.8.3))(eslint@9.39.1) @@ -203,344 +199,574 @@ importers: version: 4.2.0 packages: - '@andrewbranch/untar.js@1.0.3': - resolution: {integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==} + resolution: + { + integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==, + } '@anthropic-ai/mcpb@2.1.2': - resolution: {integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==} + resolution: + { + integrity: sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A==, + } hasBin: true '@arethetypeswrong/cli@0.17.0': - resolution: {integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-xSMW7bfzVWpYw5JFgZqBXqr6PdR0/REmn3DkxCES5N0JTcB0CVgbIynJCvKBFmXaPc3hzmmTrb7+yPDRoOSZdA==, + } + engines: { node: '>=18' } hasBin: true '@arethetypeswrong/core@0.17.0': - resolution: {integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-FHyhFizXNetigTVsIhqXKGYLpazPS5YNojEPpZEUcBPt9wVvoEbNIvG+hybuBR+pjlRcbyuqhukHZm1fr+bDgA==, + } + engines: { node: '>=18' } '@babel/code-frame@7.28.6': - resolution: {integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==, + } + engines: { node: '>=6.9.0' } '@babel/compat-data@7.28.6': - resolution: {integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==, + } + engines: { node: '>=6.9.0' } '@babel/core@7.28.6': - resolution: {integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==, + } + engines: { node: '>=6.9.0' } '@babel/generator@7.28.6': - resolution: {integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==, + } + engines: { node: '>=6.9.0' } '@babel/helper-compilation-targets@7.28.6': - resolution: {integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==, + } + engines: { node: '>=6.9.0' } '@babel/helper-globals@7.28.0': - resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==, + } + engines: { node: '>=6.9.0' } '@babel/helper-module-imports@7.28.6': - resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==, + } + engines: { node: '>=6.9.0' } '@babel/helper-module-transforms@7.28.6': - resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-plugin-utils@7.28.6': - resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==, + } + engines: { node: '>=6.9.0' } '@babel/helper-string-parser@7.27.1': - resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==, + } + engines: { node: '>=6.9.0' } '@babel/helper-validator-identifier@7.28.5': - resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==, + } + engines: { node: '>=6.9.0' } '@babel/helper-validator-option@7.27.1': - resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==, + } + engines: { node: '>=6.9.0' } '@babel/helpers@7.28.6': - resolution: {integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==, + } + engines: { node: '>=6.9.0' } '@babel/parser@7.28.6': - resolution: {integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==} - engines: {node: '>=6.0.0'} + resolution: + { + integrity: sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==, + } + engines: { node: '>=6.0.0' } hasBin: true '@babel/plugin-syntax-async-generators@7.8.4': - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} + resolution: + { + integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-bigint@7.8.3': - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} + resolution: + { + integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-properties@7.12.13': - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + resolution: + { + integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-static-block@7.14.5': - resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-attributes@7.28.6': - resolution: {integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-meta@7.10.4': - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} + resolution: + { + integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-json-strings@7.8.3': - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} + resolution: + { + integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-jsx@7.28.6': - resolution: {integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-logical-assignment-operators@7.10.4': - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} + resolution: + { + integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3': - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} + resolution: + { + integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-numeric-separator@7.10.4': - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} + resolution: + { + integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-object-rest-spread@7.8.3': - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} + resolution: + { + integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-catch-binding@7.8.3': - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} + resolution: + { + integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-chaining@7.8.3': - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} + resolution: + { + integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==, + } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-private-property-in-object@7.14.5': - resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-top-level-await@7.14.5': - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-typescript@7.28.6': - resolution: {integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==, + } + engines: { node: '>=6.9.0' } peerDependencies: '@babel/core': ^7.0.0-0 '@babel/template@7.28.6': - resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==, + } + engines: { node: '>=6.9.0' } '@babel/traverse@7.28.6': - resolution: {integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==, + } + engines: { node: '>=6.9.0' } '@babel/types@7.28.6': - resolution: {integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==, + } + engines: { node: '>=6.9.0' } '@bcoe/v8-coverage@0.2.3': - resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} + resolution: + { + integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==, + } '@cloudflare/cabidela@0.2.4': - resolution: {integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==} + resolution: + { + integrity: sha512-u/1OwwqfcMvjmUFOcb6QtFzVVGpncHJxwl254wjzp0JC5CUlBkV6r5BbRrHI5ZYJEAgu8NeeorirxngmMFPZjQ==, + } '@colors/colors@1.5.0': - resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} - engines: {node: '>=0.1.90'} + resolution: + { + integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==, + } + engines: { node: '>=0.1.90' } '@cspotcode/source-map-consumer@0.8.0': - resolution: {integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==, + } + engines: { node: '>= 12' } '@cspotcode/source-map-support@0.7.0': - resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==, + } + engines: { node: '>=12' } '@eslint-community/eslint-utils@4.4.0': - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + resolution: + { + integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==, + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/eslint-utils@4.9.0': - resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + resolution: + { + integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==, + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 '@eslint-community/regexpp@4.12.1': - resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + resolution: + { + integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==, + } + engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } '@eslint-community/regexpp@4.12.2': - resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + resolution: + { + integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==, + } + engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } '@eslint/config-array@0.21.1': - resolution: {integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/config-helpers@0.4.2': - resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/core@0.17.0': - resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/eslintrc@3.3.3': - resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/js@9.39.1': - resolution: {integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/object-schema@2.1.7': - resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@eslint/plugin-kit@0.4.1': - resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@hono/node-server@1.19.11': - resolution: {integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==} - engines: {node: '>=18.14.1'} + resolution: + { + integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==, + } + engines: { node: '>=18.14.1' } peerDependencies: hono: ^4 '@humanfs/core@0.19.1': - resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} - engines: {node: '>=18.18.0'} + resolution: + { + integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==, + } + engines: { node: '>=18.18.0' } '@humanfs/node@0.16.7': - resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==} - engines: {node: '>=18.18.0'} + resolution: + { + integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==, + } + engines: { node: '>=18.18.0' } '@humanwhocodes/module-importer@1.0.1': - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} + resolution: + { + integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==, + } + engines: { node: '>=12.22' } '@humanwhocodes/retry@0.4.3': - resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} - engines: {node: '>=18.18'} + resolution: + { + integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==, + } + engines: { node: '>=18.18' } '@inquirer/checkbox@3.0.1': - resolution: {integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==, + } + engines: { node: '>=18' } '@inquirer/confirm@4.0.1': - resolution: {integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==, + } + engines: { node: '>=18' } '@inquirer/core@9.2.1': - resolution: {integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==, + } + engines: { node: '>=18' } '@inquirer/editor@3.0.1': - resolution: {integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==, + } + engines: { node: '>=18' } '@inquirer/expand@3.0.1': - resolution: {integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==, + } + engines: { node: '>=18' } '@inquirer/figures@1.0.15': - resolution: {integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==, + } + engines: { node: '>=18' } '@inquirer/input@3.0.1': - resolution: {integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==, + } + engines: { node: '>=18' } '@inquirer/number@2.0.1': - resolution: {integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==, + } + engines: { node: '>=18' } '@inquirer/password@3.0.1': - resolution: {integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==, + } + engines: { node: '>=18' } '@inquirer/prompts@6.0.1': - resolution: {integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==, + } + engines: { node: '>=18' } '@inquirer/rawlist@3.0.1': - resolution: {integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==, + } + engines: { node: '>=18' } '@inquirer/search@2.0.1': - resolution: {integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==, + } + engines: { node: '>=18' } '@inquirer/select@3.0.1': - resolution: {integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==, + } + engines: { node: '>=18' } '@inquirer/type@2.0.0': - resolution: {integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==, + } + engines: { node: '>=18' } '@istanbuljs/load-nyc-config@1.1.0': - resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==, + } + engines: { node: '>=8' } '@istanbuljs/schema@0.1.3': - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==, + } + engines: { node: '>=8' } '@jest/console@29.7.0': - resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/core@29.7.0': - resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -548,32 +774,53 @@ packages: optional: true '@jest/create-cache-key-function@29.7.0': - resolution: {integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/environment@29.7.0': - resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/expect-utils@29.7.0': - resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/expect@29.7.0': - resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/fake-timers@29.7.0': - resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/globals@29.7.0': - resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/reporters@29.7.0': - resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -581,54 +828,96 @@ packages: optional: true '@jest/schemas@29.6.3': - resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/source-map@29.6.3': - resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/test-result@29.7.0': - resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/test-sequencer@29.7.0': - resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/transform@29.7.0': - resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jest/types@29.6.3': - resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } '@jridgewell/gen-mapping@0.3.13': - resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + resolution: + { + integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==, + } '@jridgewell/remapping@2.3.5': - resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + resolution: + { + integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==, + } '@jridgewell/resolve-uri@3.1.1': - resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} - engines: {node: '>=6.0.0'} + resolution: + { + integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==, + } + engines: { node: '>=6.0.0' } '@jridgewell/sourcemap-codec@1.4.15': - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + resolution: + { + integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==, + } '@jridgewell/sourcemap-codec@1.5.5': - resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + resolution: + { + integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==, + } '@jridgewell/trace-mapping@0.3.20': - resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} + resolution: + { + integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==, + } '@jridgewell/trace-mapping@0.3.31': - resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + resolution: + { + integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==, + } '@modelcontextprotocol/sdk@1.27.1': - resolution: {integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==, + } + engines: { node: '>=18' } peerDependencies: '@cfworker/json-schema': ^4.1.1 zod: ^3.25 || ^4.0 @@ -637,104 +926,164 @@ packages: optional: true '@nodelib/fs.scandir@2.1.5': - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==, + } + engines: { node: '>= 8' } '@nodelib/fs.stat@2.0.5': - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==, + } + engines: { node: '>= 8' } '@nodelib/fs.walk@1.2.8': - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==, + } + engines: { node: '>= 8' } '@pinojs/redact@0.4.0': - resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==} + resolution: + { + integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==, + } '@pkgr/core@0.2.4': - resolution: {integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + resolution: + { + integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==, + } + engines: { node: ^12.20.0 || ^14.18.0 || >=16.0.0 } '@sinclair/typebox@0.27.8': - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + resolution: + { + integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==, + } '@sindresorhus/is@4.6.0': - resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==, + } + engines: { node: '>=10' } '@sinonjs/commons@3.0.0': - resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} + resolution: + { + integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==, + } '@sinonjs/fake-timers@10.3.0': - resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} + resolution: + { + integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==, + } '@swc/core-darwin-arm64@1.4.16': - resolution: {integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==, + } + engines: { node: '>=10' } cpu: [arm64] os: [darwin] '@swc/core-darwin-x64@1.4.16': - resolution: {integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==, + } + engines: { node: '>=10' } cpu: [x64] os: [darwin] '@swc/core-linux-arm-gnueabihf@1.4.16': - resolution: {integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==, + } + engines: { node: '>=10' } cpu: [arm] os: [linux] '@swc/core-linux-arm64-gnu@1.4.16': - resolution: {integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==, + } + engines: { node: '>=10' } cpu: [arm64] os: [linux] libc: [glibc] '@swc/core-linux-arm64-musl@1.4.16': - resolution: {integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==, + } + engines: { node: '>=10' } cpu: [arm64] os: [linux] libc: [musl] '@swc/core-linux-x64-gnu@1.4.16': - resolution: {integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==, + } + engines: { node: '>=10' } cpu: [x64] os: [linux] libc: [glibc] '@swc/core-linux-x64-musl@1.4.16': - resolution: {integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==, + } + engines: { node: '>=10' } cpu: [x64] os: [linux] libc: [musl] '@swc/core-win32-arm64-msvc@1.4.16': - resolution: {integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==, + } + engines: { node: '>=10' } cpu: [arm64] os: [win32] '@swc/core-win32-ia32-msvc@1.4.16': - resolution: {integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==, + } + engines: { node: '>=10' } cpu: [ia32] os: [win32] '@swc/core-win32-x64-msvc@1.4.16': - resolution: {integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==, + } + engines: { node: '>=10' } cpu: [x64] os: [win32] '@swc/core@1.4.16': - resolution: {integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==, + } + engines: { node: '>=10' } peerDependencies: '@swc/helpers': ^0.5.0 peerDependenciesMeta: @@ -742,204 +1091,366 @@ packages: optional: true '@swc/counter@0.1.3': - resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + resolution: + { + integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==, + } '@swc/jest@0.2.36': - resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} - engines: {npm: '>= 7.0.0'} + resolution: + { + integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==, + } + engines: { npm: '>= 7.0.0' } peerDependencies: '@swc/core': '*' '@swc/types@0.1.6': - resolution: {integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==} + resolution: + { + integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==, + } '@ts-morph/common@0.20.0': - resolution: {integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==} + resolution: + { + integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==, + } '@tsconfig/node10@1.0.8': - resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==} + resolution: + { + integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==, + } '@tsconfig/node12@1.0.9': - resolution: {integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==} + resolution: + { + integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==, + } '@tsconfig/node14@1.0.1': - resolution: {integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==} + resolution: + { + integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==, + } '@tsconfig/node16@1.0.2': - resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} + resolution: + { + integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==, + } '@types/babel__core@7.20.5': - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} + resolution: + { + integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==, + } '@types/babel__generator@7.6.8': - resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} + resolution: + { + integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==, + } '@types/babel__template@7.4.4': - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} + resolution: + { + integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==, + } '@types/babel__traverse@7.20.4': - resolution: {integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==} + resolution: + { + integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==, + } '@types/body-parser@1.19.6': - resolution: {integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==} + resolution: + { + integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==, + } '@types/connect@3.4.38': - resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} + resolution: + { + integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==, + } '@types/cookie-parser@1.4.10': - resolution: {integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==} + resolution: + { + integrity: sha512-B4xqkqfZ8Wek+rCOeRxsjMS9OgvzebEzzLYw7NHYuvzb7IdxOkI0ZHGgeEBX4PUM7QGVvNSK60T3OvWj3YfBRg==, + } peerDependencies: '@types/express': '*' '@types/cors@2.8.19': - resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==} + resolution: + { + integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==, + } '@types/estree@1.0.8': - resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} + resolution: + { + integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==, + } '@types/express-serve-static-core@5.0.7': - resolution: {integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==} + resolution: + { + integrity: sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ==, + } '@types/express@5.0.3': - resolution: {integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==} + resolution: + { + integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==, + } '@types/graceful-fs@4.1.9': - resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} + resolution: + { + integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==, + } '@types/http-errors@2.0.5': - resolution: {integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==} + resolution: + { + integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==, + } '@types/istanbul-lib-coverage@2.0.6': - resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} + resolution: + { + integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==, + } '@types/istanbul-lib-report@3.0.3': - resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} + resolution: + { + integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==, + } '@types/istanbul-reports@3.0.4': - resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} + resolution: + { + integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==, + } '@types/jest@29.5.11': - resolution: {integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==} + resolution: + { + integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==, + } '@types/json-schema@7.0.15': - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + resolution: + { + integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==, + } '@types/mime@1.3.5': - resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} + resolution: + { + integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==, + } '@types/mute-stream@0.0.4': - resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} + resolution: + { + integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==, + } '@types/node@20.19.11': - resolution: {integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==} + resolution: + { + integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==, + } '@types/node@22.19.1': - resolution: {integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==} + resolution: + { + integrity: sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==, + } '@types/qs@6.14.0': - resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==} + resolution: + { + integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==, + } '@types/range-parser@1.2.7': - resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} + resolution: + { + integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==, + } '@types/send@0.17.5': - resolution: {integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==} + resolution: + { + integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==, + } '@types/serve-static@1.15.8': - resolution: {integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==} + resolution: + { + integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==, + } '@types/stack-utils@2.0.3': - resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} + resolution: + { + integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==, + } '@types/wrap-ansi@3.0.0': - resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} + resolution: + { + integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==, + } '@types/yargs-parser@21.0.3': - resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} + resolution: + { + integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==, + } '@types/yargs@17.0.32': - resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} + resolution: + { + integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==, + } '@typescript-eslint/eslint-plugin@8.31.1': - resolution: {integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/parser@8.31.1': - resolution: {integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/scope-manager@8.31.1': - resolution: {integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@typescript-eslint/type-utils@8.31.1': - resolution: {integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/types@8.31.1': - resolution: {integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@typescript-eslint/typescript-estree@8.31.1': - resolution: {integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/utils@8.31.1': - resolution: {integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/visitor-keys@8.31.1': - resolution: {integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } '@valtown/deno-http-worker@0.0.21': - resolution: {integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==} - engines: {node: 20 || 22 || 24} + resolution: + { + integrity: sha512-16kFuUykann75lNytnXXIQlmpzreZjzdyT27ebT3yNGCS3kKaS1iZYWHc3Si9An54Cphwr4qEcviChQkEeJBlA==, + } + engines: { node: 20 || 22 || 24 } accepts@2.0.0: - resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==, + } + engines: { node: '>= 0.6' } acorn-jsx@5.3.2: - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + resolution: + { + integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==, + } peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 acorn-walk@8.2.0: - resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} - engines: {node: '>=0.4.0'} + resolution: + { + integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==, + } + engines: { node: '>=0.4.0' } acorn@8.14.0: - resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} - engines: {node: '>=0.4.0'} + resolution: + { + integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==, + } + engines: { node: '>=0.4.0' } hasBin: true acorn@8.15.0: - resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} - engines: {node: '>=0.4.0'} + resolution: + { + integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==, + } + engines: { node: '>=0.4.0' } hasBin: true aggregate-error@3.1.0: - resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==, + } + engines: { node: '>=8' } ajv-formats@3.0.1: - resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} + resolution: + { + integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==, + } peerDependencies: ajv: ^8.0.0 peerDependenciesMeta: @@ -947,262 +1458,466 @@ packages: optional: true ajv@6.12.6: - resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + resolution: + { + integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==, + } ajv@8.18.0: - resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==} + resolution: + { + integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==, + } ansi-escapes@4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==, + } + engines: { node: '>=8' } ansi-escapes@7.0.0: - resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==, + } + engines: { node: '>=18' } ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==, + } + engines: { node: '>=8' } ansi-regex@6.1.0: - resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==, + } + engines: { node: '>=12' } ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, + } + engines: { node: '>=8' } ansi-styles@5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==, + } + engines: { node: '>=10' } any-promise@1.3.0: - resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + resolution: + { + integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==, + } anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==, + } + engines: { node: '>= 8' } arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} + resolution: + { + integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==, + } argparse@1.0.10: - resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + resolution: + { + integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==, + } argparse@2.0.1: - resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + resolution: + { + integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==, + } atomic-sleep@1.0.0: - resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} - engines: {node: '>=8.0.0'} + resolution: + { + integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==, + } + engines: { node: '>=8.0.0' } babel-jest@29.7.0: - resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: '@babel/core': ^7.8.0 babel-plugin-istanbul@6.1.1: - resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==, + } + engines: { node: '>=8' } babel-plugin-jest-hoist@29.6.3: - resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } babel-preset-current-node-syntax@1.2.0: - resolution: {integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==} + resolution: + { + integrity: sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==, + } peerDependencies: '@babel/core': ^7.0.0 || ^8.0.0-0 babel-preset-jest@29.6.3: - resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: '@babel/core': ^7.0.0 balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + resolution: + { + integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==, + } baseline-browser-mapping@2.9.14: - resolution: {integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==} + resolution: + { + integrity: sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==, + } hasBin: true body-parser@2.2.2: - resolution: {integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==, + } + engines: { node: '>=18' } brace-expansion@2.0.2: - resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} + resolution: + { + integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==, + } braces@3.0.3: - resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==, + } + engines: { node: '>=8' } browserslist@4.28.1: - resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + resolution: + { + integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==, + } + engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 } hasBin: true bs-logger@0.2.6: - resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==, + } + engines: { node: '>= 6' } bser@2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} + resolution: + { + integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==, + } buffer-from@1.1.2: - resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + resolution: + { + integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==, + } bytes@3.1.2: - resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==, + } + engines: { node: '>= 0.8' } call-bind-apply-helpers@1.0.2: - resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==, + } + engines: { node: '>= 0.4' } call-bound@1.0.4: - resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==, + } + engines: { node: '>= 0.4' } callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==, + } + engines: { node: '>=6' } camelcase@5.3.1: - resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==, + } + engines: { node: '>=6' } camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==, + } + engines: { node: '>=10' } caniuse-lite@1.0.30001764: - resolution: {integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==} + resolution: + { + integrity: sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==, + } chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==, + } + engines: { node: '>=10' } chalk@5.3.0: - resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} - engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + resolution: + { + integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==, + } + engines: { node: ^12.17.0 || ^14.13 || >=16.0.0 } char-regex@1.0.2: - resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==, + } + engines: { node: '>=10' } chardet@0.7.0: - resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + resolution: + { + integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==, + } ci-info@3.9.0: - resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==, + } + engines: { node: '>=8' } cjs-module-lexer@1.4.1: - resolution: {integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==} + resolution: + { + integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==, + } clean-stack@2.2.0: - resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==, + } + engines: { node: '>=6' } cli-highlight@2.1.11: - resolution: {integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==} - engines: {node: '>=8.0.0', npm: '>=5.0.0'} + resolution: + { + integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==, + } + engines: { node: '>=8.0.0', npm: '>=5.0.0' } hasBin: true cli-table3@0.6.5: - resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} - engines: {node: 10.* || >= 12.*} + resolution: + { + integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==, + } + engines: { node: 10.* || >= 12.* } cli-width@4.1.0: - resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==, + } + engines: { node: '>= 12' } cliui@7.0.4: - resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + resolution: + { + integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==, + } cliui@8.0.1: - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==, + } + engines: { node: '>=12' } co@4.6.0: - resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} - engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} + resolution: + { + integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==, + } + engines: { iojs: '>= 1.0.0', node: '>= 0.12.0' } code-block-writer@12.0.0: - resolution: {integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==} + resolution: + { + integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==, + } collect-v8-coverage@1.0.2: - resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} + resolution: + { + integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==, + } color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} + resolution: + { + integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==, + } + engines: { node: '>=7.0.0' } color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + resolution: + { + integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, + } colorette@2.0.20: - resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + resolution: + { + integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==, + } commander@10.0.1: - resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} - engines: {node: '>=14'} + resolution: + { + integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==, + } + engines: { node: '>=14' } commander@13.1.0: - resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==, + } + engines: { node: '>=18' } content-disposition@1.0.0: - resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==, + } + engines: { node: '>= 0.6' } content-type@1.0.5: - resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==, + } + engines: { node: '>= 0.6' } convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + resolution: + { + integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==, + } cookie-parser@1.4.7: - resolution: {integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==, + } + engines: { node: '>= 0.8.0' } cookie-signature@1.0.6: - resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} + resolution: + { + integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==, + } cookie-signature@1.2.2: - resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==} - engines: {node: '>=6.6.0'} + resolution: + { + integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==, + } + engines: { node: '>=6.6.0' } cookie@0.7.2: - resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==, + } + engines: { node: '>= 0.6' } cors@2.8.5: - resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==, + } + engines: { node: '>= 0.10' } create-jest@29.7.0: - resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } hasBin: true create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} + resolution: + { + integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==, + } cross-spawn@7.0.6: - resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==, + } + engines: { node: '>= 8' } dateformat@4.6.3: - resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==} + resolution: + { + integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==, + } debug@4.4.1: - resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} - engines: {node: '>=6.0'} + resolution: + { + integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==, + } + engines: { node: '>=6.0' } peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1210,8 +1925,11 @@ packages: optional: true debug@4.4.3: - resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} - engines: {node: '>=6.0'} + resolution: + { + integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==, + } + engines: { node: '>=6.0' } peerDependencies: supports-color: '*' peerDependenciesMeta: @@ -1219,7 +1937,10 @@ packages: optional: true dedent@1.5.1: - resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==} + resolution: + { + integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==, + } peerDependencies: babel-plugin-macros: ^3.1.0 peerDependenciesMeta: @@ -1227,96 +1948,171 @@ packages: optional: true deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + resolution: + { + integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==, + } deepmerge@4.3.1: - resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==, + } + engines: { node: '>=0.10.0' } depd@2.0.0: - resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==, + } + engines: { node: '>= 0.8' } detect-newline@3.1.0: - resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==, + } + engines: { node: '>=8' } diff-sequences@29.6.3: - resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} + resolution: + { + integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==, + } + engines: { node: '>=0.3.1' } dunder-proto@1.0.1: - resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==, + } + engines: { node: '>= 0.4' } ee-first@1.1.1: - resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + resolution: + { + integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==, + } electron-to-chromium@1.5.267: - resolution: {integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==} + resolution: + { + integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==, + } emittery@0.13.1: - resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==, + } + engines: { node: '>=12' } emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + resolution: + { + integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==, + } emojilib@2.4.0: - resolution: {integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==} + resolution: + { + integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==, + } encodeurl@2.0.0: - resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==, + } + engines: { node: '>= 0.8' } end-of-stream@1.4.5: - resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} + resolution: + { + integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==, + } environment@1.1.0: - resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==, + } + engines: { node: '>=18' } error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + resolution: + { + integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==, + } es-define-property@1.0.1: - resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==, + } + engines: { node: '>= 0.4' } es-errors@1.3.0: - resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==, + } + engines: { node: '>= 0.4' } es-object-atoms@1.1.1: - resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==, + } + engines: { node: '>= 0.4' } escalade@3.1.1: - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==, + } + engines: { node: '>=6' } escalade@3.2.0: - resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==, + } + engines: { node: '>=6' } escape-html@1.0.3: - resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} + resolution: + { + integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==, + } escape-string-regexp@2.0.0: - resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==, + } + engines: { node: '>=8' } escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==, + } + engines: { node: '>=10' } eslint-plugin-prettier@5.4.1: - resolution: {integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==} - engines: {node: ^14.18.0 || >=16.0.0} + resolution: + { + integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==, + } + engines: { node: ^14.18.0 || >=16.0.0 } peerDependencies: '@types/eslint': '>=8.0.0' eslint: '>=8.0.0' @@ -1329,7 +2125,10 @@ packages: optional: true eslint-plugin-unused-imports@4.1.4: - resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} + resolution: + { + integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==, + } peerDependencies: '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0 eslint: ^9.0.0 || ^8.0.0 @@ -1338,24 +2137,39 @@ packages: optional: true eslint-scope@8.4.0: - resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } eslint-visitor-keys@3.4.3: - resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + resolution: + { + integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==, + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } eslint-visitor-keys@4.2.0: - resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } eslint-visitor-keys@4.2.1: - resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } eslint@9.39.1: - resolution: {integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } hasBin: true peerDependencies: jiti: '*' @@ -1364,392 +2178,695 @@ packages: optional: true espree@10.4.0: - resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } esprima@4.0.1: - resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==, + } + engines: { node: '>=4' } hasBin: true esquery@1.6.0: - resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} - engines: {node: '>=0.10'} + resolution: + { + integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==, + } + engines: { node: '>=0.10' } esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} + resolution: + { + integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==, + } + engines: { node: '>=4.0' } estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} + resolution: + { + integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==, + } + engines: { node: '>=4.0' } esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==, + } + engines: { node: '>=0.10.0' } etag@1.8.1: - resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==, + } + engines: { node: '>= 0.6' } eventsource-parser@3.0.6: - resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==} - engines: {node: '>=18.0.0'} + resolution: + { + integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==, + } + engines: { node: '>=18.0.0' } eventsource@3.0.7: - resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==} - engines: {node: '>=18.0.0'} + resolution: + { + integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==, + } + engines: { node: '>=18.0.0' } execa@5.1.1: - resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, + } + engines: { node: '>=10' } exit@0.1.2: - resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==, + } + engines: { node: '>= 0.8.0' } expect@29.7.0: - resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } express-rate-limit@8.3.1: - resolution: {integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==} - engines: {node: '>= 16'} + resolution: + { + integrity: sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==, + } + engines: { node: '>= 16' } peerDependencies: express: '>= 4.11' express@5.2.1: - resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==, + } + engines: { node: '>= 18' } external-editor@3.1.0: - resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==, + } + engines: { node: '>=4' } fast-copy@4.0.2: - resolution: {integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==} + resolution: + { + integrity: sha512-ybA6PDXIXOXivLJK/z9e+Otk7ve13I4ckBvGO5I2RRmBU1gMHLVDJYEuJYhGwez7YNlYji2M2DvVU+a9mSFDlw==, + } fast-deep-equal@3.1.3: - resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + resolution: + { + integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==, + } fast-diff@1.3.0: - resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + resolution: + { + integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==, + } fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} + resolution: + { + integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==, + } + engines: { node: '>=8.6.0' } fast-json-stable-stringify@2.1.0: - resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + resolution: + { + integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==, + } fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + resolution: + { + integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==, + } fast-safe-stringify@2.1.1: - resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} + resolution: + { + integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==, + } fast-uri@3.1.0: - resolution: {integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==} + resolution: + { + integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==, + } fastq@1.17.1: - resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + resolution: + { + integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==, + } fb-watchman@2.0.2: - resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + resolution: + { + integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==, + } fflate@0.8.2: - resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + resolution: + { + integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==, + } file-entry-cache@8.0.0: - resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} - engines: {node: '>=16.0.0'} + resolution: + { + integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==, + } + engines: { node: '>=16.0.0' } fill-range@7.1.1: - resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==, + } + engines: { node: '>=8' } finalhandler@2.1.0: - resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==, + } + engines: { node: '>= 0.8' } find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==, + } + engines: { node: '>=8' } find-up@5.0.0: - resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==, + } + engines: { node: '>=10' } flat-cache@4.0.1: - resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} - engines: {node: '>=16'} + resolution: + { + integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==, + } + engines: { node: '>=16' } flatted@3.3.3: - resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} + resolution: + { + integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==, + } flora-colossus@2.0.0: - resolution: {integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==, + } + engines: { node: '>= 12' } forwarded@0.2.0: - resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==, + } + engines: { node: '>= 0.6' } fresh@2.0.0: - resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==, + } + engines: { node: '>= 0.8' } fs-extra@10.1.0: - resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==, + } + engines: { node: '>=12' } fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + resolution: + { + integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==, + } fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + resolution: + { + integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==, + } + engines: { node: ^8.16.0 || ^10.6.0 || >=11.0.0 } os: [darwin] function-bind@1.1.2: - resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + resolution: + { + integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==, + } fuse.js@7.1.0: - resolution: {integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-trLf4SzuuUxfusZADLINj+dE8clK1frKdmqiJNb1Es75fmI5oY6X2mxLVUciLLjxqw/xr72Dhy+lER6dGd02FQ==, + } + engines: { node: '>=10' } galactus@1.0.0: - resolution: {integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==, + } + engines: { node: '>= 12' } gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} + resolution: + { + integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==, + } + engines: { node: '>=6.9.0' } get-caller-file@2.0.5: - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} - engines: {node: 6.* || 8.* || >= 10.*} + resolution: + { + integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==, + } + engines: { node: 6.* || 8.* || >= 10.* } get-intrinsic@1.3.0: - resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==, + } + engines: { node: '>= 0.4' } get-package-type@0.1.0: - resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} - engines: {node: '>=8.0.0'} + resolution: + { + integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==, + } + engines: { node: '>=8.0.0' } get-proto@1.0.1: - resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==, + } + engines: { node: '>= 0.4' } get-stdin@8.0.0: - resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==, + } + engines: { node: '>=10' } get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==, + } + engines: { node: '>=10' } glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==, + } + engines: { node: '>= 6' } glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} + resolution: + { + integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==, + } + engines: { node: '>=10.13.0' } glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + resolution: + { + integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==, + } deprecated: Glob versions prior to v9 are no longer supported glob@8.1.0: - resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==, + } + engines: { node: '>=12' } deprecated: Glob versions prior to v9 are no longer supported globals@14.0.0: - resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==, + } + engines: { node: '>=18' } gopd@1.2.0: - resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==, + } + engines: { node: '>= 0.4' } graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + resolution: + { + integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==, + } graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + resolution: + { + integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==, + } handlebars@4.7.8: - resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} - engines: {node: '>=0.4.7'} + resolution: + { + integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==, + } + engines: { node: '>=0.4.7' } hasBin: true has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==, + } + engines: { node: '>=8' } has-symbols@1.1.0: - resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==, + } + engines: { node: '>= 0.4' } hasown@2.0.0: - resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==, + } + engines: { node: '>= 0.4' } hasown@2.0.2: - resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==, + } + engines: { node: '>= 0.4' } help-me@5.0.0: - resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==} + resolution: + { + integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==, + } highlight.js@10.7.3: - resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} + resolution: + { + integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==, + } hono@4.12.5: - resolution: {integrity: sha512-3qq+FUBtlTHhtYxbxheZgY8NIFnkkC/MR8u5TTsr7YZ3wixryQ3cCwn3iZbg8p8B88iDBBAYSfZDS75t8MN7Vg==} - engines: {node: '>=16.9.0'} + resolution: + { + integrity: sha512-3qq+FUBtlTHhtYxbxheZgY8NIFnkkC/MR8u5TTsr7YZ3wixryQ3cCwn3iZbg8p8B88iDBBAYSfZDS75t8MN7Vg==, + } + engines: { node: '>=16.9.0' } html-escaper@2.0.2: - resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} + resolution: + { + integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==, + } http-errors@2.0.0: - resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==, + } + engines: { node: '>= 0.8' } human-signals@2.1.0: - resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} - engines: {node: '>=10.17.0'} + resolution: + { + integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==, + } + engines: { node: '>=10.17.0' } iconv-lite@0.4.24: - resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==, + } + engines: { node: '>=0.10.0' } iconv-lite@0.6.3: - resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==, + } + engines: { node: '>=0.10.0' } iconv-lite@0.7.0: - resolution: {integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==, + } + engines: { node: '>=0.10.0' } ignore-walk@5.0.1: - resolution: {integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } ignore@5.3.2: - resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} - engines: {node: '>= 4'} + resolution: + { + integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==, + } + engines: { node: '>= 4' } ignore@7.0.5: - resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==} - engines: {node: '>= 4'} + resolution: + { + integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==, + } + engines: { node: '>= 4' } import-fresh@3.3.1: - resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==, + } + engines: { node: '>=6' } import-local@3.1.0: - resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==, + } + engines: { node: '>=8' } hasBin: true imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} + resolution: + { + integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==, + } + engines: { node: '>=0.8.19' } indent-string@4.0.0: - resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==, + } + engines: { node: '>=8' } inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + resolution: + { + integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==, + } deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + resolution: + { + integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==, + } ip-address@10.1.0: - resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==} - engines: {node: '>= 12'} + resolution: + { + integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==, + } + engines: { node: '>= 12' } ipaddr.js@1.9.1: - resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==, + } + engines: { node: '>= 0.10' } is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + resolution: + { + integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==, + } is-core-module@2.13.1: - resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + resolution: + { + integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==, + } is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==, + } + engines: { node: '>=0.10.0' } is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==, + } + engines: { node: '>=8' } is-generator-fn@2.1.0: - resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==, + } + engines: { node: '>=6' } is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==, + } + engines: { node: '>=0.10.0' } is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} + resolution: + { + integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==, + } + engines: { node: '>=0.12.0' } is-promise@4.0.0: - resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==} + resolution: + { + integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==, + } is-stream@2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==, + } + engines: { node: '>=8' } isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + resolution: + { + integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==, + } istanbul-lib-coverage@3.2.2: - resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==, + } + engines: { node: '>=8' } istanbul-lib-instrument@5.2.1: - resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==, + } + engines: { node: '>=8' } istanbul-lib-instrument@6.0.3: - resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==, + } + engines: { node: '>=10' } istanbul-lib-report@3.0.1: - resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==, + } + engines: { node: '>=10' } istanbul-lib-source-maps@4.0.1: - resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==, + } + engines: { node: '>=10' } istanbul-reports@3.1.6: - resolution: {integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==, + } + engines: { node: '>=8' } jest-changed-files@29.7.0: - resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-circus@29.7.0: - resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-cli@29.7.0: - resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -1758,8 +2875,11 @@ packages: optional: true jest-config@29.7.0: - resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } peerDependencies: '@types/node': '*' ts-node: '>=9.0.0' @@ -1770,48 +2890,81 @@ packages: optional: true jest-diff@29.7.0: - resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-docblock@29.7.0: - resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-each@29.7.0: - resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-environment-node@29.7.0: - resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-get-type@29.6.3: - resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-haste-map@29.7.0: - resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-leak-detector@29.7.0: - resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-matcher-utils@29.7.0: - resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-message-util@29.7.0: - resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-mock@29.7.0: - resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-pnp-resolver@1.2.3: - resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==, + } + engines: { node: '>=6' } peerDependencies: jest-resolve: '*' peerDependenciesMeta: @@ -1819,48 +2972,81 @@ packages: optional: true jest-regex-util@29.6.3: - resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-resolve-dependencies@29.7.0: - resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-resolve@29.7.0: - resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-runner@29.7.0: - resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-runtime@29.7.0: - resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-snapshot@29.7.0: - resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-util@29.7.0: - resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-validate@29.7.0: - resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-watcher@29.7.0: - resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest-worker@29.7.0: - resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } jest@29.7.0: - resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -1869,695 +3055,1248 @@ packages: optional: true jose@6.1.3: - resolution: {integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==} + resolution: + { + integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==, + } joycon@3.1.1: - resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==, + } + engines: { node: '>=10' } jq-web@https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz: - resolution: {integrity: sha512-6nmDSHGJm8Cclf2oSuO9xQ7vt5x5bDiuTKX2rkyW1K7Uo2SHeI4ZvpgMITKy+8p3bbEnKovTPGoHhApa6v/PbA==, tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz} + resolution: + { + integrity: sha512-6nmDSHGJm8Cclf2oSuO9xQ7vt5x5bDiuTKX2rkyW1K7Uo2SHeI4ZvpgMITKy+8p3bbEnKovTPGoHhApa6v/PbA==, + tarball: https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz, + } version: 0.8.8 js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + resolution: + { + integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==, + } js-yaml@3.14.2: - resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} + resolution: + { + integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==, + } hasBin: true js-yaml@4.1.1: - resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==} + resolution: + { + integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==, + } hasBin: true jsesc@3.1.0: - resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==, + } + engines: { node: '>=6' } hasBin: true json-buffer@3.0.1: - resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + resolution: + { + integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==, + } json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + resolution: + { + integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==, + } json-schema-traverse@0.4.1: - resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + resolution: + { + integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==, + } json-schema-traverse@1.0.0: - resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + resolution: + { + integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==, + } json-schema-typed@8.0.2: - resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==} + resolution: + { + integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==, + } json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + resolution: + { + integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==, + } json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==, + } + engines: { node: '>=6' } hasBin: true jsonc-parser@3.2.1: - resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==} + resolution: + { + integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==, + } jsonfile@6.2.0: - resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==} + resolution: + { + integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==, + } keyv@4.5.4: - resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + resolution: + { + integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==, + } kleur@3.0.3: - resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==, + } + engines: { node: '>=6' } leven@3.1.0: - resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==, + } + engines: { node: '>=6' } levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==, + } + engines: { node: '>= 0.8.0' } lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + resolution: + { + integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==, + } locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==, + } + engines: { node: '>=8' } locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==, + } + engines: { node: '>=10' } lodash.memoize@4.1.2: - resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} + resolution: + { + integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==, + } lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + resolution: + { + integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==, + } lru-cache@10.4.3: - resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + resolution: + { + integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==, + } lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + resolution: + { + integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==, + } make-dir@4.0.0: - resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==, + } + engines: { node: '>=10' } make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + resolution: + { + integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==, + } makeerror@1.0.12: - resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} + resolution: + { + integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==, + } marked-terminal@7.2.1: - resolution: {integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==} - engines: {node: '>=16.0.0'} + resolution: + { + integrity: sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==, + } + engines: { node: '>=16.0.0' } peerDependencies: marked: '>=1 <15' marked@9.1.6: - resolution: {integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==} - engines: {node: '>= 16'} + resolution: + { + integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==, + } + engines: { node: '>= 16' } hasBin: true math-intrinsics@1.1.0: - resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==, + } + engines: { node: '>= 0.4' } media-typer@1.1.0: - resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==, + } + engines: { node: '>= 0.8' } merge-descriptors@2.0.0: - resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==, + } + engines: { node: '>=18' } merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + resolution: + { + integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==, + } merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==, + } + engines: { node: '>= 8' } micromatch@4.0.8: - resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} - engines: {node: '>=8.6'} + resolution: + { + integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==, + } + engines: { node: '>=8.6' } mime-db@1.54.0: - resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==, + } + engines: { node: '>= 0.6' } mime-types@3.0.1: - resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==, + } + engines: { node: '>= 0.6' } mimic-fn@2.1.0: - resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==, + } + engines: { node: '>=6' } minimatch@9.0.5: - resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} - engines: {node: '>=16 || 14 >=14.17'} + resolution: + { + integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==, + } + engines: { node: '>=16 || 14 >=14.17' } minimist@1.2.6: - resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} + resolution: + { + integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==, + } minisearch@7.2.0: - resolution: {integrity: sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg==} + resolution: + { + integrity: sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg==, + } mkdirp@2.1.6: - resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==, + } + engines: { node: '>=10' } hasBin: true mri@1.2.0: - resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==, + } + engines: { node: '>=4' } ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + resolution: + { + integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, + } mute-stream@1.0.0: - resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + resolution: + { + integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==, + } + engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } mz@2.7.0: - resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + resolution: + { + integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==, + } natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + resolution: + { + integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==, + } negotiator@1.0.0: - resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==, + } + engines: { node: '>= 0.6' } neo-async@2.6.2: - resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + resolution: + { + integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==, + } node-emoji@2.1.3: - resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==, + } + engines: { node: '>=18' } node-forge@1.3.2: - resolution: {integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==} - engines: {node: '>= 6.13.0'} + resolution: + { + integrity: sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==, + } + engines: { node: '>= 6.13.0' } node-int64@0.4.0: - resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} + resolution: + { + integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==, + } node-releases@2.0.27: - resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==} + resolution: + { + integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==, + } normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==, + } + engines: { node: '>=0.10.0' } npm-bundled@2.0.1: - resolution: {integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } npm-normalize-package-bin@2.0.0: - resolution: {integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } npm-packlist@5.1.3: - resolution: {integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } hasBin: true npm-run-path@4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==, + } + engines: { node: '>=8' } object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==, + } + engines: { node: '>=0.10.0' } object-inspect@1.13.4: - resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==, + } + engines: { node: '>= 0.4' } on-exit-leak-free@2.1.2: - resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} - engines: {node: '>=14.0.0'} + resolution: + { + integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==, + } + engines: { node: '>=14.0.0' } on-finished@2.4.1: - resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==, + } + engines: { node: '>= 0.8' } once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + resolution: + { + integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==, + } onetime@5.1.2: - resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==, + } + engines: { node: '>=6' } optionator@0.9.4: - resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==, + } + engines: { node: '>= 0.8.0' } os-tmpdir@1.0.2: - resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==, + } + engines: { node: '>=0.10.0' } p-all@3.0.0: - resolution: {integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-qUZbvbBFVXm6uJ7U/WDiO0fv6waBMbjlCm4E66oZdRR+egswICarIdHyVSZZHudH8T5SF8x/JG0q0duFzPnlBw==, + } + engines: { node: '>=10' } p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==, + } + engines: { node: '>=6' } p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==, + } + engines: { node: '>=10' } p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==, + } + engines: { node: '>=8' } p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==, + } + engines: { node: '>=10' } p-map@4.0.0: - resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==, + } + engines: { node: '>=10' } p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==, + } + engines: { node: '>=6' } parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==, + } + engines: { node: '>=6' } parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==, + } + engines: { node: '>=8' } parse5-htmlparser2-tree-adapter@6.0.1: - resolution: {integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==} + resolution: + { + integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==, + } parse5@5.1.1: - resolution: {integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==} + resolution: + { + integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==, + } parse5@6.0.1: - resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} + resolution: + { + integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==, + } parseurl@1.3.3: - resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==, + } + engines: { node: '>= 0.8' } path-browserify@1.0.1: - resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + resolution: + { + integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==, + } path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==, + } + engines: { node: '>=8' } path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==, + } + engines: { node: '>=0.10.0' } path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==, + } + engines: { node: '>=8' } path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + resolution: + { + integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==, + } path-to-regexp@8.3.0: - resolution: {integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==} + resolution: + { + integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==, + } picocolors@1.1.1: - resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + resolution: + { + integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==, + } picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} + resolution: + { + integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==, + } + engines: { node: '>=8.6' } pino-abstract-transport@3.0.0: - resolution: {integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==} + resolution: + { + integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==, + } pino-http@11.0.0: - resolution: {integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==} + resolution: + { + integrity: sha512-wqg5XIAGRRIWtTk8qPGxkbrfiwEWz1lgedVLvhLALudKXvg1/L2lTFgTGPJ4Z2e3qcRmxoFxDuSdMdMGNM6I1g==, + } pino-pretty@13.1.3: - resolution: {integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==} + resolution: + { + integrity: sha512-ttXRkkOz6WWC95KeY9+xxWL6AtImwbyMHrL1mSwqwW9u+vLp/WIElvHvCSDg0xO/Dzrggz1zv3rN5ovTRVowKg==, + } hasBin: true pino-std-serializers@7.1.0: - resolution: {integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==} + resolution: + { + integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==, + } pino@10.3.1: - resolution: {integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==} + resolution: + { + integrity: sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg==, + } hasBin: true pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==, + } + engines: { node: '>= 6' } pkce-challenge@5.0.0: - resolution: {integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==} - engines: {node: '>=16.20.0'} + resolution: + { + integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==, + } + engines: { node: '>=16.20.0' } pkg-dir@4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==, + } + engines: { node: '>=8' } prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==, + } + engines: { node: '>= 0.8.0' } prettier-linter-helpers@1.0.0: - resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} - engines: {node: '>=6.0.0'} + resolution: + { + integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==, + } + engines: { node: '>=6.0.0' } prettier@3.1.1: - resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} - engines: {node: '>=14'} + resolution: + { + integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==, + } + engines: { node: '>=14' } hasBin: true pretty-bytes@5.6.0: - resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==, + } + engines: { node: '>=6' } pretty-format@29.7.0: - resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + resolution: + { + integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==, + } + engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } process-warning@5.0.0: - resolution: {integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==} + resolution: + { + integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==, + } prompts@2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==, + } + engines: { node: '>= 6' } proxy-addr@2.0.7: - resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==, + } + engines: { node: '>= 0.10' } publint@0.2.12: - resolution: {integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==} - engines: {node: '>=16'} + resolution: + { + integrity: sha512-YNeUtCVeM4j9nDiTT2OPczmlyzOkIXNtdDZnSuajAxS/nZ6j3t7Vs9SUB4euQNddiltIwu7Tdd3s+hr08fAsMw==, + } + engines: { node: '>=16' } hasBin: true pump@3.0.4: - resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} + resolution: + { + integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==, + } punycode@2.3.1: - resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==, + } + engines: { node: '>=6' } pure-rand@6.0.4: - resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==} + resolution: + { + integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==, + } qs@6.14.1: - resolution: {integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==} - engines: {node: '>=0.6'} + resolution: + { + integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==, + } + engines: { node: '>=0.6' } queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + resolution: + { + integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==, + } quick-format-unescaped@4.0.4: - resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} + resolution: + { + integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==, + } range-parser@1.2.1: - resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==, + } + engines: { node: '>= 0.6' } raw-body@3.0.1: - resolution: {integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==} - engines: {node: '>= 0.10'} + resolution: + { + integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==, + } + engines: { node: '>= 0.10' } react-is@18.2.0: - resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} + resolution: + { + integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==, + } readable-stream@3.6.2: - resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} - engines: {node: '>= 6'} + resolution: + { + integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==, + } + engines: { node: '>= 6' } real-require@0.2.0: - resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} - engines: {node: '>= 12.13.0'} + resolution: + { + integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==, + } + engines: { node: '>= 12.13.0' } require-directory@2.1.1: - resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==, + } + engines: { node: '>=0.10.0' } require-from-string@2.0.2: - resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==, + } + engines: { node: '>=0.10.0' } resolve-cwd@3.0.0: - resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==, + } + engines: { node: '>=8' } resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==, + } + engines: { node: '>=4' } resolve-from@5.0.0: - resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==, + } + engines: { node: '>=8' } resolve.exports@2.0.2: - resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==, + } + engines: { node: '>=10' } resolve@1.22.8: - resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} + resolution: + { + integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==, + } hasBin: true reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + resolution: + { + integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==, + } + engines: { iojs: '>=1.0.0', node: '>=0.10.0' } router@2.2.0: - resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==, + } + engines: { node: '>= 18' } run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + resolution: + { + integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==, + } sade@1.8.1: - resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==, + } + engines: { node: '>=6' } safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + resolution: + { + integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==, + } safe-stable-stringify@2.5.0: - resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==, + } + engines: { node: '>=10' } safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + resolution: + { + integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==, + } secure-json-parse@4.1.0: - resolution: {integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==} + resolution: + { + integrity: sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==, + } semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + resolution: + { + integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==, + } hasBin: true semver@7.7.1: - resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==, + } + engines: { node: '>=10' } hasBin: true semver@7.7.3: - resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==, + } + engines: { node: '>=10' } hasBin: true send@1.2.0: - resolution: {integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==, + } + engines: { node: '>= 18' } serve-static@2.2.0: - resolution: {integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==} - engines: {node: '>= 18'} + resolution: + { + integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==, + } + engines: { node: '>= 18' } setprototypeof@1.2.0: - resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} + resolution: + { + integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==, + } shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==, + } + engines: { node: '>=8' } shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==, + } + engines: { node: '>=8' } side-channel-list@1.0.0: - resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==, + } + engines: { node: '>= 0.4' } side-channel-map@1.0.1: - resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==, + } + engines: { node: '>= 0.4' } side-channel-weakmap@1.0.2: - resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==, + } + engines: { node: '>= 0.4' } side-channel@1.1.0: - resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==, + } + engines: { node: '>= 0.4' } signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + resolution: + { + integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==, + } signal-exit@4.1.0: - resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} - engines: {node: '>=14'} + resolution: + { + integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==, + } + engines: { node: '>=14' } sisteransi@1.0.5: - resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + resolution: + { + integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==, + } skin-tone@2.0.0: - resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==, + } + engines: { node: '>=8' } slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==, + } + engines: { node: '>=8' } sonic-boom@4.2.1: - resolution: {integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==} + resolution: + { + integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==, + } source-map-support@0.5.13: - resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} + resolution: + { + integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==, + } source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==, + } + engines: { node: '>=0.10.0' } split2@4.2.0: - resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} - engines: {node: '>= 10.x'} + resolution: + { + integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==, + } + engines: { node: '>= 10.x' } sprintf-js@1.0.3: - resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + resolution: + { + integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==, + } stack-utils@2.0.6: - resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==, + } + engines: { node: '>=10' } statuses@2.0.1: - resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==, + } + engines: { node: '>= 0.8' } statuses@2.0.2: - resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==, + } + engines: { node: '>= 0.8' } string-length@4.0.2: - resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==, + } + engines: { node: '>=10' } string-to-stream@3.0.1: - resolution: {integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==} + resolution: + { + integrity: sha512-Hl092MV3USJuUCC6mfl9sPzGloA3K5VwdIeJjYIkXY/8K+mUvaeEabWJgArp+xXrsWxCajeT2pc4axbVhIZJyg==, + } string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==, + } + engines: { node: '>=8' } string_decoder@1.3.0: - resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + resolution: + { + integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==, + } strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==, + } + engines: { node: '>=8' } strip-bom@3.0.0: - resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==, + } + engines: { node: '>=4' } strip-bom@4.0.0: - resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==, + } + engines: { node: '>=8' } strip-final-newline@2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==, + } + engines: { node: '>=6' } strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==, + } + engines: { node: '>=8' } strip-json-comments@5.0.3: - resolution: {integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==} - engines: {node: '>=14.16'} + resolution: + { + integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==, + } + engines: { node: '>=14.16' } superstruct@1.0.4: - resolution: {integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==} - engines: {node: '>=14.0.0'} + resolution: + { + integrity: sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==, + } + engines: { node: '>=14.0.0' } supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==, + } + engines: { node: '>=8' } supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==, + } + engines: { node: '>=10' } supports-hyperlinks@3.1.0: - resolution: {integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==} - engines: {node: '>=14.18'} + resolution: + { + integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==, + } + engines: { node: '>=14.18' } supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} + resolution: + { + integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==, + } + engines: { node: '>= 0.4' } synckit@0.11.8: - resolution: {integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==} - engines: {node: ^14.18.0 || >=16.0.0} + resolution: + { + integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==, + } + engines: { node: ^14.18.0 || >=16.0.0 } test-exclude@6.0.0: - resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==, + } + engines: { node: '>=8' } thenify-all@1.6.0: - resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} - engines: {node: '>=0.8'} + resolution: + { + integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==, + } + engines: { node: '>=0.8' } thenify@3.3.1: - resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + resolution: + { + integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==, + } thread-stream@4.0.0: - resolution: {integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==} - engines: {node: '>=20'} + resolution: + { + integrity: sha512-4iMVL6HAINXWf1ZKZjIPcz5wYaOdPhtO8ATvZ+Xqp3BTdaqtAwQkNmKORqcIo5YkQqGXq5cwfswDwMqqQNrpJA==, + } + engines: { node: '>=20' } tmp@0.0.33: - resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} - engines: {node: '>=0.6.0'} + resolution: + { + integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==, + } + engines: { node: '>=0.6.0' } tmpl@1.0.5: - resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} + resolution: + { + integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==, + } to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} + resolution: + { + integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==, + } + engines: { node: '>=8.0' } toidentifier@1.0.1: - resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} - engines: {node: '>=0.6'} + resolution: + { + integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==, + } + engines: { node: '>=0.6' } ts-api-utils@2.0.1: - resolution: {integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==} - engines: {node: '>=18.12'} + resolution: + { + integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==, + } + engines: { node: '>=18.12' } peerDependencies: typescript: '>=4.8.4' ts-jest@29.4.6: - resolution: {integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==} - engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} + resolution: + { + integrity: sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==, + } + engines: { node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0 } hasBin: true peerDependencies: '@babel/core': '>=7.0.0-beta.0 <8' @@ -2583,10 +4322,16 @@ packages: optional: true ts-morph@19.0.0: - resolution: {integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==} + resolution: + { + integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==, + } ts-node@10.7.0: - resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} + resolution: + { + integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==, + } hasBin: true peerDependencies: '@swc/core': '>=1.2.50' @@ -2600,195 +4345,330 @@ packages: optional: true tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz: - resolution: {integrity: sha512-tWyCXnx0WqCkVlo5s+4KMj7HC0/0YrCZY0PustUwX9F2lNwd8Kp07q/Q56uGvV9q80XaSDrhy0YqBmrX5TDNpQ==, tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz} + resolution: + { + integrity: sha512-tWyCXnx0WqCkVlo5s+4KMj7HC0/0YrCZY0PustUwX9F2lNwd8Kp07q/Q56uGvV9q80XaSDrhy0YqBmrX5TDNpQ==, + tarball: https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz, + } version: 1.1.9 - engines: {node: '>=14'} + engines: { node: '>=14' } hasBin: true peerDependencies: typescript: '>=4.3.0' tsconfig-paths@4.2.0: - resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==, + } + engines: { node: '>=6' } tslib@2.8.1: - resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + resolution: + { + integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==, + } type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} + resolution: + { + integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==, + } + engines: { node: '>= 0.8.0' } type-detect@4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==, + } + engines: { node: '>=4' } type-fest@0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==, + } + engines: { node: '>=10' } type-fest@4.41.0: - resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} - engines: {node: '>=16'} + resolution: + { + integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==, + } + engines: { node: '>=16' } type-is@2.0.1: - resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==} - engines: {node: '>= 0.6'} + resolution: + { + integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==, + } + engines: { node: '>= 0.6' } typescript-eslint@8.31.1: - resolution: {integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + resolution: + { + integrity: sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==, + } + engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.9.0' typescript@5.6.1-rc: - resolution: {integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==} - engines: {node: '>=14.17'} + resolution: + { + integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==, + } + engines: { node: '>=14.17' } hasBin: true typescript@5.8.3: - resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} - engines: {node: '>=14.17'} + resolution: + { + integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==, + } + engines: { node: '>=14.17' } hasBin: true uglify-js@3.19.3: - resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} - engines: {node: '>=0.8.0'} + resolution: + { + integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==, + } + engines: { node: '>=0.8.0' } hasBin: true undici-types@6.21.0: - resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + resolution: + { + integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==, + } unicode-emoji-modifier-base@1.0.0: - resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} - engines: {node: '>=4'} + resolution: + { + integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==, + } + engines: { node: '>=4' } universalify@2.0.1: - resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} - engines: {node: '>= 10.0.0'} + resolution: + { + integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==, + } + engines: { node: '>= 10.0.0' } unpipe@1.0.0: - resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==, + } + engines: { node: '>= 0.8' } update-browserslist-db@1.2.3: - resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} + resolution: + { + integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==, + } hasBin: true peerDependencies: browserslist: '>= 4.21.0' uri-js@4.4.1: - resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + resolution: + { + integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==, + } util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + resolution: + { + integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==, + } v8-compile-cache-lib@3.0.0: - resolution: {integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==} + resolution: + { + integrity: sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA==, + } v8-to-istanbul@9.2.0: - resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} - engines: {node: '>=10.12.0'} + resolution: + { + integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==, + } + engines: { node: '>=10.12.0' } validate-npm-package-name@5.0.1: - resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + resolution: + { + integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==, + } + engines: { node: ^14.17.0 || ^16.13.0 || >=18.0.0 } vary@1.1.2: - resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} - engines: {node: '>= 0.8'} + resolution: + { + integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==, + } + engines: { node: '>= 0.8' } walker@1.0.8: - resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} + resolution: + { + integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==, + } which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} + resolution: + { + integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==, + } + engines: { node: '>= 8' } hasBin: true word-wrap@1.2.5: - resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} - engines: {node: '>=0.10.0'} + resolution: + { + integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==, + } + engines: { node: '>=0.10.0' } wordwrap@1.0.0: - resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} + resolution: + { + integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==, + } wrap-ansi@6.2.0: - resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} - engines: {node: '>=8'} + resolution: + { + integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==, + } + engines: { node: '>=8' } wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==, + } + engines: { node: '>=10' } wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + resolution: + { + integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==, + } write-file-atomic@4.0.2: - resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + resolution: + { + integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==, + } + engines: { node: ^12.13.0 || ^14.15.0 || >=16.0.0 } y18n@5.0.8: - resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==, + } + engines: { node: '>=10' } yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + resolution: + { + integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==, + } yargs-parser@20.2.9: - resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==, + } + engines: { node: '>=10' } yargs-parser@21.1.1: - resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==, + } + engines: { node: '>=12' } yargs@16.2.0: - resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==, + } + engines: { node: '>=10' } yargs@17.7.2: - resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} - engines: {node: '>=12'} + resolution: + { + integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==, + } + engines: { node: '>=12' } yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} + resolution: + { + integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==, + } + engines: { node: '>=6' } yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} + resolution: + { + integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==, + } + engines: { node: '>=10' } yoctocolors-cjs@2.1.3: - resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==} - engines: {node: '>=18'} + resolution: + { + integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==, + } + engines: { node: '>=18' } zod-to-json-schema@3.24.6: - resolution: {integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==} + resolution: + { + integrity: sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==, + } peerDependencies: zod: ^3.24.1 zod-to-json-schema@3.25.0: - resolution: {integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==} + resolution: + { + integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==, + } peerDependencies: zod: ^3.25 || ^4 zod-to-json-schema@3.25.1: - resolution: {integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==} + resolution: + { + integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==, + } peerDependencies: zod: ^3.25 || ^4 zod-validation-error@4.0.1: - resolution: {integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==} - engines: {node: '>=18.0.0'} + resolution: + { + integrity: sha512-F3rdaCOHs5ViJ5YTz5zzRtfkQdMdIeKudJAoxy7yB/2ZMEHw73lmCAcQw11r7++20MyGl4WV59EVh7A9rNAyog==, + } + engines: { node: '>=18.0.0' } peerDependencies: zod: ^3.25.0 || ^4.0.0 zod@3.25.76: - resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} + resolution: + { + integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==, + } snapshots: - '@andrewbranch/untar.js@1.0.3': {} '@anthropic-ai/mcpb@2.1.2': diff --git a/scripts/fast-format b/scripts/fast-format index 53721ac0..f1873aef 100755 --- a/scripts/fast-format +++ b/scripts/fast-format @@ -31,10 +31,7 @@ if ! [ -z "$ESLINT_FILES" ]; then fi echo "==> Running prettier --write" -# format things eslint didn't -PRETTIER_FILES="$(grep '\.\(js\|json\)$' "$FILE_LIST" || true)" -if ! [ -z "$PRETTIER_FILES" ]; then - echo "$PRETTIER_FILES" | xargs ./node_modules/.bin/prettier \ - --write --cache --cache-strategy metadata --no-error-on-unmatched-pattern \ - '!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs' +if ! [ -z "$FILE_LIST" ]; then + cat "$FILE_LIST" | xargs ./node_modules/.bin/prettier \ + --write --cache --cache-strategy metadata --no-error-on-unmatched-pattern --ignore-unknown fi diff --git a/scripts/format b/scripts/format index 7a756401..b1b2c17a 100755 --- a/scripts/format +++ b/scripts/format @@ -8,5 +8,4 @@ echo "==> Running eslint --fix" ./node_modules/.bin/eslint --fix . echo "==> Running prettier --write" -# format things eslint didn't -./node_modules/.bin/prettier --write --cache --cache-strategy metadata . '!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs' +./node_modules/.bin/prettier --write --cache --cache-strategy metadata . diff --git a/scripts/lint b/scripts/lint index 3ffb78a6..1f532548 100755 --- a/scripts/lint +++ b/scripts/lint @@ -4,6 +4,9 @@ set -e cd "$(dirname "$0")/.." +echo "==> Running prettier --check" +./node_modules/.bin/prettier --check . + echo "==> Running eslint" ./node_modules/.bin/eslint . diff --git a/src/internal/types.ts b/src/internal/types.ts index b668dfc0..a050513a 100644 --- a/src/internal/types.ts +++ b/src/internal/types.ts @@ -40,7 +40,6 @@ type OverloadedParameters = : T extends (...args: infer A) => unknown ? A : never; -/* eslint-disable */ /** * These imports attempt to get types from a parent package's dependencies. * Unresolved bare specifiers can trigger [automatic type acquisition][1] in some projects, which @@ -63,19 +62,18 @@ type OverloadedParameters = * * [1]: https://www.typescriptlang.org/tsconfig/#typeAcquisition */ -/** @ts-ignore For users with \@types/node */ +/** @ts-ignore For users with \@types/node */ /* prettier-ignore */ type UndiciTypesRequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users with undici */ +/** @ts-ignore For users with undici */ /* prettier-ignore */ type UndiciRequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users with \@types/bun */ +/** @ts-ignore For users with \@types/bun */ /* prettier-ignore */ type BunRequestInit = globalThis.FetchRequestInit; -/** @ts-ignore For users with node-fetch@2 */ +/** @ts-ignore For users with node-fetch@2 */ /* prettier-ignore */ type NodeFetch2RequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ +/** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ /* prettier-ignore */ type NodeFetch3RequestInit = NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny | NotAny; -/** @ts-ignore For users who use Deno */ +/** @ts-ignore For users who use Deno */ /* prettier-ignore */ type FetchRequestInit = NonNullable[1]>; -/* eslint-enable */ type RequestInits = | NotAny From a402a26cf8edbc433ada48b5ee97311643c8fd6c Mon Sep 17 00:00:00 2001 From: Max Murin Date: Tue, 28 Apr 2026 15:58:30 -0400 Subject: [PATCH 62/69] chore: run formatter on custom code (#223) Runs `scripts/format` to format custom code after formatting changes run Prettier across more files. --- .github/workflows/publish-npm.yml | 2 +- packages/mcp-server/README.md | 3 +++ packages/mcp-server/manifest.json | 8 ++------ 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 63391a91..7f759085 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v3 with: - node-version: "20" + node-version: '20' - name: Update npm to latest run: npm install -g npm@latest && npm --version diff --git a/packages/mcp-server/README.md b/packages/mcp-server/README.md index dee83d45..398c6a68 100644 --- a/packages/mcp-server/README.md +++ b/packages/mcp-server/README.md @@ -68,12 +68,15 @@ in VS Code's `mcp.json`, which can be found via Command Palette > MCP: Open User If you use Claude Code, you can install the MCP server by running one of the commands below in your terminal. #### Using the CLI + ``` claude mcp add stainless -- stl mcp ``` #### Using npx + You will need to set your environment variables in Claude Code's `.claude.json`, which can be found in your home directory. + ``` claude mcp add stainless_api_sdk_mcp_api --header "x-stainless-api-key: My API Key" --transport http https://stainless-v0.stlmcp.com ``` diff --git a/packages/mcp-server/manifest.json b/packages/mcp-server/manifest.json index 3640f9bc..50eca9f9 100644 --- a/packages/mcp-server/manifest.json +++ b/packages/mcp-server/manifest.json @@ -18,9 +18,7 @@ "entry_point": "index.js", "mcp_config": { "command": "node", - "args": [ - "${__dirname}/index.js" - ], + "args": ["${__dirname}/index.js"], "env": { "STAINLESS_API_KEY": "${user_config.STAINLESS_API_KEY}", "STAINLESS_PROJECT": "${user_config.STAINLESS_PROJECT}" @@ -48,7 +46,5 @@ "node": ">=18.0.0" } }, - "keywords": [ - "api" - ] + "keywords": ["api"] } From 88cd6842673b1db18d254bbdf7eef58a0ff1a944 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 30 Apr 2026 02:21:25 +0000 Subject: [PATCH 63/69] chore: avoid formatting file that gets changed during releases --- .prettierignore | 1 + packages/mcp-server/manifest.json | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index 7cc13dd1..36afd3b3 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,6 +2,7 @@ CHANGELOG.md /ecosystem-tests/*/** /node_modules /deno +/packages/mcp-server/manifest.json # don't format tsc output, will break source maps dist diff --git a/packages/mcp-server/manifest.json b/packages/mcp-server/manifest.json index 50eca9f9..3640f9bc 100644 --- a/packages/mcp-server/manifest.json +++ b/packages/mcp-server/manifest.json @@ -18,7 +18,9 @@ "entry_point": "index.js", "mcp_config": { "command": "node", - "args": ["${__dirname}/index.js"], + "args": [ + "${__dirname}/index.js" + ], "env": { "STAINLESS_API_KEY": "${user_config.STAINLESS_API_KEY}", "STAINLESS_PROJECT": "${user_config.STAINLESS_PROJECT}" @@ -46,5 +48,7 @@ "node": ">=18.0.0" } }, - "keywords": ["api"] + "keywords": [ + "api" + ] } From 5e503a5ec678697d8f32a2dbb8511b9fd309ffc0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 30 Apr 2026 02:22:14 +0000 Subject: [PATCH 64/69] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index b25db43f..3cfe0e7b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-539ddca207b01349e653c0061c35a9169f655e91f0f024008f93cca943c23e3f.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless/stainless-v0-539ddca207b01349e653c0061c35a9169f655e91f0f024008f93cca943c23e3f.yml openapi_spec_hash: f4a68de1cb28c33de769c08f68f543ab config_hash: 63178ec4b1d2ea5636c8619cffcf129b From 3f37ef2a6c9c8aee3e03786153be8b55852948e7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 02:12:55 +0000 Subject: [PATCH 65/69] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 3cfe0e7b..21cca53a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless/stainless-v0-539ddca207b01349e653c0061c35a9169f655e91f0f024008f93cca943c23e3f.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless/stainless-v0-4dbed62ce27b115068721f69e83b644ca0b7922e5be12b6469c0c054a371a170.yml openapi_spec_hash: f4a68de1cb28c33de769c08f68f543ab config_hash: 63178ec4b1d2ea5636c8619cffcf129b From f411687c0665a65309dd9472dcd9d71b2fdedd5d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 6 May 2026 02:34:50 +0000 Subject: [PATCH 66/69] chore(internal): codegen related update --- packages/mcp-server/src/local-docs-search.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index 512f443f..fbc03dff 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -1528,12 +1528,12 @@ const EMBEDDED_READMES: { language: string; content: string }[] = [ { language: 'java', content: - '# Stainless Java API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.stainless.api/stainless-java)](https://central.sonatype.com/artifact/com.stainless.api/stainless-java/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.stainless.api/stainless-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1)\n\n\nThe Stainless Java SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Java.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.stainless.api:stainless-java:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.stainless.api\n stainless-java\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nBuild build = client.builds().create(params);\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n```\n\nOr manually:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build();\n```\n\nOr using a combination of the two approaches:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build();\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```java\nimport com.stainless.api.client.StainlessClient;\n\nStainlessClient clientWithOptions = client.withOptions(optionsBuilder -> {\n optionsBuilder.baseUrl("https://example.com");\n optionsBuilder.maxRetries(42);\n});\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Java class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.async().builds().create(params);\n```\n\nOr create an asynchronous client from the beginning:\n\n```java\nimport com.stainless.api.client.StainlessClientAsync;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClientAsync;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClientAsync client = StainlessOkHttpClientAsync.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.builds().create(params);\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods return `CompletableFuture`s.\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Java classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```java\nimport com.stainless.api.core.http.Headers;\nimport com.stainless.api.core.http.HttpResponseFor;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nHttpResponseFor build = client.builds().withRawResponse().create(params);\n\nint statusCode = build.statusCode();\nHeaders headers = build.headers();\n```\n\nYou can still deserialize the response into an instance of a Java class if needed:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild parsedBuild = build.parse();\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns an [`Iterable`](https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html)\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\n\n// Process as an Iterable\nfor (Build build : page.autoPager()) {\n System.out.println(build);\n}\n\n// Process as a Stream\npage.autoPager()\n .stream()\n .limit(50)\n .forEach(build -> System.out.println(build));\n```\n\nWhen using the asynchronous client, the method returns an [`AsyncStreamResponse`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/AsyncStreamResponse.kt):\n\n```java\nimport com.stainless.api.core.http.AsyncStreamResponse;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPageAsync;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\n\nCompletableFuture pageFuture = client.async().builds().list();\n\npageFuture.thenRun(page -> page.autoPager().subscribe(build -> {\n System.out.println(build);\n}));\n\n// If you need to handle errors or completion of the stream\npageFuture.thenRun(page -> page.autoPager().subscribe(new AsyncStreamResponse.Handler<>() {\n @Override\n public void onNext(Build build) {\n System.out.println(build);\n }\n\n @Override\n public void onComplete(Optional error) {\n if (error.isPresent()) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error.get());\n } else {\n System.out.println("No more!");\n }\n }\n}));\n\n// Or use futures\npageFuture.thenRun(page -> page.autoPager()\n .subscribe(build -> {\n System.out.println(build);\n })\n .onCompleteFuture()\n .whenComplete((unused, error) -> {\n if (error != null) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error);\n } else {\n System.out.println("No more!");\n }\n }));\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\nwhile (true) {\n for (Build build : page.items()) {\n System.out.println(build);\n }\n\n if (!page.hasNextPage()) {\n break;\n }\n\n page = page.nextPage();\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-java-core` is published with a [configuration file](stainless-java-core/src/main/resources/META-INF/proguard/stainless-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build();\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build();\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.net.InetSocketAddress;\nimport java.net.Proxy;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(new Proxy(\n Proxy.Type.HTTP, new InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build();\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build();\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build();\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build();\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-java-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-java-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-java`\n - Depends on and exposes the APIs of both `stainless-java-core` and `stainless-java-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Copy `stainless-java-client-okhttp`\'s [`OkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Write a class that implements the [`HttpClient`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build();\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build();\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) object to its setter:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build();\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) is using its `from(...)` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.List;\nimport java.util.Map;\n\n// Create primitive JSON values\nJsonValue nullValue = JsonValue.from(null);\nJsonValue booleanValue = JsonValue.from(true);\nJsonValue numberValue = JsonValue.from(42);\nJsonValue stringValue = JsonValue.from("Hello World!");\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nJsonValue arrayValue = JsonValue.from(List.of(\n "Hello", "World"\n));\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nJsonValue objectValue = JsonValue.from(Map.of(\n "a", 1,\n "b", 2\n));\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nJsonValue complexValue = JsonValue.from(Map.of(\n "a", List.of(\n 1, 2\n ),\n "b", List.of(\n 3, 4\n )\n));\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt):\n\n```java\nimport com.stainless.api.core.JsonMissing;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build();\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.Map;\n\nMap additionalProperties = client.builds().create(params)._additionalProperties();\nJsonValue secretPropertyValue = additionalProperties.get("secretProperty");\n\nString result = secretPropertyValue.accept(new JsonValue.Visitor<>() {\n @Override\n public String visitNull() {\n return "It\'s null!";\n }\n\n @Override\n public String visitBoolean(boolean value) {\n return "It\'s a boolean!";\n }\n\n @Override\n public String visitNumber(Number value) {\n return "It\'s a number!";\n }\n\n // Other methods include `visitMissing`, `visitString`, `visitArray`, and `visitObject`\n // The default implementation of each unimplemented method delegates to `visitDefault`, which throws by default, but can also be overridden\n});\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```java\nimport com.stainless.api.core.JsonField;\nimport java.util.Optional;\n\nJsonField project = client.builds().create(params)._project();\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n Optional jsonString = project.asString();\n\n // Try to deserialize into a custom type\n MyClass myObject = project.asUnknown().orElseThrow().convert(MyClass.class);\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(params).validate();\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build();\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nJava `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-java/issues) with questions, bugs, or suggestions.\n', + '# Stainless Java API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.stainless.api/stainless-java)](https://central.sonatype.com/artifact/com.stainless.api/stainless-java/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.stainless.api/stainless-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1)\n\n\nThe Stainless Java SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Java.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.stainless.api:stainless-java:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.stainless.api\n stainless-java\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nBuild build = client.builds().create(params);\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n```\n\nOr manually:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build();\n```\n\nOr using a combination of the two approaches:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build();\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```java\nimport com.stainless.api.client.StainlessClient;\n\nStainlessClient clientWithOptions = client.withOptions(optionsBuilder -> {\n optionsBuilder.baseUrl("https://example.com");\n optionsBuilder.maxRetries(42);\n});\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Java class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.async().builds().create(params);\n```\n\nOr create an asynchronous client from the beginning:\n\n```java\nimport com.stainless.api.client.StainlessClientAsync;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClientAsync;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClientAsync client = StainlessOkHttpClientAsync.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.builds().create(params);\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods return `CompletableFuture`s.\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Java classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```java\nimport com.stainless.api.core.http.Headers;\nimport com.stainless.api.core.http.HttpResponseFor;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nHttpResponseFor build = client.builds().withRawResponse().create(params);\n\nint statusCode = build.statusCode();\nHeaders headers = build.headers();\n```\n\nYou can still deserialize the response into an instance of a Java class if needed:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild parsedBuild = build.parse();\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns an [`Iterable`](https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html)\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\n\n// Process as an Iterable\nfor (Build build : page.autoPager()) {\n System.out.println(build);\n}\n\n// Process as a Stream\npage.autoPager()\n .stream()\n .limit(50)\n .forEach(build -> System.out.println(build));\n```\n\nWhen using the asynchronous client, the method returns an [`AsyncStreamResponse`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/AsyncStreamResponse.kt):\n\n```java\nimport com.stainless.api.core.http.AsyncStreamResponse;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPageAsync;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\n\nCompletableFuture pageFuture = client.async().builds().list();\n\npageFuture.thenRun(page -> page.autoPager().subscribe(build -> {\n System.out.println(build);\n}));\n\n// If you need to handle errors or completion of the stream\npageFuture.thenRun(page -> page.autoPager().subscribe(new AsyncStreamResponse.Handler<>() {\n @Override\n public void onNext(Build build) {\n System.out.println(build);\n }\n\n @Override\n public void onComplete(Optional error) {\n if (error.isPresent()) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error.get());\n } else {\n System.out.println("No more!");\n }\n }\n}));\n\n// Or use futures\npageFuture.thenRun(page -> page.autoPager()\n .subscribe(build -> {\n System.out.println(build);\n })\n .onCompleteFuture()\n .whenComplete((unused, error) -> {\n if (error != null) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error);\n } else {\n System.out.println("No more!");\n }\n }));\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\nwhile (true) {\n for (Build build : page.items()) {\n System.out.println(build);\n }\n\n if (!page.hasNextPage()) {\n break;\n }\n\n page = page.nextPage();\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-java-core` is published with a [configuration file](stainless-java-core/src/main/resources/META-INF/proguard/stainless-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build();\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build();\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.net.InetSocketAddress;\nimport java.net.Proxy;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(new Proxy(\n Proxy.Type.HTTP, new InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build();\n```\n\nIf the proxy responds with `407 Proxy Authentication Required`, supply credentials by also configuring `proxyAuthenticator`:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.core.http.ProxyAuthenticator;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(...)\n // Or a custom implementation of `ProxyAuthenticator`.\n .proxyAuthenticator(ProxyAuthenticator.basic("username", "password"))\n .build();\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build();\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build();\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build();\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-java-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-java-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-java`\n - Depends on and exposes the APIs of both `stainless-java-core` and `stainless-java-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Copy `stainless-java-client-okhttp`\'s [`OkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Write a class that implements the [`HttpClient`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build();\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build();\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) object to its setter:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build();\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) is using its `from(...)` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.List;\nimport java.util.Map;\n\n// Create primitive JSON values\nJsonValue nullValue = JsonValue.from(null);\nJsonValue booleanValue = JsonValue.from(true);\nJsonValue numberValue = JsonValue.from(42);\nJsonValue stringValue = JsonValue.from("Hello World!");\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nJsonValue arrayValue = JsonValue.from(List.of(\n "Hello", "World"\n));\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nJsonValue objectValue = JsonValue.from(Map.of(\n "a", 1,\n "b", 2\n));\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nJsonValue complexValue = JsonValue.from(Map.of(\n "a", List.of(\n 1, 2\n ),\n "b", List.of(\n 3, 4\n )\n));\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt):\n\n```java\nimport com.stainless.api.core.JsonMissing;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build();\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.Map;\n\nMap additionalProperties = client.builds().create(params)._additionalProperties();\nJsonValue secretPropertyValue = additionalProperties.get("secretProperty");\n\nString result = secretPropertyValue.accept(new JsonValue.Visitor<>() {\n @Override\n public String visitNull() {\n return "It\'s null!";\n }\n\n @Override\n public String visitBoolean(boolean value) {\n return "It\'s a boolean!";\n }\n\n @Override\n public String visitNumber(Number value) {\n return "It\'s a number!";\n }\n\n // Other methods include `visitMissing`, `visitString`, `visitArray`, and `visitObject`\n // The default implementation of each unimplemented method delegates to `visitDefault`, which throws by default, but can also be overridden\n});\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```java\nimport com.stainless.api.core.JsonField;\nimport java.util.Optional;\n\nJsonField project = client.builds().create(params)._project();\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n Optional jsonString = project.asString();\n\n // Try to deserialize into a custom type\n MyClass myObject = project.asUnknown().orElseThrow().convert(MyClass.class);\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nValidating the response is _not_ forwards compatible with new types from the API for existing fields.\n\nIf you would still prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(params).validate();\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build();\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nJava `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-java/issues) with questions, bugs, or suggestions.\n', }, { language: 'kotlin', content: - '# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl("https://example.com")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`\'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from("Hello World!")\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n "Hello", "World"\n))\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n "a" to 1, "b" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n "a" to listOf(\n 1, 2\n ), "b" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get("secretProperty")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> "It\'s null!"\n is JsonBoolean -> "It\'s a boolean!"\n is JsonNumber -> "It\'s a number!"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> "It\'s something else!"\n}\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nIf you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n', + '# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl("https://example.com")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build()\n```\n\nIf the proxy responds with `407 Proxy Authentication Required`, supply credentials by also configuring `proxyAuthenticator`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.http.ProxyAuthenticator\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(...)\n // Or a custom implementation of `ProxyAuthenticator`.\n .proxyAuthenticator(ProxyAuthenticator.basic("username", "password"))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`\'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from("Hello World!")\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n "Hello", "World"\n))\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n "a" to 1, "b" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n "a" to listOf(\n 1, 2\n ), "b" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get("secretProperty")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> "It\'s null!"\n is JsonBoolean -> "It\'s a boolean!"\n is JsonNumber -> "It\'s a number!"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> "It\'s something else!"\n}\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nValidating the response is _not_ forwards compatible with new types from the API for existing fields.\n\nIf you would still prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n', }, { language: 'php', From f6f76a8bf8da098587b745c566467add238f90ee Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 02:25:19 +0000 Subject: [PATCH 67/69] docs: update logging docs --- packages/mcp-server/src/local-docs-search.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mcp-server/src/local-docs-search.ts b/packages/mcp-server/src/local-docs-search.ts index fbc03dff..c6291c40 100644 --- a/packages/mcp-server/src/local-docs-search.ts +++ b/packages/mcp-server/src/local-docs-search.ts @@ -1528,12 +1528,12 @@ const EMBEDDED_READMES: { language: string; content: string }[] = [ { language: 'java', content: - '# Stainless Java API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.stainless.api/stainless-java)](https://central.sonatype.com/artifact/com.stainless.api/stainless-java/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.stainless.api/stainless-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1)\n\n\nThe Stainless Java SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Java.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.stainless.api:stainless-java:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.stainless.api\n stainless-java\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nBuild build = client.builds().create(params);\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n```\n\nOr manually:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build();\n```\n\nOr using a combination of the two approaches:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build();\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```java\nimport com.stainless.api.client.StainlessClient;\n\nStainlessClient clientWithOptions = client.withOptions(optionsBuilder -> {\n optionsBuilder.baseUrl("https://example.com");\n optionsBuilder.maxRetries(42);\n});\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Java class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.async().builds().create(params);\n```\n\nOr create an asynchronous client from the beginning:\n\n```java\nimport com.stainless.api.client.StainlessClientAsync;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClientAsync;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClientAsync client = StainlessOkHttpClientAsync.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.builds().create(params);\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods return `CompletableFuture`s.\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Java classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```java\nimport com.stainless.api.core.http.Headers;\nimport com.stainless.api.core.http.HttpResponseFor;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nHttpResponseFor build = client.builds().withRawResponse().create(params);\n\nint statusCode = build.statusCode();\nHeaders headers = build.headers();\n```\n\nYou can still deserialize the response into an instance of a Java class if needed:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild parsedBuild = build.parse();\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns an [`Iterable`](https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html)\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\n\n// Process as an Iterable\nfor (Build build : page.autoPager()) {\n System.out.println(build);\n}\n\n// Process as a Stream\npage.autoPager()\n .stream()\n .limit(50)\n .forEach(build -> System.out.println(build));\n```\n\nWhen using the asynchronous client, the method returns an [`AsyncStreamResponse`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/AsyncStreamResponse.kt):\n\n```java\nimport com.stainless.api.core.http.AsyncStreamResponse;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPageAsync;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\n\nCompletableFuture pageFuture = client.async().builds().list();\n\npageFuture.thenRun(page -> page.autoPager().subscribe(build -> {\n System.out.println(build);\n}));\n\n// If you need to handle errors or completion of the stream\npageFuture.thenRun(page -> page.autoPager().subscribe(new AsyncStreamResponse.Handler<>() {\n @Override\n public void onNext(Build build) {\n System.out.println(build);\n }\n\n @Override\n public void onComplete(Optional error) {\n if (error.isPresent()) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error.get());\n } else {\n System.out.println("No more!");\n }\n }\n}));\n\n// Or use futures\npageFuture.thenRun(page -> page.autoPager()\n .subscribe(build -> {\n System.out.println(build);\n })\n .onCompleteFuture()\n .whenComplete((unused, error) -> {\n if (error != null) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error);\n } else {\n System.out.println("No more!");\n }\n }));\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\nwhile (true) {\n for (Build build : page.items()) {\n System.out.println(build);\n }\n\n if (!page.hasNextPage()) {\n break;\n }\n\n page = page.nextPage();\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-java-core` is published with a [configuration file](stainless-java-core/src/main/resources/META-INF/proguard/stainless-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build();\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build();\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.net.InetSocketAddress;\nimport java.net.Proxy;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(new Proxy(\n Proxy.Type.HTTP, new InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build();\n```\n\nIf the proxy responds with `407 Proxy Authentication Required`, supply credentials by also configuring `proxyAuthenticator`:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.core.http.ProxyAuthenticator;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(...)\n // Or a custom implementation of `ProxyAuthenticator`.\n .proxyAuthenticator(ProxyAuthenticator.basic("username", "password"))\n .build();\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build();\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build();\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build();\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-java-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-java-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-java`\n - Depends on and exposes the APIs of both `stainless-java-core` and `stainless-java-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Copy `stainless-java-client-okhttp`\'s [`OkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Write a class that implements the [`HttpClient`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build();\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build();\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) object to its setter:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build();\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) is using its `from(...)` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.List;\nimport java.util.Map;\n\n// Create primitive JSON values\nJsonValue nullValue = JsonValue.from(null);\nJsonValue booleanValue = JsonValue.from(true);\nJsonValue numberValue = JsonValue.from(42);\nJsonValue stringValue = JsonValue.from("Hello World!");\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nJsonValue arrayValue = JsonValue.from(List.of(\n "Hello", "World"\n));\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nJsonValue objectValue = JsonValue.from(Map.of(\n "a", 1,\n "b", 2\n));\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nJsonValue complexValue = JsonValue.from(Map.of(\n "a", List.of(\n 1, 2\n ),\n "b", List.of(\n 3, 4\n )\n));\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt):\n\n```java\nimport com.stainless.api.core.JsonMissing;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build();\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.Map;\n\nMap additionalProperties = client.builds().create(params)._additionalProperties();\nJsonValue secretPropertyValue = additionalProperties.get("secretProperty");\n\nString result = secretPropertyValue.accept(new JsonValue.Visitor<>() {\n @Override\n public String visitNull() {\n return "It\'s null!";\n }\n\n @Override\n public String visitBoolean(boolean value) {\n return "It\'s a boolean!";\n }\n\n @Override\n public String visitNumber(Number value) {\n return "It\'s a number!";\n }\n\n // Other methods include `visitMissing`, `visitString`, `visitArray`, and `visitObject`\n // The default implementation of each unimplemented method delegates to `visitDefault`, which throws by default, but can also be overridden\n});\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```java\nimport com.stainless.api.core.JsonField;\nimport java.util.Optional;\n\nJsonField project = client.builds().create(params)._project();\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n Optional jsonString = project.asString();\n\n // Try to deserialize into a custom type\n MyClass myObject = project.asUnknown().orElseThrow().convert(MyClass.class);\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nValidating the response is _not_ forwards compatible with new types from the API for existing fields.\n\nIf you would still prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(params).validate();\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build();\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nJava `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-java/issues) with questions, bugs, or suggestions.\n', + '# Stainless Java API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.stainless.api/stainless-java)](https://central.sonatype.com/artifact/com.stainless.api/stainless-java/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.stainless.api/stainless-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1)\n\n\nThe Stainless Java SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Java.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.stainless.api/stainless-java/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.stainless.api:stainless-java:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.stainless.api\n stainless-java\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nBuild build = client.builds().create(params);\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n```\n\nOr manually:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build();\n```\n\nOr using a combination of the two approaches:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build();\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```java\nimport com.stainless.api.client.StainlessClient;\n\nStainlessClient clientWithOptions = client.withOptions(optionsBuilder -> {\n optionsBuilder.baseUrl("https://example.com");\n optionsBuilder.maxRetries(42);\n});\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Java class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClient client = StainlessOkHttpClient.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.async().builds().create(params);\n```\n\nOr create an asynchronous client from the beginning:\n\n```java\nimport com.stainless.api.client.StainlessClientAsync;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClientAsync;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\nimport java.util.concurrent.CompletableFuture;\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nStainlessClientAsync client = StainlessOkHttpClientAsync.fromEnv();\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nCompletableFuture build = client.builds().create(params);\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods return `CompletableFuture`s.\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Java classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```java\nimport com.stainless.api.core.http.Headers;\nimport com.stainless.api.core.http.HttpResponseFor;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build();\nHttpResponseFor build = client.builds().withRawResponse().create(params);\n\nint statusCode = build.statusCode();\nHeaders headers = build.headers();\n```\n\nYou can still deserialize the response into an instance of a Java class if needed:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild parsedBuild = build.parse();\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns an [`Iterable`](https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html)\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\n\n// Process as an Iterable\nfor (Build build : page.autoPager()) {\n System.out.println(build);\n}\n\n// Process as a Stream\npage.autoPager()\n .stream()\n .limit(50)\n .forEach(build -> System.out.println(build));\n```\n\nWhen using the asynchronous client, the method returns an [`AsyncStreamResponse`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/AsyncStreamResponse.kt):\n\n```java\nimport com.stainless.api.core.http.AsyncStreamResponse;\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPageAsync;\nimport java.util.Optional;\nimport java.util.concurrent.CompletableFuture;\n\nCompletableFuture pageFuture = client.async().builds().list();\n\npageFuture.thenRun(page -> page.autoPager().subscribe(build -> {\n System.out.println(build);\n}));\n\n// If you need to handle errors or completion of the stream\npageFuture.thenRun(page -> page.autoPager().subscribe(new AsyncStreamResponse.Handler<>() {\n @Override\n public void onNext(Build build) {\n System.out.println(build);\n }\n\n @Override\n public void onComplete(Optional error) {\n if (error.isPresent()) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error.get());\n } else {\n System.out.println("No more!");\n }\n }\n}));\n\n// Or use futures\npageFuture.thenRun(page -> page.autoPager()\n .subscribe(build -> {\n System.out.println(build);\n })\n .onCompleteFuture()\n .whenComplete((unused, error) -> {\n if (error != null) {\n System.out.println("Something went wrong!");\n throw new RuntimeException(error);\n } else {\n System.out.println("No more!");\n }\n }));\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```java\nimport com.stainless.api.models.builds.Build;\nimport com.stainless.api.models.builds.BuildListPage;\n\nBuildListPage page = client.builds().list();\nwhile (true) {\n for (Build build : page.items()) {\n System.out.println(build);\n }\n\n if (!page.hasNextPage()) {\n break;\n }\n\n page = page.nextPage();\n}\n```\n\n## Logging\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\nOr configure the client manually using the `logLevel` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.core.LogLevel;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .logLevel(LogLevel.INFO)\n .build();\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-java-core` is published with a [configuration file](stainless-java-core/src/main/resources/META-INF/proguard/stainless-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build();\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build();\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.net.InetSocketAddress;\nimport java.net.Proxy;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(new Proxy(\n Proxy.Type.HTTP, new InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build();\n```\n\nIf the proxy responds with `407 Proxy Authentication Required`, supply credentials by also configuring `proxyAuthenticator`:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport com.stainless.api.core.http.ProxyAuthenticator;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(...)\n // Or a custom implementation of `ProxyAuthenticator`.\n .proxyAuthenticator(ProxyAuthenticator.basic("username", "password"))\n .build();\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\nimport java.time.Duration;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build();\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build();\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build();\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-java-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-java-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-java`\n - Depends on and exposes the APIs of both `stainless-java-core` and `stainless-java-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Copy `stainless-java-client-okhttp`\'s [`OkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-java` dependency](#installation) with `stainless-java-core`\n2. Write a class that implements the [`HttpClient`](stainless-java-core/src/main/kotlin/com/stainless/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-java-core/src/main/kotlin/com/stainless/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-java-client-okhttp/src/main/kotlin/com/stainless/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build();\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build();\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) object to its setter:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build();\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt) is using its `from(...)` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.List;\nimport java.util.Map;\n\n// Create primitive JSON values\nJsonValue nullValue = JsonValue.from(null);\nJsonValue booleanValue = JsonValue.from(true);\nJsonValue numberValue = JsonValue.from(42);\nJsonValue stringValue = JsonValue.from("Hello World!");\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nJsonValue arrayValue = JsonValue.from(List.of(\n "Hello", "World"\n));\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nJsonValue objectValue = JsonValue.from(Map.of(\n "a", 1,\n "b", 2\n));\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nJsonValue complexValue = JsonValue.from(Map.of(\n "a", List.of(\n 1, 2\n ),\n "b", List.of(\n 3, 4\n )\n));\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-java-core/src/main/kotlin/com/stainless/api/core/Values.kt):\n\n```java\nimport com.stainless.api.core.JsonMissing;\nimport com.stainless.api.models.builds.BuildCreateParams;\n\nBuildCreateParams params = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build();\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```java\nimport com.stainless.api.core.JsonValue;\nimport java.util.Map;\n\nMap additionalProperties = client.builds().create(params)._additionalProperties();\nJsonValue secretPropertyValue = additionalProperties.get("secretProperty");\n\nString result = secretPropertyValue.accept(new JsonValue.Visitor<>() {\n @Override\n public String visitNull() {\n return "It\'s null!";\n }\n\n @Override\n public String visitBoolean(boolean value) {\n return "It\'s a boolean!";\n }\n\n @Override\n public String visitNumber(Number value) {\n return "It\'s a number!";\n }\n\n // Other methods include `visitMissing`, `visitString`, `visitArray`, and `visitObject`\n // The default implementation of each unimplemented method delegates to `visitDefault`, which throws by default, but can also be overridden\n});\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```java\nimport com.stainless.api.core.JsonField;\nimport java.util.Optional;\n\nJsonField project = client.builds().create(params)._project();\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n Optional jsonString = project.asString();\n\n // Try to deserialize into a custom type\n MyClass myObject = project.asUnknown().orElseThrow().convert(MyClass.class);\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-java-core/src/main/kotlin/com/stainless/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nValidating the response is _not_ forwards compatible with new types from the API for existing fields.\n\nIf you would still prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(params).validate();\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```java\nimport com.stainless.api.models.builds.Build;\n\nBuild build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n);\n```\n\nOr configure the default for all method calls at the client level:\n\n```java\nimport com.stainless.api.client.StainlessClient;\nimport com.stainless.api.client.okhttp.StainlessOkHttpClient;\n\nStainlessClient client = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build();\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nJava `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-java/issues) with questions, bugs, or suggestions.\n', }, { language: 'kotlin', content: - '# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl("https://example.com")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nThe SDK uses the standard [OkHttp logging interceptor](https://github.com/square/okhttp/tree/master/okhttp-logging-interceptor).\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build()\n```\n\nIf the proxy responds with `407 Proxy Authentication Required`, supply credentials by also configuring `proxyAuthenticator`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.http.ProxyAuthenticator\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(...)\n // Or a custom implementation of `ProxyAuthenticator`.\n .proxyAuthenticator(ProxyAuthenticator.basic("username", "password"))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`\'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from("Hello World!")\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n "Hello", "World"\n))\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n "a" to 1, "b" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n "a" to listOf(\n 1, 2\n ), "b" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get("secretProperty")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> "It\'s null!"\n is JsonBoolean -> "It\'s a boolean!"\n is JsonNumber -> "It\'s a number!"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> "It\'s something else!"\n}\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nValidating the response is _not_ forwards compatible with new types from the API for existing fields.\n\nIf you would still prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n', + '# Stainless Kotlin API Library\n\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.configure_me_stainless_v0.api/stainless-kotlin)](https://central.sonatype.com/artifact/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n[![javadoc](https://javadoc.io/badge2/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1)\n\n\nThe Stainless Kotlin SDK provides convenient access to the [Stainless REST API](https://www.stainless.com/docs/getting-started/quickstart-cli) from applications written in Kotlin.\n\n\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## MCP Server\n\nUse the Stainless MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40stainless-api%2Fsdk-mcp&config=eyJuYW1lIjoiQHN0YWlubGVzcy1hcGkvc2RrLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL3N0YWlubGVzcy12MC5zdGxtY3AuY29tIiwiaGVhZGVycyI6eyJ4LXN0YWlubGVzcy1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)\n[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40stainless-api%2Fsdk-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fstainless-v0.stlmcp.com%22%2C%22headers%22%3A%7B%22x-stainless-api-key%22%3A%22My%20API%20Key%22%7D%7D)\n\n> Note: You may need to set environment variables in your MCP client.\n\nThe REST API documentation can be found on [www.stainless.com](https://www.stainless.com/docs/getting-started/quickstart-cli). KDocs are available on [javadoc.io](https://javadoc.io/doc/com.configure_me_stainless_v0.api/stainless-kotlin/0.0.1).\n\n## Installation\n\n### Gradle\n\n~~~kotlin\nimplementation("com.CONFIGURE_ME_stainless_v0.api:stainless-kotlin:0.0.1")\n~~~\n\n### Maven\n\n~~~xml\n\n com.CONFIGURE_ME_stainless_v0.api\n stainless-kotlin\n 0.0.1\n\n~~~\n\n## Requirements\n\nThis library requires Java 8 or later.\n\n## Usage\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\n## Client configuration\n\nConfigure the client using system properties or environment variables:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n```\n\nOr manually:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .apiKey("My API Key")\n .build()\n```\n\nOr using a combination of the two approaches:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n // Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n // Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\n .fromEnv()\n .project("example-project")\n .build()\n```\n\nSee this table for the available options:\n\n| Setter | System property | Environment variable | Required | Default value |\n| --------- | ------------------- | -------------------- | -------- | ----------------------------- |\n| `apiKey` | `stainless.apiKey` | `STAINLESS_API_KEY` | false | - |\n| `baseUrl` | `stainless.baseUrl` | `STAINLESS_BASE_URL` | true | `"https://api.stainless.com"` |\n\nSystem properties take precedence over environment variables.\n\n> [!TIP]\n> Don\'t create more than one client in the same application. Each client has a connection pool and\n> thread pools, which are more efficient to share between requests.\n\n### Modifying configuration\n\nTo temporarily use a modified client configuration, while reusing the same connection and thread pools, call `withOptions()` on any client or service:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\n\nval clientWithOptions: StainlessClient = client.withOptions {\n it.baseUrl("https://example.com")\n it.maxRetries(42)\n}\n```\n\nThe `withOptions()` method does not affect the original client or service.\n\n## Requests and responses\n\nTo send a request to the Stainless API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a Kotlin class.\n\nFor example, `client.builds().create(...)` should be called with an instance of `BuildCreateParams`, and it will return an instance of `Build`.\n\n## Immutability\n\nEach class in the SDK has an associated [builder](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java) or factory method for constructing it.\n\nEach class is [immutable](https://docs.oracle.com/javase/tutorial/essential/concurrency/immutable.html) once constructed. If the class has an associated builder, then it has a `toBuilder()` method, which can be used to convert it back to a builder for making a modified copy.\n\nBecause each class is immutable, builder modification will _never_ affect already built class instances.\n\n## Asynchronous execution\n\nThe default client is synchronous. To switch to asynchronous execution, call the `async()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClient = StainlessOkHttpClient.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.async().builds().create(params)\n```\n\nOr create an asynchronous client from the beginning:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClientAsync\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClientAsync\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\n// Configures using the `stainless.apiKey` and `stainless.baseUrl` system properties\n// Or configures using the `STAINLESS_API_KEY` and `STAINLESS_BASE_URL` environment variables\nval client: StainlessClientAsync = StainlessOkHttpClientAsync.fromEnv()\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: Build = client.builds().create(params)\n```\n\nThe asynchronous client supports the same options as the synchronous one, except most methods are [suspending](https://kotlinlang.org/docs/coroutines-guide.html).\n\n\n\n\n\n\n\n## Raw responses\n\nThe SDK defines methods that deserialize responses into instances of Kotlin classes. However, these methods don\'t provide access to the response headers, status code, or the raw response body.\n\nTo access this data, prefix any HTTP method call on a client or service with `withRawResponse()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.http.Headers\nimport com.configure_me_stainless_v0.api.core.http.HttpResponseFor\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project("stainless")\n .revision("main")\n .build()\nval build: HttpResponseFor = client.builds().withRawResponse().create(params)\n\nval statusCode: Int = build.statusCode()\nval headers: Headers = build.headers()\n```\n\nYou can still deserialize the response into an instance of a Kotlin class if needed:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval parsedBuild: Build = build.parse()\n```\n\n## Error handling\n\nThe SDK throws custom unchecked exception types:\n\n- [`StainlessServiceException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:\n\n | Status | Exception |\n | ------ | -------------------------------------------------- |\n | 400 | [`BadRequestException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/BadRequestException.kt) |\n | 401 | [`UnauthorizedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnauthorizedException.kt) |\n | 403 | [`PermissionDeniedException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/PermissionDeniedException.kt) |\n | 404 | [`NotFoundException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/NotFoundException.kt) |\n | 422 | [`UnprocessableEntityException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnprocessableEntityException.kt) |\n | 429 | [`RateLimitException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/RateLimitException.kt) |\n | 5xx | [`InternalServerException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/InternalServerException.kt) |\n | others | [`UnexpectedStatusCodeException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/UnexpectedStatusCodeException.kt) |\n\n- [`StainlessIoException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessIoException.kt): I/O networking errors.\n\n- [`StainlessRetryableException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessRetryableException.kt): Generic error indicating a failure that could be retried by the client.\n\n- [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that\'s supposed to be required, but the API unexpectedly omitted it from the response.\n\n- [`StainlessException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.\n\n## Pagination\n\nThe SDK defines methods that return a paginated lists of results. It provides convenient ways to access the results either one page at a time or item-by-item across all pages.\n\n### Auto-pagination\n\nTo iterate through all results across all pages, use the `autoPager()` method, which automatically fetches more pages as needed.\n\nWhen using the synchronous client, the method returns a [`Sequence`](https://kotlinlang.org/docs/sequences.html)\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\nWhen using the asynchronous client, the method returns a [`Flow`](https://kotlinlang.org/docs/flow.html):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPageAsync\n\nval page: BuildListPageAsync = client.async().builds().list()\npage.autoPager()\n .take(50)\n .forEach { build -> println(build) }\n```\n\n### Manual pagination\n\nTo access individual page items and manually request the next page, use the `items()`,\n`hasNextPage()`, and `nextPage()` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\nimport com.configure_me_stainless_v0.api.models.builds.BuildListPage\n\nval page: BuildListPage = client.builds().list()\nwhile (true) {\n for (build in page.items()) {\n println(build)\n }\n\n if (!page.hasNextPage()) {\n break\n }\n\n page = page.nextPage()\n}\n```\n\n## Logging\n\nEnable logging by setting the `STAINLESS_LOG` environment variable to `info`:\n\n```sh\nexport STAINLESS_LOG=info\n```\n\nOr to `debug` for more verbose logging:\n\n```sh\nexport STAINLESS_LOG=debug\n```\n\nOr configure the client manually using the `logLevel` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.LogLevel\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .logLevel(LogLevel.INFO)\n .build()\n```\n\n## ProGuard and R8\n\nAlthough the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `stainless-kotlin-core` is published with a [configuration file](stainless-kotlin-core/src/main/resources/META-INF/proguard/stainless-kotlin-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).\n\nProGuard and R8 should automatically detect and use the published rules, but you can also manually copy the keep rules if necessary.\n\n\n\n\n\n## Jackson\n\nThe SDK depends on [Jackson](https://github.com/FasterXML/jackson) for JSON serialization/deserialization. It is compatible with version 2.13.4 or higher, but depends on version 2.18.2 by default.\n\nThe SDK throws an exception if it detects an incompatible Jackson version at runtime (e.g. if the default version was overridden in your Maven or Gradle config).\n\nIf the SDK threw an exception, but you\'re _certain_ the version is compatible, then disable the version check using the `checkJacksonVersionCompatibility` on [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt).\n\n> [!CAUTION]\n> We make no guarantee that the SDK works correctly when the Jackson version check is disabled.\n\nAlso note that there are bugs in older Jackson versions that can affect the SDK. We don\'t work around all Jackson bugs ([example](https://github.com/FasterXML/jackson-databind/issues/3240)) and expect users to upgrade Jackson for those instead.\n\n## Network options\n\n### Retries\n\nThe SDK automatically retries 2 times by default, with a short exponential backoff between requests.\n\nOnly the following error types are retried:\n- Connection errors (for example, due to a network connectivity problem)\n- 408 Request Timeout\n- 409 Conflict\n- 429 Rate Limit\n- 5xx Internal\n\nThe API may also explicitly instruct the SDK to retry or not retry a request.\n\nTo set a custom number of retries, configure the client using the `maxRetries` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .maxRetries(4)\n .build()\n```\n\n### Timeouts\n\nRequests time out after 1 minute by default.\n\nTo set a custom timeout, configure the method call using the `timeout` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .timeout(Duration.ofSeconds(30))\n .build()\n```\n\n### Proxies\n\nTo route requests through a proxy, configure the client using the `proxy` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.net.InetSocketAddress\nimport java.net.Proxy\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(Proxy(\n Proxy.Type.HTTP, InetSocketAddress(\n "https://example.com", 8080\n )\n ))\n .build()\n```\n\nIf the proxy responds with `407 Proxy Authentication Required`, supply credentials by also configuring `proxyAuthenticator`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport com.configure_me_stainless_v0.api.core.http.ProxyAuthenticator\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .proxy(...)\n // Or a custom implementation of `ProxyAuthenticator`.\n .proxyAuthenticator(ProxyAuthenticator.basic("username", "password"))\n .build()\n```\n\n### Connection pooling\n\nTo customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\nimport java.time.Duration\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `maxIdleConnections` is set, then `keepAliveDuration` must be set, and vice versa.\n .maxIdleConnections(10)\n .keepAliveDuration(Duration.ofMinutes(2))\n .build()\n```\n\nIf both options are unset, OkHttp\'s default connection pool settings are used.\n\n### HTTPS\n\n> [!NOTE]\n> Most applications should not call these methods, and instead use the system defaults. The defaults include\n> special optimizations that can be lost if the implementations are modified.\n\nTo configure how HTTPS connections are secured, configure the client using the `sslSocketFactory`, `trustManager`, and `hostnameVerifier` methods:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n // If `sslSocketFactory` is set, then `trustManager` must be set, and vice versa.\n .sslSocketFactory(yourSSLSocketFactory)\n .trustManager(yourTrustManager)\n .hostnameVerifier(yourHostnameVerifier)\n .build()\n```\n\n### Environments\n\nThe SDK sends requests to the production by default. To send requests to a different environment, configure the client like so:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .staging()\n .build()\n```\n\n### Custom HTTP client\n\nThe SDK consists of three artifacts:\n- `stainless-kotlin-core`\n - Contains core SDK logic\n - Does not depend on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClient.kt), [`StainlessClientAsync`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsync.kt), [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt), and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), all of which can work with any HTTP client\n- `stainless-kotlin-client-okhttp`\n - Depends on [OkHttp](https://square.github.io/okhttp)\n - Exposes [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) and [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), which provide a way to construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) and [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), respectively, using OkHttp\n- `stainless-kotlin`\n - Depends on and exposes the APIs of both `stainless-kotlin-core` and `stainless-kotlin-client-okhttp`\n - Does not have its own logic\n\nThis structure allows replacing the SDK\'s default HTTP client without pulling in unnecessary dependencies.\n\n#### Customized [`OkHttpClient`](https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html)\n\n> [!TIP]\n> Try the available [network options](#network-options) before replacing the default client.\n\nTo use a customized `OkHttpClient`:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Copy `stainless-kotlin-client-okhttp`\'s [`OkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/OkHttpClient.kt) class into your code and customize it\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your customized client\n\n### Completely custom HTTP client\n\nTo use a completely custom HTTP client:\n\n1. Replace your [`stainless-kotlin` dependency](#installation) with `stainless-kotlin-core`\n2. Write a class that implements the [`HttpClient`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/http/HttpClient.kt) interface\n3. Construct [`StainlessClientImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientImpl.kt) or [`StainlessClientAsyncImpl`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/client/StainlessClientAsyncImpl.kt), similarly to [`StainlessOkHttpClient`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClient.kt) or [`StainlessOkHttpClientAsync`](stainless-kotlin-client-okhttp/src/main/kotlin/com/configure_me_stainless_v0/api/client/okhttp/StainlessOkHttpClientAsync.kt), using your new client class\n\n## Undocumented API functionality\n\nThe SDK is typed for convenient usage of the documented API. However, it also supports working with undocumented or not yet supported parts of the API.\n\n### Parameters\n\nTo set undocumented parameters, call the `putAdditionalHeader`, `putAdditionalQueryParam`, or `putAdditionalBodyProperty` methods on any `Params` class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .putAdditionalHeader("Secret-Header", "42")\n .putAdditionalQueryParam("secret_query_param", "42")\n .putAdditionalBodyProperty("secretProperty", JsonValue.from("42"))\n .build()\n```\n\nThese can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods.\n\nTo set undocumented parameters on _nested_ headers, query params, or body classes, call the `putAdditionalProperty` method on the nested class:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .targetCommitMessages(BuildCreateParams.TargetCommitMessages.builder()\n .putAdditionalProperty("secretProperty", JsonValue.from("42"))\n .build())\n .build()\n```\n\nThese properties can be accessed on the nested built object later using the `_additionalProperties()` method.\n\nTo set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) object to its setter:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .project(JsonValue.from(42))\n .revision("main")\n .build()\n```\n\nThe most straightforward way to create a [`JsonValue`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt) is using its `from(...)` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\n// Create primitive JSON values\nval nullValue: JsonValue = JsonValue.from(null)\nval booleanValue: JsonValue = JsonValue.from(true)\nval numberValue: JsonValue = JsonValue.from(42)\nval stringValue: JsonValue = JsonValue.from("Hello World!")\n\n// Create a JSON array value equivalent to `["Hello", "World"]`\nval arrayValue: JsonValue = JsonValue.from(listOf(\n "Hello", "World"\n))\n\n// Create a JSON object value equivalent to `{ "a": 1, "b": 2 }`\nval objectValue: JsonValue = JsonValue.from(mapOf(\n "a" to 1, "b" to 2\n))\n\n// Create an arbitrarily nested JSON equivalent to:\n// {\n// "a": [1, 2],\n// "b": [3, 4]\n// }\nval complexValue: JsonValue = JsonValue.from(mapOf(\n "a" to listOf(\n 1, 2\n ), "b" to listOf(\n 3, 4\n )\n))\n```\n\nNormally a `Builder` class\'s `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.\n\nTo forcibly omit a required parameter or property, pass [`JsonMissing`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/core/Values.kt):\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonMissing\nimport com.configure_me_stainless_v0.api.models.builds.BuildCreateParams\n\nval params: BuildCreateParams = BuildCreateParams.builder()\n .revision("string")\n .project(JsonMissing.of())\n .build()\n```\n\n### Response properties\n\nTo access undocumented response properties, call the `_additionalProperties()` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonBoolean\nimport com.configure_me_stainless_v0.api.core.JsonNull\nimport com.configure_me_stainless_v0.api.core.JsonNumber\nimport com.configure_me_stainless_v0.api.core.JsonValue\n\nval additionalProperties: Map = client.builds().create(params)._additionalProperties()\nval secretPropertyValue: JsonValue = additionalProperties.get("secretProperty")\n\nval result = when (secretPropertyValue) {\n is JsonNull -> "It\'s null!"\n is JsonBoolean -> "It\'s a boolean!"\n is JsonNumber -> "It\'s a number!"\n // Other types include `JsonMissing`, `JsonString`, `JsonArray`, and `JsonObject`\n else -> "It\'s something else!"\n}\n```\n\nTo access a property\'s raw JSON value, which may be undocumented, call its `_` prefixed method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.core.JsonField\n\nval project: JsonField = client.builds().create(params)._project()\n\nif (project.isMissing()) {\n // The property is absent from the JSON response\n} else if (project.isNull()) {\n // The property was set to literal null\n} else {\n // Check if value was provided as a string\n // Other methods include `asNumber()`, `asBoolean()`, etc.\n val jsonString: String? = project.asString();\n\n // Try to deserialize into a custom type\n val myObject: MyClass = project.asUnknown()!!.convert(MyClass::class.java)\n}\n```\n\n### Response validation\n\nIn rare cases, the API may return a response that doesn\'t match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.\n\nBy default, the SDK will not throw an exception in this case. It will throw [`StainlessInvalidDataException`](stainless-kotlin-core/src/main/kotlin/com/configure_me_stainless_v0/api/errors/StainlessInvalidDataException.kt) only if you directly access the property.\n\nValidating the response is _not_ forwards compatible with new types from the API for existing fields.\n\nIf you would still prefer to check that the response is completely well-typed upfront, then either call `validate()`:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(params).validate()\n```\n\nOr configure the method call to validate the response using the `responseValidation` method:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.models.builds.Build\n\nval build: Build = client.builds().create(\n params, RequestOptions.builder().responseValidation(true).build()\n)\n```\n\nOr configure the default for all method calls at the client level:\n\n```kotlin\nimport com.configure_me_stainless_v0.api.client.StainlessClient\nimport com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient\n\nval client: StainlessClient = StainlessOkHttpClient.builder()\n .fromEnv()\n .responseValidation(true)\n .build()\n```\n\n## FAQ\n\n### Why don\'t you use plain `enum` classes?\n\nKotlin `enum` classes are not trivially [forwards compatible](https://www.stainless.com/blog/making-java-enums-forwards-compatible). Using them in the SDK could cause runtime exceptions if the API is updated to respond with a new enum value.\n\n### Why do you represent fields using `JsonField` instead of just plain `T`?\n\nUsing `JsonField` enables a few features:\n\n- Allowing usage of [undocumented API functionality](#undocumented-api-functionality)\n- Lazily [validating the API response against the expected shape](#response-validation)\n- Representing absent vs explicitly null values\n\n### Why don\'t you use [`data` classes](https://kotlinlang.org/docs/data-classes.html)?\n\nIt is not [backwards compatible to add new fields to a data class](https://kotlinlang.org/docs/api-guidelines-backward-compatibility.html#avoid-using-data-classes-in-your-api) and we don\'t want to introduce a breaking change every time we add a field to a class.\n\n### Why don\'t you use checked exceptions?\n\nChecked exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason.\n\nChecked exceptions:\n\n- Are verbose to handle\n- Encourage error handling at the wrong level of abstraction, where nothing can be done about the error\n- Are tedious to propagate due to the [function coloring problem](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function)\n- Don\'t play well with lambdas (also due to the function coloring problem)\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/stainless-v0-kotlin/issues) with questions, bugs, or suggestions.\n', }, { language: 'php', From 7987423c0ff2593c0da7f5b3beeeedeaecb9ea5a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 8 May 2026 02:18:11 +0000 Subject: [PATCH 68/69] chore(internal): codegen related update --- src/internal/utils/log.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/internal/utils/log.ts b/src/internal/utils/log.ts index a09760c4..ff4174d5 100644 --- a/src/internal/utils/log.ts +++ b/src/internal/utils/log.ts @@ -107,6 +107,8 @@ export const formatRequestDetails = (details: { name, ( name.toLowerCase() === 'authorization' || + name.toLowerCase() === 'api-key' || + name.toLowerCase() === 'x-api-key' || name.toLowerCase() === 'cookie' || name.toLowerCase() === 'set-cookie' ) ? From 996e67ed00b7a9c9b2ee7d300598e348c660048d Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Thu, 7 May 2026 19:18:53 -0700 Subject: [PATCH 69/69] release: 0.6.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 86 +++++++++++++++++++++++++++++++ package.json | 2 +- packages/mcp-server/manifest.json | 2 +- packages/mcp-server/package.json | 2 +- packages/mcp-server/src/server.ts | 2 +- src/version.ts | 2 +- 7 files changed, 92 insertions(+), 6 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f1c1e588..bcd05228 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.5.0" + ".": "0.6.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b527478..c3ac9bf1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,91 @@ # Changelog +## 0.6.0 (2026-05-08) + +Full Changelog: [v0.5.0...v0.6.0](https://github.com/stainless-api/stainless-api-typescript/compare/v0.5.0...v0.6.0) + +### Features + +* **api:** add a way to fetch specific files via /v0/build_target_outputs ([47d31df](https://github.com/stainless-api/stainless-api-typescript/commit/47d31df25bf59538cc25f9af45df6798532cb5d9)) +* **api:** add host to v0 build endpoints ([582f2ee](https://github.com/stainless-api/stainless-api-typescript/commit/582f2ee584d2f66726f244c59b5b28557fa28229)) +* **api:** api update ([a39391e](https://github.com/stainless-api/stainless-api-typescript/commit/a39391e98d5301eb1dd20f692dfece0b545ce9f0)) +* **api:** manual updates ([9e3aa9a](https://github.com/stainless-api/stainless-api-typescript/commit/9e3aa9abc46be254d0a36d44376e474e627a5621)) +* support setting headers via env ([5dd3dca](https://github.com/stainless-api/stainless-api-typescript/commit/5dd3dca364fb1d22777575b1db552a3747044fe9)) + + +### Bug Fixes + +* escape MCP `instructions` backticks as necessary ([c0743c2](https://github.com/stainless-api/stainless-api-typescript/commit/c0743c2249a2a00ed4c1d2d97c08a3a9f65c2b28)) +* **internal:** gitignore generated `oidc` dir ([0c48336](https://github.com/stainless-api/stainless-api-typescript/commit/0c4833637b9f8b77d049c3640491e80eeab435e5)) + + +### Chores + +* avoid formatting file that gets changed during releases ([88cd684](https://github.com/stainless-api/stainless-api-typescript/commit/88cd6842673b1db18d254bbdf7eef58a0ff1a944)) +* **ci:** escape input path in publish-npm workflow ([b2ac0d2](https://github.com/stainless-api/stainless-api-typescript/commit/b2ac0d28f0a05101140977a6c59625321edbe8ee)) +* **ci:** skip lint on metadata-only changes ([ca653c1](https://github.com/stainless-api/stainless-api-typescript/commit/ca653c1fff337672bee70ede60d597f18f0087c2)) +* configure new SDK language ([5c79cfc](https://github.com/stainless-api/stainless-api-typescript/commit/5c79cfc74db9cca61bf0e3f90f3afdc8ab2bcdc3)) +* **format:** run eslint and prettier separately ([3f0f01c](https://github.com/stainless-api/stainless-api-typescript/commit/3f0f01c00632bbaffe94082a20d259a1928085af)) +* **formatter:** run prettier and eslint separately ([18c0ff0](https://github.com/stainless-api/stainless-api-typescript/commit/18c0ff09d24b6bc67f49c7a48ef1695997f23682)) +* **internal:** codegen related update ([7987423](https://github.com/stainless-api/stainless-api-typescript/commit/7987423c0ff2593c0da7f5b3beeeedeaecb9ea5a)) +* **internal:** codegen related update ([f411687](https://github.com/stainless-api/stainless-api-typescript/commit/f411687c0665a65309dd9472dcd9d71b2fdedd5d)) +* **internal:** codegen related update ([c1614b4](https://github.com/stainless-api/stainless-api-typescript/commit/c1614b4236cf224d2eeff1219c2f922dc865e837)) +* **internal:** codegen related update ([4d7b8fd](https://github.com/stainless-api/stainless-api-typescript/commit/4d7b8fdf6ed827dc03919db6368e31da639169d1)) +* **internal:** codegen related update ([1a7e654](https://github.com/stainless-api/stainless-api-typescript/commit/1a7e65435142ed6005fcb6d09e47c56943905026)) +* **internal:** codegen related update ([1f6d02c](https://github.com/stainless-api/stainless-api-typescript/commit/1f6d02ce2bd8b3e409c4d9f01c4f453f040ff41f)) +* **internal:** codegen related update ([cdcf59b](https://github.com/stainless-api/stainless-api-typescript/commit/cdcf59bf708df0b1420302c821177f0a33b35c0b)) +* **internal:** codegen related update ([d12219d](https://github.com/stainless-api/stainless-api-typescript/commit/d12219d6d1e0f5738c0ad0130354a9edbf7b9a7d)) +* **internal:** codegen related update ([0dea9de](https://github.com/stainless-api/stainless-api-typescript/commit/0dea9de11c089e830bea82382bac0f7d358c8030)) +* **internal:** codegen related update ([8c4472e](https://github.com/stainless-api/stainless-api-typescript/commit/8c4472ebe25db5c39a031ad1b30128f68acffee7)) +* **internal:** codegen related update ([5b28358](https://github.com/stainless-api/stainless-api-typescript/commit/5b28358f1d6ba6486ae8139e23c7b42584aa75d7)) +* **internal:** codegen related update ([10e4a74](https://github.com/stainless-api/stainless-api-typescript/commit/10e4a7463de222d8233c0819c2872b34149e69f4)) +* **internal:** codegen related update ([418b537](https://github.com/stainless-api/stainless-api-typescript/commit/418b537d3ec57b2099ef0e961aa97307b66bcd59)) +* **internal:** codegen related update ([7488007](https://github.com/stainless-api/stainless-api-typescript/commit/74880071e6313d8184d3f8f0898079e45d4af9c8)) +* **internal:** fix MCP server import ordering ([51ba135](https://github.com/stainless-api/stainless-api-typescript/commit/51ba135c4db3194d080ed739d681df807fba3f7a)) +* **internal:** fix MCP server TS errors that occur with required client options ([953025e](https://github.com/stainless-api/stainless-api-typescript/commit/953025ee34a621464681480b01a318fa18356a96)) +* **internal:** improve local docs search for MCP servers ([7cb39f8](https://github.com/stainless-api/stainless-api-typescript/commit/7cb39f817135cd4a71dd89472754eb3afb67cac7)) +* **internal:** improve local docs search for MCP servers ([d6f4642](https://github.com/stainless-api/stainless-api-typescript/commit/d6f4642f8a56ffb6ca4d1fba27f540715d33b3f9)) +* **internal:** make generated MCP servers compatible with Cloudflare worker environments ([240ce54](https://github.com/stainless-api/stainless-api-typescript/commit/240ce54162d3f6994d335b30d966820017ac1721)) +* **internal:** more robust bootstrap script ([5b963c5](https://github.com/stainless-api/stainless-api-typescript/commit/5b963c5b038db92be5948f505df0c09fc43f67d5)) +* **internal:** show error causes in MCP servers when running in local mode ([904e84e](https://github.com/stainless-api/stainless-api-typescript/commit/904e84ee03f53ebafbc98dc33f85d77c025e489a)) +* **internal:** support custom-instructions-path flag in MCP servers ([74a7953](https://github.com/stainless-api/stainless-api-typescript/commit/74a795308d7f1385e12166d692621f55059e545a)) +* **internal:** support local docs search in MCP servers ([4d8f430](https://github.com/stainless-api/stainless-api-typescript/commit/4d8f430aac34cf9540f6bd9471ac44d61ba52aaf)) +* **internal:** support type annotations when running MCP in local execution mode ([bd8940c](https://github.com/stainless-api/stainless-api-typescript/commit/bd8940c7928a38fa38744604886a38a4cce9b538)) +* **internal:** support x-stainless-mcp-client-envs header in MCP servers ([a030429](https://github.com/stainless-api/stainless-api-typescript/commit/a030429bef5a6eb81aaa537697a8eea5eb429f8b)) +* **internal:** support x-stainless-mcp-client-permissions headers in MCP servers ([25afcb0](https://github.com/stainless-api/stainless-api-typescript/commit/25afcb0bd66984f37e13e64b85d57bb80f69f2c3)) +* **internal:** tweak CI branches ([ccf0b9f](https://github.com/stainless-api/stainless-api-typescript/commit/ccf0b9fa50a012c03bc7ae332d3e5a55cae91310)) +* **internal:** update dependencies to address dependabot vulnerabilities ([f542774](https://github.com/stainless-api/stainless-api-typescript/commit/f542774a0fe3b39095be9d760ba0e5737cbaa511)) +* **internal:** update docs ordering ([d0faae8](https://github.com/stainless-api/stainless-api-typescript/commit/d0faae865d8683e2202d7fe0d51cce48a16b61d6)) +* **internal:** update gitignore ([63eab56](https://github.com/stainless-api/stainless-api-typescript/commit/63eab56360c8d36656ff40c7a6abd647d787681a)) +* **internal:** update lock file ([e27afe4](https://github.com/stainless-api/stainless-api-typescript/commit/e27afe4a2c9631f1b74409293476cd3672576c08)) +* **internal:** update lockfile ([2927f0b](https://github.com/stainless-api/stainless-api-typescript/commit/2927f0b624f2d4fe14d01ab3c584d5e5bfc0be3b)) +* **internal:** update multipart form array serialization ([cf0a2fd](https://github.com/stainless-api/stainless-api-typescript/commit/cf0a2fd88c94427f737f4ff679f54b832bc9470d)) +* **mcp-server:** add support for session id, forward client info ([97a77cb](https://github.com/stainless-api/stainless-api-typescript/commit/97a77cb6a4ee65aaac3fa9c596ff7e736a6bbe1f)) +* **mcp-server:** improve instructions ([254552f](https://github.com/stainless-api/stainless-api-typescript/commit/254552f98aaf9b74168e0fa160d0b08cc2fe7596)) +* **mcp-server:** increase local docs search result count from 5 to 10 ([514b997](https://github.com/stainless-api/stainless-api-typescript/commit/514b997e6ea5a63d291b682afc558cb15069601f)) +* **mcp-server:** log client info ([96c130a](https://github.com/stainless-api/stainless-api-typescript/commit/96c130a0ed90dccb7f3e9dc2d56350773e2a025b)) +* restructure docs search code ([2bd2b16](https://github.com/stainless-api/stainless-api-typescript/commit/2bd2b1625b8a9743fe898c64cc95ca8c01410726)) +* run formatter on custom code ([#223](https://github.com/stainless-api/stainless-api-typescript/issues/223)) ([a402a26](https://github.com/stainless-api/stainless-api-typescript/commit/a402a26cf8edbc433ada48b5ee97311643c8fd6c)) +* **tests:** bump steady to v0.19.4 ([b1d8900](https://github.com/stainless-api/stainless-api-typescript/commit/b1d890082ab881413104094f41b4cdffd2a04a9b)) +* **tests:** bump steady to v0.19.5 ([9a02a5a](https://github.com/stainless-api/stainless-api-typescript/commit/9a02a5aae4908b6d0161ddb794db881a9851b168)) +* **tests:** bump steady to v0.19.6 ([1722669](https://github.com/stainless-api/stainless-api-typescript/commit/1722669260ce7e69fbea51edfcde4c88fd3258e5)) +* **tests:** bump steady to v0.19.7 ([ab4d58b](https://github.com/stainless-api/stainless-api-typescript/commit/ab4d58b29688ed19b00d098673d3839cf2e220f3)) +* **tests:** bump steady to v0.20.1 ([995a1ce](https://github.com/stainless-api/stainless-api-typescript/commit/995a1ceb2de6912839a2114ae0f54bda153797a6)) +* **tests:** bump steady to v0.20.2 ([4dcb408](https://github.com/stainless-api/stainless-api-typescript/commit/4dcb408bbe36e5e2d04a808a835d8e2a7f71ec23)) +* **tests:** bump steady to v0.22.1 ([247b1b2](https://github.com/stainless-api/stainless-api-typescript/commit/247b1b20529cf1e45629b3b7bf8bd54163341bb8)) +* update CLI documentation ([711fc24](https://github.com/stainless-api/stainless-api-typescript/commit/711fc24039244a438c3a60f26a3ad627bfd981ed)) +* update probot ([6f7c736](https://github.com/stainless-api/stainless-api-typescript/commit/6f7c7368fce7ba79131444da334be12fbdf0c3d6)) + + +### Documentation + +* update logging docs ([f6f76a8](https://github.com/stainless-api/stainless-api-typescript/commit/f6f76a8bf8da098587b745c566467add238f90ee)) + + +### Refactors + +* **tests:** switch from prism to steady ([848becd](https://github.com/stainless-api/stainless-api-typescript/commit/848becd5669e0cdfb3ee21f7040cf2a0b7afd78a)) + ## 0.5.0 (2026-03-02) Full Changelog: [v0.4.0...v0.5.0](https://github.com/stainless-api/stainless-api-typescript/compare/v0.4.0...v0.5.0) diff --git a/package.json b/package.json index 646fbbf7..24feef83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stainless-api/sdk", - "version": "0.5.0", + "version": "0.6.0", "description": "The official TypeScript library for the Stainless API", "author": "Stainless ", "types": "dist/index.d.ts", diff --git a/packages/mcp-server/manifest.json b/packages/mcp-server/manifest.json index 3640f9bc..1de470de 100644 --- a/packages/mcp-server/manifest.json +++ b/packages/mcp-server/manifest.json @@ -1,7 +1,7 @@ { "dxt_version": "0.2", "name": "@stainless-api/sdk-mcp", - "version": "0.5.0", + "version": "0.6.0", "description": "The official MCP Server for the Stainless API", "author": { "name": "Stainless", diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index dbe5982d..b27d3471 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -1,6 +1,6 @@ { "name": "@stainless-api/sdk-mcp", - "version": "0.5.0", + "version": "0.6.0", "description": "The official MCP Server for the Stainless API", "author": "Stainless ", "types": "dist/index.d.ts", diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index b3716eff..4903dfe5 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -29,7 +29,7 @@ export const newMcpServer = async ({ new McpServer( { name: 'stainless_api_sdk_api', - version: '0.5.0', + version: '0.6.0', }, { instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }), diff --git a/src/version.ts b/src/version.ts index 1f5d1586..30c28175 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.5.0'; // x-release-please-version +export const VERSION = '0.6.0'; // x-release-please-version