From f3c02f0810b2e199ebe48551fa1b0ded6681b3ac Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 17:24:01 +0000 Subject: [PATCH 1/3] [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..0f916b1 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,15 +1,15 @@ { - "cliVersion": "5.51.2", + "cliVersion": "5.70.1", "generatorName": "fernapi/fern-php-sdk", "generatorVersion": "2.4.0", "generatorConfig": { "namespace": "Vapi", "client-class-name": "VapiClient" }, - "originGitCommit": "5a015aa01196915bea6110904c69d5804f457ff5", + "originGitCommit": "70755f725bea8c30bebee53b470b1a45f16787a7", "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..dbaab79 --- /dev/null +++ b/.fern/replay.lock @@ -0,0 +1,10 @@ +# DO NOT EDIT MANUALLY - Managed by Fern Replay +version: "1.0" +generations: + - commit_sha: 13cd0c5de1ca81174c35f2ed009501bad4407ee6 + tree_hash: d10238b3698b8720795caaba3fff560bf0649009 + timestamp: 2026-07-14T17:23:53.755Z + cli_version: unknown + generator_versions: {} +current_generation: 13cd0c5de1ca81174c35f2ed009501bad4407ee6 +patches: [] diff --git a/.fernignore b/.fernignore index 978b3fa..0e6333f 100644 --- a/.fernignore +++ b/.fernignore @@ -1,3 +1,6 @@ # Specify files that shouldn't be modified by Fern .github/workflows/sdk-release-pr-notification.yml 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 eee84eaec85dd80dce83151c18008ec4cd72a923 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 17:24:02 +0000 Subject: [PATCH 2/3] [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. Additionally, update .fernignore to exclude replay and gitattributes files from Fern-managed changes. 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 0f916b1..69fb0c0 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 ?? []; From a4d14bc0ff53686877b7b92854bdf8a06f40452f Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 17:24:02 +0000 Subject: [PATCH 3/3] [fern-replay] advance lockfile --- .fern/replay.lock | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.fern/replay.lock b/.fern/replay.lock index dbaab79..6ecc96b 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -6,5 +6,11 @@ generations: timestamp: 2026-07-14T17:23:53.755Z cli_version: unknown generator_versions: {} -current_generation: 13cd0c5de1ca81174c35f2ed009501bad4407ee6 + - commit_sha: 87f8a484b6c1d5b2dd974cd0de218c744c4508eb + tree_hash: 513b6b46a18c404fd8e1022256e5e1d6f6cc02d9 + timestamp: 2026-07-14T17:23:54.090Z + cli_version: unknown + generator_versions: + fernapi/fern-php-sdk: 2.4.0 +current_generation: 87f8a484b6c1d5b2dd974cd0de218c744c4508eb patches: []