Skip to content

Commit fd445dd

Browse files
refactor(api): remove deprecated agent-auth endpoints from stainless.…
1 parent 542fb99 commit fd445dd

File tree

14 files changed

+86
-1030
lines changed

14 files changed

+86
-1030
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 108
1+
configured_endpoints: 100
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-13e82ae9e725e2c3ca19da7248a7a9c8696a0dfe088654cf26aea07c76d6567a.yml
33
openapi_spec_hash: 6d4151a6066a8474bc56923299aec18a
4-
config_hash: 3b1fbbb6bda0dac7e8b42e155cd7da56
4+
config_hash: 82f0a04081a3ab7111d3a9c68cd3ff2b

api.md

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -278,40 +278,6 @@ Methods:
278278
- <code title="post /browser_pools/{id_or_name}/flush">client.browserPools.<a href="./src/resources/browser-pools.ts">flush</a>(idOrName) -> void</code>
279279
- <code title="post /browser_pools/{id_or_name}/release">client.browserPools.<a href="./src/resources/browser-pools.ts">release</a>(idOrName, { ...params }) -> void</code>
280280

281-
# Agents
282-
283-
## Auth
284-
285-
Types:
286-
287-
- <code><a href="./src/resources/agents/auth/auth.ts">AgentAuthInvocationResponse</a></code>
288-
- <code><a href="./src/resources/agents/auth/auth.ts">AgentAuthSubmitResponse</a></code>
289-
- <code><a href="./src/resources/agents/auth/auth.ts">AuthAgent</a></code>
290-
- <code><a href="./src/resources/agents/auth/auth.ts">AuthAgentCreateRequest</a></code>
291-
- <code><a href="./src/resources/agents/auth/auth.ts">AuthAgentInvocationCreateRequest</a></code>
292-
- <code><a href="./src/resources/agents/auth/auth.ts">AuthAgentInvocationCreateResponse</a></code>
293-
- <code><a href="./src/resources/agents/auth/auth.ts">DiscoveredField</a></code>
294-
295-
Methods:
296-
297-
- <code title="post /agents/auth">client.agents.auth.<a href="./src/resources/agents/auth/auth.ts">create</a>({ ...params }) -> AuthAgent</code>
298-
- <code title="get /agents/auth/{id}">client.agents.auth.<a href="./src/resources/agents/auth/auth.ts">retrieve</a>(id) -> AuthAgent</code>
299-
- <code title="get /agents/auth">client.agents.auth.<a href="./src/resources/agents/auth/auth.ts">list</a>({ ...params }) -> AuthAgentsOffsetPagination</code>
300-
- <code title="delete /agents/auth/{id}">client.agents.auth.<a href="./src/resources/agents/auth/auth.ts">delete</a>(id) -> void</code>
301-
302-
### Invocations
303-
304-
Types:
305-
306-
- <code><a href="./src/resources/agents/auth/invocations.ts">InvocationExchangeResponse</a></code>
307-
308-
Methods:
309-
310-
- <code title="post /agents/auth/invocations">client.agents.auth.invocations.<a href="./src/resources/agents/auth/invocations.ts">create</a>({ ...params }) -> AuthAgentInvocationCreateResponse</code>
311-
- <code title="get /agents/auth/invocations/{invocation_id}">client.agents.auth.invocations.<a href="./src/resources/agents/auth/invocations.ts">retrieve</a>(invocationID) -> AgentAuthInvocationResponse</code>
312-
- <code title="post /agents/auth/invocations/{invocation_id}/exchange">client.agents.auth.invocations.<a href="./src/resources/agents/auth/invocations.ts">exchange</a>(invocationID, { ...params }) -> InvocationExchangeResponse</code>
313-
- <code title="post /agents/auth/invocations/{invocation_id}/submit">client.agents.auth.invocations.<a href="./src/resources/agents/auth/invocations.ts">submit</a>(invocationID, { ...params }) -> AgentAuthSubmitResponse</code>
314-
315281
# Credentials
316282

317283
Types:

src/client.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ import {
9797
ProxyListResponse,
9898
ProxyRetrieveResponse,
9999
} from './resources/proxies';
100-
import { Agents } from './resources/agents/agents';
101100
import { Auth } from './resources/auth/auth';
102101
import {
103102
BrowserCreateParams,
@@ -898,7 +897,6 @@ export class Kernel {
898897
proxies: API.Proxies = new API.Proxies(this);
899898
extensions: API.Extensions = new API.Extensions(this);
900899
browserPools: API.BrowserPools = new API.BrowserPools(this);
901-
agents: API.Agents = new API.Agents(this);
902900
credentials: API.Credentials = new API.Credentials(this);
903901
credentialProviders: API.CredentialProviders = new API.CredentialProviders(this);
904902
}
@@ -912,7 +910,6 @@ Kernel.Auth = Auth;
912910
Kernel.Proxies = Proxies;
913911
Kernel.Extensions = Extensions;
914912
Kernel.BrowserPools = BrowserPools;
915-
Kernel.Agents = Agents;
916913
Kernel.Credentials = Credentials;
917914
Kernel.CredentialProviders = CredentialProviders;
918915

@@ -1015,8 +1012,6 @@ export declare namespace Kernel {
10151012
type BrowserPoolReleaseParams as BrowserPoolReleaseParams,
10161013
};
10171014

1018-
export { Agents as Agents };
1019-
10201015
export {
10211016
Credentials as Credentials,
10221017
type CreateCredentialRequest as CreateCredentialRequest,

src/resources/agents.ts

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

src/resources/agents/agents.ts

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

src/resources/agents/auth.ts

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

0 commit comments

Comments
 (0)