telnyx 5.119.0 → 5.121.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 +21 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +6 -0
- data/lib/telnyx/models/call_dial_params.rb +551 -1
- data/lib/telnyx/models/calls/action_answer_params.rb +556 -1
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +2 -2
- data/lib/telnyx/models/calls/action_speak_params.rb +2 -2
- data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +411 -84
- data/lib/telnyx/models/conferences/action_speak_params.rb +2 -2
- data/lib/telnyx/models/voice_sdk_call_report_list_params.rb +56 -0
- data/lib/telnyx/models/voice_sdk_call_report_list_response.rb +385 -0
- data/lib/telnyx/models/voice_sdk_call_report_retrieve_params.rb +20 -0
- data/lib/telnyx/models/voice_sdk_call_report_retrieve_response.rb +390 -0
- data/lib/telnyx/models.rb +4 -0
- data/lib/telnyx/resources/calls/actions.rb +26 -8
- data/lib/telnyx/resources/calls.rb +3 -1
- data/lib/telnyx/resources/voice_sdk_call_reports.rb +71 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +5 -0
- data/rbi/telnyx/client.rbi +5 -0
- data/rbi/telnyx/models/call_dial_params.rbi +1273 -0
- data/rbi/telnyx/models/calls/action_answer_params.rbi +1279 -0
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +4 -4
- data/rbi/telnyx/models/calls/action_speak_params.rbi +4 -4
- data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +928 -133
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +4 -4
- data/rbi/telnyx/models/voice_sdk_call_report_list_params.rbi +108 -0
- data/rbi/telnyx/models/voice_sdk_call_report_list_response.rbi +774 -0
- data/rbi/telnyx/models/voice_sdk_call_report_retrieve_params.rbi +38 -0
- data/rbi/telnyx/models/voice_sdk_call_report_retrieve_response.rbi +782 -0
- data/rbi/telnyx/models.rbi +5 -0
- data/rbi/telnyx/resources/calls/actions.rbi +73 -24
- data/rbi/telnyx/resources/calls.rbi +9 -0
- data/rbi/telnyx/resources/conferences/actions.rbi +2 -2
- data/rbi/telnyx/resources/voice_sdk_call_reports.rbi +58 -0
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/models/call_dial_params.rbs +440 -0
- data/sig/telnyx/models/calls/action_answer_params.rbs +440 -0
- data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +317 -51
- data/sig/telnyx/models/voice_sdk_call_report_list_params.rbs +57 -0
- data/sig/telnyx/models/voice_sdk_call_report_list_response.rbs +340 -0
- data/sig/telnyx/models/voice_sdk_call_report_retrieve_params.rbs +23 -0
- data/sig/telnyx/models/voice_sdk_call_report_retrieve_response.rbs +345 -0
- data/sig/telnyx/models.rbs +4 -0
- data/sig/telnyx/resources/calls/actions.rbs +12 -3
- data/sig/telnyx/resources/calls.rbs +1 -0
- data/sig/telnyx/resources/voice_sdk_call_reports.rbs +19 -0
- metadata +17 -2
|
@@ -54,8 +54,8 @@ module Telnyx
|
|
|
54
54
|
# `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
|
|
55
55
|
# to configure speed, volume, pitch, and language_boost.
|
|
56
56
|
# - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
57
|
-
# Supported model_ids: `Arcana`, `Mist
|
|
58
|
-
# voice_speed.
|
|
57
|
+
# Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
58
|
+
# `voice_settings` to configure voice_speed.
|
|
59
59
|
# - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
60
60
|
# `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
61
61
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
@@ -240,8 +240,8 @@ module Telnyx
|
|
|
240
240
|
# `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
|
|
241
241
|
# to configure speed, volume, pitch, and language_boost.
|
|
242
242
|
# - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
243
|
-
# Supported model_ids: `Arcana`, `Mist
|
|
244
|
-
# voice_speed.
|
|
243
|
+
# Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
244
|
+
# `voice_settings` to configure voice_speed.
|
|
245
245
|
# - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
246
246
|
# `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
247
247
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class VoiceSDKCallReportListParams < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Telnyx::VoiceSDKCallReportListParams, Telnyx::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig { returns(T.nilable(Integer)) }
|
|
15
|
+
attr_reader :page_number
|
|
16
|
+
|
|
17
|
+
sig { params(page_number: Integer).void }
|
|
18
|
+
attr_writer :page_number
|
|
19
|
+
|
|
20
|
+
sig { returns(T.nilable(Integer)) }
|
|
21
|
+
attr_reader :page_size
|
|
22
|
+
|
|
23
|
+
sig { params(page_size: Integer).void }
|
|
24
|
+
attr_writer :page_size
|
|
25
|
+
|
|
26
|
+
# Set the order of the results by creation date. `asc` and `created_at` sort
|
|
27
|
+
# oldest reports first; `desc` and `-created_at` sort newest reports first. If not
|
|
28
|
+
# given, results are sorted by creation date in descending order.
|
|
29
|
+
sig do
|
|
30
|
+
returns(T.nilable(Telnyx::VoiceSDKCallReportListParams::Sort::OrSymbol))
|
|
31
|
+
end
|
|
32
|
+
attr_reader :sort
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
params(sort: Telnyx::VoiceSDKCallReportListParams::Sort::OrSymbol).void
|
|
36
|
+
end
|
|
37
|
+
attr_writer :sort
|
|
38
|
+
|
|
39
|
+
sig do
|
|
40
|
+
params(
|
|
41
|
+
page_number: Integer,
|
|
42
|
+
page_size: Integer,
|
|
43
|
+
sort: Telnyx::VoiceSDKCallReportListParams::Sort::OrSymbol,
|
|
44
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
45
|
+
).returns(T.attached_class)
|
|
46
|
+
end
|
|
47
|
+
def self.new(
|
|
48
|
+
page_number: nil,
|
|
49
|
+
page_size: nil,
|
|
50
|
+
# Set the order of the results by creation date. `asc` and `created_at` sort
|
|
51
|
+
# oldest reports first; `desc` and `-created_at` sort newest reports first. If not
|
|
52
|
+
# given, results are sorted by creation date in descending order.
|
|
53
|
+
sort: nil,
|
|
54
|
+
request_options: {}
|
|
55
|
+
)
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
sig do
|
|
59
|
+
override.returns(
|
|
60
|
+
{
|
|
61
|
+
page_number: Integer,
|
|
62
|
+
page_size: Integer,
|
|
63
|
+
sort: Telnyx::VoiceSDKCallReportListParams::Sort::OrSymbol,
|
|
64
|
+
request_options: Telnyx::RequestOptions
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
def to_hash
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Set the order of the results by creation date. `asc` and `created_at` sort
|
|
72
|
+
# oldest reports first; `desc` and `-created_at` sort newest reports first. If not
|
|
73
|
+
# given, results are sorted by creation date in descending order.
|
|
74
|
+
module Sort
|
|
75
|
+
extend Telnyx::Internal::Type::Enum
|
|
76
|
+
|
|
77
|
+
TaggedSymbol =
|
|
78
|
+
T.type_alias do
|
|
79
|
+
T.all(Symbol, Telnyx::VoiceSDKCallReportListParams::Sort)
|
|
80
|
+
end
|
|
81
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
82
|
+
|
|
83
|
+
ASC =
|
|
84
|
+
T.let(:asc, Telnyx::VoiceSDKCallReportListParams::Sort::TaggedSymbol)
|
|
85
|
+
DESC =
|
|
86
|
+
T.let(:desc, Telnyx::VoiceSDKCallReportListParams::Sort::TaggedSymbol)
|
|
87
|
+
CREATED_AT =
|
|
88
|
+
T.let(
|
|
89
|
+
:created_at,
|
|
90
|
+
Telnyx::VoiceSDKCallReportListParams::Sort::TaggedSymbol
|
|
91
|
+
)
|
|
92
|
+
CREATED_AT_DESC =
|
|
93
|
+
T.let(
|
|
94
|
+
:"-created_at",
|
|
95
|
+
Telnyx::VoiceSDKCallReportListParams::Sort::TaggedSymbol
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
sig do
|
|
99
|
+
override.returns(
|
|
100
|
+
T::Array[Telnyx::VoiceSDKCallReportListParams::Sort::TaggedSymbol]
|
|
101
|
+
)
|
|
102
|
+
end
|
|
103
|
+
def self.values
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|