Skip to content

Commit

Permalink
[Librarian] Regenerated @ 125dc871b4170bce0faca169f8a588f6ff356a88 0c…
Browse files Browse the repository at this point in the history
…222649d98edbac6858ea253f9b77fc22386e47
  • Loading branch information
twilio-dx committed Feb 20, 2025
1 parent 966f8de commit fcafde7
Show file tree
Hide file tree
Showing 8 changed files with 442 additions and 51 deletions.
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
twilio-ruby changelog
=====================

[2025-02-20] Version 7.4.5
--------------------------
**Flex**
- Adding Digital Transfers APIs under v1/Interactions

**Numbers**
- Convert webhook_type to ienum type in v1/Porting/Configuration/Webhook/{webhook_type}

**Trusthub**
- Changing TrustHub SupportingDocument status enum from lowercase to uppercase since kyc-orch returns status capitalized and rest proxy requires strict casing


[2025-02-11] Version 7.4.4
--------------------------
**Api**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def initialize(version, account_sid: nil, call_sid: nil)
# @param [String] speech_model Recognition model used by the transcription engine, among those supported by the provider
# @param [String] hints A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
# @param [Boolean] enable_automatic_punctuation The provider will add punctuation to recognition result
# @param [String] intelligence_service The SID of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators .
# @param [String] intelligence_service The SID or unique name of the [Voice Intelligence Service](https://www.twilio.com/docs/voice/intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators .
# @return [TranscriptionInstance] Created TranscriptionInstance
def create(
name: :unset,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def initialize(version, interaction_sid, sid)

# Dependents
@invites = nil
@transfers = nil
@participants = nil
end
##
Expand Down Expand Up @@ -209,6 +210,25 @@ def invites
@invites
end
##
# Access the transfers
# @return [InteractionTransferList]
# @return [InteractionTransferContext] if sid was passed.
def transfers(sid=:unset)

raise ArgumentError, 'sid cannot be nil' if sid.nil?

if sid != :unset
return InteractionTransferContext.new(@version, @solution[:interaction_sid], @solution[:sid],sid )
end

unless @transfers
@transfers = InteractionTransferList.new(
@version, interaction_sid: @solution[:interaction_sid], channel_sid: @solution[:sid], )
end

@transfers
end
##
# Access the participants
# @return [InteractionChannelParticipantList]
# @return [InteractionChannelParticipantContext] if sid was passed.
Expand Down Expand Up @@ -391,6 +411,13 @@ def invites
context.invites
end

##
# Access the transfers
# @return [transfers] transfers
def transfers
context.transfers
end

##
# Access the participants
# @return [participants] participants
Expand Down
Loading

0 comments on commit fcafde7

Please sign in to comment.