lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-3.1.7 vs lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-4.0.0

- old
+ new

@@ -141,22 +141,22 @@ @api_client.config.logger.debug "API called: ArchitectApi#delete_architect_prompt_resource\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Batch-delete a list of prompts asynchronously - # Multiple IDs can be specified, in which case all specified prompts will be deleted. + # Batch-delete a list of prompts + # Multiple IDs can be specified, in which case all specified prompts will be deleted. Asynchronous. Notification topic: v2.architect.prompts.{promptId} # @param id List of Prompt IDs # @param [Hash] opts the optional parameters # @return [Operation] def delete_architect_prompts(id, opts = {}) data, _status_code, _headers = delete_architect_prompts_with_http_info(id, opts) return data end - # Batch-delete a list of prompts asynchronously - # Multiple IDs can be specified, in which case all specified prompts will be deleted. + # Batch-delete a list of prompts + # Multiple IDs can be specified, in which case all specified prompts will be deleted. Asynchronous. Notification topic: v2.architect.prompts.{promptId} # @param id List of Prompt IDs # @param [Hash] opts the optional parameters # @return [Array<(Operation, Fixnum, Hash)>] Operation data, response status code and response headers def delete_architect_prompts_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -204,22 +204,22 @@ # Delete a system prompt resource override. # # @param prompt_id Prompt ID # @param language_code Language # @param [Hash] opts the optional parameters - # @return [String] + # @return [nil] def delete_architect_systemprompt_resource(prompt_id, language_code, opts = {}) - data, _status_code, _headers = delete_architect_systemprompt_resource_with_http_info(prompt_id, language_code, opts) - return data + delete_architect_systemprompt_resource_with_http_info(prompt_id, language_code, opts) + return nil end # Delete a system prompt resource override. # # @param prompt_id Prompt ID # @param language_code Language # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers + # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_architect_systemprompt_resource_with_http_info(prompt_id, language_code, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.delete_architect_systemprompt_resource ..." end # verify the required parameter 'prompt_id' is set @@ -252,12 +252,11 @@ 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, - :auth_names => auth_names, - :return_type => 'String') + :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: ArchitectApi#delete_architect_systemprompt_resource\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -316,22 +315,22 @@ @api_client.config.logger.debug "API called: ArchitectApi#delete_flow\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Batch-delete a list of flows asynchronously - # Multiple IDs can be specified, in which case all specified flows will be deleted. + # Batch-delete a list of flows + # Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId} # @param id List of Flow IDs # @param [Hash] opts the optional parameters # @return [Operation] def delete_flows(id, opts = {}) data, _status_code, _headers = delete_flows_with_http_info(id, opts) return data end - # Batch-delete a list of flows asynchronously - # Multiple IDs can be specified, in which case all specified flows will be deleted. + # Batch-delete a list of flows + # Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId} # @param id List of Flow IDs # @param [Hash] opts the optional parameters # @return [Array<(Operation, Fixnum, Hash)>] Operation data, response status code and response headers def delete_flows_with_http_info(id, opts = {}) if @api_client.config.debugging @@ -1922,20 +1921,20 @@ end return data, status_code, headers end # Rebuild Dependency Tracking data for an organization - # + # Asynchronous. Notification topic: v2.architect.dependencytracking.build # @param [Hash] opts the optional parameters # @return [nil] def post_architect_dependencytracking_build(opts = {}) post_architect_dependencytracking_build_with_http_info(opts) return nil end # Rebuild Dependency Tracking data for an organization - # + # Asynchronous. Notification topic: v2.architect.dependencytracking.build # @param [Hash] opts the optional parameters # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def post_architect_dependencytracking_build_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_dependencytracking_build ..." @@ -2261,21 +2260,21 @@ end return data, status_code, headers end # Check-in flow - # + # Asynchronous. Notification topic: v2.flows.{flowId} # @param flow Flow ID # @param [Hash] opts the optional parameters # @return [Flow] def post_flows_actions_checkin(flow, opts = {}) data, _status_code, _headers = post_flows_actions_checkin_with_http_info(flow, opts) return data end # Check-in flow - # + # Asynchronous. Notification topic: v2.flows.{flowId} # @param flow Flow ID # @param [Hash] opts the optional parameters # @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers def post_flows_actions_checkin_with_http_info(flow, opts = {}) if @api_client.config.debugging @@ -2435,21 +2434,21 @@ end return data, status_code, headers end # Publish flow - # + # Asynchronous. Notification topic: v2.flows.{flowId} # @param flow Flow ID # @param [Hash] opts the optional parameters # @option opts [String] :version version # @return [Operation] def post_flows_actions_publish(flow, opts = {}) data, _status_code, _headers = post_flows_actions_publish_with_http_info(flow, opts) return data end # Publish flow - # + # Asynchronous. Notification topic: v2.flows.{flowId} # @param flow Flow ID # @param [Hash] opts the optional parameters # @option opts [String] :version version # @return [Array<(Operation, Fixnum, Hash)>] Operation data, response status code and response headers def post_flows_actions_publish_with_http_info(flow, opts = {})