pull/715/head
Travis Fischer 2025-05-21 00:52:18 +07:00
rodzic 5a90fe0703
commit 584d692ed7
3 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -16,7 +16,7 @@ import { deploymentIdParamsSchema, populateDeploymentSchema } from './schemas'
const route = createRoute({ const route = createRoute({
description: 'Gets a deployment', description: 'Gets a deployment',
tags: ['deployments'], tags: ['deployments'],
operationId: 'getdeployment', operationId: 'getDeployment',
method: 'get', method: 'get',
path: 'deployments/{deploymentId}', path: 'deployments/{deploymentId}',
security: openapiAuthenticatedSecuritySchemas, security: openapiAuthenticatedSecuritySchemas,

Wyświetl plik

@ -196,11 +196,11 @@ export class AgenticApiClient {
.json() .json()
} }
async getdeployment({ async getDeployment({
deploymentId, deploymentId,
...searchParams ...searchParams
}: OperationParameters<'getdeployment'>): Promise< }: OperationParameters<'getDeployment'>): Promise<
OperationResponse<'getdeployment'> OperationResponse<'getDeployment'>
> { > {
return this.ky return this.ky
.get(`v1/deployments/${deploymentId}`, { searchParams }) .get(`v1/deployments/${deploymentId}`, { searchParams })

Wyświetl plik

@ -244,7 +244,7 @@ export interface paths {
cookie?: never; cookie?: never;
}; };
/** @description Gets a deployment */ /** @description Gets a deployment */
get: operations["getdeployment"]; get: operations["getDeployment"];
put?: never; put?: never;
/** @description Updates a deployment. */ /** @description Updates a deployment. */
post: operations["updateDeployment"]; post: operations["updateDeployment"];
@ -1174,7 +1174,7 @@ export interface operations {
404: components["responses"]["404"]; 404: components["responses"]["404"];
}; };
}; };
getdeployment: { getDeployment: {
parameters: { parameters: {
query?: { query?: {
populate?: ("user" | "team" | "project")[]; populate?: ("user" | "team" | "project")[];