Skip to content

Commit bf01d02

Browse files
feat(api): api update
1 parent 1a83b30 commit bf01d02

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-d076f9130b9b5c626e52ca3ed9fecb5773255d64bfc57d6ec976a026ff1846ad.yml
3-
openapi_spec_hash: b1d571389ebc7f6010d5d5e6bae3d245
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-d9b4234b0e2a59b51f0152901538c963dfd29a16d744a2b5602ab527606f90bd.yml
3+
openapi_spec_hash: 665bdf1916cf0ddaa3c320e966af1bb4
44
config_hash: bf64816643634a621cd0ffd93d9c4347

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Types:
129129
Methods:
130130

131131
- <code title="get /v1/formatted_tools">client.tools.formatted.<a href="./src/resources/tools/formatted.ts">list</a>({ ...params }) -> FormattedListResponsesOffsetPage</code>
132-
- <code title="get /v1/formatted_tools/{name}">client.tools.formatted.<a href="./src/resources/tools/formatted.ts">get</a>(name, { ...params }) -> unknown</code>
132+
- <code title="get /v1/formatted_tools/{name}">client.tools.formatted.<a href="./src/resources/tools/formatted.ts">get</a>(name, { ...params }) -> FormattedGetResponse</code>
133133

134134
# Workers
135135

src/resources/tools/formatted.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ export class Formatted extends APIResource {
2828
name: string,
2929
query: FormattedGetParams | null | undefined = {},
3030
options?: RequestOptions,
31-
): APIPromise<unknown> {
31+
): APIPromise<FormattedGetResponse> {
3232
return this._client.get(path`/v1/formatted_tools/${name}`, { query, ...options });
3333
}
3434
}
3535

3636
export type FormattedListResponsesOffsetPage = OffsetPage<FormattedListResponse>;
3737

38-
export type FormattedListResponse = unknown;
38+
export type FormattedListResponse = { [key: string]: unknown };
3939

40-
export type FormattedGetResponse = unknown;
40+
export type FormattedGetResponse = { [key: string]: unknown };
4141

4242
export interface FormattedListParams extends OffsetPageParams {
4343
/**

0 commit comments

Comments
 (0)