Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 1.11.0 #46

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.10.0"
".": "1.11.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 50
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-7294988dd2efa588f7b5f84fd01b132b237f83abdc44b6d3183e2f6b07ce1efa.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-a4b5a84b87c90071ff8e19d17346f929afbfb918d5d8c98dbadb85de802f4783.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.11.0 (2024-10-05)

Full Changelog: [v1.10.0...v1.11.0](https://github.com/julep-ai/node-sdk/compare/v1.10.0...v1.11.0)

### Features

* **api:** OpenAPI spec update via Stainless API ([#45](https://github.com/julep-ai/node-sdk/issues/45)) ([4d7461c](https://github.com/julep-ai/node-sdk/commit/4d7461cde2a7a908f6fe41476eb467fc0d469ca8))

## 1.10.0 (2024-10-04)

Full Changelog: [v1.9.0...v1.10.0](https://github.com/julep-ai/node-sdk/compare/v1.9.0...v1.10.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@julep/sdk",
"version": "1.10.0",
"version": "1.11.0",
"description": "The official TypeScript library for the Julep API",
"author": "Julep <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
105 changes: 93 additions & 12 deletions src/resources/agents/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export namespace ToolListResponse {

cookies?: Record<string, string> | null;

data?: Record<string, string> | null;
data?: unknown | null;

follow_redirects?: boolean | null;

Expand All @@ -137,13 +137,15 @@ export namespace ToolListResponse {
json?: unknown | null;

params?: string | unknown | null;

timeout?: number | null;
}

/**
* Function definition
*/
export interface Function {
description?: string | null;
description?: unknown | null;

name?: unknown | null;

Expand Down Expand Up @@ -175,9 +177,27 @@ export namespace ToolListResponse {
* System definition
*/
export interface System {
call: string;
operation:
| 'create'
| 'update'
| 'patch'
| 'create_or_update'
| 'embed'
| 'change_status'
| 'search'
| 'chat'
| 'history'
| 'delete'
| 'get'
| 'list';

resource: 'agent' | 'user' | 'task' | 'execution' | 'doc' | 'session' | 'job';

arguments?: unknown | null;

resource_id?: string | null;

subresource?: 'tool' | 'doc' | 'execution' | 'transition' | null;
}
}

Expand Down Expand Up @@ -220,7 +240,7 @@ export namespace ToolCreateParams {

cookies?: Record<string, string> | null;

data?: Record<string, string> | null;
data?: unknown | null;

follow_redirects?: boolean | null;

Expand All @@ -229,13 +249,15 @@ export namespace ToolCreateParams {
json?: unknown | null;

params?: string | unknown | null;

timeout?: number | null;
}

/**
* Function definition
*/
export interface Function {
description?: string | null;
description?: unknown | null;

name?: unknown | null;

Expand Down Expand Up @@ -267,9 +289,27 @@ export namespace ToolCreateParams {
* System definition
*/
export interface System {
call: string;
operation:
| 'create'
| 'update'
| 'patch'
| 'create_or_update'
| 'embed'
| 'change_status'
| 'search'
| 'chat'
| 'history'
| 'delete'
| 'get'
| 'list';

resource: 'agent' | 'user' | 'task' | 'execution' | 'doc' | 'session' | 'job';

arguments?: unknown | null;

resource_id?: string | null;

subresource?: 'tool' | 'doc' | 'execution' | 'transition' | null;
}
}

Expand Down Expand Up @@ -312,7 +352,7 @@ export namespace ToolUpdateParams {

cookies?: Record<string, string> | null;

data?: Record<string, string> | null;
data?: unknown | null;

follow_redirects?: boolean | null;

Expand All @@ -321,13 +361,15 @@ export namespace ToolUpdateParams {
json?: unknown | null;

params?: string | unknown | null;

timeout?: number | null;
}

/**
* Function definition
*/
export interface Function {
description?: string | null;
description?: unknown | null;

name?: unknown | null;

Expand Down Expand Up @@ -359,9 +401,27 @@ export namespace ToolUpdateParams {
* System definition
*/
export interface System {
call: string;
operation:
| 'create'
| 'update'
| 'patch'
| 'create_or_update'
| 'embed'
| 'change_status'
| 'search'
| 'chat'
| 'history'
| 'delete'
| 'get'
| 'list';

resource: 'agent' | 'user' | 'task' | 'execution' | 'doc' | 'session' | 'job';

arguments?: unknown | null;

resource_id?: string | null;

subresource?: 'tool' | 'doc' | 'execution' | 'transition' | null;
}
}

Expand Down Expand Up @@ -406,7 +466,7 @@ export namespace ToolPatchParams {

cookies?: Record<string, string> | null;

data?: Record<string, string> | null;
data?: unknown | null;

follow_redirects?: boolean | null;

Expand All @@ -418,14 +478,16 @@ export namespace ToolPatchParams {

params?: string | unknown | null;

timeout?: number | null;

url?: string | null;
}

/**
* Function definition
*/
export interface Function {
description?: string | null;
description?: unknown | null;

name?: unknown | null;

Expand Down Expand Up @@ -460,7 +522,26 @@ export namespace ToolPatchParams {
export interface System {
arguments?: unknown | null;

call?: string | null;
operation?:
| 'create'
| 'update'
| 'patch'
| 'create_or_update'
| 'embed'
| 'change_status'
| 'search'
| 'chat'
| 'history'
| 'delete'
| 'get'
| 'list'
| null;

resource?: 'agent' | 'user' | 'task' | 'execution' | 'doc' | 'session' | 'job' | null;

resource_id?: string | null;

subresource?: 'tool' | 'doc' | 'execution' | 'transition' | null;
}
}

Expand Down
Loading