lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-35.0.0 vs lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-36.0.0

- old
+ new

@@ -4659,29 +4659,31 @@ return data, status_code, headers end # Creates a new emergency group # + # @param body # @param [Hash] opts the optional parameters - # @option opts [EmergencyGroup] :body # @return [EmergencyGroup] - def post_architect_emergencygroups(opts = {}) - data, _status_code, _headers = post_architect_emergencygroups_with_http_info(opts) + def post_architect_emergencygroups(body, opts = {}) + data, _status_code, _headers = post_architect_emergencygroups_with_http_info(body, opts) return data end # Creates a new emergency group # + # @param body # @param [Hash] opts the optional parameters - # @option opts [EmergencyGroup] :body # @return [Array<(EmergencyGroup, Fixnum, Hash)>] EmergencyGroup data, response status code and response headers - def post_architect_emergencygroups_with_http_info(opts = {}) + def post_architect_emergencygroups_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_emergencygroups ..." end + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_emergencygroups" if body.nil? @@ -4704,11 +4706,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, @@ -4722,29 +4724,31 @@ return data, status_code, headers end # Create IVR config. # + # @param body # @param [Hash] opts the optional parameters - # @option opts [IVR] :body # @return [IVR] - def post_architect_ivrs(opts = {}) - data, _status_code, _headers = post_architect_ivrs_with_http_info(opts) + def post_architect_ivrs(body, opts = {}) + data, _status_code, _headers = post_architect_ivrs_with_http_info(body, opts) return data end # Create IVR config. # + # @param body # @param [Hash] opts the optional parameters - # @option opts [IVR] :body # @return [Array<(IVR, Fixnum, Hash)>] IVR data, response status code and response headers - def post_architect_ivrs_with_http_info(opts = {}) + def post_architect_ivrs_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_ivrs ..." end + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_ivrs" if body.nil? @@ -4767,11 +4771,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, @@ -4851,25 +4855,25 @@ end # Create a new user prompt resource # # @param prompt_id Prompt ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [PromptAssetCreate] :body # @return [PromptAsset] - def post_architect_prompt_resources(prompt_id, opts = {}) - data, _status_code, _headers = post_architect_prompt_resources_with_http_info(prompt_id, opts) + def post_architect_prompt_resources(prompt_id, body, opts = {}) + data, _status_code, _headers = post_architect_prompt_resources_with_http_info(prompt_id, body, opts) return data end # Create a new user prompt resource # # @param prompt_id Prompt ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [PromptAssetCreate] :body # @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers - def post_architect_prompt_resources_with_http_info(prompt_id, opts = {}) + def post_architect_prompt_resources_with_http_info(prompt_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompt_resources ..." end @@ -4879,10 +4883,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_prompt_resources" if body.nil? @@ -4905,11 +4911,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, @@ -4923,29 +4929,31 @@ return data, status_code, headers end # Create a new user prompt # + # @param body # @param [Hash] opts the optional parameters - # @option opts [Prompt] :body # @return [Prompt] - def post_architect_prompts(opts = {}) - data, _status_code, _headers = post_architect_prompts_with_http_info(opts) + def post_architect_prompts(body, opts = {}) + data, _status_code, _headers = post_architect_prompts_with_http_info(body, opts) return data end # Create a new user prompt # + # @param body # @param [Hash] opts the optional parameters - # @option opts [Prompt] :body # @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers - def post_architect_prompts_with_http_info(opts = {}) + def post_architect_prompts_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompts ..." end + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_prompts" if body.nil? @@ -4968,11 +4976,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, @@ -4986,29 +4994,31 @@ return data, status_code, headers end # Creates a new schedule group # + # @param body # @param [Hash] opts the optional parameters - # @option opts [ScheduleGroup] :body # @return [ScheduleGroup] - def post_architect_schedulegroups(opts = {}) - data, _status_code, _headers = post_architect_schedulegroups_with_http_info(opts) + def post_architect_schedulegroups(body, opts = {}) + data, _status_code, _headers = post_architect_schedulegroups_with_http_info(body, opts) return data end # Creates a new schedule group # + # @param body # @param [Hash] opts the optional parameters - # @option opts [ScheduleGroup] :body # @return [Array<(ScheduleGroup, Fixnum, Hash)>] ScheduleGroup data, response status code and response headers - def post_architect_schedulegroups_with_http_info(opts = {}) + def post_architect_schedulegroups_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_schedulegroups ..." end + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_schedulegroups" if body.nil? @@ -5031,11 +5041,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, @@ -5049,29 +5059,31 @@ return data, status_code, headers end # Create a new schedule. # + # @param body # @param [Hash] opts the optional parameters - # @option opts [Schedule] :body # @return [Schedule] - def post_architect_schedules(opts = {}) - data, _status_code, _headers = post_architect_schedules_with_http_info(opts) + def post_architect_schedules(body, opts = {}) + data, _status_code, _headers = post_architect_schedules_with_http_info(body, opts) return data end # Create a new schedule. # + # @param body # @param [Hash] opts the optional parameters - # @option opts [Schedule] :body # @return [Array<(Schedule, Fixnum, Hash)>] Schedule data, response status code and response headers - def post_architect_schedules_with_http_info(opts = {}) + def post_architect_schedules_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_schedules ..." end + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_schedules" if body.nil? @@ -5094,11 +5106,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, @@ -5178,25 +5190,25 @@ end # Create system prompt resource override. # # @param prompt_id Prompt ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [SystemPromptAsset] :body # @return [SystemPromptAsset] - def post_architect_systemprompt_resources(prompt_id, opts = {}) - data, _status_code, _headers = post_architect_systemprompt_resources_with_http_info(prompt_id, opts) + def post_architect_systemprompt_resources(prompt_id, body, opts = {}) + data, _status_code, _headers = post_architect_systemprompt_resources_with_http_info(prompt_id, body, opts) return data end # Create system prompt resource override. # # @param prompt_id Prompt ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [SystemPromptAsset] :body # @return [Array<(SystemPromptAsset, Fixnum, Hash)>] SystemPromptAsset data, response status code and response headers - def post_architect_systemprompt_resources_with_http_info(prompt_id, opts = {}) + def post_architect_systemprompt_resources_with_http_info(prompt_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_systemprompt_resources ..." end @@ -5206,10 +5218,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_architect_systemprompt_resources" if body.nil? @@ -5232,11 +5246,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, @@ -5251,25 +5265,25 @@ end # Create flow version # # @param flow_id Flow ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [Object] :body # @return [FlowVersion] - def post_flow_versions(flow_id, opts = {}) - data, _status_code, _headers = post_flow_versions_with_http_info(flow_id, opts) + def post_flow_versions(flow_id, body, opts = {}) + data, _status_code, _headers = post_flow_versions_with_http_info(flow_id, body, opts) return data end # Create flow version # # @param flow_id Flow ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [Object] :body # @return [Array<(FlowVersion, Fixnum, Hash)>] FlowVersion data, response status code and response headers - def post_flow_versions_with_http_info(flow_id, opts = {}) + def post_flow_versions_with_http_info(flow_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_flow_versions ..." end @@ -5279,10 +5293,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_flow_versions" if body.nil? @@ -5305,11 +5321,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, @@ -5323,29 +5339,31 @@ return data, status_code, headers end # Create flow # + # @param body # @param [Hash] opts the optional parameters - # @option opts [Flow] :body # @return [Flow] - def post_flows(opts = {}) - data, _status_code, _headers = post_flows_with_http_info(opts) + def post_flows(body, opts = {}) + data, _status_code, _headers = post_flows_with_http_info(body, opts) return data end # Create flow # + # @param body # @param [Hash] opts the optional parameters - # @option opts [Flow] :body # @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers - def post_flows_with_http_info(opts = {}) + def post_flows_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.post_flows ..." end + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.post_flows" if body.nil? @@ -5368,11 +5386,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, @@ -5932,25 +5950,25 @@ end # Updates a emergency group by ID # # @param emergency_group_id Emergency group ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [EmergencyGroup] :body # @return [EmergencyGroup] - def put_architect_emergencygroup(emergency_group_id, opts = {}) - data, _status_code, _headers = put_architect_emergencygroup_with_http_info(emergency_group_id, opts) + def put_architect_emergencygroup(emergency_group_id, body, opts = {}) + data, _status_code, _headers = put_architect_emergencygroup_with_http_info(emergency_group_id, body, opts) return data end # Updates a emergency group by ID # # @param emergency_group_id Emergency group ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [EmergencyGroup] :body # @return [Array<(EmergencyGroup, Fixnum, Hash)>] EmergencyGroup data, response status code and response headers - def put_architect_emergencygroup_with_http_info(emergency_group_id, opts = {}) + def put_architect_emergencygroup_with_http_info(emergency_group_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_emergencygroup ..." end @@ -5960,10 +5978,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_emergencygroup" if body.nil? @@ -5986,11 +6006,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, @@ -6005,25 +6025,25 @@ end # Update an IVR Config. # # @param ivr_id IVR id + # @param body # @param [Hash] opts the optional parameters - # @option opts [IVR] :body # @return [IVR] - def put_architect_ivr(ivr_id, opts = {}) - data, _status_code, _headers = put_architect_ivr_with_http_info(ivr_id, opts) + def put_architect_ivr(ivr_id, body, opts = {}) + data, _status_code, _headers = put_architect_ivr_with_http_info(ivr_id, body, opts) return data end # Update an IVR Config. # # @param ivr_id IVR id + # @param body # @param [Hash] opts the optional parameters - # @option opts [IVR] :body # @return [Array<(IVR, Fixnum, Hash)>] IVR data, response status code and response headers - def put_architect_ivr_with_http_info(ivr_id, opts = {}) + def put_architect_ivr_with_http_info(ivr_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_ivr ..." end @@ -6033,10 +6053,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_ivr" if body.nil? @@ -6059,11 +6081,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, @@ -6078,25 +6100,25 @@ end # Update specified user prompt # # @param prompt_id Prompt ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [Prompt] :body # @return [Prompt] - def put_architect_prompt(prompt_id, opts = {}) - data, _status_code, _headers = put_architect_prompt_with_http_info(prompt_id, opts) + def put_architect_prompt(prompt_id, body, opts = {}) + data, _status_code, _headers = put_architect_prompt_with_http_info(prompt_id, body, opts) return data end # Update specified user prompt # # @param prompt_id Prompt ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [Prompt] :body # @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers - def put_architect_prompt_with_http_info(prompt_id, opts = {}) + def put_architect_prompt_with_http_info(prompt_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_prompt ..." end @@ -6106,10 +6128,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_prompt" if body.nil? @@ -6132,11 +6156,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, @@ -6152,26 +6176,26 @@ # Update specified user prompt resource # # @param prompt_id Prompt ID # @param language_code Language + # @param body # @param [Hash] opts the optional parameters - # @option opts [PromptAsset] :body # @return [PromptAsset] - def put_architect_prompt_resource(prompt_id, language_code, opts = {}) - data, _status_code, _headers = put_architect_prompt_resource_with_http_info(prompt_id, language_code, opts) + def put_architect_prompt_resource(prompt_id, language_code, body, opts = {}) + data, _status_code, _headers = put_architect_prompt_resource_with_http_info(prompt_id, language_code, body, opts) return data end # Update specified user prompt resource # # @param prompt_id Prompt ID # @param language_code Language + # @param body # @param [Hash] opts the optional parameters - # @option opts [PromptAsset] :body # @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers - def put_architect_prompt_resource_with_http_info(prompt_id, language_code, opts = {}) + def put_architect_prompt_resource_with_http_info(prompt_id, language_code, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_prompt_resource ..." end @@ -6189,10 +6213,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_prompt_resource" if body.nil? @@ -6215,11 +6241,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, @@ -6234,25 +6260,25 @@ end # Update schedule by ID # # @param schedule_id Schedule ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [Schedule] :body # @return [Schedule] - def put_architect_schedule(schedule_id, opts = {}) - data, _status_code, _headers = put_architect_schedule_with_http_info(schedule_id, opts) + def put_architect_schedule(schedule_id, body, opts = {}) + data, _status_code, _headers = put_architect_schedule_with_http_info(schedule_id, body, opts) return data end # Update schedule by ID # # @param schedule_id Schedule ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [Schedule] :body # @return [Array<(Schedule, Fixnum, Hash)>] Schedule data, response status code and response headers - def put_architect_schedule_with_http_info(schedule_id, opts = {}) + def put_architect_schedule_with_http_info(schedule_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_schedule ..." end @@ -6262,10 +6288,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_schedule" if body.nil? @@ -6288,11 +6316,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, @@ -6307,25 +6335,25 @@ end # Updates a schedule group by ID # # @param schedule_group_id Schedule group ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [ScheduleGroup] :body # @return [ScheduleGroup] - def put_architect_schedulegroup(schedule_group_id, opts = {}) - data, _status_code, _headers = put_architect_schedulegroup_with_http_info(schedule_group_id, opts) + def put_architect_schedulegroup(schedule_group_id, body, opts = {}) + data, _status_code, _headers = put_architect_schedulegroup_with_http_info(schedule_group_id, body, opts) return data end # Updates a schedule group by ID # # @param schedule_group_id Schedule group ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [ScheduleGroup] :body # @return [Array<(ScheduleGroup, Fixnum, Hash)>] ScheduleGroup data, response status code and response headers - def put_architect_schedulegroup_with_http_info(schedule_group_id, opts = {}) + def put_architect_schedulegroup_with_http_info(schedule_group_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_schedulegroup ..." end @@ -6335,10 +6363,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_schedulegroup" if body.nil? @@ -6361,11 +6391,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, @@ -6381,26 +6411,26 @@ # Updates a system prompt resource override. # # @param prompt_id Prompt ID # @param language_code Language + # @param body # @param [Hash] opts the optional parameters - # @option opts [SystemPromptAsset] :body # @return [SystemPromptAsset] - def put_architect_systemprompt_resource(prompt_id, language_code, opts = {}) - data, _status_code, _headers = put_architect_systemprompt_resource_with_http_info(prompt_id, language_code, opts) + def put_architect_systemprompt_resource(prompt_id, language_code, body, opts = {}) + data, _status_code, _headers = put_architect_systemprompt_resource_with_http_info(prompt_id, language_code, body, opts) return data end # Updates a system prompt resource override. # # @param prompt_id Prompt ID # @param language_code Language + # @param body # @param [Hash] opts the optional parameters - # @option opts [SystemPromptAsset] :body # @return [Array<(SystemPromptAsset, Fixnum, Hash)>] SystemPromptAsset data, response status code and response headers - def put_architect_systemprompt_resource_with_http_info(prompt_id, language_code, opts = {}) + def put_architect_systemprompt_resource_with_http_info(prompt_id, language_code, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_systemprompt_resource ..." end @@ -6418,10 +6448,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_architect_systemprompt_resource" if body.nil? @@ -6444,11 +6476,11 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, @@ -6463,25 +6495,25 @@ end # Update flow # # @param flow_id Flow ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [Flow] :body # @return [Flow] - def put_flow(flow_id, opts = {}) - data, _status_code, _headers = put_flow_with_http_info(flow_id, opts) + def put_flow(flow_id, body, opts = {}) + data, _status_code, _headers = put_flow_with_http_info(flow_id, body, opts) return data end # Update flow # # @param flow_id Flow ID + # @param body # @param [Hash] opts the optional parameters - # @option opts [Flow] :body # @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers - def put_flow_with_http_info(flow_id, opts = {}) + def put_flow_with_http_info(flow_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.put_flow ..." end @@ -6491,10 +6523,12 @@ + # verify the required parameter 'body' is set + fail ArgumentError, "Missing the required parameter 'body' when calling ArchitectApi.put_flow" if body.nil? @@ -6517,10 +6551,10 @@ # form parameters form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(opts[:'body']) + post_body = @api_client.object_to_http_body(body) auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params,