lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-47.0.0 vs lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-48.0.0

- old
+ new

@@ -73,11 +73,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -147,11 +147,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -220,11 +220,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -294,11 +294,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -368,11 +368,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -432,11 +432,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -496,11 +496,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -550,11 +550,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -614,11 +614,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -688,11 +688,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -762,11 +762,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -826,11 +826,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -901,11 +901,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -993,11 +993,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1048,11 +1048,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1103,11 +1103,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1207,11 +1207,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1272,11 +1272,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1358,11 +1358,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1423,11 +1423,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1497,11 +1497,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1572,11 +1572,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1736,11 +1736,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1801,11 +1801,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1910,11 +1910,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1924,15 +1924,15 @@ @api_client.config.logger.debug "API called: RoutingApi#get_routing_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Get a page of simplified queue objects, filterable by name, queue ID(s), or division ID(s). + # Get a paged listing of simplified queue objects, filterable by name, queue ID(s), or division ID(s). # # @param [Hash] opts the optional parameters - # @option opts [Integer] :page_size Page size (default to 25) - # @option opts [Integer] :page_number Page number (default to 1) + # @option opts [Integer] :page_size Page size [max value is 100] (default to 25) + # @option opts [Integer] :page_number Page number [max value is 5] (default to 1) # @option opts [String] :sort_by Sort by (default to name) # @option opts [String] :sort_order Sort order (default to asc) # @option opts [String] :name Name # @option opts [Array<String>] :id Queue ID(s) # @option opts [Array<String>] :division_id Division ID(s) @@ -1940,15 +1940,15 @@ def get_routing_queues_divisionviews(opts = {}) data, _status_code, _headers = get_routing_queues_divisionviews_with_http_info(opts) return data end - # Get a page of simplified queue objects, filterable by name, queue ID(s), or division ID(s). + # Get a paged listing of simplified queue objects, filterable by name, queue ID(s), or division ID(s). # # @param [Hash] opts the optional parameters - # @option opts [Integer] :page_size Page size - # @option opts [Integer] :page_number Page number + # @option opts [Integer] :page_size Page size [max value is 100] + # @option opts [Integer] :page_number Page number [max value is 5] # @option opts [String] :sort_by Sort by # @option opts [String] :sort_order Sort order # @option opts [String] :name Name # @option opts [Array<String>] :id Queue ID(s) # @option opts [Array<String>] :division_id Division ID(s) @@ -1971,16 +1971,20 @@ + if opts[:'sort_by'] && !['name', 'id', 'divisionId'].include?(opts[:'sort_by']) + fail ArgumentError, 'invalid value for "sort_by", must be one of name, id, divisionId' + end + if opts[:'sort_order'] && !['asc', 'desc', 'score'].include?(opts[:'sort_order']) fail ArgumentError, 'invalid value for "sort_order", must be one of asc, desc, score' end @@ -2032,11 +2036,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2046,10 +2050,109 @@ @api_client.config.logger.debug "API called: RoutingApi#get_routing_queues_divisionviews\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end + # Get a paged listing of simplified queue objects. Can be used to get a digest of all queues in an organization. + # + # @param [Hash] opts the optional parameters + # @option opts [Integer] :page_size Page size [max value is 500] (default to 25) + # @option opts [Integer] :page_number Page number (default to 1) + # @option opts [String] :sort_by Sort by (default to name) + # @option opts [String] :sort_order Sort order (default to asc) + # @return [QueueEntityListing] + def get_routing_queues_divisionviews_all(opts = {}) + data, _status_code, _headers = get_routing_queues_divisionviews_all_with_http_info(opts) + return data + end + + # Get a paged listing of simplified queue objects. Can be used to get a digest of all queues in an organization. + # + # @param [Hash] opts the optional parameters + # @option opts [Integer] :page_size Page size [max value is 500] + # @option opts [Integer] :page_number Page number + # @option opts [String] :sort_by Sort by + # @option opts [String] :sort_order Sort order + # @return [Array<(QueueEntityListing, Fixnum, Hash)>] QueueEntityListing data, response status code and response headers + def get_routing_queues_divisionviews_all_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: RoutingApi.get_routing_queues_divisionviews_all ..." + end + + + + + + + + + + + + + + + + + if opts[:'sort_by'] && !['name', 'id', 'divisionId'].include?(opts[:'sort_by']) + fail ArgumentError, 'invalid value for "sort_by", must be one of name, id, divisionId' + end + + + + + + + + if opts[:'sort_order'] && !['asc', 'desc', 'score'].include?(opts[:'sort_order']) + fail ArgumentError, 'invalid value for "sort_order", must be one of asc, desc, score' + end + + + + + # resource path + local_var_path = "/api/v2/routing/queues/divisionviews/all".sub('{format}','json') + + # query parameters + query_params = {} + query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size'] + query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number'] + query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by'] + query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order'] + + # header parameters + header_params = {} + + # HTTP header 'Accept' (if needed) + local_header_accept = ['application/json'] + local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result + + # HTTP header 'Content-Type' + local_header_content_type = ['application/json'] + header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + + auth_names = ['PureCloud OAuth'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'QueueEntityListing') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: RoutingApi#get_routing_queues_divisionviews_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Get a paged listing of queues the user is a member of. # # @param [Hash] opts the optional parameters # @option opts [BOOLEAN] :joined Joined # @option opts [Integer] :page_size Page size (default to 25) @@ -2132,11 +2235,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2197,11 +2300,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2288,11 +2391,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2419,11 +2522,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2484,11 +2587,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2592,11 +2695,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2647,11 +2750,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2712,11 +2815,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2807,11 +2910,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2903,11 +3006,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2999,11 +3102,11 @@ form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3013,11 +3116,11 @@ @api_client.config.logger.debug "API called: RoutingApi#get_user_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Update the ring number of joined status for a User in a Queue + # Update the ring number or joined status for a User in a Queue # # @param queue_id Queue ID # @param member_id Member ID # @param body Queue Member # @param [Hash] opts the optional parameters @@ -3025,11 +3128,11 @@ def patch_routing_queue_user(queue_id, member_id, body, opts = {}) data, _status_code, _headers = patch_routing_queue_user_with_http_info(queue_id, member_id, body, opts) return data end - # Update the ring number of joined status for a User in a Queue + # Update the ring number or joined status for a User in a Queue # # @param queue_id Queue ID # @param member_id Member ID # @param body Queue Member # @param [Hash] opts the optional parameters @@ -3084,11 +3187,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3159,11 +3262,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3244,11 +3347,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3319,11 +3422,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3394,11 +3497,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3459,11 +3562,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3534,11 +3637,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3599,11 +3702,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3664,11 +3767,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3748,11 +3851,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3823,11 +3926,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3888,11 +3991,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3953,11 +4056,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4018,11 +4121,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4083,11 +4186,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4148,11 +4251,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4223,11 +4326,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4298,11 +4401,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4383,11 +4486,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4458,11 +4561,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4533,11 +4636,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4608,11 +4711,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4673,11 +4776,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4748,11 +4851,11 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -4833,10 +4936,10 @@ form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) - auth_names = ['PureCloud Auth'] + auth_names = ['PureCloud OAuth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body,