lib/purecloud/api/scripts_api.rb in purecloud-0.27.0 vs lib/purecloud/api/scripts_api.rb in purecloud-0.28.0

- old
+ new

@@ -37,11 +37,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ScriptsApi#get_forms ..." end # resource path - path = "/api/v1/quality/forms".sub('{format}','json') + path = "/api/v2/quality/forms".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'] @@ -101,11 +101,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ScriptsApi#post_forms ..." end # resource path - path = "/api/v1/quality/forms".sub('{format}','json') + path = "/api/v2/quality/forms".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -162,11 +162,11 @@ # verify the required parameter 'form_id' is set fail "Missing the required parameter 'form_id' when calling get_forms_form_id" if form_id.nil? # resource path - path = "/api/v1/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) + path = "/api/v2/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) # query parameters query_params = {} # header parameters @@ -225,11 +225,11 @@ # verify the required parameter 'form_id' is set fail "Missing the required parameter 'form_id' when calling put_forms_form_id" if form_id.nil? # resource path - path = "/api/v1/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) + path = "/api/v2/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) # query parameters query_params = {} # header parameters @@ -286,11 +286,11 @@ # verify the required parameter 'form_id' is set fail "Missing the required parameter 'form_id' when calling delete_forms_form_id" if form_id.nil? # resource path - path = "/api/v1/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) + path = "/api/v2/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) # query parameters query_params = {} # header parameters @@ -351,11 +351,11 @@ # verify the required parameter 'form_id' is set fail "Missing the required parameter 'form_id' when calling get_forms_form_id_versions" if form_id.nil? # resource path - path = "/api/v1/quality/forms/{formId}/versions".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) + path = "/api/v2/quality/forms/{formId}/versions".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) # query parameters query_params = {} query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size'] query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number'] @@ -415,11 +415,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ScriptsApi#get_publishedforms ..." end # resource path - path = "/api/v1/quality/publishedforms".sub('{format}','json') + path = "/api/v2/quality/publishedforms".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'] @@ -476,11 +476,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ScriptsApi#post_publishedforms ..." end # resource path - path = "/api/v1/quality/publishedforms".sub('{format}','json') + path = "/api/v2/quality/publishedforms".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -537,11 +537,11 @@ # verify the required parameter 'form_id' is set fail "Missing the required parameter 'form_id' when calling get_publishedforms_form_id" if form_id.nil? # resource path - path = "/api/v1/quality/publishedforms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) + path = "/api/v2/quality/publishedforms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s) # query parameters query_params = {} # header parameters @@ -603,11 +603,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ScriptsApi#get_scripts ..." end # resource path - path = "/api/v1/scripts".sub('{format}','json') + path = "/api/v2/scripts".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'] @@ -666,10 +666,10 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ScriptsApi#post_scripts ..." end # resource path - path = "/api/v1/scripts".sub('{format}','json') + path = "/api/v2/scripts".sub('{format}','json') # query parameters query_params = {} # header parameters