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

- old
+ new

@@ -223,10 +223,11 @@ # @param [String] post_work_activity_sid The new worker activity SID after executing a Conference instruction. # @param [SupervisorMode] supervisor_mode # @param [String] supervisor The Supervisor SID/URI when executing the Supervise 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, @@ -279,10 +280,11 @@ post_work_activity_sid: :unset, supervisor_mode: :unset, supervisor: :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, @@ -336,10 +338,11 @@ 'PostWorkActivitySid' => post_work_activity_sid, 'SupervisorMode' => supervisor_mode, 'Supervisor' => supervisor, '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( @@ -566,10 +569,11 @@ # @param [String] post_work_activity_sid The new worker activity SID after executing a Conference instruction. # @param [SupervisorMode] supervisor_mode # @param [String] supervisor The Supervisor SID/URI when executing the Supervise 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, @@ -622,10 +626,11 @@ post_work_activity_sid: :unset, supervisor_mode: :unset, supervisor: :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, @@ -679,9 +684,10 @@ post_work_activity_sid: post_work_activity_sid, supervisor_mode: supervisor_mode, supervisor: supervisor, 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 ##