lib/purecloud/api/routing_api.rb in purecloud-0.51.1 vs lib/purecloud/api/routing_api.rb in purecloud-0.52.1

- old
+ new

@@ -1494,37 +1494,32 @@ end # Get the wrap-up codes for a queue # # @param queue_id Queue ID - # @param code_id Code ID # @param [Hash] opts the optional parameters # @return [WrapupCodeEntityListing] - def get_queues_queue_id_wrapupcodes(queue_id, code_id, opts = {}) - data, status_code, headers = get_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts) + def get_queues_queue_id_wrapupcodes(queue_id, opts = {}) + data, status_code, headers = get_queues_queue_id_wrapupcodes_with_http_info(queue_id, opts) return data end # Get the wrap-up codes for a queue # # @param queue_id Queue ID - # @param code_id Code ID # @param [Hash] opts the optional parameters # @return [Array<(WrapupCodeEntityListing, Fixnum, Hash)>] WrapupCodeEntityListing data, response status code and response headers - def get_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts = {}) + def get_queues_queue_id_wrapupcodes_with_http_info(queue_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_wrapupcodes ..." end # verify the required parameter 'queue_id' is set fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_wrapupcodes" if queue_id.nil? - # verify the required parameter 'code_id' is set - fail "Missing the required parameter 'code_id' when calling get_queues_queue_id_wrapupcodes" if code_id.nil? - # resource path - local_var_path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s) + local_var_path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s) # query parameters query_params = {} # header parameters @@ -2380,41 +2375,36 @@ end # Add up to 100 wrap-up codes to a queue # # @param queue_id Queue ID - # @param code_id Code ID # @param body List of wrapup codes # @param [Hash] opts the optional parameters # @return [Array<WrapupCode>] - def post_queues_queue_id_wrapupcodes(queue_id, code_id, body, opts = {}) - data, status_code, headers = post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, body, opts) + def post_queues_queue_id_wrapupcodes(queue_id, body, opts = {}) + data, status_code, headers = post_queues_queue_id_wrapupcodes_with_http_info(queue_id, body, opts) return data end # Add up to 100 wrap-up codes to a queue # # @param queue_id Queue ID - # @param code_id Code ID # @param body List of wrapup codes # @param [Hash] opts the optional parameters # @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers - def post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, body, opts = {}) + def post_queues_queue_id_wrapupcodes_with_http_info(queue_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RoutingApi#post_queues_queue_id_wrapupcodes ..." end # verify the required parameter 'queue_id' is set fail "Missing the required parameter 'queue_id' when calling post_queues_queue_id_wrapupcodes" if queue_id.nil? - # verify the required parameter 'code_id' is set - fail "Missing the required parameter 'code_id' when calling post_queues_queue_id_wrapupcodes" if code_id.nil? - # verify the required parameter 'body' is set fail "Missing the required parameter 'body' when calling post_queues_queue_id_wrapupcodes" if body.nil? # resource path - local_var_path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s) + local_var_path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s) # query parameters query_params = {} # header parameters