kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/715/head
rodzic
5a90fe0703
commit
584d692ed7
|
@ -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,
|
||||
|
|
|
@ -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 })
|
||||
|
|
|
@ -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")[];
|
||||
|
|
Ładowanie…
Reference in New Issue