freeclimb 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +9 -1
 - data/Gemfile.lock +1 -1
 - data/README.md +18 -4
 - data/docs/AvailableNumber.md +0 -4
 - data/docs/BlobListResponse.md +32 -0
 - data/docs/BlobResult.md +32 -0
 - data/docs/CreateBlobRequest.md +22 -0
 - data/docs/DefaultApi.md +449 -6
 - data/docs/IncomingNumberResult.md +0 -4
 - data/docs/ModifyBlobRequest.md +20 -0
 - data/docs/PlatformError.md +24 -0
 - data/docs/ReplaceBlobRequest.md +18 -0
 - data/docs/Say.md +2 -0
 - data/docs/TTSEngine.md +20 -0
 - data/docs/TTSEngineName.md +18 -0
 - data/lib/freeclimb/api/default_api.rb +715 -8
 - data/lib/freeclimb/models/available_number.rb +1 -23
 - data/lib/freeclimb/models/blob_list_response.rb +303 -0
 - data/lib/freeclimb/models/blob_result.rb +332 -0
 - data/lib/freeclimb/models/create_blob_request.rb +255 -0
 - data/lib/freeclimb/models/incoming_number_result.rb +1 -23
 - data/lib/freeclimb/models/modify_blob_request.rb +245 -0
 - data/lib/freeclimb/models/platform_error.rb +244 -0
 - data/lib/freeclimb/models/replace_blob_request.rb +221 -0
 - data/lib/freeclimb/models/say.rb +10 -1
 - data/lib/freeclimb/models/tts_engine.rb +250 -0
 - data/lib/freeclimb/models/tts_engine_name.rb +36 -0
 - data/lib/freeclimb/version.rb +1 -1
 - data/lib/freeclimb.rb +8 -0
 - data/openapi.json +894 -97
 - data/spec/api/default_api_spec.rb +188 -32
 - data/spec/models/account_result_spec.rb +3 -3
 - data/spec/models/available_number_spec.rb +3 -98
 - data/spec/models/blob_list_response_spec.rb +502 -0
 - data/spec/models/blob_result_spec.rb +489 -0
 - data/spec/models/call_result_spec.rb +3 -3
 - data/spec/models/conference_result_spec.rb +3 -3
 - data/spec/models/create_blob_request_spec.rb +273 -0
 - data/spec/models/export_request_spec.rb +6 -6
 - data/spec/models/export_result_spec.rb +6 -6
 - data/spec/models/incoming_number_result_spec.rb +6 -102
 - data/spec/models/log_result_spec.rb +3 -3
 - data/spec/models/message_result_spec.rb +3 -3
 - data/spec/models/modify_blob_request_spec.rb +226 -0
 - data/spec/models/platform_error_spec.rb +318 -0
 - data/spec/models/queue_result_spec.rb +3 -3
 - data/spec/models/replace_blob_request_spec.rb +176 -0
 - data/spec/models/say_spec.rb +50 -0
 - data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +3 -3
 - data/spec/models/transcribe_utterance_spec.rb +3 -3
 - data/spec/models/tts_engine_name_spec.rb +75 -0
 - data/spec/models/tts_engine_spec.rb +183 -0
 - data/spec/spec_helper.rb +1 -1
 - metadata +26 -2
 
| 
         @@ -40,6 +40,10 @@ module Freeclimb 
     | 
|
| 
       40 
40 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       41 
41 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.buy_a_phone_number ..."
         
     | 
| 
       42 
42 
     | 
    
         
             
                  end
         
     | 
| 
      
 43 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 44 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 45 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.buy_a_phone_number, must conform to the pattern #{pattern}."
         
     | 
| 
      
 46 
     | 
    
         
            +
                  end
         
     | 
| 
       43 
47 
     | 
    
         | 
| 
       44 
48 
     | 
    
         
             
                  # verify the required parameter 'buy_incoming_number_request' is set
         
     | 
| 
       45 
49 
     | 
    
         
             
                  if @api_client.config.client_side_validation && buy_incoming_number_request.nil?
         
     | 
| 
         @@ -107,6 +111,11 @@ module Freeclimb 
     | 
|
| 
       107 
111 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       108 
112 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.create_a_conference ..."
         
     | 
| 
       109 
113 
     | 
    
         
             
                  end
         
     | 
| 
      
 114 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 115 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 116 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.create_a_conference, must conform to the pattern #{pattern}."
         
     | 
| 
      
 117 
     | 
    
         
            +
                  end
         
     | 
| 
      
 118 
     | 
    
         
            +
             
     | 
| 
       110 
119 
     | 
    
         
             
                  # resource path
         
     | 
| 
       111 
120 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Conferences".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       112 
121 
     | 
    
         | 
| 
         @@ -169,6 +178,11 @@ module Freeclimb 
     | 
|
| 
       169 
178 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       170 
179 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.create_a_queue ..."
         
     | 
| 
       171 
180 
     | 
    
         
             
                  end
         
     | 
| 
      
 181 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 182 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 183 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.create_a_queue, must conform to the pattern #{pattern}."
         
     | 
| 
      
 184 
     | 
    
         
            +
                  end
         
     | 
| 
      
 185 
     | 
    
         
            +
             
     | 
| 
       172 
186 
     | 
    
         
             
                  # resource path
         
     | 
| 
       173 
187 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Queues".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       174 
188 
     | 
    
         | 
| 
         @@ -231,6 +245,11 @@ module Freeclimb 
     | 
|
| 
       231 
245 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       232 
246 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.create_an_application ..."
         
     | 
| 
       233 
247 
     | 
    
         
             
                  end
         
     | 
| 
      
 248 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 249 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 250 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.create_an_application, must conform to the pattern #{pattern}."
         
     | 
| 
      
 251 
     | 
    
         
            +
                  end
         
     | 
| 
      
 252 
     | 
    
         
            +
             
     | 
| 
       234 
253 
     | 
    
         
             
                  # resource path
         
     | 
| 
       235 
254 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Applications".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       236 
255 
     | 
    
         | 
| 
         @@ -276,6 +295,79 @@ module Freeclimb 
     | 
|
| 
       276 
295 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       277 
296 
     | 
    
         
             
                end
         
     | 
| 
       278 
297 
     | 
    
         | 
| 
      
 298 
     | 
    
         
            +
                # Create a Blob
         
     | 
| 
      
 299 
     | 
    
         
            +
                # Create a new Blob belonging to the requesting account.
         
     | 
| 
      
 300 
     | 
    
         
            +
                # @param create_blob_request [CreateBlobRequest] An object defining a new blob. A request body must be provided but the blob may be empty.
         
     | 
| 
      
 301 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 302 
     | 
    
         
            +
                # @return [BlobResult]
         
     | 
| 
      
 303 
     | 
    
         
            +
                def create_blob(create_blob_request, opts = {})
         
     | 
| 
      
 304 
     | 
    
         
            +
                  data, _status_code, _headers = create_blob_with_http_info(create_blob_request, opts)
         
     | 
| 
      
 305 
     | 
    
         
            +
                  data
         
     | 
| 
      
 306 
     | 
    
         
            +
                end
         
     | 
| 
      
 307 
     | 
    
         
            +
             
     | 
| 
      
 308 
     | 
    
         
            +
                # Create a Blob
         
     | 
| 
      
 309 
     | 
    
         
            +
                # Create a new Blob belonging to the requesting account.
         
     | 
| 
      
 310 
     | 
    
         
            +
                # @param create_blob_request [CreateBlobRequest] An object defining a new blob. A request body must be provided but the blob may be empty.
         
     | 
| 
      
 311 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 312 
     | 
    
         
            +
                # @return [Array<(BlobResult, Integer, Hash)>] BlobResult data, response status code and response headers
         
     | 
| 
      
 313 
     | 
    
         
            +
                def create_blob_with_http_info(create_blob_request, opts = {})
         
     | 
| 
      
 314 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 315 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.create_blob ..."
         
     | 
| 
      
 316 
     | 
    
         
            +
                  end
         
     | 
| 
      
 317 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 318 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 319 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.create_blob, must conform to the pattern #{pattern}."
         
     | 
| 
      
 320 
     | 
    
         
            +
                  end
         
     | 
| 
      
 321 
     | 
    
         
            +
             
     | 
| 
      
 322 
     | 
    
         
            +
                  # verify the required parameter 'create_blob_request' is set
         
     | 
| 
      
 323 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && create_blob_request.nil?
         
     | 
| 
      
 324 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'create_blob_request' when calling DefaultApi.create_blob"
         
     | 
| 
      
 325 
     | 
    
         
            +
                  end
         
     | 
| 
      
 326 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 327 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Blobs".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
      
 328 
     | 
    
         
            +
             
     | 
| 
      
 329 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 330 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 331 
     | 
    
         
            +
             
     | 
| 
      
 332 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 333 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 334 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 335 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 336 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 337 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(["application/json"])
         
     | 
| 
      
 338 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 339 
     | 
    
         
            +
                    header_params["Content-Type"] = content_type
         
     | 
| 
      
 340 
     | 
    
         
            +
                  end
         
     | 
| 
      
 341 
     | 
    
         
            +
             
     | 
| 
      
 342 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 343 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 344 
     | 
    
         
            +
             
     | 
| 
      
 345 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 346 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(create_blob_request)
         
     | 
| 
      
 347 
     | 
    
         
            +
             
     | 
| 
      
 348 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 349 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "BlobResult"
         
     | 
| 
      
 350 
     | 
    
         
            +
             
     | 
| 
      
 351 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 352 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 353 
     | 
    
         
            +
             
     | 
| 
      
 354 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 355 
     | 
    
         
            +
                    operation: :"DefaultApi.create_blob",
         
     | 
| 
      
 356 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 357 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 358 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 359 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 360 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 361 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 362 
     | 
    
         
            +
                  )
         
     | 
| 
      
 363 
     | 
    
         
            +
             
     | 
| 
      
 364 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 365 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 366 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#create_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 367 
     | 
    
         
            +
                  end
         
     | 
| 
      
 368 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 369 
     | 
    
         
            +
                end
         
     | 
| 
      
 370 
     | 
    
         
            +
             
     | 
| 
       279 
371 
     | 
    
         
             
                # Create an Export
         
     | 
| 
       280 
372 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
       281 
373 
     | 
    
         
             
                # @option opts [ExportRequest] :export_request A JSON object containing export creation parameters
         
     | 
| 
         @@ -293,6 +385,11 @@ module Freeclimb 
     | 
|
| 
       293 
385 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       294 
386 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.create_export ..."
         
     | 
| 
       295 
387 
     | 
    
         
             
                  end
         
     | 
| 
      
 388 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 389 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 390 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.create_export, must conform to the pattern #{pattern}."
         
     | 
| 
      
 391 
     | 
    
         
            +
                  end
         
     | 
| 
      
 392 
     | 
    
         
            +
             
     | 
| 
       296 
393 
     | 
    
         
             
                  # resource path
         
     | 
| 
       297 
394 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Exports".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       298 
395 
     | 
    
         | 
| 
         @@ -357,6 +454,10 @@ module Freeclimb 
     | 
|
| 
       357 
454 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       358 
455 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.create_knowledge_base_completion ..."
         
     | 
| 
       359 
456 
     | 
    
         
             
                  end
         
     | 
| 
      
 457 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 458 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 459 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.create_knowledge_base_completion, must conform to the pattern #{pattern}."
         
     | 
| 
      
 460 
     | 
    
         
            +
                  end
         
     | 
| 
       360 
461 
     | 
    
         | 
| 
       361 
462 
     | 
    
         
             
                  # verify the required parameter 'knowledge_base_id' is set
         
     | 
| 
       362 
463 
     | 
    
         
             
                  if @api_client.config.client_side_validation && knowledge_base_id.nil?
         
     | 
| 
         @@ -424,6 +525,10 @@ module Freeclimb 
     | 
|
| 
       424 
525 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       425 
526 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.delete_a_recording ..."
         
     | 
| 
       426 
527 
     | 
    
         
             
                  end
         
     | 
| 
      
 528 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 529 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 530 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.delete_a_recording, must conform to the pattern #{pattern}."
         
     | 
| 
      
 531 
     | 
    
         
            +
                  end
         
     | 
| 
       427 
532 
     | 
    
         | 
| 
       428 
533 
     | 
    
         
             
                  # verify the required parameter 'recording_id' is set
         
     | 
| 
       429 
534 
     | 
    
         
             
                  if @api_client.config.client_side_validation && recording_id.nil?
         
     | 
| 
         @@ -484,6 +589,10 @@ module Freeclimb 
     | 
|
| 
       484 
589 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       485 
590 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.delete_an_application ..."
         
     | 
| 
       486 
591 
     | 
    
         
             
                  end
         
     | 
| 
      
 592 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 593 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 594 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.delete_an_application, must conform to the pattern #{pattern}."
         
     | 
| 
      
 595 
     | 
    
         
            +
                  end
         
     | 
| 
       487 
596 
     | 
    
         | 
| 
       488 
597 
     | 
    
         
             
                  # verify the required parameter 'application_id' is set
         
     | 
| 
       489 
598 
     | 
    
         
             
                  if @api_client.config.client_side_validation && application_id.nil?
         
     | 
| 
         @@ -544,6 +653,10 @@ module Freeclimb 
     | 
|
| 
       544 
653 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       545 
654 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.delete_an_export ..."
         
     | 
| 
       546 
655 
     | 
    
         
             
                  end
         
     | 
| 
      
 656 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 657 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 658 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.delete_an_export, must conform to the pattern #{pattern}."
         
     | 
| 
      
 659 
     | 
    
         
            +
                  end
         
     | 
| 
       547 
660 
     | 
    
         | 
| 
       548 
661 
     | 
    
         
             
                  # verify the required parameter 'export_id' is set
         
     | 
| 
       549 
662 
     | 
    
         
             
                  if @api_client.config.client_side_validation && export_id.nil?
         
     | 
| 
         @@ -604,6 +717,10 @@ module Freeclimb 
     | 
|
| 
       604 
717 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       605 
718 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.delete_an_incoming_number ..."
         
     | 
| 
       606 
719 
     | 
    
         
             
                  end
         
     | 
| 
      
 720 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 721 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 722 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.delete_an_incoming_number, must conform to the pattern #{pattern}."
         
     | 
| 
      
 723 
     | 
    
         
            +
                  end
         
     | 
| 
       607 
724 
     | 
    
         | 
| 
       608 
725 
     | 
    
         
             
                  # verify the required parameter 'phone_number_id' is set
         
     | 
| 
       609 
726 
     | 
    
         
             
                  if @api_client.config.client_side_validation && phone_number_id.nil?
         
     | 
| 
         @@ -647,6 +764,79 @@ module Freeclimb 
     | 
|
| 
       647 
764 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       648 
765 
     | 
    
         
             
                end
         
     | 
| 
       649 
766 
     | 
    
         | 
| 
      
 767 
     | 
    
         
            +
                # Delete Blob
         
     | 
| 
      
 768 
     | 
    
         
            +
                # Deletes a blob or specific keys from a blob. If no keys are specified in the request body, the entire blob is deleted (returns 204). If specific keys are provided, only those keys are removed and the remaining blob is returned (returns 200).
         
     | 
| 
      
 769 
     | 
    
         
            +
                # @param blob_id [String] String that uniquely identifies this Blob resource.
         
     | 
| 
      
 770 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 771 
     | 
    
         
            +
                # @return [BlobResult]
         
     | 
| 
      
 772 
     | 
    
         
            +
                def delete_blob(blob_id, opts = {})
         
     | 
| 
      
 773 
     | 
    
         
            +
                  data, _status_code, _headers = delete_blob_with_http_info(blob_id, opts)
         
     | 
| 
      
 774 
     | 
    
         
            +
                  data
         
     | 
| 
      
 775 
     | 
    
         
            +
                end
         
     | 
| 
      
 776 
     | 
    
         
            +
             
     | 
| 
      
 777 
     | 
    
         
            +
                # Delete Blob
         
     | 
| 
      
 778 
     | 
    
         
            +
                # Deletes a blob or specific keys from a blob. If no keys are specified in the request body, the entire blob is deleted (returns 204). If specific keys are provided, only those keys are removed and the remaining blob is returned (returns 200).
         
     | 
| 
      
 779 
     | 
    
         
            +
                # @param blob_id [String] String that uniquely identifies this Blob resource.
         
     | 
| 
      
 780 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 781 
     | 
    
         
            +
                # @return [Array<(BlobResult, Integer, Hash)>] BlobResult data, response status code and response headers
         
     | 
| 
      
 782 
     | 
    
         
            +
                def delete_blob_with_http_info(blob_id, opts = {})
         
     | 
| 
      
 783 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 784 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.delete_blob ..."
         
     | 
| 
      
 785 
     | 
    
         
            +
                  end
         
     | 
| 
      
 786 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 787 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 788 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.delete_blob, must conform to the pattern #{pattern}."
         
     | 
| 
      
 789 
     | 
    
         
            +
                  end
         
     | 
| 
      
 790 
     | 
    
         
            +
             
     | 
| 
      
 791 
     | 
    
         
            +
                  # verify the required parameter 'blob_id' is set
         
     | 
| 
      
 792 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && blob_id.nil?
         
     | 
| 
      
 793 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'blob_id' when calling DefaultApi.delete_blob"
         
     | 
| 
      
 794 
     | 
    
         
            +
                  end
         
     | 
| 
      
 795 
     | 
    
         
            +
                  pattern = /BL[0-9a-fA-F]{40}/
         
     | 
| 
      
 796 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && blob_id !~ pattern
         
     | 
| 
      
 797 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'blob_id' when calling DefaultApi.delete_blob, must conform to the pattern #{pattern}."
         
     | 
| 
      
 798 
     | 
    
         
            +
                  end
         
     | 
| 
      
 799 
     | 
    
         
            +
             
     | 
| 
      
 800 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 801 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Blobs/{blobId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s)).sub("{" + "blobId" + "}", CGI.escape(blob_id.to_s))
         
     | 
| 
      
 802 
     | 
    
         
            +
             
     | 
| 
      
 803 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 804 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 805 
     | 
    
         
            +
             
     | 
| 
      
 806 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 807 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 808 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 809 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 810 
     | 
    
         
            +
             
     | 
| 
      
 811 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 812 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 813 
     | 
    
         
            +
             
     | 
| 
      
 814 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 815 
     | 
    
         
            +
                  post_body = opts[:debug_body]
         
     | 
| 
      
 816 
     | 
    
         
            +
             
     | 
| 
      
 817 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 818 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "BlobResult"
         
     | 
| 
      
 819 
     | 
    
         
            +
             
     | 
| 
      
 820 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 821 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 822 
     | 
    
         
            +
             
     | 
| 
      
 823 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 824 
     | 
    
         
            +
                    operation: :"DefaultApi.delete_blob",
         
     | 
| 
      
 825 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 826 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 827 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 828 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 829 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 830 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 831 
     | 
    
         
            +
                  )
         
     | 
| 
      
 832 
     | 
    
         
            +
             
     | 
| 
      
 833 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
         
     | 
| 
      
 834 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 835 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#delete_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 836 
     | 
    
         
            +
                  end
         
     | 
| 
      
 837 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 838 
     | 
    
         
            +
                end
         
     | 
| 
      
 839 
     | 
    
         
            +
             
     | 
| 
       650 
840 
     | 
    
         
             
                # Dequeue a Member
         
     | 
| 
       651 
841 
     | 
    
         
             
                # @param queue_id [String] String that uniquely identifies the Queue that the Member belongs to.
         
     | 
| 
       652 
842 
     | 
    
         
             
                # @param call_id [String] ID if the Call that the Member belongs to
         
     | 
| 
         @@ -666,6 +856,10 @@ module Freeclimb 
     | 
|
| 
       666 
856 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       667 
857 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.dequeue_a_member ..."
         
     | 
| 
       668 
858 
     | 
    
         
             
                  end
         
     | 
| 
      
 859 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 860 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 861 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.dequeue_a_member, must conform to the pattern #{pattern}."
         
     | 
| 
      
 862 
     | 
    
         
            +
                  end
         
     | 
| 
       669 
863 
     | 
    
         | 
| 
       670 
864 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       671 
865 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -733,6 +927,10 @@ module Freeclimb 
     | 
|
| 
       733 
927 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       734 
928 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.dequeue_head_member ..."
         
     | 
| 
       735 
929 
     | 
    
         
             
                  end
         
     | 
| 
      
 930 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 931 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 932 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.dequeue_head_member, must conform to the pattern #{pattern}."
         
     | 
| 
      
 933 
     | 
    
         
            +
                  end
         
     | 
| 
       736 
934 
     | 
    
         | 
| 
       737 
935 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       738 
936 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -795,6 +993,10 @@ module Freeclimb 
     | 
|
| 
       795 
993 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       796 
994 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.download_a_recording_file ..."
         
     | 
| 
       797 
995 
     | 
    
         
             
                  end
         
     | 
| 
      
 996 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 997 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 998 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.download_a_recording_file, must conform to the pattern #{pattern}."
         
     | 
| 
      
 999 
     | 
    
         
            +
                  end
         
     | 
| 
       798 
1000 
     | 
    
         | 
| 
       799 
1001 
     | 
    
         
             
                  # verify the required parameter 'recording_id' is set
         
     | 
| 
       800 
1002 
     | 
    
         
             
                  if @api_client.config.client_side_validation && recording_id.nil?
         
     | 
| 
         @@ -809,7 +1011,7 @@ module Freeclimb 
     | 
|
| 
       809 
1011 
     | 
    
         
             
                  # header parameters
         
     | 
| 
       810 
1012 
     | 
    
         
             
                  header_params = opts[:header_params] || {}
         
     | 
| 
       811 
1013 
     | 
    
         
             
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
       812 
     | 
    
         
            -
                  header_params["Accept"] = @api_client.select_header_accept(["audio/ 
     | 
| 
      
 1014 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["audio/wav"])
         
     | 
| 
       813 
1015 
     | 
    
         | 
| 
       814 
1016 
     | 
    
         
             
                  # form parameters
         
     | 
| 
       815 
1017 
     | 
    
         
             
                  form_params = opts[:form_params] || {}
         
     | 
| 
         @@ -857,6 +1059,10 @@ module Freeclimb 
     | 
|
| 
       857 
1059 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       858 
1060 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.download_an_export ..."
         
     | 
| 
       859 
1061 
     | 
    
         
             
                  end
         
     | 
| 
      
 1062 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1063 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1064 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.download_an_export, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1065 
     | 
    
         
            +
                  end
         
     | 
| 
       860 
1066 
     | 
    
         | 
| 
       861 
1067 
     | 
    
         
             
                  # verify the required parameter 'export_id' is set
         
     | 
| 
       862 
1068 
     | 
    
         
             
                  if @api_client.config.client_side_validation && export_id.nil?
         
     | 
| 
         @@ -919,6 +1125,10 @@ module Freeclimb 
     | 
|
| 
       919 
1125 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       920 
1126 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.filter_logs ..."
         
     | 
| 
       921 
1127 
     | 
    
         
             
                  end
         
     | 
| 
      
 1128 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1129 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1130 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.filter_logs, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1131 
     | 
    
         
            +
                  end
         
     | 
| 
       922 
1132 
     | 
    
         | 
| 
       923 
1133 
     | 
    
         
             
                  # verify the required parameter 'filter_logs_request' is set
         
     | 
| 
       924 
1134 
     | 
    
         
             
                  if @api_client.config.client_side_validation && filter_logs_request.nil?
         
     | 
| 
         @@ -986,6 +1196,10 @@ module Freeclimb 
     | 
|
| 
       986 
1196 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       987 
1197 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_call ..."
         
     | 
| 
       988 
1198 
     | 
    
         
             
                  end
         
     | 
| 
      
 1199 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1200 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1201 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_a_call, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1202 
     | 
    
         
            +
                  end
         
     | 
| 
       989 
1203 
     | 
    
         | 
| 
       990 
1204 
     | 
    
         
             
                  # verify the required parameter 'call_id' is set
         
     | 
| 
       991 
1205 
     | 
    
         
             
                  if @api_client.config.client_side_validation && call_id.nil?
         
     | 
| 
         @@ -1048,6 +1262,10 @@ module Freeclimb 
     | 
|
| 
       1048 
1262 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1049 
1263 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_conference ..."
         
     | 
| 
       1050 
1264 
     | 
    
         
             
                  end
         
     | 
| 
      
 1265 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1266 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1267 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_a_conference, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1268 
     | 
    
         
            +
                  end
         
     | 
| 
       1051 
1269 
     | 
    
         | 
| 
       1052 
1270 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       1053 
1271 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -1112,6 +1330,10 @@ module Freeclimb 
     | 
|
| 
       1112 
1330 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1113 
1331 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_member ..."
         
     | 
| 
       1114 
1332 
     | 
    
         
             
                  end
         
     | 
| 
      
 1333 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1334 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1335 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_a_member, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1336 
     | 
    
         
            +
                  end
         
     | 
| 
       1115 
1337 
     | 
    
         | 
| 
       1116 
1338 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       1117 
1339 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -1181,6 +1403,10 @@ module Freeclimb 
     | 
|
| 
       1181 
1403 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1182 
1404 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_participant ..."
         
     | 
| 
       1183 
1405 
     | 
    
         
             
                  end
         
     | 
| 
      
 1406 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1407 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1408 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_a_participant, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1409 
     | 
    
         
            +
                  end
         
     | 
| 
       1184 
1410 
     | 
    
         | 
| 
       1185 
1411 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       1186 
1412 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -1248,6 +1474,10 @@ module Freeclimb 
     | 
|
| 
       1248 
1474 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1249 
1475 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_queue ..."
         
     | 
| 
       1250 
1476 
     | 
    
         
             
                  end
         
     | 
| 
      
 1477 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1478 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1479 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_a_queue, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1480 
     | 
    
         
            +
                  end
         
     | 
| 
       1251 
1481 
     | 
    
         | 
| 
       1252 
1482 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       1253 
1483 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -1310,6 +1540,10 @@ module Freeclimb 
     | 
|
| 
       1310 
1540 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1311 
1541 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_recording ..."
         
     | 
| 
       1312 
1542 
     | 
    
         
             
                  end
         
     | 
| 
      
 1543 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1544 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1545 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_a_recording, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1546 
     | 
    
         
            +
                  end
         
     | 
| 
       1313 
1547 
     | 
    
         | 
| 
       1314 
1548 
     | 
    
         
             
                  # verify the required parameter 'recording_id' is set
         
     | 
| 
       1315 
1549 
     | 
    
         
             
                  if @api_client.config.client_side_validation && recording_id.nil?
         
     | 
| 
         @@ -1370,6 +1604,11 @@ module Freeclimb 
     | 
|
| 
       1370 
1604 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1371 
1605 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_account ..."
         
     | 
| 
       1372 
1606 
     | 
    
         
             
                  end
         
     | 
| 
      
 1607 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1608 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1609 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_an_account, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1610 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1611 
     | 
    
         
            +
             
     | 
| 
       1373 
1612 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1374 
1613 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       1375 
1614 
     | 
    
         | 
| 
         @@ -1427,6 +1666,10 @@ module Freeclimb 
     | 
|
| 
       1427 
1666 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1428 
1667 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_application ..."
         
     | 
| 
       1429 
1668 
     | 
    
         
             
                  end
         
     | 
| 
      
 1669 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1670 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1671 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_an_application, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1672 
     | 
    
         
            +
                  end
         
     | 
| 
       1430 
1673 
     | 
    
         | 
| 
       1431 
1674 
     | 
    
         
             
                  # verify the required parameter 'application_id' is set
         
     | 
| 
       1432 
1675 
     | 
    
         
             
                  if @api_client.config.client_side_validation && application_id.nil?
         
     | 
| 
         @@ -1489,6 +1732,10 @@ module Freeclimb 
     | 
|
| 
       1489 
1732 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1490 
1733 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_export ..."
         
     | 
| 
       1491 
1734 
     | 
    
         
             
                  end
         
     | 
| 
      
 1735 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1736 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1737 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_an_export, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1738 
     | 
    
         
            +
                  end
         
     | 
| 
       1492 
1739 
     | 
    
         | 
| 
       1493 
1740 
     | 
    
         
             
                  # verify the required parameter 'export_id' is set
         
     | 
| 
       1494 
1741 
     | 
    
         
             
                  if @api_client.config.client_side_validation && export_id.nil?
         
     | 
| 
         @@ -1551,6 +1798,10 @@ module Freeclimb 
     | 
|
| 
       1551 
1798 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1552 
1799 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_incoming_number ..."
         
     | 
| 
       1553 
1800 
     | 
    
         
             
                  end
         
     | 
| 
      
 1801 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1802 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1803 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_an_incoming_number, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1804 
     | 
    
         
            +
                  end
         
     | 
| 
       1554 
1805 
     | 
    
         | 
| 
       1555 
1806 
     | 
    
         
             
                  # verify the required parameter 'phone_number_id' is set
         
     | 
| 
       1556 
1807 
     | 
    
         
             
                  if @api_client.config.client_side_validation && phone_number_id.nil?
         
     | 
| 
         @@ -1613,6 +1864,10 @@ module Freeclimb 
     | 
|
| 
       1613 
1864 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1614 
1865 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_sms_message ..."
         
     | 
| 
       1615 
1866 
     | 
    
         
             
                  end
         
     | 
| 
      
 1867 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1868 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1869 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_an_sms_message, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1870 
     | 
    
         
            +
                  end
         
     | 
| 
       1616 
1871 
     | 
    
         | 
| 
       1617 
1872 
     | 
    
         
             
                  # verify the required parameter 'message_id' is set
         
     | 
| 
       1618 
1873 
     | 
    
         
             
                  if @api_client.config.client_side_validation && message_id.nil?
         
     | 
| 
         @@ -1658,6 +1913,79 @@ module Freeclimb 
     | 
|
| 
       1658 
1913 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       1659 
1914 
     | 
    
         
             
                end
         
     | 
| 
       1660 
1915 
     | 
    
         | 
| 
      
 1916 
     | 
    
         
            +
                # Get Blob
         
     | 
| 
      
 1917 
     | 
    
         
            +
                # Retrieves a specified blob
         
     | 
| 
      
 1918 
     | 
    
         
            +
                # @param blob_id [String] String that uniquely identifies this Blob resource.
         
     | 
| 
      
 1919 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 1920 
     | 
    
         
            +
                # @return [BlobResult]
         
     | 
| 
      
 1921 
     | 
    
         
            +
                def get_blob(blob_id, opts = {})
         
     | 
| 
      
 1922 
     | 
    
         
            +
                  data, _status_code, _headers = get_blob_with_http_info(blob_id, opts)
         
     | 
| 
      
 1923 
     | 
    
         
            +
                  data
         
     | 
| 
      
 1924 
     | 
    
         
            +
                end
         
     | 
| 
      
 1925 
     | 
    
         
            +
             
     | 
| 
      
 1926 
     | 
    
         
            +
                # Get Blob
         
     | 
| 
      
 1927 
     | 
    
         
            +
                # Retrieves a specified blob
         
     | 
| 
      
 1928 
     | 
    
         
            +
                # @param blob_id [String] String that uniquely identifies this Blob resource.
         
     | 
| 
      
 1929 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 1930 
     | 
    
         
            +
                # @return [Array<(BlobResult, Integer, Hash)>] BlobResult data, response status code and response headers
         
     | 
| 
      
 1931 
     | 
    
         
            +
                def get_blob_with_http_info(blob_id, opts = {})
         
     | 
| 
      
 1932 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 1933 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_blob ..."
         
     | 
| 
      
 1934 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1935 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 1936 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 1937 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_blob, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1938 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1939 
     | 
    
         
            +
             
     | 
| 
      
 1940 
     | 
    
         
            +
                  # verify the required parameter 'blob_id' is set
         
     | 
| 
      
 1941 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && blob_id.nil?
         
     | 
| 
      
 1942 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'blob_id' when calling DefaultApi.get_blob"
         
     | 
| 
      
 1943 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1944 
     | 
    
         
            +
                  pattern = /BL[0-9a-fA-F]{40}/
         
     | 
| 
      
 1945 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && blob_id !~ pattern
         
     | 
| 
      
 1946 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'blob_id' when calling DefaultApi.get_blob, must conform to the pattern #{pattern}."
         
     | 
| 
      
 1947 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1948 
     | 
    
         
            +
             
     | 
| 
      
 1949 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 1950 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Blobs/{blobId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s)).sub("{" + "blobId" + "}", CGI.escape(blob_id.to_s))
         
     | 
| 
      
 1951 
     | 
    
         
            +
             
     | 
| 
      
 1952 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 1953 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 1954 
     | 
    
         
            +
             
     | 
| 
      
 1955 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 1956 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 1957 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 1958 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 1959 
     | 
    
         
            +
             
     | 
| 
      
 1960 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 1961 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 1962 
     | 
    
         
            +
             
     | 
| 
      
 1963 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 1964 
     | 
    
         
            +
                  post_body = opts[:debug_body]
         
     | 
| 
      
 1965 
     | 
    
         
            +
             
     | 
| 
      
 1966 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 1967 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "BlobResult"
         
     | 
| 
      
 1968 
     | 
    
         
            +
             
     | 
| 
      
 1969 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 1970 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 1971 
     | 
    
         
            +
             
     | 
| 
      
 1972 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 1973 
     | 
    
         
            +
                    operation: :"DefaultApi.get_blob",
         
     | 
| 
      
 1974 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 1975 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 1976 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 1977 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 1978 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 1979 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 1980 
     | 
    
         
            +
                  )
         
     | 
| 
      
 1981 
     | 
    
         
            +
             
     | 
| 
      
 1982 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 1983 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 1984 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#get_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 1985 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1986 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 1987 
     | 
    
         
            +
                end
         
     | 
| 
      
 1988 
     | 
    
         
            +
             
     | 
| 
       1661 
1989 
     | 
    
         
             
                # Get Head Member
         
     | 
| 
       1662 
1990 
     | 
    
         
             
                # @param queue_id [String] String that uniquely identifies the Queue that the Member belongs to.
         
     | 
| 
       1663 
1991 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -1675,6 +2003,10 @@ module Freeclimb 
     | 
|
| 
       1675 
2003 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1676 
2004 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_head_member ..."
         
     | 
| 
       1677 
2005 
     | 
    
         
             
                  end
         
     | 
| 
      
 2006 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2007 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2008 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_head_member, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2009 
     | 
    
         
            +
                  end
         
     | 
| 
       1678 
2010 
     | 
    
         | 
| 
       1679 
2011 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       1680 
2012 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -1737,6 +2069,10 @@ module Freeclimb 
     | 
|
| 
       1737 
2069 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1738 
2070 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_brand ..."
         
     | 
| 
       1739 
2071 
     | 
    
         
             
                  end
         
     | 
| 
      
 2072 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2073 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2074 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_ten_dlc_sms_brand, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2075 
     | 
    
         
            +
                  end
         
     | 
| 
       1740 
2076 
     | 
    
         | 
| 
       1741 
2077 
     | 
    
         
             
                  # verify the required parameter 'brand_id' is set
         
     | 
| 
       1742 
2078 
     | 
    
         
             
                  if @api_client.config.client_side_validation && brand_id.nil?
         
     | 
| 
         @@ -1797,6 +2133,11 @@ module Freeclimb 
     | 
|
| 
       1797 
2133 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1798 
2134 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_brands ..."
         
     | 
| 
       1799 
2135 
     | 
    
         
             
                  end
         
     | 
| 
      
 2136 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2137 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2138 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_ten_dlc_sms_brands, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2139 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2140 
     | 
    
         
            +
             
     | 
| 
       1800 
2141 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1801 
2142 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages/10DLC/Brands".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       1802 
2143 
     | 
    
         | 
| 
         @@ -1854,6 +2195,10 @@ module Freeclimb 
     | 
|
| 
       1854 
2195 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1855 
2196 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_campaign ..."
         
     | 
| 
       1856 
2197 
     | 
    
         
             
                  end
         
     | 
| 
      
 2198 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2199 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2200 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_ten_dlc_sms_campaign, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2201 
     | 
    
         
            +
                  end
         
     | 
| 
       1857 
2202 
     | 
    
         | 
| 
       1858 
2203 
     | 
    
         
             
                  # verify the required parameter 'campaign_id' is set
         
     | 
| 
       1859 
2204 
     | 
    
         
             
                  if @api_client.config.client_side_validation && campaign_id.nil?
         
     | 
| 
         @@ -1916,6 +2261,11 @@ module Freeclimb 
     | 
|
| 
       1916 
2261 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1917 
2262 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_campaigns ..."
         
     | 
| 
       1918 
2263 
     | 
    
         
             
                  end
         
     | 
| 
      
 2264 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2265 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2266 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_ten_dlc_sms_campaigns, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2267 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2268 
     | 
    
         
            +
             
     | 
| 
       1919 
2269 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1920 
2270 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages/10DLC/Campaigns".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       1921 
2271 
     | 
    
         | 
| 
         @@ -1974,6 +2324,10 @@ module Freeclimb 
     | 
|
| 
       1974 
2324 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1975 
2325 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_partner_campaign ..."
         
     | 
| 
       1976 
2326 
     | 
    
         
             
                  end
         
     | 
| 
      
 2327 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2328 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2329 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_ten_dlc_sms_partner_campaign, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2330 
     | 
    
         
            +
                  end
         
     | 
| 
       1977 
2331 
     | 
    
         | 
| 
       1978 
2332 
     | 
    
         
             
                  # verify the required parameter 'campaign_id' is set
         
     | 
| 
       1979 
2333 
     | 
    
         
             
                  if @api_client.config.client_side_validation && campaign_id.nil?
         
     | 
| 
         @@ -2036,6 +2390,11 @@ module Freeclimb 
     | 
|
| 
       2036 
2390 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2037 
2391 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_partner_campaigns ..."
         
     | 
| 
       2038 
2392 
     | 
    
         
             
                  end
         
     | 
| 
      
 2393 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2394 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2395 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_ten_dlc_sms_partner_campaigns, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2396 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2397 
     | 
    
         
            +
             
     | 
| 
       2039 
2398 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2040 
2399 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2041 
2400 
     | 
    
         | 
| 
         @@ -2094,6 +2453,10 @@ module Freeclimb 
     | 
|
| 
       2094 
2453 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2095 
2454 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_toll_free_sms_campaign ..."
         
     | 
| 
       2096 
2455 
     | 
    
         
             
                  end
         
     | 
| 
      
 2456 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2457 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2458 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_toll_free_sms_campaign, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2459 
     | 
    
         
            +
                  end
         
     | 
| 
       2097 
2460 
     | 
    
         | 
| 
       2098 
2461 
     | 
    
         
             
                  # verify the required parameter 'campaign_id' is set
         
     | 
| 
       2099 
2462 
     | 
    
         
             
                  if @api_client.config.client_side_validation && campaign_id.nil?
         
     | 
| 
         @@ -2154,6 +2517,11 @@ module Freeclimb 
     | 
|
| 
       2154 
2517 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2155 
2518 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_toll_free_sms_campaigns ..."
         
     | 
| 
       2156 
2519 
     | 
    
         
             
                  end
         
     | 
| 
      
 2520 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2521 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2522 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.get_toll_free_sms_campaigns, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2523 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2524 
     | 
    
         
            +
             
     | 
| 
       2157 
2525 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2158 
2526 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages/TollFree/Campaigns".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2159 
2527 
     | 
    
         | 
| 
         @@ -2211,6 +2579,11 @@ module Freeclimb 
     | 
|
| 
       2211 
2579 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2212 
2580 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_active_queues ..."
         
     | 
| 
       2213 
2581 
     | 
    
         
             
                  end
         
     | 
| 
      
 2582 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2583 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2584 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_active_queues, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2585 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2586 
     | 
    
         
            +
             
     | 
| 
       2214 
2587 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2215 
2588 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Queues".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2216 
2589 
     | 
    
         | 
| 
         @@ -2267,6 +2640,11 @@ module Freeclimb 
     | 
|
| 
       2267 
2640 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2268 
2641 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_all_account_logs ..."
         
     | 
| 
       2269 
2642 
     | 
    
         
             
                  end
         
     | 
| 
      
 2643 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2644 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2645 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_all_account_logs, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2646 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2647 
     | 
    
         
            +
             
     | 
| 
       2270 
2648 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2271 
2649 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Logs".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2272 
2650 
     | 
    
         | 
| 
         @@ -2324,6 +2702,11 @@ module Freeclimb 
     | 
|
| 
       2324 
2702 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2325 
2703 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_applications ..."
         
     | 
| 
       2326 
2704 
     | 
    
         
             
                  end
         
     | 
| 
      
 2705 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2706 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2707 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_applications, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2708 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2709 
     | 
    
         
            +
             
     | 
| 
       2327 
2710 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2328 
2711 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Applications".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2329 
2712 
     | 
    
         | 
| 
         @@ -2450,6 +2833,68 @@ module Freeclimb 
     | 
|
| 
       2450 
2833 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       2451 
2834 
     | 
    
         
             
                end
         
     | 
| 
       2452 
2835 
     | 
    
         | 
| 
      
 2836 
     | 
    
         
            +
                # List Blobs belonging to an account.
         
     | 
| 
      
 2837 
     | 
    
         
            +
                # List Blobs belonging to an account. Results are returned in paginated lists mirroring other listing features in the API.
         
     | 
| 
      
 2838 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 2839 
     | 
    
         
            +
                # @return [BlobListResponse]
         
     | 
| 
      
 2840 
     | 
    
         
            +
                def list_blobs(opts = {})
         
     | 
| 
      
 2841 
     | 
    
         
            +
                  data, _status_code, _headers = list_blobs_with_http_info(opts)
         
     | 
| 
      
 2842 
     | 
    
         
            +
                  data
         
     | 
| 
      
 2843 
     | 
    
         
            +
                end
         
     | 
| 
      
 2844 
     | 
    
         
            +
             
     | 
| 
      
 2845 
     | 
    
         
            +
                # List Blobs belonging to an account.
         
     | 
| 
      
 2846 
     | 
    
         
            +
                # List Blobs belonging to an account. Results are returned in paginated lists mirroring other listing features in the API.
         
     | 
| 
      
 2847 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 2848 
     | 
    
         
            +
                # @return [Array<(BlobListResponse, Integer, Hash)>] BlobListResponse data, response status code and response headers
         
     | 
| 
      
 2849 
     | 
    
         
            +
                def list_blobs_with_http_info(opts = {})
         
     | 
| 
      
 2850 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 2851 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_blobs ..."
         
     | 
| 
      
 2852 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2853 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2854 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2855 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_blobs, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2856 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2857 
     | 
    
         
            +
             
     | 
| 
      
 2858 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 2859 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Blobs".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
      
 2860 
     | 
    
         
            +
             
     | 
| 
      
 2861 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 2862 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 2863 
     | 
    
         
            +
             
     | 
| 
      
 2864 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 2865 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 2866 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 2867 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 2868 
     | 
    
         
            +
             
     | 
| 
      
 2869 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 2870 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 2871 
     | 
    
         
            +
             
     | 
| 
      
 2872 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 2873 
     | 
    
         
            +
                  post_body = opts[:debug_body]
         
     | 
| 
      
 2874 
     | 
    
         
            +
             
     | 
| 
      
 2875 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 2876 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "BlobListResponse"
         
     | 
| 
      
 2877 
     | 
    
         
            +
             
     | 
| 
      
 2878 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 2879 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 2880 
     | 
    
         
            +
             
     | 
| 
      
 2881 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 2882 
     | 
    
         
            +
                    operation: :"DefaultApi.list_blobs",
         
     | 
| 
      
 2883 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 2884 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 2885 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 2886 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 2887 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 2888 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 2889 
     | 
    
         
            +
                  )
         
     | 
| 
      
 2890 
     | 
    
         
            +
             
     | 
| 
      
 2891 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 2892 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 2893 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#list_blobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 2894 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2895 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 2896 
     | 
    
         
            +
                end
         
     | 
| 
      
 2897 
     | 
    
         
            +
             
     | 
| 
       2453 
2898 
     | 
    
         
             
                # List Call Logs
         
     | 
| 
       2454 
2899 
     | 
    
         
             
                # @param call_id [String] String that uniquely identifies this call resource.
         
     | 
| 
       2455 
2900 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -2467,6 +2912,10 @@ module Freeclimb 
     | 
|
| 
       2467 
2912 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2468 
2913 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_call_logs ..."
         
     | 
| 
       2469 
2914 
     | 
    
         
             
                  end
         
     | 
| 
      
 2915 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2916 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2917 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_call_logs, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2918 
     | 
    
         
            +
                  end
         
     | 
| 
       2470 
2919 
     | 
    
         | 
| 
       2471 
2920 
     | 
    
         
             
                  # verify the required parameter 'call_id' is set
         
     | 
| 
       2472 
2921 
     | 
    
         
             
                  if @api_client.config.client_side_validation && call_id.nil?
         
     | 
| 
         @@ -2531,6 +2980,10 @@ module Freeclimb 
     | 
|
| 
       2531 
2980 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2532 
2981 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_call_recordings ..."
         
     | 
| 
       2533 
2982 
     | 
    
         
             
                  end
         
     | 
| 
      
 2983 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 2984 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 2985 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_call_recordings, must conform to the pattern #{pattern}."
         
     | 
| 
      
 2986 
     | 
    
         
            +
                  end
         
     | 
| 
       2534 
2987 
     | 
    
         | 
| 
       2535 
2988 
     | 
    
         
             
                  # verify the required parameter 'call_id' is set
         
     | 
| 
       2536 
2989 
     | 
    
         
             
                  if @api_client.config.client_side_validation && call_id.nil?
         
     | 
| 
         @@ -2612,6 +3065,11 @@ module Freeclimb 
     | 
|
| 
       2612 
3065 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2613 
3066 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_calls ..."
         
     | 
| 
       2614 
3067 
     | 
    
         
             
                  end
         
     | 
| 
      
 3068 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3069 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3070 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_calls, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3071 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3072 
     | 
    
         
            +
             
     | 
| 
       2615 
3073 
     | 
    
         
             
                  if @api_client.config.client_side_validation && !opts[:application_id].nil? && opts[:application_id].length > 16
         
     | 
| 
       2616 
3074 
     | 
    
         
             
                    fail ArgumentError, 'invalid value for "opts[:"application_id"]" when calling DefaultApi.list_calls, number of items must be less than or equal to 16.'
         
     | 
| 
       2617 
3075 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -2687,6 +3145,10 @@ module Freeclimb 
     | 
|
| 
       2687 
3145 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2688 
3146 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_conference_recordings ..."
         
     | 
| 
       2689 
3147 
     | 
    
         
             
                  end
         
     | 
| 
      
 3148 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3149 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3150 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_conference_recordings, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3151 
     | 
    
         
            +
                  end
         
     | 
| 
       2690 
3152 
     | 
    
         | 
| 
       2691 
3153 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       2692 
3154 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -2757,6 +3219,11 @@ module Freeclimb 
     | 
|
| 
       2757 
3219 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2758 
3220 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_conferences ..."
         
     | 
| 
       2759 
3221 
     | 
    
         
             
                  end
         
     | 
| 
      
 3222 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3223 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3224 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_conferences, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3225 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3226 
     | 
    
         
            +
             
     | 
| 
       2760 
3227 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2761 
3228 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Conferences".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2762 
3229 
     | 
    
         | 
| 
         @@ -2820,6 +3287,11 @@ module Freeclimb 
     | 
|
| 
       2820 
3287 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2821 
3288 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_exports ..."
         
     | 
| 
       2822 
3289 
     | 
    
         
             
                  end
         
     | 
| 
      
 3290 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3291 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3292 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_exports, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3293 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3294 
     | 
    
         
            +
             
     | 
| 
       2823 
3295 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2824 
3296 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Exports".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2825 
3297 
     | 
    
         | 
| 
         @@ -2870,8 +3342,6 @@ module Freeclimb 
     | 
|
| 
       2870 
3342 
     | 
    
         
             
                # @option opts [String] :country Country of this phone number.
         
     | 
| 
       2871 
3343 
     | 
    
         
             
                # @option opts [String] :application_id ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.
         
     | 
| 
       2872 
3344 
     | 
    
         
             
                # @option opts [Boolean] :has_application Indication of whether the phone number has an application linked to it. (default to false)
         
     | 
| 
       2873 
     | 
    
         
            -
                # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (default to true)
         
     | 
| 
       2874 
     | 
    
         
            -
                # @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (default to true)
         
     | 
| 
       2875 
3345 
     | 
    
         
             
                # @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
         
     | 
| 
       2876 
3346 
     | 
    
         
             
                # @option opts [Boolean] :capabilities_voice
         
     | 
| 
       2877 
3347 
     | 
    
         
             
                # @option opts [Boolean] :capabilities_sms
         
     | 
| 
         @@ -2894,8 +3364,6 @@ module Freeclimb 
     | 
|
| 
       2894 
3364 
     | 
    
         
             
                # @option opts [String] :country Country of this phone number.
         
     | 
| 
       2895 
3365 
     | 
    
         
             
                # @option opts [String] :application_id ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.
         
     | 
| 
       2896 
3366 
     | 
    
         
             
                # @option opts [Boolean] :has_application Indication of whether the phone number has an application linked to it.
         
     | 
| 
       2897 
     | 
    
         
            -
                # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
         
     | 
| 
       2898 
     | 
    
         
            -
                # @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
         
     | 
| 
       2899 
3367 
     | 
    
         
             
                # @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
         
     | 
| 
       2900 
3368 
     | 
    
         
             
                # @option opts [Boolean] :capabilities_voice
         
     | 
| 
       2901 
3369 
     | 
    
         
             
                # @option opts [Boolean] :capabilities_sms
         
     | 
| 
         @@ -2909,6 +3377,11 @@ module Freeclimb 
     | 
|
| 
       2909 
3377 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2910 
3378 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_incoming_numbers ..."
         
     | 
| 
       2911 
3379 
     | 
    
         
             
                  end
         
     | 
| 
      
 3380 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3381 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3382 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_incoming_numbers, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3383 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3384 
     | 
    
         
            +
             
     | 
| 
       2912 
3385 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2913 
3386 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/IncomingPhoneNumbers".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2914 
3387 
     | 
    
         | 
| 
         @@ -2920,8 +3393,6 @@ module Freeclimb 
     | 
|
| 
       2920 
3393 
     | 
    
         
             
                  query_params[:country] = opts[:country] if !opts[:country].nil?
         
     | 
| 
       2921 
3394 
     | 
    
         
             
                  query_params[:applicationId] = opts[:application_id] if !opts[:application_id].nil?
         
     | 
| 
       2922 
3395 
     | 
    
         
             
                  query_params[:hasApplication] = opts[:has_application] if !opts[:has_application].nil?
         
     | 
| 
       2923 
     | 
    
         
            -
                  query_params[:voiceEnabled] = opts[:voice_enabled] if !opts[:voice_enabled].nil?
         
     | 
| 
       2924 
     | 
    
         
            -
                  query_params[:smsEnabled] = opts[:sms_enabled] if !opts[:sms_enabled].nil?
         
     | 
| 
       2925 
3396 
     | 
    
         
             
                  query_params[:hasCampaign] = opts[:has_campaign] if !opts[:has_campaign].nil?
         
     | 
| 
       2926 
3397 
     | 
    
         
             
                  query_params[:"capabilities.voice"] = opts[:capabilities_voice] if !opts[:capabilities_voice].nil?
         
     | 
| 
       2927 
3398 
     | 
    
         
             
                  query_params[:"capabilities.sms"] = opts[:capabilities_sms] if !opts[:capabilities_sms].nil?
         
     | 
| 
         @@ -2982,6 +3453,10 @@ module Freeclimb 
     | 
|
| 
       2982 
3453 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2983 
3454 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_members ..."
         
     | 
| 
       2984 
3455 
     | 
    
         
             
                  end
         
     | 
| 
      
 3456 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3457 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3458 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_members, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3459 
     | 
    
         
            +
                  end
         
     | 
| 
       2985 
3460 
     | 
    
         | 
| 
       2986 
3461 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       2987 
3462 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -3050,6 +3525,10 @@ module Freeclimb 
     | 
|
| 
       3050 
3525 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3051 
3526 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_participants ..."
         
     | 
| 
       3052 
3527 
     | 
    
         
             
                  end
         
     | 
| 
      
 3528 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3529 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3530 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_participants, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3531 
     | 
    
         
            +
                  end
         
     | 
| 
       3053 
3532 
     | 
    
         | 
| 
       3054 
3533 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       3055 
3534 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -3119,6 +3598,11 @@ module Freeclimb 
     | 
|
| 
       3119 
3598 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3120 
3599 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_recordings ..."
         
     | 
| 
       3121 
3600 
     | 
    
         
             
                  end
         
     | 
| 
      
 3601 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3602 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3603 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_recordings, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3604 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3605 
     | 
    
         
            +
             
     | 
| 
       3122 
3606 
     | 
    
         
             
                  # resource path
         
     | 
| 
       3123 
3607 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Recordings".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       3124 
3608 
     | 
    
         | 
| 
         @@ -3193,6 +3677,11 @@ module Freeclimb 
     | 
|
| 
       3193 
3677 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3194 
3678 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_sms_messages ..."
         
     | 
| 
       3195 
3679 
     | 
    
         
             
                  end
         
     | 
| 
      
 3680 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3681 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3682 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.list_sms_messages, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3683 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3684 
     | 
    
         
            +
             
     | 
| 
       3196 
3685 
     | 
    
         
             
                  # resource path
         
     | 
| 
       3197 
3686 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       3198 
3687 
     | 
    
         | 
| 
         @@ -3258,6 +3747,11 @@ module Freeclimb 
     | 
|
| 
       3258 
3747 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3259 
3748 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.make_a_call ..."
         
     | 
| 
       3260 
3749 
     | 
    
         
             
                  end
         
     | 
| 
      
 3750 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3751 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3752 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.make_a_call, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3753 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3754 
     | 
    
         
            +
             
     | 
| 
       3261 
3755 
     | 
    
         
             
                  # resource path
         
     | 
| 
       3262 
3756 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Calls".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       3263 
3757 
     | 
    
         | 
| 
         @@ -3320,6 +3814,10 @@ module Freeclimb 
     | 
|
| 
       3320 
3814 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3321 
3815 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.make_a_webrtc_jwt ..."
         
     | 
| 
       3322 
3816 
     | 
    
         
             
                  end
         
     | 
| 
      
 3817 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3818 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3819 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.make_a_webrtc_jwt, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3820 
     | 
    
         
            +
                  end
         
     | 
| 
       3323 
3821 
     | 
    
         | 
| 
       3324 
3822 
     | 
    
         
             
                  # verify the required parameter 'create_web_rtc_token' is set
         
     | 
| 
       3325 
3823 
     | 
    
         
             
                  if @api_client.config.client_side_validation && create_web_rtc_token.nil?
         
     | 
| 
         @@ -3370,6 +3868,90 @@ module Freeclimb 
     | 
|
| 
       3370 
3868 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       3371 
3869 
     | 
    
         
             
                end
         
     | 
| 
       3372 
3870 
     | 
    
         | 
| 
      
 3871 
     | 
    
         
            +
                # Modify Blob
         
     | 
| 
      
 3872 
     | 
    
         
            +
                # Modifys a pre existing blob by either adding new fields, or modifying existing fields
         
     | 
| 
      
 3873 
     | 
    
         
            +
                # @param blob_id [String] String that uniquely identifies this Blob resource.
         
     | 
| 
      
 3874 
     | 
    
         
            +
                # @param modify_blob_request [ModifyBlobRequest] Request body to specify keys to modify. Or new keys to add onto the already existing blob
         
     | 
| 
      
 3875 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 3876 
     | 
    
         
            +
                # @return [BlobResult]
         
     | 
| 
      
 3877 
     | 
    
         
            +
                def modify_blob(blob_id, modify_blob_request, opts = {})
         
     | 
| 
      
 3878 
     | 
    
         
            +
                  data, _status_code, _headers = modify_blob_with_http_info(blob_id, modify_blob_request, opts)
         
     | 
| 
      
 3879 
     | 
    
         
            +
                  data
         
     | 
| 
      
 3880 
     | 
    
         
            +
                end
         
     | 
| 
      
 3881 
     | 
    
         
            +
             
     | 
| 
      
 3882 
     | 
    
         
            +
                # Modify Blob
         
     | 
| 
      
 3883 
     | 
    
         
            +
                # Modifys a pre existing blob by either adding new fields, or modifying existing fields
         
     | 
| 
      
 3884 
     | 
    
         
            +
                # @param blob_id [String] String that uniquely identifies this Blob resource.
         
     | 
| 
      
 3885 
     | 
    
         
            +
                # @param modify_blob_request [ModifyBlobRequest] Request body to specify keys to modify. Or new keys to add onto the already existing blob
         
     | 
| 
      
 3886 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 3887 
     | 
    
         
            +
                # @return [Array<(BlobResult, Integer, Hash)>] BlobResult data, response status code and response headers
         
     | 
| 
      
 3888 
     | 
    
         
            +
                def modify_blob_with_http_info(blob_id, modify_blob_request, opts = {})
         
     | 
| 
      
 3889 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 3890 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.modify_blob ..."
         
     | 
| 
      
 3891 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3892 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3893 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3894 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.modify_blob, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3895 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3896 
     | 
    
         
            +
             
     | 
| 
      
 3897 
     | 
    
         
            +
                  # verify the required parameter 'blob_id' is set
         
     | 
| 
      
 3898 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && blob_id.nil?
         
     | 
| 
      
 3899 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'blob_id' when calling DefaultApi.modify_blob"
         
     | 
| 
      
 3900 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3901 
     | 
    
         
            +
                  pattern = /BL[0-9a-fA-F]{40}/
         
     | 
| 
      
 3902 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && blob_id !~ pattern
         
     | 
| 
      
 3903 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'blob_id' when calling DefaultApi.modify_blob, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3904 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3905 
     | 
    
         
            +
             
     | 
| 
      
 3906 
     | 
    
         
            +
                  # verify the required parameter 'modify_blob_request' is set
         
     | 
| 
      
 3907 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && modify_blob_request.nil?
         
     | 
| 
      
 3908 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'modify_blob_request' when calling DefaultApi.modify_blob"
         
     | 
| 
      
 3909 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3910 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 3911 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Blobs/{blobId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s)).sub("{" + "blobId" + "}", CGI.escape(blob_id.to_s))
         
     | 
| 
      
 3912 
     | 
    
         
            +
             
     | 
| 
      
 3913 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 3914 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 3915 
     | 
    
         
            +
             
     | 
| 
      
 3916 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 3917 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 3918 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 3919 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 3920 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 3921 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(["application/json"])
         
     | 
| 
      
 3922 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 3923 
     | 
    
         
            +
                    header_params["Content-Type"] = content_type
         
     | 
| 
      
 3924 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3925 
     | 
    
         
            +
             
     | 
| 
      
 3926 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 3927 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 3928 
     | 
    
         
            +
             
     | 
| 
      
 3929 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 3930 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(modify_blob_request)
         
     | 
| 
      
 3931 
     | 
    
         
            +
             
     | 
| 
      
 3932 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 3933 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "BlobResult"
         
     | 
| 
      
 3934 
     | 
    
         
            +
             
     | 
| 
      
 3935 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 3936 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 3937 
     | 
    
         
            +
             
     | 
| 
      
 3938 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 3939 
     | 
    
         
            +
                    operation: :"DefaultApi.modify_blob",
         
     | 
| 
      
 3940 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 3941 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 3942 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 3943 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 3944 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 3945 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 3946 
     | 
    
         
            +
                  )
         
     | 
| 
      
 3947 
     | 
    
         
            +
             
     | 
| 
      
 3948 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
         
     | 
| 
      
 3949 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 3950 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#modify_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 3951 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3952 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 3953 
     | 
    
         
            +
                end
         
     | 
| 
      
 3954 
     | 
    
         
            +
             
     | 
| 
       3373 
3955 
     | 
    
         
             
                # Remove a Participant
         
     | 
| 
       3374 
3956 
     | 
    
         
             
                # @param conference_id [String] ID of the conference this participant is in.
         
     | 
| 
       3375 
3957 
     | 
    
         
             
                # @param call_id [String] ID of the Call associated with this participant.
         
     | 
| 
         @@ -3389,6 +3971,10 @@ module Freeclimb 
     | 
|
| 
       3389 
3971 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3390 
3972 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.remove_a_participant ..."
         
     | 
| 
       3391 
3973 
     | 
    
         
             
                  end
         
     | 
| 
      
 3974 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 3975 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 3976 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.remove_a_participant, must conform to the pattern #{pattern}."
         
     | 
| 
      
 3977 
     | 
    
         
            +
                  end
         
     | 
| 
       3392 
3978 
     | 
    
         | 
| 
       3393 
3979 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       3394 
3980 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -3437,6 +4023,90 @@ module Freeclimb 
     | 
|
| 
       3437 
4023 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       3438 
4024 
     | 
    
         
             
                end
         
     | 
| 
       3439 
4025 
     | 
    
         | 
| 
      
 4026 
     | 
    
         
            +
                # Replace Blob
         
     | 
| 
      
 4027 
     | 
    
         
            +
                # Replaces the blob content with the provided values.
         
     | 
| 
      
 4028 
     | 
    
         
            +
                # @param blob_id [String] String that uniquely identifies this Blob resource.
         
     | 
| 
      
 4029 
     | 
    
         
            +
                # @param replace_blob_request [ReplaceBlobRequest] JSON object containing blob key the contents of which will be used to override the enitre blob contents.
         
     | 
| 
      
 4030 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 4031 
     | 
    
         
            +
                # @return [BlobResult]
         
     | 
| 
      
 4032 
     | 
    
         
            +
                def replace_blob(blob_id, replace_blob_request, opts = {})
         
     | 
| 
      
 4033 
     | 
    
         
            +
                  data, _status_code, _headers = replace_blob_with_http_info(blob_id, replace_blob_request, opts)
         
     | 
| 
      
 4034 
     | 
    
         
            +
                  data
         
     | 
| 
      
 4035 
     | 
    
         
            +
                end
         
     | 
| 
      
 4036 
     | 
    
         
            +
             
     | 
| 
      
 4037 
     | 
    
         
            +
                # Replace Blob
         
     | 
| 
      
 4038 
     | 
    
         
            +
                # Replaces the blob content with the provided values.
         
     | 
| 
      
 4039 
     | 
    
         
            +
                # @param blob_id [String] String that uniquely identifies this Blob resource.
         
     | 
| 
      
 4040 
     | 
    
         
            +
                # @param replace_blob_request [ReplaceBlobRequest] JSON object containing blob key the contents of which will be used to override the enitre blob contents.
         
     | 
| 
      
 4041 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 4042 
     | 
    
         
            +
                # @return [Array<(BlobResult, Integer, Hash)>] BlobResult data, response status code and response headers
         
     | 
| 
      
 4043 
     | 
    
         
            +
                def replace_blob_with_http_info(blob_id, replace_blob_request, opts = {})
         
     | 
| 
      
 4044 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 4045 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.replace_blob ..."
         
     | 
| 
      
 4046 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4047 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4048 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4049 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.replace_blob, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4050 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4051 
     | 
    
         
            +
             
     | 
| 
      
 4052 
     | 
    
         
            +
                  # verify the required parameter 'blob_id' is set
         
     | 
| 
      
 4053 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && blob_id.nil?
         
     | 
| 
      
 4054 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'blob_id' when calling DefaultApi.replace_blob"
         
     | 
| 
      
 4055 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4056 
     | 
    
         
            +
                  pattern = /BL[0-9a-fA-F]{40}/
         
     | 
| 
      
 4057 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && blob_id !~ pattern
         
     | 
| 
      
 4058 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'blob_id' when calling DefaultApi.replace_blob, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4059 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4060 
     | 
    
         
            +
             
     | 
| 
      
 4061 
     | 
    
         
            +
                  # verify the required parameter 'replace_blob_request' is set
         
     | 
| 
      
 4062 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && replace_blob_request.nil?
         
     | 
| 
      
 4063 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'replace_blob_request' when calling DefaultApi.replace_blob"
         
     | 
| 
      
 4064 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4065 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 4066 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Blobs/{blobId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s)).sub("{" + "blobId" + "}", CGI.escape(blob_id.to_s))
         
     | 
| 
      
 4067 
     | 
    
         
            +
             
     | 
| 
      
 4068 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 4069 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 4070 
     | 
    
         
            +
             
     | 
| 
      
 4071 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 4072 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 4073 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 4074 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 4075 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 4076 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(["application/json"])
         
     | 
| 
      
 4077 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 4078 
     | 
    
         
            +
                    header_params["Content-Type"] = content_type
         
     | 
| 
      
 4079 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4080 
     | 
    
         
            +
             
     | 
| 
      
 4081 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 4082 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 4083 
     | 
    
         
            +
             
     | 
| 
      
 4084 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 4085 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(replace_blob_request)
         
     | 
| 
      
 4086 
     | 
    
         
            +
             
     | 
| 
      
 4087 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 4088 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "BlobResult"
         
     | 
| 
      
 4089 
     | 
    
         
            +
             
     | 
| 
      
 4090 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 4091 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 4092 
     | 
    
         
            +
             
     | 
| 
      
 4093 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 4094 
     | 
    
         
            +
                    operation: :"DefaultApi.replace_blob",
         
     | 
| 
      
 4095 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 4096 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 4097 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 4098 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 4099 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 4100 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 4101 
     | 
    
         
            +
                  )
         
     | 
| 
      
 4102 
     | 
    
         
            +
             
     | 
| 
      
 4103 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
         
     | 
| 
      
 4104 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 4105 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#replace_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 4106 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4107 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 4108 
     | 
    
         
            +
                end
         
     | 
| 
      
 4109 
     | 
    
         
            +
             
     | 
| 
       3440 
4110 
     | 
    
         
             
                # Send an SMS Message
         
     | 
| 
       3441 
4111 
     | 
    
         
             
                # @param message_request [MessageRequest] Details to create a message
         
     | 
| 
       3442 
4112 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -3454,6 +4124,10 @@ module Freeclimb 
     | 
|
| 
       3454 
4124 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3455 
4125 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.send_an_sms_message ..."
         
     | 
| 
       3456 
4126 
     | 
    
         
             
                  end
         
     | 
| 
      
 4127 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4128 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4129 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.send_an_sms_message, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4130 
     | 
    
         
            +
                  end
         
     | 
| 
       3457 
4131 
     | 
    
         | 
| 
       3458 
4132 
     | 
    
         
             
                  # verify the required parameter 'message_request' is set
         
     | 
| 
       3459 
4133 
     | 
    
         
             
                  if @api_client.config.client_side_validation && message_request.nil?
         
     | 
| 
         @@ -3521,6 +4195,10 @@ module Freeclimb 
     | 
|
| 
       3521 
4195 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3522 
4196 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.stream_a_recording_file ..."
         
     | 
| 
       3523 
4197 
     | 
    
         
             
                  end
         
     | 
| 
      
 4198 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4199 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4200 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.stream_a_recording_file, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4201 
     | 
    
         
            +
                  end
         
     | 
| 
       3524 
4202 
     | 
    
         | 
| 
       3525 
4203 
     | 
    
         
             
                  # verify the required parameter 'recording_id' is set
         
     | 
| 
       3526 
4204 
     | 
    
         
             
                  if @api_client.config.client_side_validation && recording_id.nil?
         
     | 
| 
         @@ -3535,7 +4213,7 @@ module Freeclimb 
     | 
|
| 
       3535 
4213 
     | 
    
         
             
                  # header parameters
         
     | 
| 
       3536 
4214 
     | 
    
         
             
                  header_params = opts[:header_params] || {}
         
     | 
| 
       3537 
4215 
     | 
    
         
             
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
       3538 
     | 
    
         
            -
                  header_params["Accept"] = @api_client.select_header_accept(["audio/ 
     | 
| 
      
 4216 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["audio/wav"])
         
     | 
| 
       3539 
4217 
     | 
    
         | 
| 
       3540 
4218 
     | 
    
         
             
                  # form parameters
         
     | 
| 
       3541 
4219 
     | 
    
         
             
                  form_params = opts[:form_params] || {}
         
     | 
| 
         @@ -3585,6 +4263,10 @@ module Freeclimb 
     | 
|
| 
       3585 
4263 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3586 
4264 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_a_conference ..."
         
     | 
| 
       3587 
4265 
     | 
    
         
             
                  end
         
     | 
| 
      
 4266 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4267 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4268 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.update_a_conference, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4269 
     | 
    
         
            +
                  end
         
     | 
| 
       3588 
4270 
     | 
    
         | 
| 
       3589 
4271 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       3590 
4272 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -3652,6 +4334,10 @@ module Freeclimb 
     | 
|
| 
       3652 
4334 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3653 
4335 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_a_live_call ..."
         
     | 
| 
       3654 
4336 
     | 
    
         
             
                  end
         
     | 
| 
      
 4337 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4338 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4339 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.update_a_live_call, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4340 
     | 
    
         
            +
                  end
         
     | 
| 
       3655 
4341 
     | 
    
         | 
| 
       3656 
4342 
     | 
    
         
             
                  # verify the required parameter 'call_id' is set
         
     | 
| 
       3657 
4343 
     | 
    
         
             
                  if @api_client.config.client_side_validation && call_id.nil?
         
     | 
| 
         @@ -3726,6 +4412,10 @@ module Freeclimb 
     | 
|
| 
       3726 
4412 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3727 
4413 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_a_participant ..."
         
     | 
| 
       3728 
4414 
     | 
    
         
             
                  end
         
     | 
| 
      
 4415 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4416 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4417 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.update_a_participant, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4418 
     | 
    
         
            +
                  end
         
     | 
| 
       3729 
4419 
     | 
    
         | 
| 
       3730 
4420 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       3731 
4421 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -3800,6 +4490,10 @@ module Freeclimb 
     | 
|
| 
       3800 
4490 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3801 
4491 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_a_queue ..."
         
     | 
| 
       3802 
4492 
     | 
    
         
             
                  end
         
     | 
| 
      
 4493 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4494 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4495 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.update_a_queue, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4496 
     | 
    
         
            +
                  end
         
     | 
| 
       3803 
4497 
     | 
    
         | 
| 
       3804 
4498 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       3805 
4499 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -3867,6 +4561,11 @@ module Freeclimb 
     | 
|
| 
       3867 
4561 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3868 
4562 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_an_account ..."
         
     | 
| 
       3869 
4563 
     | 
    
         
             
                  end
         
     | 
| 
      
 4564 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4565 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4566 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.update_an_account, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4567 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4568 
     | 
    
         
            +
             
     | 
| 
       3870 
4569 
     | 
    
         
             
                  # resource path
         
     | 
| 
       3871 
4570 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       3872 
4571 
     | 
    
         | 
| 
         @@ -3929,6 +4628,10 @@ module Freeclimb 
     | 
|
| 
       3929 
4628 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3930 
4629 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_an_application ..."
         
     | 
| 
       3931 
4630 
     | 
    
         
             
                  end
         
     | 
| 
      
 4631 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4632 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4633 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.update_an_application, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4634 
     | 
    
         
            +
                  end
         
     | 
| 
       3932 
4635 
     | 
    
         | 
| 
       3933 
4636 
     | 
    
         
             
                  # verify the required parameter 'application_id' is set
         
     | 
| 
       3934 
4637 
     | 
    
         
             
                  if @api_client.config.client_side_validation && application_id.nil?
         
     | 
| 
         @@ -3998,6 +4701,10 @@ module Freeclimb 
     | 
|
| 
       3998 
4701 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3999 
4702 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_an_incoming_number ..."
         
     | 
| 
       4000 
4703 
     | 
    
         
             
                  end
         
     | 
| 
      
 4704 
     | 
    
         
            +
                  pattern = /AC[0-9a-fA-F]{40}/
         
     | 
| 
      
 4705 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && account_id !~ pattern
         
     | 
| 
      
 4706 
     | 
    
         
            +
                    fail ArgumentError, "invalid value for 'account_id' when calling DefaultApi.update_an_incoming_number, must conform to the pattern #{pattern}."
         
     | 
| 
      
 4707 
     | 
    
         
            +
                  end
         
     | 
| 
       4001 
4708 
     | 
    
         | 
| 
       4002 
4709 
     | 
    
         
             
                  # verify the required parameter 'phone_number_id' is set
         
     | 
| 
       4003 
4710 
     | 
    
         
             
                  if @api_client.config.client_side_validation && phone_number_id.nil?
         
     |