vapi_server_sdk 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a096af2fdd7e54c527a567840b9eb8c4deb5cf4a6e060251c8675726864d724
4
- data.tar.gz: a9f5760e44f88558b12ab455ee0e78fb53859aa6ab61aacb0c1305ea610bade0
3
+ metadata.gz: 0be23d7fb3856512f3f54ef467f0c39f5cae42fd8ce3fc6c28766d19bb5d8bd4
4
+ data.tar.gz: 729e21c6b387f0d2df242737b6b5f831532287659a568baf86299fc3029b360a
5
5
  SHA512:
6
- metadata.gz: edae14e46a8bbab275442c06b6c99224fc3990f0fddaa1498d7b0829e26d6ae3b9a83679fc1cd8f8b69c2b4801f4077467a2a722841b378146d7bfa9d7e9d5fc
7
- data.tar.gz: 40eab86f63a3a0cb75a6b1cbe27c1c6dd9103f8d95519f5dd473fd3c7d5ad3369f62bd789b9c248828bbbe8773bf98e3fc2963342f433ff074c0c72b6af43b9b
6
+ metadata.gz: c79db4d5eebfa76677941fb753dda93a8fbbe3968ba26abfcf6f486052029ad85a6a6f9731d755f72b6dd3d7d195b3e7cbf0af00e4b042489affe8b7161ef2d2
7
+ data.tar.gz: 8c6ccbdfa83fe9aea9ef671736d349e8a7a47002217bf34029ea120d615557ded3d81e645e7522757295b56cb71c445ad8a9ea155d35d8479b4387f29f07b634
data/.fern/metadata.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
- "cliVersion": "4.63.5",
2
+ "cliVersion": "4.86.2",
3
3
  "generatorName": "fernapi/fern-ruby-sdk",
4
4
  "generatorVersion": "1.1.13",
5
5
  "generatorConfig": {
6
6
  "clientClassName": "Vapi",
7
7
  "rubocopVariableNumberStyle": "disabled"
8
8
  },
9
- "originGitCommit": "ecacee725cec63772e1117c532970df6fe444101",
10
- "sdkVersion": "1.0.0"
9
+ "originGitCommit": "7dc5137b61f1c65ebff4ce5d2fb11de2d945a1cf",
10
+ "sdkVersion": "1.1.0"
11
11
  }
data/changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.1.0 - 2026-04-22
2
+ ### Added
3
+ * **`Call#subscription_limits`** — new optional field exposing `SubscriptionLimits` data directly on `Call` objects.
4
+
1
5
  ## 0.0.3 - 2026-04-11
2
6
  * chore: remove User-Agent header from HTTP client
3
7
  * Remove the hardcoded `User-Agent` header from the default headers sent
data/lib/vapi/client.rb CHANGED
@@ -10,7 +10,7 @@ module Vapi
10
10
  @raw_client = Vapi::Internal::Http::RawClient.new(
11
11
  base_url: base_url || Vapi::Environment::DEFAULT,
12
12
  headers: {
13
- "User-Agent" => "vapi_server_sdk/1.0.0",
13
+ "User-Agent" => "vapi_server_sdk/1.1.0",
14
14
  "X-Fern-Language" => "Ruby",
15
15
  Authorization: "Bearer #{token}"
16
16
  }
@@ -43,6 +43,7 @@ module Vapi
43
43
  field :name, -> { String }, optional: true, nullable: false
44
44
  field :schedule_plan, -> { Vapi::Types::SchedulePlan }, optional: true, nullable: false, api_name: "schedulePlan"
45
45
  field :transport, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
46
+ field :subscription_limits, -> { Vapi::Types::SubscriptionLimits }, optional: true, nullable: false, api_name: "subscriptionLimits"
46
47
  end
47
48
  end
48
49
  end
data/lib/vapi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Vapi
4
- VERSION = "1.0.0"
4
+ VERSION = "1.1.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vapi_server_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vapi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-04-12 00:00:00.000000000 Z
11
+ date: 2026-04-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The Vapi Ruby library provides convenient access to the Vapi API from
14
14
  Ruby.