telnyx 5.79.0 → 5.81.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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/models/ai/assistant_create_params.rb +38 -1
  5. data/lib/telnyx/models/ai/assistant_update_params.rb +38 -1
  6. data/lib/telnyx/models/ai/assistants/update_assistant.rb +40 -1
  7. data/lib/telnyx/models/ai/inference_embedding.rb +39 -1
  8. data/lib/telnyx/models/verify_profile.rb +87 -1
  9. data/lib/telnyx/models/verify_profile_create_params.rb +25 -10
  10. data/lib/telnyx/models/verify_profile_update_params.rb +25 -10
  11. data/lib/telnyx/resources/ai/assistants/versions.rb +3 -1
  12. data/lib/telnyx/resources/ai/assistants.rb +6 -2
  13. data/lib/telnyx/version.rb +1 -1
  14. data/rbi/telnyx/models/ai/assistant_create_params.rbi +72 -0
  15. data/rbi/telnyx/models/ai/assistant_update_params.rbi +72 -0
  16. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +72 -0
  17. data/rbi/telnyx/models/ai/inference_embedding.rbi +70 -0
  18. data/rbi/telnyx/models/verify_profile.rbi +131 -3
  19. data/rbi/telnyx/models/verify_profile_create_params.rbi +24 -13
  20. data/rbi/telnyx/models/verify_profile_update_params.rbi +24 -13
  21. data/rbi/telnyx/resources/ai/assistants/versions.rbi +9 -0
  22. data/rbi/telnyx/resources/ai/assistants.rbi +18 -0
  23. data/sig/telnyx/models/ai/assistant_create_params.rbs +21 -0
  24. data/sig/telnyx/models/ai/assistant_update_params.rbs +21 -0
  25. data/sig/telnyx/models/ai/assistants/update_assistant.rbs +21 -0
  26. data/sig/telnyx/models/ai/inference_embedding.rbs +21 -0
  27. data/sig/telnyx/models/verify_profile.rbs +74 -3
  28. data/sig/telnyx/models/verify_profile_create_params.rbs +15 -7
  29. data/sig/telnyx/models/verify_profile_update_params.rbs +15 -7
  30. data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
  31. data/sig/telnyx/resources/ai/assistants.rbs +2 -0
  32. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e82699addb7ad1312968464e3dbb2556de69675fd2c89c114b642c38d07a91d1
4
- data.tar.gz: 73450eb4c8b9e81ad1518e5eab72f667a76d2027cf09ad0060afc92565f218e3
3
+ metadata.gz: 49e5ef74b7e9510226700fd28a6d794cee40f68a7252f25b82812dd092d44f50
4
+ data.tar.gz: 0c088808a8572881377bf3cc37e36221d4d462f7b2f970f7057ac86e34c8d6dd
5
5
  SHA512:
6
- metadata.gz: 2f15cddc766ed72893460a4fdc50fcb302f2be6d79ca138619e4f867f1cd467c18cbf0a7935551e10b21c66aaf87f2753060b0de1cb3ad574452a8494d02a975
7
- data.tar.gz: 5c67947e89af13e215974f7251ceca7e72cf04a14a7c71a794fbbf0cabf762a93100ce170db18e0bb62ed3015a4dfaa3f94442c3f28a740bd1512c1dc58f7a10
6
+ metadata.gz: 5b33c7a0528baf04ad9909cbc03817ba0a5691c7e608b23b9e18f27c7b2950d8599b166892486d753292bc617c22a213902509d3160f6366b98eb4d76783bdf4
7
+ data.tar.gz: 8ce0ec0ac7b74fe6f81072cf2acb30859aee8c85299864a1f7585c0b22e5195eaf91a87d10f03f37ce6ee5db2bd13c9678b2ef99ea90b96aa9b72f7e5e7dc4eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.81.0 (2026-04-22)
4
+
5
+ Full Changelog: [v5.80.0...v5.81.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.80.0...v5.81.0)
6
+
7
+ ### Features
8
+
9
+ * MSG-6841: add missing whatsapp api docs ([be4e44d](https://github.com/team-telnyx/telnyx-ruby/commit/be4e44d5fa6813033cc2c93ba6ef5b3483d86717))
10
+
11
+ ## 5.80.0 (2026-04-21)
12
+
13
+ Full Changelog: [v5.79.0...v5.80.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.79.0...v5.80.0)
14
+
15
+ ### Features
16
+
17
+ * Add post_conversation_settings to AI Assistants API spec ([075e1d6](https://github.com/team-telnyx/telnyx-ruby/commit/075e1d62209c0f6f56d4f6baa5e02018bdc46215))
18
+
3
19
  ## 5.79.0 (2026-04-20)
4
20
 
5
21
  Full Changelog: [v5.78.0...v5.79.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.78.0...v5.79.0)
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.79.0"
27
+ gem "telnyx", "~> 5.81.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -89,6 +89,17 @@ module Telnyx
89
89
  # @return [Telnyx::Models::AI::ObservabilityReq, nil]
90
90
  optional :observability_settings, -> { Telnyx::AI::ObservabilityReq }
91
91
 
92
+ # @!attribute post_conversation_settings
93
+ # Configuration for post-conversation processing. When enabled, the assistant
94
+ # receives one additional LLM turn after the conversation ends, allowing it to
95
+ # execute tool calls such as logging to a CRM or sending a summary. The assistant
96
+ # can execute multiple parallel or sequential tools during this phase.
97
+ # Telephony-control tools (e.g. hangup, transfer) are unavailable
98
+ # post-conversation. Beta feature.
99
+ #
100
+ # @return [Telnyx::Models::AI::AssistantCreateParams::PostConversationSettings, nil]
101
+ optional :post_conversation_settings, -> { Telnyx::AI::AssistantCreateParams::PostConversationSettings }
102
+
92
103
  # @!attribute privacy_settings
93
104
  #
94
105
  # @return [Telnyx::Models::AI::PrivacySettings, nil]
@@ -127,7 +138,7 @@ module Telnyx
127
138
  # @return [Telnyx::Models::AI::WidgetSettings, nil]
128
139
  optional :widget_settings, -> { Telnyx::AI::WidgetSettings }
129
140
 
130
- # @!method initialize(instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
141
+ # @!method initialize(instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
131
142
  # Some parameter documentations has been truncated, see
132
143
  # {Telnyx::Models::AI::AssistantCreateParams} for more details.
133
144
  #
@@ -155,6 +166,8 @@ module Telnyx
155
166
  #
156
167
  # @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
157
168
  #
169
+ # @param post_conversation_settings [Telnyx::Models::AI::AssistantCreateParams::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
170
+ #
158
171
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
159
172
  #
160
173
  # @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
@@ -170,6 +183,30 @@ module Telnyx
170
183
  # @param widget_settings [Telnyx::Models::AI::WidgetSettings] Configuration settings for the assistant's web widget.
171
184
  #
172
185
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
186
+
187
+ class PostConversationSettings < Telnyx::Internal::Type::BaseModel
188
+ # @!attribute enabled
189
+ # Whether post-conversation processing is enabled. When true, the assistant will
190
+ # be invoked after the conversation ends to perform any final tool calls. Defaults
191
+ # to false.
192
+ #
193
+ # @return [Boolean, nil]
194
+ optional :enabled, Telnyx::Internal::Type::Boolean
195
+
196
+ # @!method initialize(enabled: nil)
197
+ # Some parameter documentations has been truncated, see
198
+ # {Telnyx::Models::AI::AssistantCreateParams::PostConversationSettings} for more
199
+ # details.
200
+ #
201
+ # Configuration for post-conversation processing. When enabled, the assistant
202
+ # receives one additional LLM turn after the conversation ends, allowing it to
203
+ # execute tool calls such as logging to a CRM or sending a summary. The assistant
204
+ # can execute multiple parallel or sequential tools during this phase.
205
+ # Telephony-control tools (e.g. hangup, transfer) are unavailable
206
+ # post-conversation. Beta feature.
207
+ #
208
+ # @param enabled [Boolean] Whether post-conversation processing is enabled. When true, the assistant will b
209
+ end
173
210
  end
174
211
  end
175
212
  end
@@ -94,6 +94,17 @@ module Telnyx
94
94
  # @return [Telnyx::Models::AI::ObservabilityReq, nil]
95
95
  optional :observability_settings, -> { Telnyx::AI::ObservabilityReq }
96
96
 
97
+ # @!attribute post_conversation_settings
98
+ # Configuration for post-conversation processing. When enabled, the assistant
99
+ # receives one additional LLM turn after the conversation ends, allowing it to
100
+ # execute tool calls such as logging to a CRM or sending a summary. The assistant
101
+ # can execute multiple parallel or sequential tools during this phase.
102
+ # Telephony-control tools (e.g. hangup, transfer) are unavailable
103
+ # post-conversation. Beta feature.
104
+ #
105
+ # @return [Telnyx::Models::AI::AssistantUpdateParams::PostConversationSettings, nil]
106
+ optional :post_conversation_settings, -> { Telnyx::AI::AssistantUpdateParams::PostConversationSettings }
107
+
97
108
  # @!attribute privacy_settings
98
109
  #
99
110
  # @return [Telnyx::Models::AI::PrivacySettings, nil]
@@ -139,7 +150,7 @@ module Telnyx
139
150
  # @return [Telnyx::Models::AI::WidgetSettings, nil]
140
151
  optional :widget_settings, -> { Telnyx::AI::WidgetSettings }
141
152
 
142
- # @!method initialize(assistant_id:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, privacy_settings: nil, promote_to_main: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
153
+ # @!method initialize(assistant_id:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, promote_to_main: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
143
154
  # Some parameter documentations has been truncated, see
144
155
  # {Telnyx::Models::AI::AssistantUpdateParams} for more details.
145
156
  #
@@ -169,6 +180,8 @@ module Telnyx
169
180
  #
170
181
  # @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
171
182
  #
183
+ # @param post_conversation_settings [Telnyx::Models::AI::AssistantUpdateParams::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
184
+ #
172
185
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
173
186
  #
174
187
  # @param promote_to_main [Boolean] Indicates whether the assistant should be promoted to the main version. Defaults
@@ -186,6 +199,30 @@ module Telnyx
186
199
  # @param widget_settings [Telnyx::Models::AI::WidgetSettings] Configuration settings for the assistant's web widget.
187
200
  #
188
201
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
202
+
203
+ class PostConversationSettings < Telnyx::Internal::Type::BaseModel
204
+ # @!attribute enabled
205
+ # Whether post-conversation processing is enabled. When true, the assistant will
206
+ # be invoked after the conversation ends to perform any final tool calls. Defaults
207
+ # to false.
208
+ #
209
+ # @return [Boolean, nil]
210
+ optional :enabled, Telnyx::Internal::Type::Boolean
211
+
212
+ # @!method initialize(enabled: nil)
213
+ # Some parameter documentations has been truncated, see
214
+ # {Telnyx::Models::AI::AssistantUpdateParams::PostConversationSettings} for more
215
+ # details.
216
+ #
217
+ # Configuration for post-conversation processing. When enabled, the assistant
218
+ # receives one additional LLM turn after the conversation ends, allowing it to
219
+ # execute tool calls such as logging to a CRM or sending a summary. The assistant
220
+ # can execute multiple parallel or sequential tools during this phase.
221
+ # Telephony-control tools (e.g. hangup, transfer) are unavailable
222
+ # post-conversation. Beta feature.
223
+ #
224
+ # @param enabled [Boolean] Whether post-conversation processing is enabled. When true, the assistant will b
225
+ end
189
226
  end
190
227
  end
191
228
  end
@@ -86,6 +86,18 @@ module Telnyx
86
86
  # @return [Telnyx::Models::AI::ObservabilityReq, nil]
87
87
  optional :observability_settings, -> { Telnyx::AI::ObservabilityReq }
88
88
 
89
+ # @!attribute post_conversation_settings
90
+ # Configuration for post-conversation processing. When enabled, the assistant
91
+ # receives one additional LLM turn after the conversation ends, allowing it to
92
+ # execute tool calls such as logging to a CRM or sending a summary. The assistant
93
+ # can execute multiple parallel or sequential tools during this phase.
94
+ # Telephony-control tools (e.g. hangup, transfer) are unavailable
95
+ # post-conversation. Beta feature.
96
+ #
97
+ # @return [Telnyx::Models::AI::Assistants::UpdateAssistant::PostConversationSettings, nil]
98
+ optional :post_conversation_settings,
99
+ -> { Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings }
100
+
89
101
  # @!attribute privacy_settings
90
102
  #
91
103
  # @return [Telnyx::Models::AI::PrivacySettings, nil]
@@ -124,7 +136,7 @@ module Telnyx
124
136
  # @return [Telnyx::Models::AI::WidgetSettings, nil]
125
137
  optional :widget_settings, -> { Telnyx::AI::WidgetSettings }
126
138
 
127
- # @!method initialize(description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil)
139
+ # @!method initialize(description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil)
128
140
  # Some parameter documentations has been truncated, see
129
141
  # {Telnyx::Models::AI::Assistants::UpdateAssistant} for more details.
130
142
  #
@@ -152,6 +164,8 @@ module Telnyx
152
164
  #
153
165
  # @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
154
166
  #
167
+ # @param post_conversation_settings [Telnyx::Models::AI::Assistants::UpdateAssistant::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
168
+ #
155
169
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
156
170
  #
157
171
  # @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
@@ -165,6 +179,31 @@ module Telnyx
165
179
  # @param voice_settings [Telnyx::Models::AI::VoiceSettings]
166
180
  #
167
181
  # @param widget_settings [Telnyx::Models::AI::WidgetSettings] Configuration settings for the assistant's web widget.
182
+
183
+ # @see Telnyx::Models::AI::Assistants::UpdateAssistant#post_conversation_settings
184
+ class PostConversationSettings < Telnyx::Internal::Type::BaseModel
185
+ # @!attribute enabled
186
+ # Whether post-conversation processing is enabled. When true, the assistant will
187
+ # be invoked after the conversation ends to perform any final tool calls. Defaults
188
+ # to false.
189
+ #
190
+ # @return [Boolean, nil]
191
+ optional :enabled, Telnyx::Internal::Type::Boolean
192
+
193
+ # @!method initialize(enabled: nil)
194
+ # Some parameter documentations has been truncated, see
195
+ # {Telnyx::Models::AI::Assistants::UpdateAssistant::PostConversationSettings} for
196
+ # more details.
197
+ #
198
+ # Configuration for post-conversation processing. When enabled, the assistant
199
+ # receives one additional LLM turn after the conversation ends, allowing it to
200
+ # execute tool calls such as logging to a CRM or sending a summary. The assistant
201
+ # can execute multiple parallel or sequential tools during this phase.
202
+ # Telephony-control tools (e.g. hangup, transfer) are unavailable
203
+ # post-conversation. Beta feature.
204
+ #
205
+ # @param enabled [Boolean] Whether post-conversation processing is enabled. When true, the assistant will b
206
+ end
168
207
  end
169
208
  end
170
209
 
@@ -101,6 +101,17 @@ module Telnyx
101
101
  # @return [Telnyx::Models::AI::Observability, nil]
102
102
  optional :observability_settings, -> { Telnyx::AI::Observability }
103
103
 
104
+ # @!attribute post_conversation_settings
105
+ # Configuration for post-conversation processing. When enabled, the assistant
106
+ # receives one additional LLM turn after the conversation ends, allowing it to
107
+ # execute tool calls such as logging to a CRM or sending a summary. The assistant
108
+ # can execute multiple parallel or sequential tools during this phase.
109
+ # Telephony-control tools (e.g. hangup, transfer) are unavailable
110
+ # post-conversation. Beta feature.
111
+ #
112
+ # @return [Telnyx::Models::AI::InferenceEmbedding::PostConversationSettings, nil]
113
+ optional :post_conversation_settings, -> { Telnyx::AI::InferenceEmbedding::PostConversationSettings }
114
+
104
115
  # @!attribute privacy_settings
105
116
  #
106
117
  # @return [Telnyx::Models::AI::PrivacySettings, nil]
@@ -134,7 +145,7 @@ module Telnyx
134
145
  # @return [Telnyx::Models::AI::WidgetSettings, nil]
135
146
  optional :widget_settings, -> { Telnyx::AI::WidgetSettings }
136
147
 
137
- # @!method initialize(id:, created_at:, instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, import_metadata: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil)
148
+ # @!method initialize(id:, created_at:, instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, import_metadata: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil)
138
149
  # Some parameter documentations has been truncated, see
139
150
  # {Telnyx::Models::AI::InferenceEmbedding} for more details.
140
151
  #
@@ -168,6 +179,8 @@ module Telnyx
168
179
  #
169
180
  # @param observability_settings [Telnyx::Models::AI::Observability]
170
181
  #
182
+ # @param post_conversation_settings [Telnyx::Models::AI::InferenceEmbedding::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
183
+ #
171
184
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
172
185
  #
173
186
  # @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
@@ -179,6 +192,31 @@ module Telnyx
179
192
  # @param voice_settings [Telnyx::Models::AI::VoiceSettings]
180
193
  #
181
194
  # @param widget_settings [Telnyx::Models::AI::WidgetSettings] Configuration settings for the assistant's web widget.
195
+
196
+ # @see Telnyx::Models::AI::InferenceEmbedding#post_conversation_settings
197
+ class PostConversationSettings < Telnyx::Internal::Type::BaseModel
198
+ # @!attribute enabled
199
+ # Whether post-conversation processing is enabled. When true, the assistant will
200
+ # be invoked after the conversation ends to perform any final tool calls. Defaults
201
+ # to false.
202
+ #
203
+ # @return [Boolean, nil]
204
+ optional :enabled, Telnyx::Internal::Type::Boolean
205
+
206
+ # @!method initialize(enabled: nil)
207
+ # Some parameter documentations has been truncated, see
208
+ # {Telnyx::Models::AI::InferenceEmbedding::PostConversationSettings} for more
209
+ # details.
210
+ #
211
+ # Configuration for post-conversation processing. When enabled, the assistant
212
+ # receives one additional LLM turn after the conversation ends, allowing it to
213
+ # execute tool calls such as logging to a CRM or sending a summary. The assistant
214
+ # can execute multiple parallel or sequential tools during this phase.
215
+ # Telephony-control tools (e.g. hangup, transfer) are unavailable
216
+ # post-conversation. Beta feature.
217
+ #
218
+ # @param enabled [Boolean] Whether post-conversation processing is enabled. When true, the assistant will b
219
+ end
182
220
  end
183
221
  end
184
222
  end
@@ -65,7 +65,12 @@ module Telnyx
65
65
  # @return [String, nil]
66
66
  optional :webhook_url, String
67
67
 
68
- # @!method initialize(id: nil, call: nil, created_at: nil, flashcall: nil, language: nil, name: nil, rcs: nil, record_type: nil, sms: nil, updated_at: nil, webhook_failover_url: nil, webhook_url: nil)
68
+ # @!attribute whatsapp
69
+ #
70
+ # @return [Telnyx::Models::VerifyProfile::Whatsapp, nil]
71
+ optional :whatsapp, -> { Telnyx::VerifyProfile::Whatsapp }
72
+
73
+ # @!method initialize(id: nil, call: nil, created_at: nil, flashcall: nil, language: nil, name: nil, rcs: nil, record_type: nil, sms: nil, updated_at: nil, webhook_failover_url: nil, webhook_url: nil, whatsapp: nil)
69
74
  # @param id [String]
70
75
  #
71
76
  # @param call [Telnyx::Models::VerifyProfile::Call]
@@ -89,6 +94,8 @@ module Telnyx
89
94
  # @param webhook_failover_url [String]
90
95
  #
91
96
  # @param webhook_url [String]
97
+ #
98
+ # @param whatsapp [Telnyx::Models::VerifyProfile::Whatsapp]
92
99
 
93
100
  # @see Telnyx::Models::VerifyProfile#call
94
101
  class Call < Telnyx::Internal::Type::BaseModel
@@ -310,6 +317,85 @@ module Telnyx
310
317
  #
311
318
  # @param whitelisted_destinations [Array<String>] Enabled country destinations to send verification codes. The elements in the lis
312
319
  end
320
+
321
+ # @see Telnyx::Models::VerifyProfile#whatsapp
322
+ class Whatsapp < Telnyx::Internal::Type::BaseModel
323
+ # @!attribute app_name
324
+ # The name that identifies the application requesting 2fa in the verification
325
+ # message.
326
+ #
327
+ # @return [String, nil]
328
+ optional :app_name, String
329
+
330
+ # @!attribute code_length
331
+ # The length of the verify code to generate.
332
+ #
333
+ # @return [Integer, nil]
334
+ optional :code_length, Integer
335
+
336
+ # @!attribute default_verification_timeout_secs
337
+ # For every request that is initiated via this Verify profile, this sets the
338
+ # number of seconds before a verification request code expires. Once the
339
+ # verification request expires, the user cannot use the code to verify their
340
+ # identity.
341
+ #
342
+ # @return [Integer, nil]
343
+ optional :default_verification_timeout_secs, Integer
344
+
345
+ # @!attribute messaging_template_id
346
+ # The message template identifier selected from /verify_profiles/templates
347
+ #
348
+ # @return [String, nil]
349
+ optional :messaging_template_id, String
350
+
351
+ # @!attribute sender_phone_number
352
+ # Phone number registered on the customer WABA to send OTPs from
353
+ #
354
+ # @return [String, nil]
355
+ optional :sender_phone_number, String, nil?: true
356
+
357
+ # @!attribute template_id
358
+ # Customer pre-approved authentication template name registered on Meta
359
+ #
360
+ # @return [String, nil]
361
+ optional :template_id, String, nil?: true
362
+
363
+ # @!attribute waba_id
364
+ # Customer Meta WABA ID for Bring-Your-Own-WABA sending
365
+ #
366
+ # @return [String, nil]
367
+ optional :waba_id, String, nil?: true
368
+
369
+ # @!attribute whitelisted_destinations
370
+ # Enabled country destinations to send verification codes. The elements in the
371
+ # list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
372
+ # destinations will be allowed. **Conditionally required:** this field must be
373
+ # provided when your organization is configured to require explicit whitelisted
374
+ # destinations; otherwise it is optional.
375
+ #
376
+ # @return [Array<String>, nil]
377
+ optional :whitelisted_destinations, Telnyx::Internal::Type::ArrayOf[String]
378
+
379
+ # @!method initialize(app_name: nil, code_length: nil, default_verification_timeout_secs: nil, messaging_template_id: nil, sender_phone_number: nil, template_id: nil, waba_id: nil, whitelisted_destinations: nil)
380
+ # Some parameter documentations has been truncated, see
381
+ # {Telnyx::Models::VerifyProfile::Whatsapp} for more details.
382
+ #
383
+ # @param app_name [String] The name that identifies the application requesting 2fa in the verification mess
384
+ #
385
+ # @param code_length [Integer] The length of the verify code to generate.
386
+ #
387
+ # @param default_verification_timeout_secs [Integer] For every request that is initiated via this Verify profile, this sets the numbe
388
+ #
389
+ # @param messaging_template_id [String] The message template identifier selected from /verify_profiles/templates
390
+ #
391
+ # @param sender_phone_number [String, nil] Phone number registered on the customer WABA to send OTPs from
392
+ #
393
+ # @param template_id [String, nil] Customer pre-approved authentication template name registered on Meta
394
+ #
395
+ # @param waba_id [String, nil] Customer Meta WABA ID for Bring-Your-Own-WABA sending
396
+ #
397
+ # @param whitelisted_destinations [Array<String>] Enabled country destinations to send verification codes. The elements in the lis
398
+ end
313
399
  end
314
400
  end
315
401
  end
@@ -282,13 +282,6 @@ module Telnyx
282
282
  end
283
283
 
284
284
  class Whatsapp < Telnyx::Internal::Type::BaseModel
285
- # @!attribute app_name
286
- # The name that identifies the application requesting 2fa in the verification
287
- # message.
288
- #
289
- # @return [String, nil]
290
- optional :app_name, String
291
-
292
285
  # @!attribute default_verification_timeout_secs
293
286
  # For every request that is initiated via this Verify profile, this sets the
294
287
  # number of seconds before a verification request code expires. Once the
@@ -298,6 +291,24 @@ module Telnyx
298
291
  # @return [Integer, nil]
299
292
  optional :default_verification_timeout_secs, Integer
300
293
 
294
+ # @!attribute sender_phone_number
295
+ # Phone number registered on the customer WABA to send OTPs from
296
+ #
297
+ # @return [String, nil]
298
+ optional :sender_phone_number, String, nil?: true
299
+
300
+ # @!attribute template_id
301
+ # Customer pre-approved authentication template name registered on Meta
302
+ #
303
+ # @return [String, nil]
304
+ optional :template_id, String, nil?: true
305
+
306
+ # @!attribute waba_id
307
+ # Customer Meta WABA ID for Bring-Your-Own-WABA sending
308
+ #
309
+ # @return [String, nil]
310
+ optional :waba_id, String, nil?: true
311
+
301
312
  # @!attribute whitelisted_destinations
302
313
  # Enabled country destinations to send verification codes. The elements in the
303
314
  # list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
@@ -308,14 +319,18 @@ module Telnyx
308
319
  # @return [Array<String>, nil]
309
320
  optional :whitelisted_destinations, Telnyx::Internal::Type::ArrayOf[String]
310
321
 
311
- # @!method initialize(app_name: nil, default_verification_timeout_secs: nil, whitelisted_destinations: nil)
322
+ # @!method initialize(default_verification_timeout_secs: nil, sender_phone_number: nil, template_id: nil, waba_id: nil, whitelisted_destinations: nil)
312
323
  # Some parameter documentations has been truncated, see
313
324
  # {Telnyx::Models::VerifyProfileCreateParams::Whatsapp} for more details.
314
325
  #
315
- # @param app_name [String] The name that identifies the application requesting 2fa in the verification mess
316
- #
317
326
  # @param default_verification_timeout_secs [Integer] For every request that is initiated via this Verify profile, this sets the numbe
318
327
  #
328
+ # @param sender_phone_number [String, nil] Phone number registered on the customer WABA to send OTPs from
329
+ #
330
+ # @param template_id [String, nil] Customer pre-approved authentication template name registered on Meta
331
+ #
332
+ # @param waba_id [String, nil] Customer Meta WABA ID for Bring-Your-Own-WABA sending
333
+ #
319
334
  # @param whitelisted_destinations [Array<String>] Enabled country destinations to send verification codes. The elements in the lis
320
335
  end
321
336
  end
@@ -288,13 +288,6 @@ module Telnyx
288
288
  end
289
289
 
290
290
  class Whatsapp < Telnyx::Internal::Type::BaseModel
291
- # @!attribute app_name
292
- # The name that identifies the application requesting 2fa in the verification
293
- # message.
294
- #
295
- # @return [String, nil]
296
- optional :app_name, String
297
-
298
291
  # @!attribute default_verification_timeout_secs
299
292
  # For every request that is initiated via this Verify profile, this sets the
300
293
  # number of seconds before a verification request code expires. Once the
@@ -304,6 +297,24 @@ module Telnyx
304
297
  # @return [Integer, nil]
305
298
  optional :default_verification_timeout_secs, Integer
306
299
 
300
+ # @!attribute sender_phone_number
301
+ # Phone number registered on the customer WABA to send OTPs from
302
+ #
303
+ # @return [String, nil]
304
+ optional :sender_phone_number, String, nil?: true
305
+
306
+ # @!attribute template_id
307
+ # Customer pre-approved authentication template name registered on Meta
308
+ #
309
+ # @return [String, nil]
310
+ optional :template_id, String, nil?: true
311
+
312
+ # @!attribute waba_id
313
+ # Customer Meta WABA ID for Bring-Your-Own-WABA sending
314
+ #
315
+ # @return [String, nil]
316
+ optional :waba_id, String, nil?: true
317
+
307
318
  # @!attribute whitelisted_destinations
308
319
  # Enabled country destinations to send verification codes. The elements in the
309
320
  # list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
@@ -314,14 +325,18 @@ module Telnyx
314
325
  # @return [Array<String>, nil]
315
326
  optional :whitelisted_destinations, Telnyx::Internal::Type::ArrayOf[String]
316
327
 
317
- # @!method initialize(app_name: nil, default_verification_timeout_secs: nil, whitelisted_destinations: nil)
328
+ # @!method initialize(default_verification_timeout_secs: nil, sender_phone_number: nil, template_id: nil, waba_id: nil, whitelisted_destinations: nil)
318
329
  # Some parameter documentations has been truncated, see
319
330
  # {Telnyx::Models::VerifyProfileUpdateParams::Whatsapp} for more details.
320
331
  #
321
- # @param app_name [String] The name that identifies the application requesting 2fa in the verification mess
322
- #
323
332
  # @param default_verification_timeout_secs [Integer] For every request that is initiated via this Verify profile, this sets the numbe
324
333
  #
334
+ # @param sender_phone_number [String, nil] Phone number registered on the customer WABA to send OTPs from
335
+ #
336
+ # @param template_id [String, nil] Customer pre-approved authentication template name registered on Meta
337
+ #
338
+ # @param waba_id [String, nil] Customer Meta WABA ID for Bring-Your-Own-WABA sending
339
+ #
325
340
  # @param whitelisted_destinations [Array<String>] Enabled country destinations to send verification codes. The elements in the lis
326
341
  end
327
342
  end
@@ -43,7 +43,7 @@ module Telnyx
43
43
  # Updates the configuration of a specific assistant version. Can not update main
44
44
  # version
45
45
  #
46
- # @overload update(version_id, assistant_id:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
46
+ # @overload update(version_id, assistant_id:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
47
47
  #
48
48
  # @param version_id [String] Path param
49
49
  #
@@ -73,6 +73,8 @@ module Telnyx
73
73
  #
74
74
  # @param observability_settings [Telnyx::Models::AI::ObservabilityReq] Body param
75
75
  #
76
+ # @param post_conversation_settings [Telnyx::Models::AI::Assistants::UpdateAssistant::PostConversationSettings] Body param: Configuration for post-conversation processing. When enabled, the as
77
+ #
76
78
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings] Body param
77
79
  #
78
80
  # @param telephony_settings [Telnyx::Models::AI::TelephonySettings] Body param
@@ -34,7 +34,7 @@ module Telnyx
34
34
  #
35
35
  # Create a new AI Assistant.
36
36
  #
37
- # @overload create(instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
37
+ # @overload create(instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
38
38
  #
39
39
  # @param instructions [String] System instructions for the assistant. These may be templated with [dynamic vari
40
40
  #
@@ -60,6 +60,8 @@ module Telnyx
60
60
  #
61
61
  # @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
62
62
  #
63
+ # @param post_conversation_settings [Telnyx::Models::AI::AssistantCreateParams::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
64
+ #
63
65
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
64
66
  #
65
67
  # @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
@@ -121,7 +123,7 @@ module Telnyx
121
123
  #
122
124
  # Update an AI Assistant's attributes.
123
125
  #
124
- # @overload update(assistant_id, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, privacy_settings: nil, promote_to_main: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
126
+ # @overload update(assistant_id, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, promote_to_main: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
125
127
  #
126
128
  # @param assistant_id [String]
127
129
  #
@@ -149,6 +151,8 @@ module Telnyx
149
151
  #
150
152
  # @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
151
153
  #
154
+ # @param post_conversation_settings [Telnyx::Models::AI::AssistantUpdateParams::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
155
+ #
152
156
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
153
157
  #
154
158
  # @param promote_to_main [Boolean] Indicates whether the assistant should be promoted to the main version. Defaults
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.79.0"
4
+ VERSION = "5.81.0"
5
5
  end