Skip to content

Commit 5f82281

Browse files
feat(api): api update
1 parent 1fa19c3 commit 5f82281

6 files changed

Lines changed: 4 additions & 248 deletions

File tree

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 19
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-3226a0810ae5de980509e31910138990d93d2843918730249caed1436e677ec3.yml
3-
openapi_spec_hash: 776a9087e0c342e9fcbd140e75936d75
4-
config_hash: c5fc921cc04f541a85f92299f365eba6
1+
configured_endpoints: 15
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-252ab435934e85d5f76957188c64906abf76a0351c5861383327cb1297a2ac8a.yml
3+
openapi_spec_hash: ed801bb30428c1c66cb0af97e3f6ee9c
4+
config_hash: 253e4b5ca01236d448980a78491c17c5

api.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,6 @@ Methods:
6060
- <code title="post /agent/schedules/{scheduleId}/pause">client.agent.schedules.<a href="./src/resources/agent/schedules.ts">pause</a>(scheduleID) -> ScheduledAgentItem</code>
6161
- <code title="post /agent/schedules/{scheduleId}/resume">client.agent.schedules.<a href="./src/resources/agent/schedules.ts">resume</a>(scheduleID) -> ScheduledAgentItem</code>
6262

63-
## Agent
64-
65-
Types:
66-
67-
- <code><a href="./src/resources/agent/agent_.ts">AgentResponse</a></code>
68-
- <code><a href="./src/resources/agent/agent_.ts">CreateAgentRequest</a></code>
69-
- <code><a href="./src/resources/agent/agent_.ts">ListAgentIdentitiesResponse</a></code>
70-
- <code><a href="./src/resources/agent/agent_.ts">UpdateAgentRequest</a></code>
71-
72-
Methods:
73-
74-
- <code title="post /agent/identities">client.agent.agent.<a href="./src/resources/agent/agent_.ts">create</a>({ ...params }) -> AgentResponse</code>
75-
- <code title="put /agent/identities/{uid}">client.agent.agent.<a href="./src/resources/agent/agent_.ts">update</a>(uid, { ...params }) -> AgentResponse</code>
76-
- <code title="get /agent/identities">client.agent.agent.<a href="./src/resources/agent/agent_.ts">list</a>() -> ListAgentIdentitiesResponse</code>
77-
- <code title="delete /agent/identities/{uid}">client.agent.agent.<a href="./src/resources/agent/agent_.ts">delete</a>(uid) -> void</code>
78-
7963
## Sessions
8064

8165
Types:

src/resources/agent/agent.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
import { APIResource } from '../../core/resource';
44
import * as AgentAPI from './agent';
5-
import * as AgentAgentAPI from './agent_';
6-
import {
7-
Agent as AgentAPIAgent,
8-
AgentCreateParams,
9-
AgentResponse,
10-
AgentUpdateParams,
11-
CreateAgentRequest,
12-
ListAgentIdentitiesResponse,
13-
UpdateAgentRequest,
14-
} from './agent_';
155
import * as RunsAPI from './runs';
166
import {
177
ArtifactItem,
@@ -45,7 +35,6 @@ import { path } from '../../internal/utils/path';
4535
export class Agent extends APIResource {
4636
runs: RunsAPI.Runs = new RunsAPI.Runs(this._client);
4737
schedules: SchedulesAPI.Schedules = new SchedulesAPI.Schedules(this._client);
48-
agent: AgentAgentAPI.Agent = new AgentAgentAPI.Agent(this._client);
4938
sessions: SessionsAPI.Sessions = new SessionsAPI.Sessions(this._client);
5039

5140
/**
@@ -1030,7 +1019,6 @@ export namespace AgentRunParams {
10301019

10311020
Agent.Runs = Runs;
10321021
Agent.Schedules = Schedules;
1033-
Agent.Agent = AgentAPIAgent;
10341022
Agent.Sessions = Sessions;
10351023

10361024
export declare namespace Agent {
@@ -1076,15 +1064,5 @@ export declare namespace Agent {
10761064
type ScheduleUpdateParams as ScheduleUpdateParams,
10771065
};
10781066

1079-
export {
1080-
AgentAPIAgent as Agent,
1081-
type AgentResponse as AgentResponse,
1082-
type CreateAgentRequest as CreateAgentRequest,
1083-
type ListAgentIdentitiesResponse as ListAgentIdentitiesResponse,
1084-
type UpdateAgentRequest as UpdateAgentRequest,
1085-
type AgentCreateParams as AgentCreateParams,
1086-
type AgentUpdateParams as AgentUpdateParams,
1087-
};
1088-
10891067
export { Sessions as Sessions, type SessionCheckRedirectResponse as SessionCheckRedirectResponse };
10901068
}

src/resources/agent/agent_.ts

Lines changed: 0 additions & 135 deletions
This file was deleted.

src/resources/agent/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,3 @@ export {
4141
type ScheduleUpdateParams,
4242
} from './schedules';
4343
export { Sessions, type SessionCheckRedirectResponse } from './sessions';
44-
export {
45-
type AgentResponse,
46-
type CreateAgentRequest,
47-
type ListAgentIdentitiesResponse,
48-
type UpdateAgentRequest,
49-
type AgentCreateParams,
50-
type AgentUpdateParams,
51-
} from './agent_';

tests/api-resources/agent/agent_.test.ts

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)