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({
description: 'Gets a deployment',
tags: ['deployments'],
operationId: 'getdeployment',
operationId: 'getDeployment',
method: 'get',
path: 'deployments/{deploymentId}',
security: openapiAuthenticatedSecuritySchemas,

Wyświetl plik

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

Wyświetl plik

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