From 2955da314bfeab0913b3817164a611947f9fb6f8 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 21:51:02 +0000 Subject: [PATCH 1/2] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-php-sdk: 2.4.0 --- .fern/metadata.json | 6 +++--- .fern/replay.lock | 10 ++++++++++ .fernignore | 3 +++ .gitattributes | 1 + composer.json | 2 +- src/VapiClient.php | 4 ++-- 6 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 .fern/replay.lock create mode 100644 .gitattributes diff --git a/.fern/metadata.json b/.fern/metadata.json index 0a17558..5423a4f 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,15 +1,15 @@ { - "cliVersion": "5.51.2", + "cliVersion": "5.53.0", "generatorName": "fernapi/fern-php-sdk", "generatorVersion": "2.4.0", "generatorConfig": { "namespace": "Vapi", "client-class-name": "VapiClient" }, - "originGitCommit": "5a015aa01196915bea6110904c69d5804f457ff5", + "originGitCommit": "0cfee61145c6e58ac726d35e1c0153f4cf159b04", "originGitCommitIsDirty": true, "invokedBy": "ci", "requestedVersion": "AUTO", "ciProvider": "unknown", - "sdkVersion": "2.0.0" + "sdkVersion": "0.0.0-fern-placeholder" } \ No newline at end of file diff --git a/.fern/replay.lock b/.fern/replay.lock new file mode 100644 index 0000000..50486aa --- /dev/null +++ b/.fern/replay.lock @@ -0,0 +1,10 @@ +# DO NOT EDIT MANUALLY - Managed by Fern Replay +version: "1.0" +generations: + - commit_sha: 5e755ba3dc5f1962a9288a15ace069951c9779f8 + tree_hash: fcc5ae0a7bf9ba44c0268bb499c67f2568406a6d + timestamp: 2026-06-25T21:51:02.266Z + cli_version: unknown + generator_versions: {} +current_generation: 5e755ba3dc5f1962a9288a15ace069951c9779f8 +patches: [] diff --git a/.fernignore b/.fernignore index e6be721..4a249d8 100644 --- a/.fernignore +++ b/.fernignore @@ -1,2 +1,5 @@ # Specify files that shouldn't be modified by Fern changelog.md +.fern/replay.lock +.fern/replay.yml +.gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..74928d6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.fern/replay.lock linguist-generated=true diff --git a/composer.json b/composer.json index be52097..9f1a2c0 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "vapi/vapi", - "version": "2.0.0", + "version": "0.0.0-fern-placeholder", "description": "Vapi PHP Library", "keywords": [ "vapi", diff --git a/src/VapiClient.php b/src/VapiClient.php index 5c415f7..b430968 100644 --- a/src/VapiClient.php +++ b/src/VapiClient.php @@ -131,8 +131,8 @@ public function __construct( 'Authorization' => "Bearer $token", 'X-Fern-Language' => 'PHP', 'X-Fern-SDK-Name' => 'Vapi', - 'X-Fern-SDK-Version' => '2.0.0', - 'User-Agent' => 'vapi/vapi/2.0.0', + 'X-Fern-SDK-Version' => '0.0.0-fern-placeholder', + 'User-Agent' => 'vapi/vapi/0.0.0-fern-placeholder', ]; $this->options = $options ?? []; From 8f7aff7cffa7709de7444fd665b41b8e73af2c8c Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 21:51:09 +0000 Subject: [PATCH 2/2] [fern-autoversion] chore: remove User-Agent header from default request headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the hardcoded `User-Agent` header from the default headers sent with every API request in VapiClient. Also update .fernignore to exclude replay and gitattributes files from Fern modifications. Key changes: - Remove `User-Agent: vapi/vapi/2.0.0` from default request headers in VapiClient - Add `.fern/replay.lock`, `.fern/replay.yml`, and `.gitattributes` to .fernignore 🌿 Generated with Fern --- .fern/metadata.json | 2 +- composer.json | 2 +- src/VapiClient.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index 5423a4f..4dbdc80 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -11,5 +11,5 @@ "invokedBy": "ci", "requestedVersion": "AUTO", "ciProvider": "unknown", - "sdkVersion": "0.0.0-fern-placeholder" + "sdkVersion": "2.0.1" } \ No newline at end of file diff --git a/composer.json b/composer.json index 9f1a2c0..48297ac 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "vapi/vapi", - "version": "0.0.0-fern-placeholder", + "version": "2.0.1", "description": "Vapi PHP Library", "keywords": [ "vapi", diff --git a/src/VapiClient.php b/src/VapiClient.php index b430968..8e71920 100644 --- a/src/VapiClient.php +++ b/src/VapiClient.php @@ -131,8 +131,8 @@ public function __construct( 'Authorization' => "Bearer $token", 'X-Fern-Language' => 'PHP', 'X-Fern-SDK-Name' => 'Vapi', - 'X-Fern-SDK-Version' => '0.0.0-fern-placeholder', - 'User-Agent' => 'vapi/vapi/0.0.0-fern-placeholder', + 'X-Fern-SDK-Version' => '2.0.1', + 'User-Agent' => 'vapi/vapi/2.0.1', ]; $this->options = $options ?? [];