lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-8.0.0 vs lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-9.0.0
- old
+ new
@@ -43,12 +43,25 @@
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_architect_prompt_with_http_info(prompt_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.delete_architect_prompt ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.delete_architect_prompt" if prompt_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts/{promptId}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
# query parameters
query_params = {}
@@ -68,11 +81,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -102,14 +116,27 @@
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_architect_prompt_resource_with_http_info(prompt_id, language_code, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.delete_architect_prompt_resource ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.delete_architect_prompt_resource" if prompt_id.nil?
+
+
+
+
+
+
# verify the required parameter 'language_code' is set
fail ArgumentError, "Missing the required parameter 'language_code' when calling ArchitectApi.delete_architect_prompt_resource" if language_code.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts/{promptId}/resources/{languageCode}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
# query parameters
query_params = {}
@@ -128,11 +155,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -160,12 +188,19 @@
# @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
@api_client.config.logger.debug "Calling API: ArchitectApi.delete_architect_prompts ..."
end
+
+
# verify the required parameter 'id' is set
fail ArgumentError, "Missing the required parameter 'id' when calling ArchitectApi.delete_architect_prompts" if id.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts".sub('{format}','json')
# query parameters
query_params = {}
@@ -185,11 +220,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,14 +256,27 @@
# @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
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.delete_architect_systemprompt_resource" if prompt_id.nil?
+
+
+
+
+
+
# verify the required parameter 'language_code' is set
fail ArgumentError, "Missing the required parameter 'language_code' when calling ArchitectApi.delete_architect_systemprompt_resource" if language_code.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
# query parameters
query_params = {}
@@ -246,11 +295,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -278,12 +328,19 @@
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_flow_with_http_info(flow_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.delete_flow ..."
end
+
+
# verify the required parameter 'flow_id' is set
fail ArgumentError, "Missing the required parameter 'flow_id' when calling ArchitectApi.delete_flow" if flow_id.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/{flowId}".sub('{format}','json').sub('{' + 'flowId' + '}', flow_id.to_s)
# query parameters
query_params = {}
@@ -302,11 +359,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -334,12 +392,19 @@
# @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
@api_client.config.logger.debug "Calling API: ArchitectApi.delete_flows ..."
end
+
+
# verify the required parameter 'id' is set
fail ArgumentError, "Missing the required parameter 'id' when calling ArchitectApi.delete_flows" if id.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows".sub('{format}','json')
# query parameters
query_params = {}
@@ -359,11 +424,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -406,12 +472,61 @@
# @return [Array<(DependencyObjectEntityListing, Fixnum, Hash)>] DependencyObjectEntityListing data, response status code and response headers
def get_architect_dependencytracking_with_http_info(name, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking ..."
end
+
+
# verify the required parameter 'name' is set
fail ArgumentError, "Missing the required parameter 'name' when calling ArchitectApi.get_architect_dependencytracking" if name.nil?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking".sub('{format}','json')
# query parameters
query_params = {}
@@ -438,11 +553,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -469,10 +585,11 @@
# @return [Array<(DependencyStatus, Fixnum, Hash)>] DependencyStatus data, response status code and response headers
def get_architect_dependencytracking_build_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_build ..."
end
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking/build".sub('{format}','json')
# query parameters
query_params = {}
@@ -491,11 +608,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -530,20 +648,46 @@
# @return [Array<(ConsumedResourcesEntityListing, Fixnum, Hash)>] ConsumedResourcesEntityListing data, response status code and response headers
def get_architect_dependencytracking_consumedresources_with_http_info(id, version, object_type, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_consumedresources ..."
end
+
+
# verify the required parameter 'id' is set
fail ArgumentError, "Missing the required parameter 'id' when calling ArchitectApi.get_architect_dependencytracking_consumedresources" if id.nil?
+
+
+
+
+
+
# verify the required parameter 'version' is set
fail ArgumentError, "Missing the required parameter 'version' when calling ArchitectApi.get_architect_dependencytracking_consumedresources" if version.nil?
+
+
+
+
+
+
# verify the required parameter 'object_type' is set
fail ArgumentError, "Missing the required parameter 'object_type' when calling ArchitectApi.get_architect_dependencytracking_consumedresources" if object_type.nil?
+
# verify enum value
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDEMAILFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SYSTEMPROMPT', 'USER', 'USERPROMPT', 'VOICEXML', 'WORKFLOW'].include?(object_type)
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, GROUP, INBOUNDCALLFLOW, INBOUNDEMAILFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, OUTBOUNDCALLFLOW, QUEUE, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SYSTEMPROMPT, USER, USERPROMPT, VOICEXML, WORKFLOW"
end
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking/consumedresources".sub('{format}','json')
# query parameters
query_params = {}
@@ -566,11 +710,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -603,18 +748,38 @@
# @return [Array<(ConsumingResourcesEntityListing, Fixnum, Hash)>] ConsumingResourcesEntityListing data, response status code and response headers
def get_architect_dependencytracking_consumingresources_with_http_info(id, object_type, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_consumingresources ..."
end
+
+
# verify the required parameter 'id' is set
fail ArgumentError, "Missing the required parameter 'id' when calling ArchitectApi.get_architect_dependencytracking_consumingresources" if id.nil?
+
+
+
+
+
+
# verify the required parameter 'object_type' is set
fail ArgumentError, "Missing the required parameter 'object_type' when calling ArchitectApi.get_architect_dependencytracking_consumingresources" if object_type.nil?
+
# verify enum value
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDEMAILFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SYSTEMPROMPT', 'USER', 'USERPROMPT', 'VOICEXML', 'WORKFLOW'].include?(object_type)
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, GROUP, INBOUNDCALLFLOW, INBOUNDEMAILFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, OUTBOUNDCALLFLOW, QUEUE, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SYSTEMPROMPT, USER, USERPROMPT, VOICEXML, WORKFLOW"
end
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking/consumingresources".sub('{format}','json')
# query parameters
query_params = {}
@@ -636,11 +801,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -681,13 +847,57 @@
# @return [Array<(DependencyObjectEntityListing, Fixnum, Hash)>] DependencyObjectEntityListing data, response status code and response headers
def get_architect_dependencytracking_deletedresourceconsumers_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_deletedresourceconsumers ..."
end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
if opts[:'flow_filter'] && !['checkedIn', 'published'].include?(opts[:'flow_filter'])
fail ArgumentError, 'invalid value for "flow_filter", must be one of checkedIn, published'
end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking/deletedresourceconsumers".sub('{format}','json')
# query parameters
query_params = {}
@@ -713,11 +923,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -758,15 +969,59 @@
# @return [Array<(DependencyObject, Fixnum, Hash)>] DependencyObject data, response status code and response headers
def get_architect_dependencytracking_object_with_http_info(id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_object ..."
end
+
+
# verify the required parameter 'id' is set
fail ArgumentError, "Missing the required parameter 'id' when calling ArchitectApi.get_architect_dependencytracking_object" if id.nil?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
if opts[:'object_type'] && !['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDEMAILFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SYSTEMPROMPT', 'USER', 'USERPROMPT', 'VOICEXML', 'WORKFLOW'].include?(opts[:'object_type'])
fail ArgumentError, 'invalid value for "object_type", must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, GROUP, INBOUNDCALLFLOW, INBOUNDEMAILFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, OUTBOUNDCALLFLOW, QUEUE, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SYSTEMPROMPT, USER, USERPROMPT, VOICEXML, WORKFLOW'
end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking/object".sub('{format}','json')
# query parameters
query_params = {}
@@ -792,11 +1047,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -825,12 +1081,19 @@
# @return [Array<(DependencyType, Fixnum, Hash)>] DependencyType data, response status code and response headers
def get_architect_dependencytracking_type_with_http_info(type_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_type ..."
end
+
+
# verify the required parameter 'type_id' is set
fail ArgumentError, "Missing the required parameter 'type_id' when calling ArchitectApi.get_architect_dependencytracking_type" if type_id.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking/types/{typeId}".sub('{format}','json').sub('{' + 'typeId' + '}', type_id.to_s)
# query parameters
query_params = {}
@@ -849,11 +1112,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -884,10 +1148,23 @@
# @return [Array<(DependencyTypeEntityListing, Fixnum, Hash)>] DependencyTypeEntityListing data, response status code and response headers
def get_architect_dependencytracking_types_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_types ..."
end
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking/types".sub('{format}','json')
# query parameters
query_params = {}
@@ -908,11 +1185,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -951,10 +1229,47 @@
# @return [Array<(DependencyObjectEntityListing, Fixnum, Hash)>] DependencyObjectEntityListing data, response status code and response headers
def get_architect_dependencytracking_updatedresourceconsumers_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_updatedresourceconsumers ..."
end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking/updatedresourceconsumers".sub('{format}','json')
# query parameters
query_params = {}
@@ -979,11 +1294,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1012,12 +1328,19 @@
# @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
def get_architect_prompt_with_http_info(prompt_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompt ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_prompt" if prompt_id.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts/{promptId}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
# query parameters
query_params = {}
@@ -1036,11 +1359,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1071,14 +1395,27 @@
# @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
def get_architect_prompt_resource_with_http_info(prompt_id, language_code, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompt_resource ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_prompt_resource" if prompt_id.nil?
+
+
+
+
+
+
# verify the required parameter 'language_code' is set
fail ArgumentError, "Missing the required parameter 'language_code' when calling ArchitectApi.get_architect_prompt_resource" if language_code.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts/{promptId}/resources/{languageCode}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
# query parameters
query_params = {}
@@ -1097,11 +1434,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1134,12 +1472,31 @@
# @return [Array<(PromptAssetEntityListing, Fixnum, Hash)>] PromptAssetEntityListing data, response status code and response headers
def get_architect_prompt_resources_with_http_info(prompt_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompt_resources ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_prompt_resources" if prompt_id.nil?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
# query parameters
query_params = {}
@@ -1160,11 +1517,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1201,10 +1559,41 @@
# @return [Array<(PromptEntityListing, Fixnum, Hash)>] PromptEntityListing data, response status code and response headers
def get_architect_prompts_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_prompts ..."
end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts".sub('{format}','json')
# query parameters
query_params = {}
@@ -1228,11 +1617,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1261,12 +1651,19 @@
# @return [Array<(SystemPrompt, Fixnum, Hash)>] SystemPrompt data, response status code and response headers
def get_architect_systemprompt_with_http_info(prompt_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_systemprompt ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_systemprompt" if prompt_id.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/systemprompts/{promptId}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
# query parameters
query_params = {}
@@ -1285,11 +1682,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1320,14 +1718,27 @@
# @return [Array<(SystemPromptAsset, Fixnum, Hash)>] SystemPromptAsset data, response status code and response headers
def get_architect_systemprompt_resource_with_http_info(prompt_id, language_code, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_systemprompt_resource ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_systemprompt_resource" if prompt_id.nil?
+
+
+
+
+
+
# verify the required parameter 'language_code' is set
fail ArgumentError, "Missing the required parameter 'language_code' when calling ArchitectApi.get_architect_systemprompt_resource" if language_code.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
# query parameters
query_params = {}
@@ -1346,11 +1757,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1387,12 +1799,43 @@
# @return [Array<(SystemPromptAssetEntityListing, Fixnum, Hash)>] SystemPromptAssetEntityListing data, response status code and response headers
def get_architect_systemprompt_resources_with_http_info(prompt_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_systemprompt_resources ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.get_architect_systemprompt_resources" if prompt_id.nil?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/systemprompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
# query parameters
query_params = {}
@@ -1415,11 +1858,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1460,10 +1904,53 @@
# @return [Array<(SystemPromptEntityListing, Fixnum, Hash)>] SystemPromptEntityListing data, response status code and response headers
def get_architect_systemprompts_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_systemprompts ..."
end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/systemprompts".sub('{format}','json')
# query parameters
query_params = {}
@@ -1489,11 +1976,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1524,12 +2012,25 @@
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
def get_flow_with_http_info(flow_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flow ..."
end
+
+
# verify the required parameter 'flow_id' is set
fail ArgumentError, "Missing the required parameter 'flow_id' when calling ArchitectApi.get_flow" if flow_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/{flowId}".sub('{format}','json').sub('{' + 'flowId' + '}', flow_id.to_s)
# query parameters
query_params = {}
@@ -1549,11 +2050,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1584,12 +2086,25 @@
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
def get_flow_latestconfiguration_with_http_info(flow_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flow_latestconfiguration ..."
end
+
+
# verify the required parameter 'flow_id' is set
fail ArgumentError, "Missing the required parameter 'flow_id' when calling ArchitectApi.get_flow_latestconfiguration" if flow_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/{flowId}/latestconfiguration".sub('{format}','json').sub('{' + 'flowId' + '}', flow_id.to_s)
# query parameters
query_params = {}
@@ -1609,11 +2124,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1646,14 +2162,33 @@
# @return [Array<(FlowVersion, Fixnum, Hash)>] FlowVersion data, response status code and response headers
def get_flow_version_with_http_info(flow_id, version_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flow_version ..."
end
+
+
# verify the required parameter 'flow_id' is set
fail ArgumentError, "Missing the required parameter 'flow_id' when calling ArchitectApi.get_flow_version" if flow_id.nil?
+
+
+
+
+
+
# verify the required parameter 'version_id' is set
fail ArgumentError, "Missing the required parameter 'version_id' when calling ArchitectApi.get_flow_version" if version_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/{flowId}/versions/{versionId}".sub('{format}','json').sub('{' + 'flowId' + '}', flow_id.to_s).sub('{' + 'versionId' + '}', version_id.to_s)
# query parameters
query_params = {}
@@ -1673,11 +2208,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1710,14 +2246,33 @@
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
def get_flow_version_configuration_with_http_info(flow_id, version_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flow_version_configuration ..."
end
+
+
# verify the required parameter 'flow_id' is set
fail ArgumentError, "Missing the required parameter 'flow_id' when calling ArchitectApi.get_flow_version_configuration" if flow_id.nil?
+
+
+
+
+
+
# verify the required parameter 'version_id' is set
fail ArgumentError, "Missing the required parameter 'version_id' when calling ArchitectApi.get_flow_version_configuration" if version_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/{flowId}/versions/{versionId}/configuration".sub('{format}','json').sub('{' + 'flowId' + '}', flow_id.to_s).sub('{' + 'versionId' + '}', version_id.to_s)
# query parameters
query_params = {}
@@ -1737,11 +2292,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1776,12 +2332,37 @@
# @return [Array<(FlowVersionEntityListing, Fixnum, Hash)>] FlowVersionEntityListing data, response status code and response headers
def get_flow_versions_with_http_info(flow_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flow_versions ..."
end
+
+
# verify the required parameter 'flow_id' is set
fail ArgumentError, "Missing the required parameter 'flow_id' when calling ArchitectApi.get_flow_versions" if flow_id.nil?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/{flowId}/versions".sub('{format}','json').sub('{' + 'flowId' + '}', flow_id.to_s)
# query parameters
query_params = {}
@@ -1803,11 +2384,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1864,15 +2446,107 @@
# @return [Array<(FlowEntityListing, Fixnum, Hash)>] FlowEntityListing data, response status code and response headers
def get_flows_with_http_info(type, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flows ..."
end
+
+
# verify the required parameter 'type' is set
fail ArgumentError, "Missing the required parameter 'type' when calling ArchitectApi.get_flows" if type.nil?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
if opts[:'secure'] && !['any', 'checkedin', 'published'].include?(opts[:'secure'])
fail ArgumentError, 'invalid value for "secure", must be one of any, checkedin, published'
end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows".sub('{format}','json')
# query parameters
query_params = {}
@@ -1906,11 +2580,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1937,10 +2612,11 @@
# @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 ..."
end
+
# resource path
local_var_path = "/api/v2/architect/dependencytracking/build".sub('{format}','json')
# query parameters
query_params = {}
@@ -1959,11 +2635,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -1993,12 +2670,25 @@
# @return [Array<(PromptAsset, Fixnum, Hash)>] PromptAsset data, response status code and response headers
def post_architect_prompt_resources_with_http_info(prompt_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompt_resources ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.post_architect_prompt_resources" if prompt_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
# query parameters
query_params = {}
@@ -2017,10 +2707,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'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,
:form_params => form_params,
@@ -2050,10 +2741,17 @@
# @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
def post_architect_prompts_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_prompts ..."
end
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts".sub('{format}','json')
# query parameters
query_params = {}
@@ -2072,10 +2770,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'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,
:form_params => form_params,
@@ -2107,12 +2806,25 @@
# @return [Array<(SystemPromptAsset, Fixnum, Hash)>] SystemPromptAsset data, response status code and response headers
def post_architect_systemprompt_resources_with_http_info(prompt_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_architect_systemprompt_resources ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.post_architect_systemprompt_resources" if prompt_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/systemprompts/{promptId}/resources".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
# query parameters
query_params = {}
@@ -2131,10 +2843,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'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,
:form_params => form_params,
@@ -2166,12 +2879,25 @@
# @return [Array<(FlowVersion, Fixnum, Hash)>] FlowVersion data, response status code and response headers
def post_flow_versions_with_http_info(flow_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flow_versions ..."
end
+
+
# verify the required parameter 'flow_id' is set
fail ArgumentError, "Missing the required parameter 'flow_id' when calling ArchitectApi.post_flow_versions" if flow_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/{flowId}/versions".sub('{format}','json').sub('{' + 'flowId' + '}', flow_id.to_s)
# query parameters
query_params = {}
@@ -2190,10 +2916,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'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,
:form_params => form_params,
@@ -2223,10 +2950,17 @@
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
def post_flows_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows ..."
end
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows".sub('{format}','json')
# query parameters
query_params = {}
@@ -2245,10 +2979,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'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,
:form_params => form_params,
@@ -2278,12 +3013,19 @@
# @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
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_actions_checkin ..."
end
+
+
# verify the required parameter 'flow' is set
fail ArgumentError, "Missing the required parameter 'flow' when calling ArchitectApi.post_flows_actions_checkin" if flow.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/actions/checkin".sub('{format}','json')
# query parameters
query_params = {}
@@ -2303,11 +3045,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -2336,12 +3079,19 @@
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
def post_flows_actions_checkout_with_http_info(flow, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_actions_checkout ..."
end
+
+
# verify the required parameter 'flow' is set
fail ArgumentError, "Missing the required parameter 'flow' when calling ArchitectApi.post_flows_actions_checkout" if flow.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/actions/checkout".sub('{format}','json')
# query parameters
query_params = {}
@@ -2361,11 +3111,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -2394,12 +3145,19 @@
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
def post_flows_actions_deactivate_with_http_info(flow, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_actions_deactivate ..."
end
+
+
# verify the required parameter 'flow' is set
fail ArgumentError, "Missing the required parameter 'flow' when calling ArchitectApi.post_flows_actions_deactivate" if flow.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/actions/deactivate".sub('{format}','json')
# query parameters
query_params = {}
@@ -2419,11 +3177,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -2454,12 +3213,25 @@
# @return [Array<(Operation, Fixnum, Hash)>] Operation data, response status code and response headers
def post_flows_actions_publish_with_http_info(flow, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_actions_publish ..."
end
+
+
# verify the required parameter 'flow' is set
fail ArgumentError, "Missing the required parameter 'flow' when calling ArchitectApi.post_flows_actions_publish" if flow.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/actions/publish".sub('{format}','json')
# query parameters
query_params = {}
@@ -2480,11 +3252,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -2513,12 +3286,19 @@
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
def post_flows_actions_revert_with_http_info(flow, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_actions_revert ..."
end
+
+
# verify the required parameter 'flow' is set
fail ArgumentError, "Missing the required parameter 'flow' when calling ArchitectApi.post_flows_actions_revert" if flow.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/actions/revert".sub('{format}','json')
# query parameters
query_params = {}
@@ -2538,11 +3318,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -2571,12 +3352,19 @@
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
def post_flows_actions_unlock_with_http_info(flow, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.post_flows_actions_unlock ..."
end
+
+
# verify the required parameter 'flow' is set
fail ArgumentError, "Missing the required parameter 'flow' when calling ArchitectApi.post_flows_actions_unlock" if flow.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/actions/unlock".sub('{format}','json')
# query parameters
query_params = {}
@@ -2596,11 +3384,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
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,
@@ -2631,12 +3420,25 @@
# @return [Array<(Prompt, Fixnum, Hash)>] Prompt data, response status code and response headers
def put_architect_prompt_with_http_info(prompt_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_prompt ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.put_architect_prompt" if prompt_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts/{promptId}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s)
# query parameters
query_params = {}
@@ -2655,10 +3457,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'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,
:form_params => form_params,
@@ -2692,14 +3495,33 @@
# @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 = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_prompt_resource ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.put_architect_prompt_resource" if prompt_id.nil?
+
+
+
+
+
+
# verify the required parameter 'language_code' is set
fail ArgumentError, "Missing the required parameter 'language_code' when calling ArchitectApi.put_architect_prompt_resource" if language_code.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/prompts/{promptId}/resources/{languageCode}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
# query parameters
query_params = {}
@@ -2718,10 +3540,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'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,
:form_params => form_params,
@@ -2755,14 +3578,33 @@
# @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 = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.put_architect_systemprompt_resource ..."
end
+
+
# verify the required parameter 'prompt_id' is set
fail ArgumentError, "Missing the required parameter 'prompt_id' when calling ArchitectApi.put_architect_systemprompt_resource" if prompt_id.nil?
+
+
+
+
+
+
# verify the required parameter 'language_code' is set
fail ArgumentError, "Missing the required parameter 'language_code' when calling ArchitectApi.put_architect_systemprompt_resource" if language_code.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/architect/systemprompts/{promptId}/resources/{languageCode}".sub('{format}','json').sub('{' + 'promptId' + '}', prompt_id.to_s).sub('{' + 'languageCode' + '}', language_code.to_s)
# query parameters
query_params = {}
@@ -2781,10 +3623,11 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'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,
:form_params => form_params,
@@ -2816,12 +3659,25 @@
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
def put_flow_with_http_info(flow_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.put_flow ..."
end
+
+
# verify the required parameter 'flow_id' is set
fail ArgumentError, "Missing the required parameter 'flow_id' when calling ArchitectApi.put_flow" if flow_id.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows/{flowId}".sub('{format}','json').sub('{' + 'flowId' + '}', flow_id.to_s)
# query parameters
query_params = {}
@@ -2840,9 +3696,10 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(opts[:'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,
:form_params => form_params,