@@ -45,14 +45,15 @@ def initialize(version)
4545 # processing_state
4646 # @param [call_summaries.SortBy] sort_by The sort_by
4747 # @param [String] subaccount The subaccount
48+ # @param [Boolean] abnormal_session The abnormal_session
4849 # @param [Integer] limit Upper limit for the number of records to return. stream()
4950 # guarantees to never return more than limit. Default is no limit
5051 # @param [Integer] page_size Number of records to fetch per request, when
5152 # not set will use the default value of 50 records. If no page_size is defined
5253 # but a limit is defined, stream() will attempt to read the limit with the most
5354 # efficient page size, i.e. min(limit, 1000)
5455 # @return [Array] Array of up to limit results
55- def list ( from : :unset , to : :unset , from_carrier : :unset , to_carrier : :unset , from_country_code : :unset , to_country_code : :unset , branded : :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 , limit : nil , page_size : nil )
56+ def list ( from : :unset , to : :unset , from_carrier : :unset , to_carrier : :unset , from_country_code : :unset , to_country_code : :unset , branded : :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 , limit : nil , page_size : nil )
5657 self . stream (
5758 from : from ,
5859 to : to ,
@@ -71,6 +72,7 @@ def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, fro
7172 processing_state : processing_state ,
7273 sort_by : sort_by ,
7374 subaccount : subaccount ,
75+ abnormal_session : abnormal_session ,
7476 limit : limit ,
7577 page_size : page_size
7678 ) . entries
@@ -98,14 +100,15 @@ def list(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, fro
98100 # processing_state
99101 # @param [call_summaries.SortBy] sort_by The sort_by
100102 # @param [String] subaccount The subaccount
103+ # @param [Boolean] abnormal_session The abnormal_session
101104 # @param [Integer] limit Upper limit for the number of records to return. stream()
102105 # guarantees to never return more than limit. Default is no limit.
103106 # @param [Integer] page_size Number of records to fetch per request, when
104107 # not set will use the default value of 50 records. If no page_size is defined
105108 # but a limit is defined, stream() will attempt to read the limit with the most
106109 # efficient page size, i.e. min(limit, 1000)
107110 # @return [Enumerable] Enumerable that will yield up to limit results
108- def stream ( from : :unset , to : :unset , from_carrier : :unset , to_carrier : :unset , from_country_code : :unset , to_country_code : :unset , branded : :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 , limit : nil , page_size : nil )
111+ def stream ( from : :unset , to : :unset , from_carrier : :unset , to_carrier : :unset , from_country_code : :unset , to_country_code : :unset , branded : :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 , limit : nil , page_size : nil )
109112 limits = @version . read_limits ( limit , page_size )
110113
111114 page = self . page (
@@ -126,6 +129,7 @@ def stream(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, f
126129 processing_state : processing_state ,
127130 sort_by : sort_by ,
128131 subaccount : subaccount ,
132+ abnormal_session : abnormal_session ,
129133 page_size : limits [ :page_size ] ,
130134 )
131135
@@ -167,11 +171,12 @@ def each
167171 # processing_state
168172 # @param [call_summaries.SortBy] sort_by The sort_by
169173 # @param [String] subaccount The subaccount
174+ # @param [Boolean] abnormal_session The abnormal_session
170175 # @param [String] page_token PageToken provided by the API
171176 # @param [Integer] page_number Page Number, this value is simply for client state
172177 # @param [Integer] page_size Number of records to return, defaults to 50
173178 # @return [Page] Page of CallSummariesInstance
174- def page ( from : :unset , to : :unset , from_carrier : :unset , to_carrier : :unset , from_country_code : :unset , to_country_code : :unset , branded : :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 , page_token : :unset , page_number : :unset , page_size : :unset )
179+ def page ( from : :unset , to : :unset , from_carrier : :unset , to_carrier : :unset , from_country_code : :unset , to_country_code : :unset , branded : :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 , page_token : :unset , page_number : :unset , page_size : :unset )
175180 params = Twilio ::Values . of ( {
176181 'From' => Twilio . serialize_list ( from ) { |e | e } ,
177182 'To' => Twilio . serialize_list ( to ) { |e | e } ,
@@ -190,6 +195,7 @@ def page(from: :unset, to: :unset, from_carrier: :unset, to_carrier: :unset, fro
190195 'ProcessingState' => processing_state ,
191196 'SortBy' => sort_by ,
192197 'Subaccount' => subaccount ,
198+ 'AbnormalSession' => abnormal_session ,
193199 'PageToken' => page_token ,
194200 'Page' => page_number ,
195201 'PageSize' => page_size ,
0 commit comments