telnyx 5.68.2 → 5.69.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 +35 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +7 -0
- data/lib/telnyx/internal/util.rb +18 -4
- data/lib/telnyx/models/ai/assistant_create_params.rb +47 -1
- data/lib/telnyx/models/ai/assistant_tool.rb +25 -5
- data/lib/telnyx/models/ai/assistant_update_params.rb +47 -1
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +48 -1
- data/lib/telnyx/models/ai/audio_transcribe_response.rb +70 -7
- data/lib/telnyx/models/ai/inference_embedding.rb +48 -1
- data/lib/telnyx/models/ai/telephony_settings.rb +13 -1
- data/lib/telnyx/models/pronunciation_dict_create_params.rb +141 -0
- data/lib/telnyx/models/pronunciation_dict_create_response.rb +207 -0
- data/lib/telnyx/models/pronunciation_dict_delete_params.rb +20 -0
- data/lib/telnyx/models/pronunciation_dict_list_params.rb +30 -0
- data/lib/telnyx/models/pronunciation_dict_list_response.rb +190 -0
- data/lib/telnyx/models/pronunciation_dict_retrieve_params.rb +20 -0
- data/lib/telnyx/models/pronunciation_dict_retrieve_response.rb +207 -0
- data/lib/telnyx/models/pronunciation_dict_update_params.rb +144 -0
- data/lib/telnyx/models/pronunciation_dict_update_response.rb +207 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +1893 -547
- data/lib/telnyx/models/texml_initiate_ai_call_params.rb +514 -0
- data/lib/telnyx/models/texml_initiate_ai_call_response.rb +34 -0
- data/lib/telnyx/models/verification.rb +1 -0
- data/lib/telnyx/models/verification_trigger_whatsapp_verification_params.rb +46 -0
- data/lib/telnyx/models/verify_profile_create_params.rb +43 -1
- data/lib/telnyx/models/verify_profile_update_params.rb +43 -1
- data/lib/telnyx/models/whatsapp_message_content.rb +196 -1
- data/lib/telnyx/models/wireless_blocklist_update_params.rb +8 -21
- data/lib/telnyx/models.rb +15 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -1
- data/lib/telnyx/resources/ai/assistants.rb +6 -2
- data/lib/telnyx/resources/pronunciation_dicts.rb +156 -0
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -84
- data/lib/telnyx/resources/texml.rb +106 -0
- data/lib/telnyx/resources/verifications.rb +28 -0
- data/lib/telnyx/resources/verify_profiles.rb +5 -2
- data/lib/telnyx/resources/wireless_blocklists.rb +5 -5
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +13 -0
- data/rbi/telnyx/client.rbi +6 -0
- data/rbi/telnyx/internal/util.rbi +8 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +130 -0
- data/rbi/telnyx/models/ai/assistant_tool.rbi +56 -5
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +130 -0
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +132 -0
- data/rbi/telnyx/models/ai/audio_transcribe_response.rbi +123 -10
- data/rbi/telnyx/models/ai/inference_embedding.rbi +130 -0
- data/rbi/telnyx/models/ai/telephony_settings.rbi +13 -0
- data/rbi/telnyx/models/pronunciation_dict_create_params.rbi +246 -0
- data/rbi/telnyx/models/pronunciation_dict_create_response.rbi +398 -0
- data/rbi/telnyx/models/pronunciation_dict_delete_params.rbi +38 -0
- data/rbi/telnyx/models/pronunciation_dict_list_params.rbi +57 -0
- data/rbi/telnyx/models/pronunciation_dict_list_response.rbi +353 -0
- data/rbi/telnyx/models/pronunciation_dict_retrieve_params.rbi +38 -0
- data/rbi/telnyx/models/pronunciation_dict_retrieve_response.rbi +398 -0
- data/rbi/telnyx/models/pronunciation_dict_update_params.rbi +268 -0
- data/rbi/telnyx/models/pronunciation_dict_update_response.rbi +398 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +3719 -1011
- data/rbi/telnyx/models/texml_initiate_ai_call_params.rbi +1010 -0
- data/rbi/telnyx/models/texml_initiate_ai_call_response.rbi +58 -0
- data/rbi/telnyx/models/verification.rbi +1 -0
- data/rbi/telnyx/models/verification_trigger_whatsapp_verification_params.rbi +73 -0
- data/rbi/telnyx/models/verify_profile_create_params.rbi +85 -0
- data/rbi/telnyx/models/verify_profile_update_params.rbi +85 -0
- data/rbi/telnyx/models/whatsapp_message_content.rbi +492 -0
- data/rbi/telnyx/models/wireless_blocklist_update_params.rbi +6 -49
- data/rbi/telnyx/models.rbi +19 -10
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +4 -0
- data/rbi/telnyx/resources/ai/assistants.rbi +6 -0
- data/rbi/telnyx/resources/pronunciation_dicts.rbi +131 -0
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +7 -163
- data/rbi/telnyx/resources/texml.rbi +164 -0
- data/rbi/telnyx/resources/verifications.rbi +23 -0
- data/rbi/telnyx/resources/verify_profiles.rbi +4 -0
- data/rbi/telnyx/resources/wireless_blocklists.rbi +3 -3
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/internal/util.rbs +4 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +62 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +17 -4
- data/sig/telnyx/models/ai/assistant_update_params.rbs +62 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +62 -0
- data/sig/telnyx/models/ai/audio_transcribe_response.rbs +53 -3
- data/sig/telnyx/models/ai/inference_embedding.rbs +62 -0
- data/sig/telnyx/models/ai/telephony_settings.rbs +7 -0
- data/sig/telnyx/models/pronunciation_dict_create_params.rbs +97 -0
- data/sig/telnyx/models/pronunciation_dict_create_response.rbs +167 -0
- data/sig/telnyx/models/pronunciation_dict_delete_params.rbs +20 -0
- data/sig/telnyx/models/pronunciation_dict_list_params.rbs +32 -0
- data/sig/telnyx/models/pronunciation_dict_list_response.rbs +144 -0
- data/sig/telnyx/models/pronunciation_dict_retrieve_params.rbs +20 -0
- data/sig/telnyx/models/pronunciation_dict_retrieve_response.rbs +167 -0
- data/sig/telnyx/models/pronunciation_dict_update_params.rbs +108 -0
- data/sig/telnyx/models/pronunciation_dict_update_response.rbs +167 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +1368 -331
- data/sig/telnyx/models/texml_initiate_ai_call_params.rbs +444 -0
- data/sig/telnyx/models/texml_initiate_ai_call_response.rbs +38 -0
- data/sig/telnyx/models/verification.rbs +2 -1
- data/sig/telnyx/models/verification_trigger_whatsapp_verification_params.rbs +43 -0
- data/sig/telnyx/models/verify_profile_create_params.rbs +43 -1
- data/sig/telnyx/models/verify_profile_update_params.rbs +43 -1
- data/sig/telnyx/models/whatsapp_message_content.rbs +205 -0
- data/sig/telnyx/models/wireless_blocklist_update_params.rbs +5 -25
- data/sig/telnyx/models.rbs +14 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +2 -0
- data/sig/telnyx/resources/pronunciation_dicts.rbs +33 -0
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -40
- data/sig/telnyx/resources/texml.rbs +44 -0
- data/sig/telnyx/resources/verifications.rbs +8 -0
- data/sig/telnyx/resources/verify_profiles.rbs +2 -0
- data/sig/telnyx/resources/wireless_blocklists.rbs +1 -1
- metadata +41 -2
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type pronunciation_dict_update_response =
|
|
4
|
+
{ data: Telnyx::Models::PronunciationDictUpdateResponse::Data }
|
|
5
|
+
|
|
6
|
+
class PronunciationDictUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_reader data: Telnyx::Models::PronunciationDictUpdateResponse::Data?
|
|
8
|
+
|
|
9
|
+
def data=: (
|
|
10
|
+
Telnyx::Models::PronunciationDictUpdateResponse::Data
|
|
11
|
+
) -> Telnyx::Models::PronunciationDictUpdateResponse::Data
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
?data: Telnyx::Models::PronunciationDictUpdateResponse::Data
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
data: Telnyx::Models::PronunciationDictUpdateResponse::Data
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type data =
|
|
22
|
+
{
|
|
23
|
+
id: String,
|
|
24
|
+
created_at: Time,
|
|
25
|
+
items: ::Array[Telnyx::Models::PronunciationDictUpdateResponse::Data::item],
|
|
26
|
+
name: String,
|
|
27
|
+
record_type: Telnyx::Models::PronunciationDictUpdateResponse::Data::record_type,
|
|
28
|
+
updated_at: Time,
|
|
29
|
+
version: Integer
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
33
|
+
attr_reader id: String?
|
|
34
|
+
|
|
35
|
+
def id=: (String) -> String
|
|
36
|
+
|
|
37
|
+
attr_reader created_at: Time?
|
|
38
|
+
|
|
39
|
+
def created_at=: (Time) -> Time
|
|
40
|
+
|
|
41
|
+
attr_reader items: ::Array[Telnyx::Models::PronunciationDictUpdateResponse::Data::item]?
|
|
42
|
+
|
|
43
|
+
def items=: (
|
|
44
|
+
::Array[Telnyx::Models::PronunciationDictUpdateResponse::Data::item]
|
|
45
|
+
) -> ::Array[Telnyx::Models::PronunciationDictUpdateResponse::Data::item]
|
|
46
|
+
|
|
47
|
+
attr_reader name: String?
|
|
48
|
+
|
|
49
|
+
def name=: (String) -> String
|
|
50
|
+
|
|
51
|
+
attr_reader record_type: Telnyx::Models::PronunciationDictUpdateResponse::Data::record_type?
|
|
52
|
+
|
|
53
|
+
def record_type=: (
|
|
54
|
+
Telnyx::Models::PronunciationDictUpdateResponse::Data::record_type
|
|
55
|
+
) -> Telnyx::Models::PronunciationDictUpdateResponse::Data::record_type
|
|
56
|
+
|
|
57
|
+
attr_reader updated_at: Time?
|
|
58
|
+
|
|
59
|
+
def updated_at=: (Time) -> Time
|
|
60
|
+
|
|
61
|
+
attr_reader version: Integer?
|
|
62
|
+
|
|
63
|
+
def version=: (Integer) -> Integer
|
|
64
|
+
|
|
65
|
+
def initialize: (
|
|
66
|
+
?id: String,
|
|
67
|
+
?created_at: Time,
|
|
68
|
+
?items: ::Array[Telnyx::Models::PronunciationDictUpdateResponse::Data::item],
|
|
69
|
+
?name: String,
|
|
70
|
+
?record_type: Telnyx::Models::PronunciationDictUpdateResponse::Data::record_type,
|
|
71
|
+
?updated_at: Time,
|
|
72
|
+
?version: Integer
|
|
73
|
+
) -> void
|
|
74
|
+
|
|
75
|
+
def to_hash: -> {
|
|
76
|
+
id: String,
|
|
77
|
+
created_at: Time,
|
|
78
|
+
items: ::Array[Telnyx::Models::PronunciationDictUpdateResponse::Data::item],
|
|
79
|
+
name: String,
|
|
80
|
+
record_type: Telnyx::Models::PronunciationDictUpdateResponse::Data::record_type,
|
|
81
|
+
updated_at: Time,
|
|
82
|
+
version: Integer
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
type item =
|
|
86
|
+
Telnyx::Models::PronunciationDictUpdateResponse::Data::Item::Alias
|
|
87
|
+
| Telnyx::Models::PronunciationDictUpdateResponse::Data::Item::Phoneme
|
|
88
|
+
|
|
89
|
+
module Item
|
|
90
|
+
extend Telnyx::Internal::Type::Union
|
|
91
|
+
|
|
92
|
+
type alias_ = { alias_: String, text: String, type: :alias }
|
|
93
|
+
|
|
94
|
+
class Alias < Telnyx::Internal::Type::BaseModel
|
|
95
|
+
attr_accessor alias_: String
|
|
96
|
+
|
|
97
|
+
attr_accessor text: String
|
|
98
|
+
|
|
99
|
+
attr_accessor type: :alias
|
|
100
|
+
|
|
101
|
+
def initialize: (
|
|
102
|
+
alias_: String,
|
|
103
|
+
text: String,
|
|
104
|
+
?type: :alias
|
|
105
|
+
) -> void
|
|
106
|
+
|
|
107
|
+
def to_hash: -> { alias_: String, text: String, type: :alias }
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
type phoneme =
|
|
111
|
+
{
|
|
112
|
+
alphabet: Telnyx::Models::PronunciationDictUpdateResponse::Data::Item::Phoneme::alphabet,
|
|
113
|
+
phoneme: String,
|
|
114
|
+
text: String,
|
|
115
|
+
type: :phoneme
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
class Phoneme < Telnyx::Internal::Type::BaseModel
|
|
119
|
+
attr_accessor alphabet: Telnyx::Models::PronunciationDictUpdateResponse::Data::Item::Phoneme::alphabet
|
|
120
|
+
|
|
121
|
+
attr_accessor phoneme: String
|
|
122
|
+
|
|
123
|
+
attr_accessor text: String
|
|
124
|
+
|
|
125
|
+
attr_accessor type: :phoneme
|
|
126
|
+
|
|
127
|
+
def initialize: (
|
|
128
|
+
alphabet: Telnyx::Models::PronunciationDictUpdateResponse::Data::Item::Phoneme::alphabet,
|
|
129
|
+
phoneme: String,
|
|
130
|
+
text: String,
|
|
131
|
+
?type: :phoneme
|
|
132
|
+
) -> void
|
|
133
|
+
|
|
134
|
+
def to_hash: -> {
|
|
135
|
+
alphabet: Telnyx::Models::PronunciationDictUpdateResponse::Data::Item::Phoneme::alphabet,
|
|
136
|
+
phoneme: String,
|
|
137
|
+
text: String,
|
|
138
|
+
type: :phoneme
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
type alphabet = :ipa
|
|
142
|
+
|
|
143
|
+
module Alphabet
|
|
144
|
+
extend Telnyx::Internal::Type::Enum
|
|
145
|
+
|
|
146
|
+
IPA: :ipa
|
|
147
|
+
|
|
148
|
+
def self?.values: -> ::Array[Telnyx::Models::PronunciationDictUpdateResponse::Data::Item::Phoneme::alphabet]
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
def self?.variants: -> ::Array[Telnyx::Models::PronunciationDictUpdateResponse::Data::item]
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
type record_type = :pronunciation_dict
|
|
156
|
+
|
|
157
|
+
module RecordType
|
|
158
|
+
extend Telnyx::Internal::Type::Enum
|
|
159
|
+
|
|
160
|
+
PRONUNCIATION_DICT: :pronunciation_dict
|
|
161
|
+
|
|
162
|
+
def self?.values: -> ::Array[Telnyx::Models::PronunciationDictUpdateResponse::Data::record_type]
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
end
|