From 84dfa0592a0f07170190b076d3813082be4c650e Mon Sep 17 00:00:00 2001 From: "lin.si" Date: Thu, 30 Jul 2026 16:11:21 +0800 Subject: [PATCH] docs: simplify call recipient example --- examples/create-and-wait.ts | 4 +--- openapi/calle.openapi.yaml | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/create-and-wait.ts b/examples/create-and-wait.ts index 55028d4..eac037f 100644 --- a/examples/create-and-wait.ts +++ b/examples/create-and-wait.ts @@ -10,9 +10,7 @@ const call = await client.calls.createAndWait( task: "Call each recipient and ask whether they can attend Friday lunch in San Francisco.", recipients: [ { - phones: [process.env.CALLE_EXAMPLE_PHONE ?? "+14155550100"], - region: "US", - locale: "en-US" + phones: [process.env.CALLE_EXAMPLE_PHONE ?? "+14155550100"] } ], resultSchema: { diff --git a/openapi/calle.openapi.yaml b/openapi/calle.openapi.yaml index 269e273..dbd1552 100644 --- a/openapi/calle.openapi.yaml +++ b/openapi/calle.openapi.yaml @@ -32,12 +32,8 @@ paths: recipients: - phones: - "" - region: US - locale: en-US - phones: - "" - region: US - locale: en-US result_schema: type: object required: