Skip to content

Commit

Permalink
chore(assistants_web): re-generated client
Browse files Browse the repository at this point in the history
  • Loading branch information
ezawadski committed Jan 13, 2025
1 parent ee89fe9 commit 3390e12
Show file tree
Hide file tree
Showing 4 changed files with 2,190 additions and 811 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,36 @@ import type { BaseHttpRequest } from './core/BaseHttpRequest';
import { FetchHttpRequest } from './core/FetchHttpRequest';
import type { OpenAPIConfig } from './core/OpenAPI';
import { Interceptors } from './core/OpenAPI';
import { AgentsService } from './services.gen';
import { AuthService } from './services.gen';
import { ChatService } from './services.gen';
import { ConversationService } from './services.gen';
import { DefaultService } from './services.gen';
import { DeploymentService } from './services.gen';
import { ExperimentalFeaturesService } from './services.gen';
import { ModelService } from './services.gen';
import { OrganizationService } from './services.gen';
import { ScimService } from './services.gen';
import { SnapshotService } from './services.gen';
import { ToolService } from './services.gen';
import { UserService } from './services.gen';

type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;

export class CohereClientGenerated {
public readonly agents: AgentsService;
public readonly auth: AuthService;
public readonly chat: ChatService;
public readonly conversation: ConversationService;
public readonly default: DefaultService;
public readonly deployment: DeploymentService;
public readonly experimentalFeatures: ExperimentalFeaturesService;
public readonly model: ModelService;
public readonly organization: OrganizationService;
public readonly scim: ScimService;
public readonly snapshot: SnapshotService;
public readonly tool: ToolService;
public readonly user: UserService;

public readonly request: BaseHttpRequest;

Expand All @@ -31,6 +55,18 @@ export class CohereClientGenerated {
},
});

this.agents = new AgentsService(this.request);
this.auth = new AuthService(this.request);
this.chat = new ChatService(this.request);
this.conversation = new ConversationService(this.request);
this.default = new DefaultService(this.request);
this.deployment = new DeploymentService(this.request);
this.experimentalFeatures = new ExperimentalFeaturesService(this.request);
this.model = new ModelService(this.request);
this.organization = new OrganizationService(this.request);
this.scim = new ScimService(this.request);
this.snapshot = new SnapshotService(this.request);
this.tool = new ToolService(this.request);
this.user = new UserService(this.request);
}
}
Loading

0 comments on commit 3390e12

Please sign in to comment.