Skip to content

Commit 3f28f62

Browse files
committed
[Librarian] Regenerated @ 6b85410bb6ecf3aa579d1fa442c7bb74c62cf6f0 ae4a12dded508a988aeaca39721be27984e9aeeb
1 parent dcddfef commit 3f28f62

File tree

5 files changed

+437
-2
lines changed

5 files changed

+437
-2
lines changed

CHANGES.md

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

4+
[2025-02-11] Version 7.4.4
5+
--------------------------
6+
**Api**
7+
- Change downstream url and change media type for file `base/api/v2010/validation_request.json`.
8+
9+
**Intelligence**
10+
- Add json_results for Generative JSON operator results
11+
12+
**Messaging**
13+
- Add DestinationAlphaSender API to support Country-Specific Alpha Senders
14+
15+
**Video**
16+
- Change codec type from enum to case-insensitive enum in recording and room_recording apis
17+
18+
419
[2025-01-28] Version 7.4.3
520
--------------------------
621
**Library - Chore**

lib/twilio-ruby/rest/api/v2010/account/address.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def fetch
251251

252252
##
253253
# Update the AddressInstance
254-
# @param [String] friendly_name A descriptive string that you create to describe the address. It can be up to 64 characters long.
254+
# @param [String] friendly_name A descriptive string that you create to describe the new address. It can be up to 64 characters long for Regulatory Compliance addresses and 32 characters long for Emergency addresses.
255255
# @param [String] customer_name The name to associate with the address.
256256
# @param [String] street The number and street address of the address.
257257
# @param [String] city The city of the address.
@@ -518,7 +518,7 @@ def fetch
518518

519519
##
520520
# Update the AddressInstance
521-
# @param [String] friendly_name A descriptive string that you create to describe the address. It can be up to 64 characters long.
521+
# @param [String] friendly_name A descriptive string that you create to describe the new address. It can be up to 64 characters long for Regulatory Compliance addresses and 32 characters long for Emergency addresses.
522522
# @param [String] customer_name The name to associate with the address.
523523
# @param [String] street The number and street address of the address.
524524
# @param [String] city The city of the address.

lib/twilio-ruby/rest/intelligence/v2/transcript/operator_result.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def initialize(version, payload , transcript_sid: nil, operator_sid: nil)
249249
'label_probabilities' => payload['label_probabilities'],
250250
'extract_results' => payload['extract_results'],
251251
'text_generation_results' => payload['text_generation_results'],
252+
'json_results' => payload['json_results'],
252253
'transcript_sid' => payload['transcript_sid'],
253254
'url' => payload['url'],
254255
}
@@ -347,6 +348,12 @@ def text_generation_results
347348
@properties['text_generation_results']
348349
end
349350

351+
##
352+
# @return [Hash]
353+
def json_results
354+
@properties['json_results']
355+
end
356+
350357
##
351358
# @return [String] A 34 character string that uniquely identifies this Transcript.
352359
def transcript_sid

lib/twilio-ruby/rest/messaging/v1/service.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ def initialize(version, sid)
216216
@us_app_to_person = nil
217217
@phone_numbers = nil
218218
@alpha_senders = nil
219+
@destination_alpha_senders = nil
219220
@channel_senders = nil
220221
end
221222
##
@@ -408,6 +409,25 @@ def alpha_senders(sid=:unset)
408409
@alpha_senders
409410
end
410411
##
412+
# Access the destination_alpha_senders
413+
# @return [DestinationAlphaSenderList]
414+
# @return [DestinationAlphaSenderContext] if sid was passed.
415+
def destination_alpha_senders(sid=:unset)
416+
417+
raise ArgumentError, 'sid cannot be nil' if sid.nil?
418+
419+
if sid != :unset
420+
return DestinationAlphaSenderContext.new(@version, @solution[:sid],sid )
421+
end
422+
423+
unless @destination_alpha_senders
424+
@destination_alpha_senders = DestinationAlphaSenderList.new(
425+
@version, service_sid: @solution[:sid], )
426+
end
427+
428+
@destination_alpha_senders
429+
end
430+
##
411431
# Access the channel_senders
412432
# @return [ChannelSenderList]
413433
# @return [ChannelSenderContext] if sid was passed.
@@ -773,6 +793,13 @@ def alpha_senders
773793
context.alpha_senders
774794
end
775795

796+
##
797+
# Access the destination_alpha_senders
798+
# @return [destination_alpha_senders] destination_alpha_senders
799+
def destination_alpha_senders
800+
context.destination_alpha_senders
801+
end
802+
776803
##
777804
# Access the channel_senders
778805
# @return [channel_senders] channel_senders

0 commit comments

Comments
 (0)