lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb in twilio-ruby-6.8.3 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb in twilio-ruby-6.9.0

- old
+ new

@@ -215,10 +215,11 @@ # @param [String] sip_auth_password The SIP password for authentication. # @param [Array[String]] dequeue_status_callback_event The call progress events sent via webhooks as a result of a Dequeue instruction. # @param [String] post_work_activity_sid The new worker activity SID after executing a Conference instruction. # @param [Boolean] end_conference_on_customer_exit Whether to end the conference when the customer leaves. # @param [Boolean] beep_on_customer_entrance Whether to play a notification beep when the customer joins. + # @param [String] jitter_buffer_size The jitter buffer size for conference. Can be: `small`, `medium`, `large`, `off`. # @param [String] if_match The If-Match HTTP request header # @return [ReservationInstance] Updated ReservationInstance def update( reservation_status: :unset, worker_activity_sid: :unset, @@ -269,10 +270,11 @@ sip_auth_password: :unset, dequeue_status_callback_event: :unset, post_work_activity_sid: :unset, end_conference_on_customer_exit: :unset, beep_on_customer_entrance: :unset, + jitter_buffer_size: :unset, if_match: :unset ) data = Twilio::Values.of({ 'ReservationStatus' => reservation_status, @@ -324,10 +326,11 @@ 'SipAuthPassword' => sip_auth_password, 'DequeueStatusCallbackEvent' => Twilio.serialize_list(dequeue_status_callback_event) { |e| e }, 'PostWorkActivitySid' => post_work_activity_sid, 'EndConferenceOnCustomerExit' => end_conference_on_customer_exit, 'BeepOnCustomerEntrance' => beep_on_customer_entrance, + 'JitterBufferSize' => jitter_buffer_size, }) headers = Twilio::Values.of({ 'If-Match' => if_match, }) payload = @version.update('POST', @uri, data: data, headers: headers) ReservationInstance.new( @@ -552,10 +555,11 @@ # @param [String] sip_auth_password The SIP password for authentication. # @param [Array[String]] dequeue_status_callback_event The call progress events sent via webhooks as a result of a Dequeue instruction. # @param [String] post_work_activity_sid The new worker activity SID after executing a Conference instruction. # @param [Boolean] end_conference_on_customer_exit Whether to end the conference when the customer leaves. # @param [Boolean] beep_on_customer_entrance Whether to play a notification beep when the customer joins. + # @param [String] jitter_buffer_size The jitter buffer size for conference. Can be: `small`, `medium`, `large`, `off`. # @param [String] if_match The If-Match HTTP request header # @return [ReservationInstance] Updated ReservationInstance def update( reservation_status: :unset, worker_activity_sid: :unset, @@ -606,10 +610,11 @@ sip_auth_password: :unset, dequeue_status_callback_event: :unset, post_work_activity_sid: :unset, end_conference_on_customer_exit: :unset, beep_on_customer_entrance: :unset, + jitter_buffer_size: :unset, if_match: :unset ) context.update( reservation_status: reservation_status, @@ -661,9 +666,10 @@ sip_auth_password: sip_auth_password, dequeue_status_callback_event: dequeue_status_callback_event, post_work_activity_sid: post_work_activity_sid, end_conference_on_customer_exit: end_conference_on_customer_exit, beep_on_customer_entrance: beep_on_customer_entrance, + jitter_buffer_size: jitter_buffer_size, if_match: if_match, ) end ##