Skip to content

Commit d639e8d

Browse files
committed
[Librarian] Regenerated @ 4b32678e9d8859e19f1feb1af566eea8533a36c9 51518c9f2f9294597fd0471d5c647016ef4023ee
1 parent dde660c commit d639e8d

File tree

5 files changed

+66
-37
lines changed

5 files changed

+66
-37
lines changed

CHANGES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
twilio-ruby changelog
22
=====================
33

4+
[2025-07-24] Version 7.7.0
5+
--------------------------
6+
**Events**
7+
- Remove `SinkSid` parameter when updating subscriptions. **(breaking change)**
8+
9+
**Twiml**
10+
- Remove Duplicates.
11+
- Add Polly Generative voices.
12+
- Add Latest Google (Chirp3-HD) voices.
13+
14+
415
[2025-07-10] Version 7.6.5
516
--------------------------
617
**Flex**

lib/twilio-ruby/rest/events/v1/subscription.rb

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,16 +214,13 @@ def fetch
214214
##
215215
# Update the SubscriptionInstance
216216
# @param [String] description A human readable description for the Subscription.
217-
# @param [String] sink_sid The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created.
218217
# @return [SubscriptionInstance] Updated SubscriptionInstance
219218
def update(
220-
description: :unset,
221-
sink_sid: :unset
219+
description: :unset
222220
)
223221

224222
data = Twilio::Values.of({
225223
'Description' => description,
226-
'SinkSid' => sink_sid,
227224
})
228225

229226
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -411,16 +408,13 @@ def fetch
411408
##
412409
# Update the SubscriptionInstance
413410
# @param [String] description A human readable description for the Subscription.
414-
# @param [String] sink_sid The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created.
415411
# @return [SubscriptionInstance] Updated SubscriptionInstance
416412
def update(
417-
description: :unset,
418-
sink_sid: :unset
413+
description: :unset
419414
)
420415

421416
context.update(
422417
description: description,
423-
sink_sid: sink_sid,
424418
)
425419
end
426420

lib/twilio-ruby/rest/insights/v1/call_summaries.rb

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ def initialize(version)
6161
# @param [Boolean] branded_enabled A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. One of 'true' or 'false'
6262
# @param [Boolean] voice_integrity_enabled A boolean flag indicating whether or not the phone number had voice integrity enabled.One of 'true' or 'false'
6363
# @param [String] branded_bundle_sid A unique SID identifier of the Branded Call.
64+
# @param [Boolean] branded_logo Indicates whether the branded logo was displayed during the in_brand branded call. Possible values are true (logo was present) or false (logo was not present).
65+
# @param [String] branded_type Indicates whether the Branded Call is in_band vs out_of_band.
66+
# @param [String] branded_use_case Specifies the user-defined purpose for the call, as provided during the setup of in_band branded calling.
67+
# @param [String] branded_call_reason Specifies the user-defined reason for the call, which will be displayed to the end user on their mobile device during an in_band branded call.
6468
# @param [String] voice_integrity_bundle_sid A unique SID identifier of the Voice Integrity Profile.
6569
# @param [String] voice_integrity_use_case A Voice Integrity Use Case . Is of type enum. One of 'abandoned_cart', 'appointment_reminders', 'appointment_scheduling', 'asset_management', 'automated_support', 'call_tracking', 'click_to_call', 'contact_tracing', 'contactless_delivery', 'customer_support', 'dating/social', 'delivery_notifications', 'distance_learning', 'emergency_notifications', 'employee_notifications', 'exam_proctoring', 'field_notifications', 'first_responder', 'fraud_alerts', 'group_messaging', 'identify_&_verification', 'intelligent_routing', 'lead_alerts', 'lead_distribution', 'lead_generation', 'lead_management', 'lead_nurturing', 'marketing_events', 'mass_alerts', 'meetings/collaboration', 'order_notifications', 'outbound_dialer', 'pharmacy', 'phone_system', 'purchase_confirmation', 'remote_appointments', 'rewards_program', 'self-service', 'service_alerts', 'shift_management', 'survey/research', 'telehealth', 'telemarketing', 'therapy_(individual+group)'.
6670
# @param [String] business_profile_identity A Business Identity of the calls. Is of type enum. One of 'direct_customer', 'isv_reseller_or_partner'.
@@ -74,7 +78,7 @@ def initialize(version)
7478
# but a limit is defined, stream() will attempt to read the limit with the most
7579
# efficient page size, i.e. min(limit, 1000)
7680
# @return [Array] Array of up to limit results
77-
def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, branded_enabled: :unset, voice_integrity_enabled: :unset, branded_bundle_sid: :unset, voice_integrity_bundle_sid: :unset, voice_integrity_use_case: :unset, business_profile_identity: :unset, business_profile_industry: :unset, business_profile_bundle_sid: :unset, business_profile_type: :unset, limit: nil, page_size: nil)
81+
def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, branded_enabled: :unset, voice_integrity_enabled: :unset, branded_bundle_sid: :unset, branded_logo: :unset, branded_type: :unset, branded_use_case: :unset, branded_call_reason: :unset, voice_integrity_bundle_sid: :unset, voice_integrity_use_case: :unset, business_profile_identity: :unset, business_profile_industry: :unset, business_profile_bundle_sid: :unset, business_profile_type: :unset, limit: nil, page_size: nil)
7882
self.stream(
7983
from: from,
8084
to: to,
@@ -102,6 +106,10 @@ def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, fro
102106
branded_enabled: branded_enabled,
103107
voice_integrity_enabled: voice_integrity_enabled,
104108
branded_bundle_sid: branded_bundle_sid,
109+
branded_logo: branded_logo,
110+
branded_type: branded_type,
111+
branded_use_case: branded_use_case,
112+
branded_call_reason: branded_call_reason,
105113
voice_integrity_bundle_sid: voice_integrity_bundle_sid,
106114
voice_integrity_use_case: voice_integrity_use_case,
107115
business_profile_identity: business_profile_identity,
@@ -143,6 +151,10 @@ def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, fro
143151
# @param [Boolean] branded_enabled A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. One of 'true' or 'false'
144152
# @param [Boolean] voice_integrity_enabled A boolean flag indicating whether or not the phone number had voice integrity enabled.One of 'true' or 'false'
145153
# @param [String] branded_bundle_sid A unique SID identifier of the Branded Call.
154+
# @param [Boolean] branded_logo Indicates whether the branded logo was displayed during the in_brand branded call. Possible values are true (logo was present) or false (logo was not present).
155+
# @param [String] branded_type Indicates whether the Branded Call is in_band vs out_of_band.
156+
# @param [String] branded_use_case Specifies the user-defined purpose for the call, as provided during the setup of in_band branded calling.
157+
# @param [String] branded_call_reason Specifies the user-defined reason for the call, which will be displayed to the end user on their mobile device during an in_band branded call.
146158
# @param [String] voice_integrity_bundle_sid A unique SID identifier of the Voice Integrity Profile.
147159
# @param [String] voice_integrity_use_case A Voice Integrity Use Case . Is of type enum. One of 'abandoned_cart', 'appointment_reminders', 'appointment_scheduling', 'asset_management', 'automated_support', 'call_tracking', 'click_to_call', 'contact_tracing', 'contactless_delivery', 'customer_support', 'dating/social', 'delivery_notifications', 'distance_learning', 'emergency_notifications', 'employee_notifications', 'exam_proctoring', 'field_notifications', 'first_responder', 'fraud_alerts', 'group_messaging', 'identify_&_verification', 'intelligent_routing', 'lead_alerts', 'lead_distribution', 'lead_generation', 'lead_management', 'lead_nurturing', 'marketing_events', 'mass_alerts', 'meetings/collaboration', 'order_notifications', 'outbound_dialer', 'pharmacy', 'phone_system', 'purchase_confirmation', 'remote_appointments', 'rewards_program', 'self-service', 'service_alerts', 'shift_management', 'survey/research', 'telehealth', 'telemarketing', 'therapy_(individual+group)'.
148160
# @param [String] business_profile_identity A Business Identity of the calls. Is of type enum. One of 'direct_customer', 'isv_reseller_or_partner'.
@@ -156,7 +168,7 @@ def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, fro
156168
# but a limit is defined, stream() will attempt to read the limit with the most
157169
# efficient page size, i.e. min(limit, 1000)
158170
# @return [Enumerable] Enumerable that will yield up to limit results
159-
def stream(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, branded_enabled: :unset, voice_integrity_enabled: :unset, branded_bundle_sid: :unset, voice_integrity_bundle_sid: :unset, voice_integrity_use_case: :unset, business_profile_identity: :unset, business_profile_industry: :unset, business_profile_bundle_sid: :unset, business_profile_type: :unset, limit: nil, page_size: nil)
171+
def stream(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, branded_enabled: :unset, voice_integrity_enabled: :unset, branded_bundle_sid: :unset, branded_logo: :unset, branded_type: :unset, branded_use_case: :unset, branded_call_reason: :unset, voice_integrity_bundle_sid: :unset, voice_integrity_use_case: :unset, business_profile_identity: :unset, business_profile_industry: :unset, business_profile_bundle_sid: :unset, business_profile_type: :unset, limit: nil, page_size: nil)
160172
limits = @version.read_limits(limit, page_size)
161173

162174
page = self.page(
@@ -186,6 +198,10 @@ def stream(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, f
186198
branded_enabled: branded_enabled,
187199
voice_integrity_enabled: voice_integrity_enabled,
188200
branded_bundle_sid: branded_bundle_sid,
201+
branded_logo: branded_logo,
202+
branded_type: branded_type,
203+
branded_use_case: branded_use_case,
204+
branded_call_reason: branded_call_reason,
189205
voice_integrity_bundle_sid: voice_integrity_bundle_sid,
190206
voice_integrity_use_case: voice_integrity_use_case,
191207
business_profile_identity: business_profile_identity,
@@ -240,6 +256,10 @@ def each
240256
# @param [Boolean] branded_enabled A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. One of 'true' or 'false'
241257
# @param [Boolean] voice_integrity_enabled A boolean flag indicating whether or not the phone number had voice integrity enabled.One of 'true' or 'false'
242258
# @param [String] branded_bundle_sid A unique SID identifier of the Branded Call.
259+
# @param [Boolean] branded_logo Indicates whether the branded logo was displayed during the in_brand branded call. Possible values are true (logo was present) or false (logo was not present).
260+
# @param [String] branded_type Indicates whether the Branded Call is in_band vs out_of_band.
261+
# @param [String] branded_use_case Specifies the user-defined purpose for the call, as provided during the setup of in_band branded calling.
262+
# @param [String] branded_call_reason Specifies the user-defined reason for the call, which will be displayed to the end user on their mobile device during an in_band branded call.
243263
# @param [String] voice_integrity_bundle_sid A unique SID identifier of the Voice Integrity Profile.
244264
# @param [String] voice_integrity_use_case A Voice Integrity Use Case . Is of type enum. One of 'abandoned_cart', 'appointment_reminders', 'appointment_scheduling', 'asset_management', 'automated_support', 'call_tracking', 'click_to_call', 'contact_tracing', 'contactless_delivery', 'customer_support', 'dating/social', 'delivery_notifications', 'distance_learning', 'emergency_notifications', 'employee_notifications', 'exam_proctoring', 'field_notifications', 'first_responder', 'fraud_alerts', 'group_messaging', 'identify_&_verification', 'intelligent_routing', 'lead_alerts', 'lead_distribution', 'lead_generation', 'lead_management', 'lead_nurturing', 'marketing_events', 'mass_alerts', 'meetings/collaboration', 'order_notifications', 'outbound_dialer', 'pharmacy', 'phone_system', 'purchase_confirmation', 'remote_appointments', 'rewards_program', 'self-service', 'service_alerts', 'shift_management', 'survey/research', 'telehealth', 'telemarketing', 'therapy_(individual+group)'.
245265
# @param [String] business_profile_identity A Business Identity of the calls. Is of type enum. One of 'direct_customer', 'isv_reseller_or_partner'.
@@ -250,7 +270,7 @@ def each
250270
# @param [Integer] page_number Page Number, this value is simply for client state
251271
# @param [Integer] page_size Number of records to return, defaults to 50
252272
# @return [Page] Page of CallSummariesInstance
253-
def page(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, branded_enabled: :unset, voice_integrity_enabled: :unset, branded_bundle_sid: :unset, voice_integrity_bundle_sid: :unset, voice_integrity_use_case: :unset, business_profile_identity: :unset, business_profile_industry: :unset, business_profile_bundle_sid: :unset, business_profile_type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
273+
def page(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, from_country_code: :unset, to_country_code: :unset, verified_caller: :unset, has_tag: :unset, start_time: :unset, end_time: :unset, call_type: :unset, call_state: :unset, direction: :unset, processing_state: :unset, sort_by: :unset, subaccount: :unset, abnormal_session: :unset, answered_by: :unset, answered_by_annotation: :unset, connectivity_issue_annotation: :unset, quality_issue_annotation: :unset, spam_annotation: :unset, call_score_annotation: :unset, branded_enabled: :unset, voice_integrity_enabled: :unset, branded_bundle_sid: :unset, branded_logo: :unset, branded_type: :unset, branded_use_case: :unset, branded_call_reason: :unset, voice_integrity_bundle_sid: :unset, voice_integrity_use_case: :unset, business_profile_identity: :unset, business_profile_industry: :unset, business_profile_bundle_sid: :unset, business_profile_type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
254274
params = Twilio::Values.of({
255275
'From' => from,
256276
'To' => to,
@@ -278,6 +298,10 @@ def page(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, fro
278298
'BrandedEnabled' => branded_enabled,
279299
'VoiceIntegrityEnabled' => voice_integrity_enabled,
280300
'BrandedBundleSid' => branded_bundle_sid,
301+
'BrandedLogo' => branded_logo,
302+
'BrandedType' => branded_type,
303+
'BrandedUseCase' => branded_use_case,
304+
'BrandedCallReason' => branded_call_reason,
281305
'VoiceIntegrityBundleSid' => voice_integrity_bundle_sid,
282306
'VoiceIntegrityUseCase' => voice_integrity_use_case,
283307
'BusinessProfileIdentity' => business_profile_identity,

0 commit comments

Comments
 (0)