telnyx 5.124.0 → 5.126.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 +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +142 -6
- data/lib/telnyx/models/ai/assistant_tool.rb +13 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +142 -6
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +144 -6
- data/lib/telnyx/models/ai/inference_embedding.rb +132 -6
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +232 -8
- data/rbi/telnyx/models/ai/assistant_tool.rbi +19 -0
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +232 -8
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +232 -8
- data/rbi/telnyx/models/ai/inference_embedding.rbi +219 -4
- data/sig/telnyx/models/ai/assistant_create_params.rbs +81 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +7 -0
- data/sig/telnyx/models/ai/assistant_update_params.rbs +81 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +81 -0
- data/sig/telnyx/models/ai/inference_embedding.rbs +81 -0
- metadata +2 -2
|
@@ -113,6 +113,7 @@ module Telnyx
|
|
|
113
113
|
from: String,
|
|
114
114
|
targets: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets,
|
|
115
115
|
custom_headers: ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader],
|
|
116
|
+
description: String,
|
|
116
117
|
voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
|
|
117
118
|
warm_message_delay_ms: Integer?,
|
|
118
119
|
warm_transfer_instructions: String
|
|
@@ -129,6 +130,10 @@ module Telnyx
|
|
|
129
130
|
::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader]
|
|
130
131
|
) -> ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader]
|
|
131
132
|
|
|
133
|
+
attr_reader description: String?
|
|
134
|
+
|
|
135
|
+
def description=: (String) -> String
|
|
136
|
+
|
|
132
137
|
attr_reader voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection?
|
|
133
138
|
|
|
134
139
|
def voicemail_detection=: (
|
|
@@ -145,6 +150,7 @@ module Telnyx
|
|
|
145
150
|
from: String,
|
|
146
151
|
targets: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets,
|
|
147
152
|
?custom_headers: ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader],
|
|
153
|
+
?description: String,
|
|
148
154
|
?voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
|
|
149
155
|
?warm_message_delay_ms: Integer?,
|
|
150
156
|
?warm_transfer_instructions: String
|
|
@@ -154,6 +160,7 @@ module Telnyx
|
|
|
154
160
|
from: String,
|
|
155
161
|
targets: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets,
|
|
156
162
|
custom_headers: ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader],
|
|
163
|
+
description: String,
|
|
157
164
|
voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
|
|
158
165
|
warm_message_delay_ms: Integer?,
|
|
159
166
|
warm_transfer_instructions: String
|
|
@@ -300,6 +300,7 @@ module Telnyx
|
|
|
300
300
|
type node =
|
|
301
301
|
Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Prompt
|
|
302
302
|
| Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Tool
|
|
303
|
+
| Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Speak
|
|
303
304
|
|
|
304
305
|
module Node
|
|
305
306
|
extend Telnyx::Internal::Type::Union
|
|
@@ -530,6 +531,75 @@ module Telnyx
|
|
|
530
531
|
end
|
|
531
532
|
end
|
|
532
533
|
|
|
534
|
+
type speak =
|
|
535
|
+
{
|
|
536
|
+
id: String,
|
|
537
|
+
message: String,
|
|
538
|
+
name: String,
|
|
539
|
+
position: Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::Position,
|
|
540
|
+
type: Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::type_
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
class Speak < Telnyx::Internal::Type::BaseModel
|
|
544
|
+
attr_accessor id: String
|
|
545
|
+
|
|
546
|
+
attr_accessor message: String
|
|
547
|
+
|
|
548
|
+
attr_reader name: String?
|
|
549
|
+
|
|
550
|
+
def name=: (String) -> String
|
|
551
|
+
|
|
552
|
+
attr_reader position: Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::Position?
|
|
553
|
+
|
|
554
|
+
def position=: (
|
|
555
|
+
Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::Position
|
|
556
|
+
) -> Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::Position
|
|
557
|
+
|
|
558
|
+
attr_reader type: Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::type_?
|
|
559
|
+
|
|
560
|
+
def type=: (
|
|
561
|
+
Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::type_
|
|
562
|
+
) -> Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::type_
|
|
563
|
+
|
|
564
|
+
def initialize: (
|
|
565
|
+
id: String,
|
|
566
|
+
message: String,
|
|
567
|
+
?name: String,
|
|
568
|
+
?position: Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::Position,
|
|
569
|
+
?type: Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::type_
|
|
570
|
+
) -> void
|
|
571
|
+
|
|
572
|
+
def to_hash: -> {
|
|
573
|
+
id: String,
|
|
574
|
+
message: String,
|
|
575
|
+
name: String,
|
|
576
|
+
position: Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::Position,
|
|
577
|
+
type: Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::type_
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
type position = { x: Float, y_: Float }
|
|
581
|
+
|
|
582
|
+
class Position < Telnyx::Internal::Type::BaseModel
|
|
583
|
+
attr_accessor x: Float
|
|
584
|
+
|
|
585
|
+
attr_accessor y_: Float
|
|
586
|
+
|
|
587
|
+
def initialize: (x: Float, y_: Float) -> void
|
|
588
|
+
|
|
589
|
+
def to_hash: -> { x: Float, y_: Float }
|
|
590
|
+
end
|
|
591
|
+
|
|
592
|
+
type type_ = :speak
|
|
593
|
+
|
|
594
|
+
module Type
|
|
595
|
+
extend Telnyx::Internal::Type::Enum
|
|
596
|
+
|
|
597
|
+
SPEAK: :speak
|
|
598
|
+
|
|
599
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Speak::type_]
|
|
600
|
+
end
|
|
601
|
+
end
|
|
602
|
+
|
|
533
603
|
def self?.variants: -> ::Array[Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::node]
|
|
534
604
|
end
|
|
535
605
|
|
|
@@ -567,6 +637,7 @@ module Telnyx
|
|
|
567
637
|
type condition =
|
|
568
638
|
Telnyx::AI::AssistantUpdateParams::ConversationFlow::Edge::Condition::Llm
|
|
569
639
|
| Telnyx::AI::AssistantUpdateParams::ConversationFlow::Edge::Condition::Expression
|
|
640
|
+
| Telnyx::AI::AssistantUpdateParams::ConversationFlow::Edge::Condition::Default
|
|
570
641
|
|
|
571
642
|
module Condition
|
|
572
643
|
extend Telnyx::Internal::Type::Union
|
|
@@ -676,6 +747,16 @@ module Telnyx
|
|
|
676
747
|
end
|
|
677
748
|
end
|
|
678
749
|
|
|
750
|
+
type default = { type: :default }
|
|
751
|
+
|
|
752
|
+
class Default < Telnyx::Internal::Type::BaseModel
|
|
753
|
+
attr_accessor type: :default
|
|
754
|
+
|
|
755
|
+
def initialize: (?type: :default) -> void
|
|
756
|
+
|
|
757
|
+
def to_hash: -> { type: :default }
|
|
758
|
+
end
|
|
759
|
+
|
|
679
760
|
def self?.variants: -> ::Array[Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Edge::condition]
|
|
680
761
|
end
|
|
681
762
|
|
|
@@ -285,6 +285,7 @@ module Telnyx
|
|
|
285
285
|
type node =
|
|
286
286
|
Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Prompt
|
|
287
287
|
| Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Tool
|
|
288
|
+
| Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak
|
|
288
289
|
|
|
289
290
|
module Node
|
|
290
291
|
extend Telnyx::Internal::Type::Union
|
|
@@ -515,6 +516,75 @@ module Telnyx
|
|
|
515
516
|
end
|
|
516
517
|
end
|
|
517
518
|
|
|
519
|
+
type speak =
|
|
520
|
+
{
|
|
521
|
+
id: String,
|
|
522
|
+
message: String,
|
|
523
|
+
name: String,
|
|
524
|
+
position: Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::Position,
|
|
525
|
+
type: Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::type_
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
class Speak < Telnyx::Internal::Type::BaseModel
|
|
529
|
+
attr_accessor id: String
|
|
530
|
+
|
|
531
|
+
attr_accessor message: String
|
|
532
|
+
|
|
533
|
+
attr_reader name: String?
|
|
534
|
+
|
|
535
|
+
def name=: (String) -> String
|
|
536
|
+
|
|
537
|
+
attr_reader position: Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::Position?
|
|
538
|
+
|
|
539
|
+
def position=: (
|
|
540
|
+
Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::Position
|
|
541
|
+
) -> Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::Position
|
|
542
|
+
|
|
543
|
+
attr_reader type: Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::type_?
|
|
544
|
+
|
|
545
|
+
def type=: (
|
|
546
|
+
Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::type_
|
|
547
|
+
) -> Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::type_
|
|
548
|
+
|
|
549
|
+
def initialize: (
|
|
550
|
+
id: String,
|
|
551
|
+
message: String,
|
|
552
|
+
?name: String,
|
|
553
|
+
?position: Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::Position,
|
|
554
|
+
?type: Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::type_
|
|
555
|
+
) -> void
|
|
556
|
+
|
|
557
|
+
def to_hash: -> {
|
|
558
|
+
id: String,
|
|
559
|
+
message: String,
|
|
560
|
+
name: String,
|
|
561
|
+
position: Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::Position,
|
|
562
|
+
type: Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::type_
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
type position = { x: Float, y_: Float }
|
|
566
|
+
|
|
567
|
+
class Position < Telnyx::Internal::Type::BaseModel
|
|
568
|
+
attr_accessor x: Float
|
|
569
|
+
|
|
570
|
+
attr_accessor y_: Float
|
|
571
|
+
|
|
572
|
+
def initialize: (x: Float, y_: Float) -> void
|
|
573
|
+
|
|
574
|
+
def to_hash: -> { x: Float, y_: Float }
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
type type_ = :speak
|
|
578
|
+
|
|
579
|
+
module Type
|
|
580
|
+
extend Telnyx::Internal::Type::Enum
|
|
581
|
+
|
|
582
|
+
SPEAK: :speak
|
|
583
|
+
|
|
584
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::Node::Speak::type_]
|
|
585
|
+
end
|
|
586
|
+
end
|
|
587
|
+
|
|
518
588
|
def self?.variants: -> ::Array[Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::node]
|
|
519
589
|
end
|
|
520
590
|
|
|
@@ -552,6 +622,7 @@ module Telnyx
|
|
|
552
622
|
type condition =
|
|
553
623
|
Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Edge::Condition::Llm
|
|
554
624
|
| Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Edge::Condition::Expression
|
|
625
|
+
| Telnyx::AI::Assistants::UpdateAssistant::ConversationFlow::Edge::Condition::Default
|
|
555
626
|
|
|
556
627
|
module Condition
|
|
557
628
|
extend Telnyx::Internal::Type::Union
|
|
@@ -664,6 +735,16 @@ module Telnyx
|
|
|
664
735
|
end
|
|
665
736
|
end
|
|
666
737
|
|
|
738
|
+
type default = { type: :default }
|
|
739
|
+
|
|
740
|
+
class Default < Telnyx::Internal::Type::BaseModel
|
|
741
|
+
attr_accessor type: :default
|
|
742
|
+
|
|
743
|
+
def initialize: (?type: :default) -> void
|
|
744
|
+
|
|
745
|
+
def to_hash: -> { type: :default }
|
|
746
|
+
end
|
|
747
|
+
|
|
667
748
|
def self?.variants: -> ::Array[Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::Edge::condition]
|
|
668
749
|
end
|
|
669
750
|
|
|
@@ -307,6 +307,7 @@ module Telnyx
|
|
|
307
307
|
type node =
|
|
308
308
|
Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Prompt
|
|
309
309
|
| Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Tool
|
|
310
|
+
| Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Speak
|
|
310
311
|
|
|
311
312
|
module Node
|
|
312
313
|
extend Telnyx::Internal::Type::Union
|
|
@@ -555,6 +556,75 @@ module Telnyx
|
|
|
555
556
|
end
|
|
556
557
|
end
|
|
557
558
|
|
|
559
|
+
type speak =
|
|
560
|
+
{
|
|
561
|
+
id: String,
|
|
562
|
+
message: String,
|
|
563
|
+
name: String,
|
|
564
|
+
position: Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Speak::Position,
|
|
565
|
+
type: Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak::type_
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
class Speak < Telnyx::Internal::Type::BaseModel
|
|
569
|
+
attr_accessor id: String
|
|
570
|
+
|
|
571
|
+
attr_accessor message: String
|
|
572
|
+
|
|
573
|
+
attr_reader name: String?
|
|
574
|
+
|
|
575
|
+
def name=: (String) -> String
|
|
576
|
+
|
|
577
|
+
attr_reader position: Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Speak::Position?
|
|
578
|
+
|
|
579
|
+
def position=: (
|
|
580
|
+
Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Speak::Position
|
|
581
|
+
) -> Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Speak::Position
|
|
582
|
+
|
|
583
|
+
attr_reader type: Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak::type_?
|
|
584
|
+
|
|
585
|
+
def type=: (
|
|
586
|
+
Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak::type_
|
|
587
|
+
) -> Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak::type_
|
|
588
|
+
|
|
589
|
+
def initialize: (
|
|
590
|
+
id: String,
|
|
591
|
+
message: String,
|
|
592
|
+
?name: String,
|
|
593
|
+
?position: Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Speak::Position,
|
|
594
|
+
?type: Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak::type_
|
|
595
|
+
) -> void
|
|
596
|
+
|
|
597
|
+
def to_hash: -> {
|
|
598
|
+
id: String,
|
|
599
|
+
message: String,
|
|
600
|
+
name: String,
|
|
601
|
+
position: Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Speak::Position,
|
|
602
|
+
type: Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak::type_
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
type position = { x: Float, y_: Float }
|
|
606
|
+
|
|
607
|
+
class Position < Telnyx::Internal::Type::BaseModel
|
|
608
|
+
attr_accessor x: Float
|
|
609
|
+
|
|
610
|
+
attr_accessor y_: Float
|
|
611
|
+
|
|
612
|
+
def initialize: (x: Float, y_: Float) -> void
|
|
613
|
+
|
|
614
|
+
def to_hash: -> { x: Float, y_: Float }
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
type type_ = :speak
|
|
618
|
+
|
|
619
|
+
module Type
|
|
620
|
+
extend Telnyx::Internal::Type::Enum
|
|
621
|
+
|
|
622
|
+
SPEAK: :speak
|
|
623
|
+
|
|
624
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak::type_]
|
|
625
|
+
end
|
|
626
|
+
end
|
|
627
|
+
|
|
558
628
|
def self?.variants: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::node]
|
|
559
629
|
end
|
|
560
630
|
|
|
@@ -592,6 +662,7 @@ module Telnyx
|
|
|
592
662
|
type condition =
|
|
593
663
|
Telnyx::AI::InferenceEmbedding::ConversationFlow::Edge::Condition::Llm
|
|
594
664
|
| Telnyx::AI::InferenceEmbedding::ConversationFlow::Edge::Condition::Expression
|
|
665
|
+
| Telnyx::AI::InferenceEmbedding::ConversationFlow::Edge::Condition::Default
|
|
595
666
|
|
|
596
667
|
module Condition
|
|
597
668
|
extend Telnyx::Internal::Type::Union
|
|
@@ -701,6 +772,16 @@ module Telnyx
|
|
|
701
772
|
end
|
|
702
773
|
end
|
|
703
774
|
|
|
775
|
+
type default = { type: :default }
|
|
776
|
+
|
|
777
|
+
class Default < Telnyx::Internal::Type::BaseModel
|
|
778
|
+
attr_accessor type: :default
|
|
779
|
+
|
|
780
|
+
def initialize: (?type: :default) -> void
|
|
781
|
+
|
|
782
|
+
def to_hash: -> { type: :default }
|
|
783
|
+
end
|
|
784
|
+
|
|
704
785
|
def self?.variants: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Edge::condition]
|
|
705
786
|
end
|
|
706
787
|
|
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.
|
|
4
|
+
version: 5.126.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-06-
|
|
11
|
+
date: 2026-06-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|