telnyx 5.103.1 → 5.104.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: 92c2f691d2614f5d899710c4d375820facec4037c029150989b6db18632ece47
4
- data.tar.gz: 848e5a5a014b9d5771d4b0faae85405a24d34a7f9f42abaaa86406597b967597
3
+ metadata.gz: 2154962c4e4f5afd97c711f82206b39e6850e15b9380af208f7b7ef3ae60fa7b
4
+ data.tar.gz: '068f80cd9166458d035233bd8a77428c6df724341d9fdaf58b4dc229fdc9e5f0'
5
5
  SHA512:
6
- metadata.gz: 7cc6b26bcfeb843b18bcd6bbb97b7972adbb19fedb84c36fe153b850a9cb2a3f896a1d48b2e910c236479ead709588a1cb4e3eb4469ac89ad37e8a9920e19d52
7
- data.tar.gz: b1ee7f4de28ee8d1216ef637cf3a2af12354f9c69ae9396184619ba479c5ed8716aecc1a0c18e51142cb38b2899bdb399e816fbd2efce6e58b89083d864f3e62
6
+ metadata.gz: d0a6a1b2d40ab8fc74e635912e6b9e8399ded26087a7c3fd7615257466c62846545e5d9eb03d49628fbce130382432d34cc64e636bafe9a318ba00a0f7effc58
7
+ data.tar.gz: 962b77ba9d3e53c837a067298b335e291d4dba926eff6d3b4b89e5961bb400582363a546e9bed4d90489cb9a714abb84cfdc7845be01e9e933a036d4b9e4b4d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.104.0 (2026-05-08)
4
+
5
+ Full Changelog: [v5.103.1...v5.104.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.103.1...v5.104.0)
6
+
7
+ ### Features
8
+
9
+ * AI-2289 add disable greeting interruption OpenAPI fields ([fcfa59d](https://github.com/team-telnyx/telnyx-ruby/commit/fcfa59d6de2187835003320ff333b0eef128e154))
10
+
3
11
  ## 5.103.1 (2026-05-07)
4
12
 
5
13
  Full Changelog: [v5.103.0...v5.103.1](https://github.com/team-telnyx/telnyx-ruby/compare/v5.103.0...v5.103.1)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "telnyx", "~> 5.103.1"
27
+ gem "telnyx", "~> 5.104.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -4,6 +4,12 @@ module Telnyx
4
4
  module Models
5
5
  module AI
6
6
  class InferenceEmbeddingInterruptionSettings < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute disable_greeting_interruption
8
+ # When true, disables user interruptions while the assistant greeting is playing.
9
+ #
10
+ # @return [Boolean, nil]
11
+ optional :disable_greeting_interruption, Telnyx::Internal::Type::Boolean
12
+
7
13
  # @!attribute enable
8
14
  # Whether users can interrupt the assistant while it is speaking.
9
15
  #
@@ -19,7 +25,7 @@ module Telnyx
19
25
  # @return [Telnyx::Models::AI::StartSpeakingPlan, nil]
20
26
  optional :start_speaking_plan, -> { Telnyx::AI::StartSpeakingPlan }
21
27
 
22
- # @!method initialize(enable: nil, start_speaking_plan: nil)
28
+ # @!method initialize(disable_greeting_interruption: nil, enable: nil, start_speaking_plan: nil)
23
29
  # Some parameter documentations has been truncated, see
24
30
  # {Telnyx::Models::AI::InferenceEmbeddingInterruptionSettings} for more details.
25
31
  #
@@ -30,6 +36,8 @@ module Telnyx
30
36
  # `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
31
37
  # `eager_eot_threshold`).
32
38
  #
39
+ # @param disable_greeting_interruption [Boolean] When true, disables user interruptions while the assistant greeting is playing.
40
+ #
33
41
  # @param enable [Boolean] Whether users can interrupt the assistant while it is speaking.
34
42
  #
35
43
  # @param start_speaking_plan [Telnyx::Models::AI::StartSpeakingPlan] Controls when the assistant starts speaking after the user stops. These threshol
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.103.1"
4
+ VERSION = "5.104.0"
5
5
  end
@@ -12,6 +12,13 @@ module Telnyx
12
12
  )
13
13
  end
14
14
 
15
+ # When true, disables user interruptions while the assistant greeting is playing.
16
+ sig { returns(T.nilable(T::Boolean)) }
17
+ attr_reader :disable_greeting_interruption
18
+
19
+ sig { params(disable_greeting_interruption: T::Boolean).void }
20
+ attr_writer :disable_greeting_interruption
21
+
15
22
  # Whether users can interrupt the assistant while it is speaking.
16
23
  sig { returns(T.nilable(T::Boolean)) }
17
24
  attr_reader :enable
@@ -41,11 +48,14 @@ module Telnyx
41
48
  # `eager_eot_threshold`).
42
49
  sig do
43
50
  params(
51
+ disable_greeting_interruption: T::Boolean,
44
52
  enable: T::Boolean,
45
53
  start_speaking_plan: Telnyx::AI::StartSpeakingPlan::OrHash
46
54
  ).returns(T.attached_class)
47
55
  end
48
56
  def self.new(
57
+ # When true, disables user interruptions while the assistant greeting is playing.
58
+ disable_greeting_interruption: nil,
49
59
  # Whether users can interrupt the assistant while it is speaking.
50
60
  enable: nil,
51
61
  # Controls when the assistant starts speaking after the user stops. These
@@ -59,6 +69,7 @@ module Telnyx
59
69
  sig do
60
70
  override.returns(
61
71
  {
72
+ disable_greeting_interruption: T::Boolean,
62
73
  enable: T::Boolean,
63
74
  start_speaking_plan: Telnyx::AI::StartSpeakingPlan
64
75
  }
@@ -2,9 +2,17 @@ module Telnyx
2
2
  module Models
3
3
  module AI
4
4
  type inference_embedding_interruption_settings =
5
- { enable: bool, start_speaking_plan: Telnyx::AI::StartSpeakingPlan }
5
+ {
6
+ disable_greeting_interruption: bool,
7
+ enable: bool,
8
+ start_speaking_plan: Telnyx::AI::StartSpeakingPlan
9
+ }
6
10
 
7
11
  class InferenceEmbeddingInterruptionSettings < Telnyx::Internal::Type::BaseModel
12
+ attr_reader disable_greeting_interruption: bool?
13
+
14
+ def disable_greeting_interruption=: (bool) -> bool
15
+
8
16
  attr_reader enable: bool?
9
17
 
10
18
  def enable=: (bool) -> bool
@@ -16,11 +24,13 @@ module Telnyx
16
24
  ) -> Telnyx::AI::StartSpeakingPlan
17
25
 
18
26
  def initialize: (
27
+ ?disable_greeting_interruption: bool,
19
28
  ?enable: bool,
20
29
  ?start_speaking_plan: Telnyx::AI::StartSpeakingPlan
21
30
  ) -> void
22
31
 
23
32
  def to_hash: -> {
33
+ disable_greeting_interruption: bool,
24
34
  enable: bool,
25
35
  start_speaking_plan: Telnyx::AI::StartSpeakingPlan
26
36
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telnyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.103.1
4
+ version: 5.104.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-07 00:00:00.000000000 Z
11
+ date: 2026-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi