Skip to content

Commit

Permalink
[Librarian] Regenerated @ d9d9306ce476f68a10ab20bf103e0e31e523a4b3
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jun 28, 2023
1 parent 0230689 commit 2728417
Show file tree
Hide file tree
Showing 17 changed files with 1,995 additions and 167 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
twilio-ruby changelog
=====================

[2023-06-28] Version 6.2.0
--------------------------
**Library - Fix**
- [PR #665](https://github.com/twilio/twilio-ruby/pull/665): #663 local jump error due to lack of block passing for recording list. Thanks to [@JYorston](https://github.com/JYorston)!

**Lookups**
- Add `reassigned_number` package to the lookup response

**Numbers**
- Add hosted_number_order under version `/v2`.
- Update properties in Porting and Bulk Porting APIs. **(breaking change)**
- Added bulk Portability API under version `/v1`.
- Added Portability API under version `/v1`.


[2023-06-15] Version 6.1.0
--------------------------
**Api**
Expand Down
26 changes: 13 additions & 13 deletions lib/twilio-ruby/rest/insights/v1/call/annotation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ def fetch
# Update the AnnotationInstance
# @param [AnsweredBy] answered_by
# @param [ConnectivityIssue] connectivity_issue
# @param [String] quality_issues Specify if the call had any subjective quality issues. Possible values, one or more of: no_quality_issue, low_volume, choppy_robotic, echo, dtmf, latency, owa, static_noise. Use comma separated values to indicate multiple quality issues for the same call
# @param [Boolean] spam Specify if the call was a spam call. Use this to provide feedback on whether calls placed from your account were marked as spam, or if inbound calls received by your account were unwanted spam. Is of type Boolean: true, false. Use true if the call was a spam call.
# @param [String] quality_issues Specify if the call had any subjective quality issues. Possible values, one or more of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`. Use comma separated values to indicate multiple quality issues for the same call.
# @param [Boolean] spam A boolean flag to indicate if the call was a spam call. Use this to provide feedback on whether calls placed from your account were marked as spam, or if inbound calls received by your account were unwanted spam. Use `true` if the call was a spam call.
# @param [String] call_score Specify the call score. This is of type integer. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for rating the call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
# @param [String] comment Specify any comments pertaining to the call. This of type string with a max limit of 100 characters. Twilio does not treat this field as PII, so don’t put any PII in here.
# @param [String] incident Associate this call with an incident or support ticket. This is of type string with a max limit of 100 characters. Twilio does not treat this field as PII, so don’t put any PII in here.
# @param [String] comment Specify any comments pertaining to the call. `comment` has a maximum character limit of 100. Twilio does not treat this field as PII, so no PII should be included in the `comment`.
# @param [String] incident Associate this call with an incident or support ticket. The `incident` parameter is of type string with a maximum character limit of 100. Twilio does not treat this field as PII, so no PII should be included in `incident`.
# @return [AnnotationInstance] Updated AnnotationInstance
def update(
answered_by: :unset,
Expand Down Expand Up @@ -221,31 +221,31 @@ def connectivity_issue
end

##
# @return [Array<String>] Specify if the call had any subjective quality issues. Possible values, one or more of: no_quality_issue, low_volume, choppy_robotic, echo, dtmf, latency, owa, static_noise. Use comma separated values to indicate multiple quality issues for the same call
# @return [Array<String>] Specifies if the call had any subjective quality issues. Possible values are one or more of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, or `static_noise`.
def quality_issues
@properties['quality_issues']
end

##
# @return [Boolean] Specify if the call was a spam call. Use this to provide feedback on whether calls placed from your account were marked as spam, or if inbound calls received by your account were unwanted spam. Is of type Boolean: true, false. Use true if the call was a spam call.
# @return [Boolean] Specifies if the call was a spam call. Use this to provide feedback on whether calls placed from your account were marked as spam, or if inbound calls received by your account were unwanted spam. Is of type Boolean: true, false. Use true if the call was a spam call.
def spam
@properties['spam']
end

##
# @return [String] Specify the call score. This is of type integer. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for rating the call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
# @return [String] Specifies the Call Score, if available. This is of type integer. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for rating the call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
def call_score
@properties['call_score']
end

##
# @return [String] Specify any comments pertaining to the call. This of type string with a max limit of 100 characters. Twilio does not treat this field as PII, so don’t put any PII in here.
# @return [String] Specifies any comments pertaining to the call. Twilio does not treat this field as PII, so no PII should be included in comments.
def comment
@properties['comment']
end

##
# @return [String] Associate this call with an incident or support ticket. This is of type string with a max limit of 100 characters. Twilio does not treat this field as PII, so don’t put any PII in here.
# @return [String] Incident or support ticket associated with this call. The `incident` property is of type string with a maximum character limit of 100. Twilio does not treat this field as PII, so no PII should be included in `incident`.
def incident
@properties['incident']
end
Expand All @@ -268,11 +268,11 @@ def fetch
# Update the AnnotationInstance
# @param [AnsweredBy] answered_by
# @param [ConnectivityIssue] connectivity_issue
# @param [String] quality_issues Specify if the call had any subjective quality issues. Possible values, one or more of: no_quality_issue, low_volume, choppy_robotic, echo, dtmf, latency, owa, static_noise. Use comma separated values to indicate multiple quality issues for the same call
# @param [Boolean] spam Specify if the call was a spam call. Use this to provide feedback on whether calls placed from your account were marked as spam, or if inbound calls received by your account were unwanted spam. Is of type Boolean: true, false. Use true if the call was a spam call.
# @param [String] quality_issues Specify if the call had any subjective quality issues. Possible values, one or more of `no_quality_issue`, `low_volume`, `choppy_robotic`, `echo`, `dtmf`, `latency`, `owa`, `static_noise`. Use comma separated values to indicate multiple quality issues for the same call.
# @param [Boolean] spam A boolean flag to indicate if the call was a spam call. Use this to provide feedback on whether calls placed from your account were marked as spam, or if inbound calls received by your account were unwanted spam. Use `true` if the call was a spam call.
# @param [String] call_score Specify the call score. This is of type integer. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for rating the call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].
# @param [String] comment Specify any comments pertaining to the call. This of type string with a max limit of 100 characters. Twilio does not treat this field as PII, so don’t put any PII in here.
# @param [String] incident Associate this call with an incident or support ticket. This is of type string with a max limit of 100 characters. Twilio does not treat this field as PII, so don’t put any PII in here.
# @param [String] comment Specify any comments pertaining to the call. `comment` has a maximum character limit of 100. Twilio does not treat this field as PII, so no PII should be included in the `comment`.
# @param [String] incident Associate this call with an incident or support ticket. The `incident` parameter is of type string with a maximum character limit of 100. Twilio does not treat this field as PII, so no PII should be included in `incident`.
# @return [AnnotationInstance] Updated AnnotationInstance
def update(
answered_by: :unset,
Expand Down
44 changes: 22 additions & 22 deletions lib/twilio-ruby/rest/insights/v1/call/call_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class CallSummaryContext < InstanceContext
##
# Initialize the CallSummaryContext
# @param [Version] version Version that contains the resource
# @param [String] call_sid
# @param [String] call_sid The unique SID identifier of the Call.
# @return [CallSummaryContext] CallSummaryContext
def initialize(version, call_sid)
super(version)
Expand All @@ -58,7 +58,7 @@ def initialize(version, call_sid)
end
##
# Fetch the CallSummaryInstance
# @param [ProcessingState] processing_state
# @param [ProcessingState] processing_state The Processing State of this Call Summary. One of `complete`, `partial` or `all`.
# @return [CallSummaryInstance] Fetched CallSummaryInstance
def fetch(
processing_state: :unset
Expand Down Expand Up @@ -176,13 +176,13 @@ def context
end

##
# @return [String]
# @return [String] The unique SID identifier of the Account.
def account_sid
@properties['account_sid']
end

##
# @return [String]
# @return [String] The unique SID identifier of the Call.
def call_sid
@properties['call_sid']
end
Expand Down Expand Up @@ -212,110 +212,110 @@ def processing_state
end

##
# @return [Time]
# @return [Time] The time at which the Call was created, given in ISO 8601 format. Can be different from `start_time` in the event of queueing due to CPS
def created_time
@properties['created_time']
end

##
# @return [Time]
# @return [Time] The time at which the Call was started, given in ISO 8601 format.
def start_time
@properties['start_time']
end

##
# @return [Time]
# @return [Time] The time at which the Call was ended, given in ISO 8601 format.
def end_time
@properties['end_time']
end

##
# @return [String]
# @return [String] Duration between when the call was initiated and the call was ended
def duration
@properties['duration']
end

##
# @return [String]
# @return [String] Duration between when the call was answered and when it ended
def connect_duration
@properties['connect_duration']
end

##
# @return [Hash]
# @return [Hash] The calling party.
def from
@properties['from']
end

##
# @return [Hash]
# @return [Hash] The called party.
def to
@properties['to']
end

##
# @return [Hash]
# @return [Hash] Contains metrics and properties for the Twilio media gateway of a PSTN call.
def carrier_edge
@properties['carrier_edge']
end

##
# @return [Hash]
# @return [Hash] Contains metrics and properties for the Twilio media gateway of a Client call.
def client_edge
@properties['client_edge']
end

##
# @return [Hash]
# @return [Hash] Contains metrics and properties for the SDK sensor library for Client calls.
def sdk_edge
@properties['sdk_edge']
end

##
# @return [Hash]
# @return [Hash] Contains metrics and properties for the Twilio media gateway of a SIP Interface or Trunking call.
def sip_edge
@properties['sip_edge']
end

##
# @return [Array<String>]
# @return [Array<String>] Tags applied to calls by Voice Insights analysis indicating a condition that could result in subjective degradation of the call quality.
def tags
@properties['tags']
end

##
# @return [String]
# @return [String] The URL of this resource.
def url
@properties['url']
end

##
# @return [Hash]
# @return [Hash] Attributes capturing call-flow-specific details.
def attributes
@properties['attributes']
end

##
# @return [Hash]
# @return [Hash] Contains edge-agnostic call-level details.
def properties
@properties['properties']
end

##
# @return [Hash]
# @return [Hash] Contains trusted communications details including Branded Call and verified caller ID.
def trust
@properties['trust']
end

##
# @return [Hash]
# @return [Hash] Programmatically labeled annotations for the Call. Developers can update the Call Summary records with Annotation during or after a Call. Annotations can be updated as long as the Call Summary record is addressable via the API.
def annotation
@properties['annotation']
end

##
# Fetch the CallSummaryInstance
# @param [ProcessingState] processing_state
# @param [ProcessingState] processing_state The Processing State of this Call Summary. One of `complete`, `partial` or `all`.
# @return [CallSummaryInstance] Fetched CallSummaryInstance
def fetch(
processing_state: :unset
Expand Down
Loading

0 comments on commit 2728417

Please sign in to comment.