diff --git a/.stats.yml b/.stats.yml index 1a0b8be9..1cab3a3a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 19 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-d4269d3e7013741eeb30221bb022d65c5d81d7ed0edc06980eccf7c83fcb48a9.yml -openapi_spec_hash: 5661031e615bccd01256d82705ae27cc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-908af5d6d92eff24b930334d7fc1cfbdf96e2b686ec15b3b0cca96e7fdca43f2.yml +openapi_spec_hash: 07ef7f3f0c6cae5e3373e9af292a6acf config_hash: d86655f9af7ae4c4c444d9a16685a7c5 diff --git a/src/arcadepy/types/worker_response.py b/src/arcadepy/types/worker_response.py index 27722a20..85c899bc 100644 --- a/src/arcadepy/types/worker_response.py +++ b/src/arcadepy/types/worker_response.py @@ -5,7 +5,13 @@ from .._models import BaseModel -__all__ = ["WorkerResponse", "HTTP", "HTTPSecret", "Mcp", "Oxp", "OxpSecret"] +__all__ = ["WorkerResponse", "Binding", "HTTP", "HTTPSecret", "Mcp", "Oxp", "OxpSecret"] + + +class Binding(BaseModel): + id: Optional[str] = None + + type: Optional[Literal["static", "tenant", "organization", "account"]] = None class HTTPSecret(BaseModel): @@ -63,6 +69,8 @@ class Oxp(BaseModel): class WorkerResponse(BaseModel): id: Optional[str] = None + binding: Optional[Binding] = None + enabled: Optional[bool] = None http: Optional[HTTP] = None @@ -70,3 +78,5 @@ class WorkerResponse(BaseModel): mcp: Optional[Mcp] = None oxp: Optional[Oxp] = None + + type: Optional[Literal["http", "mcp", "unknown"]] = None