freeclimb 5.2.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 +22 -2
 - data/Gemfile.lock +3 -3
 - data/README.md +31 -4
 - data/docs/AvailableNumber.md +0 -4
 - data/docs/BlobListResponse.md +32 -0
 - data/docs/BlobResult.md +32 -0
 - data/docs/CallResult.md +2 -2
 - data/docs/CreateBlobRequest.md +22 -0
 - data/docs/CreateConference.md +4 -2
 - data/docs/DefaultApi.md +835 -25
 - data/docs/ExportList.md +32 -0
 - data/docs/ExportOutputType.md +16 -0
 - data/docs/ExportRequest.md +24 -0
 - data/docs/ExportRequestOutput.md +18 -0
 - data/docs/ExportResourceType.md +17 -0
 - data/docs/ExportResult.md +40 -0
 - data/docs/ExportResultOutput.md +18 -0
 - data/docs/ExportStatus.md +21 -0
 - 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 +1032 -12
 - 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/call_result.rb +8 -8
 - data/lib/freeclimb/models/create_blob_request.rb +255 -0
 - data/lib/freeclimb/models/create_conference.rb +15 -5
 - data/lib/freeclimb/models/export_list.rb +304 -0
 - data/lib/freeclimb/models/export_output_type.rb +34 -0
 - data/lib/freeclimb/models/export_request.rb +276 -0
 - data/lib/freeclimb/models/export_request_output.rb +243 -0
 - data/lib/freeclimb/models/export_resource_type.rb +35 -0
 - data/lib/freeclimb/models/export_result.rb +405 -0
 - data/lib/freeclimb/models/export_result_output.rb +243 -0
 - data/lib/freeclimb/models/export_status.rb +39 -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 +16 -0
 - data/openapi.json +1245 -80
 - data/spec/api/default_api_spec.rb +328 -33
 - 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 +39 -39
 - data/spec/models/conference_result_spec.rb +3 -3
 - data/spec/models/create_blob_request_spec.rb +273 -0
 - data/spec/models/create_conference_spec.rb +83 -35
 - data/spec/models/export_list_spec.rb +502 -0
 - data/spec/models/export_output_type_spec.rb +43 -0
 - data/spec/models/export_request_output_spec.rb +162 -0
 - data/spec/models/export_request_spec.rb +320 -0
 - data/spec/models/export_resource_type_spec.rb +59 -0
 - data/spec/models/export_result_output_spec.rb +162 -0
 - data/spec/models/export_result_spec.rb +718 -0
 - data/spec/models/export_status_spec.rb +123 -0
 - 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
 - data/yarn.lock +29 -29
 - metadata +50 -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,146 @@ 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 
     | 
    
         
            +
             
     | 
| 
      
 371 
     | 
    
         
            +
                # Create an Export
         
     | 
| 
      
 372 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 373 
     | 
    
         
            +
                # @option opts [ExportRequest] :export_request A JSON object containing export creation parameters
         
     | 
| 
      
 374 
     | 
    
         
            +
                # @return [ExportResult]
         
     | 
| 
      
 375 
     | 
    
         
            +
                def create_export(opts = {})
         
     | 
| 
      
 376 
     | 
    
         
            +
                  data, _status_code, _headers = create_export_with_http_info(opts)
         
     | 
| 
      
 377 
     | 
    
         
            +
                  data
         
     | 
| 
      
 378 
     | 
    
         
            +
                end
         
     | 
| 
      
 379 
     | 
    
         
            +
             
     | 
| 
      
 380 
     | 
    
         
            +
                # Create an Export
         
     | 
| 
      
 381 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 382 
     | 
    
         
            +
                # @option opts [ExportRequest] :export_request A JSON object containing export creation parameters
         
     | 
| 
      
 383 
     | 
    
         
            +
                # @return [Array<(ExportResult, Integer, Hash)>] ExportResult data, response status code and response headers
         
     | 
| 
      
 384 
     | 
    
         
            +
                def create_export_with_http_info(opts = {})
         
     | 
| 
      
 385 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 386 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.create_export ..."
         
     | 
| 
      
 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 
     | 
    
         
            +
             
     | 
| 
      
 393 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 394 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Exports".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
      
 395 
     | 
    
         
            +
             
     | 
| 
      
 396 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 397 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 398 
     | 
    
         
            +
             
     | 
| 
      
 399 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 400 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 401 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 402 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 403 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 404 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(["application/json"])
         
     | 
| 
      
 405 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 406 
     | 
    
         
            +
                    header_params["Content-Type"] = content_type
         
     | 
| 
      
 407 
     | 
    
         
            +
                  end
         
     | 
| 
      
 408 
     | 
    
         
            +
             
     | 
| 
      
 409 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 410 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 411 
     | 
    
         
            +
             
     | 
| 
      
 412 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 413 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:export_request])
         
     | 
| 
      
 414 
     | 
    
         
            +
             
     | 
| 
      
 415 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 416 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "ExportResult"
         
     | 
| 
      
 417 
     | 
    
         
            +
             
     | 
| 
      
 418 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 419 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 420 
     | 
    
         
            +
             
     | 
| 
      
 421 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 422 
     | 
    
         
            +
                    operation: :"DefaultApi.create_export",
         
     | 
| 
      
 423 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 424 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 425 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 426 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 427 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 428 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 429 
     | 
    
         
            +
                  )
         
     | 
| 
      
 430 
     | 
    
         
            +
             
     | 
| 
      
 431 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 432 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 433 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#create_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 434 
     | 
    
         
            +
                  end
         
     | 
| 
      
 435 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 436 
     | 
    
         
            +
                end
         
     | 
| 
      
 437 
     | 
    
         
            +
             
     | 
| 
       279 
438 
     | 
    
         
             
                # Query the knowledge base
         
     | 
| 
       280 
439 
     | 
    
         
             
                # @param knowledge_base_id [String] A string that uniquely identifies the KnowledgeBase resource.
         
     | 
| 
       281 
440 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -295,6 +454,10 @@ module Freeclimb 
     | 
|
| 
       295 
454 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       296 
455 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.create_knowledge_base_completion ..."
         
     | 
| 
       297 
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
         
     | 
| 
       298 
461 
     | 
    
         | 
| 
       299 
462 
     | 
    
         
             
                  # verify the required parameter 'knowledge_base_id' is set
         
     | 
| 
       300 
463 
     | 
    
         
             
                  if @api_client.config.client_side_validation && knowledge_base_id.nil?
         
     | 
| 
         @@ -362,6 +525,10 @@ module Freeclimb 
     | 
|
| 
       362 
525 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       363 
526 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.delete_a_recording ..."
         
     | 
| 
       364 
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
         
     | 
| 
       365 
532 
     | 
    
         | 
| 
       366 
533 
     | 
    
         
             
                  # verify the required parameter 'recording_id' is set
         
     | 
| 
       367 
534 
     | 
    
         
             
                  if @api_client.config.client_side_validation && recording_id.nil?
         
     | 
| 
         @@ -422,6 +589,10 @@ module Freeclimb 
     | 
|
| 
       422 
589 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       423 
590 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.delete_an_application ..."
         
     | 
| 
       424 
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
         
     | 
| 
       425 
596 
     | 
    
         | 
| 
       426 
597 
     | 
    
         
             
                  # verify the required parameter 'application_id' is set
         
     | 
| 
       427 
598 
     | 
    
         
             
                  if @api_client.config.client_side_validation && application_id.nil?
         
     | 
| 
         @@ -465,6 +636,70 @@ module Freeclimb 
     | 
|
| 
       465 
636 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       466 
637 
     | 
    
         
             
                end
         
     | 
| 
       467 
638 
     | 
    
         | 
| 
      
 639 
     | 
    
         
            +
                # Delete an Export
         
     | 
| 
      
 640 
     | 
    
         
            +
                # @param export_id [String] A string that uniquely identifies this export resource.
         
     | 
| 
      
 641 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 642 
     | 
    
         
            +
                # @return [nil]
         
     | 
| 
      
 643 
     | 
    
         
            +
                def delete_an_export(export_id, opts = {})
         
     | 
| 
      
 644 
     | 
    
         
            +
                  delete_an_export_with_http_info(export_id, opts)
         
     | 
| 
      
 645 
     | 
    
         
            +
                  nil
         
     | 
| 
      
 646 
     | 
    
         
            +
                end
         
     | 
| 
      
 647 
     | 
    
         
            +
             
     | 
| 
      
 648 
     | 
    
         
            +
                # Delete an Export
         
     | 
| 
      
 649 
     | 
    
         
            +
                # @param export_id [String] A string that uniquely identifies this export resource.
         
     | 
| 
      
 650 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 651 
     | 
    
         
            +
                # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
         
     | 
| 
      
 652 
     | 
    
         
            +
                def delete_an_export_with_http_info(export_id, opts = {})
         
     | 
| 
      
 653 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 654 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.delete_an_export ..."
         
     | 
| 
      
 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
         
     | 
| 
      
 660 
     | 
    
         
            +
             
     | 
| 
      
 661 
     | 
    
         
            +
                  # verify the required parameter 'export_id' is set
         
     | 
| 
      
 662 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && export_id.nil?
         
     | 
| 
      
 663 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'export_id' when calling DefaultApi.delete_an_export"
         
     | 
| 
      
 664 
     | 
    
         
            +
                  end
         
     | 
| 
      
 665 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 666 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Exports/{exportId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s)).sub("{" + "exportId" + "}", CGI.escape(export_id.to_s))
         
     | 
| 
      
 667 
     | 
    
         
            +
             
     | 
| 
      
 668 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 669 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 670 
     | 
    
         
            +
             
     | 
| 
      
 671 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 672 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 673 
     | 
    
         
            +
             
     | 
| 
      
 674 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 675 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 676 
     | 
    
         
            +
             
     | 
| 
      
 677 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 678 
     | 
    
         
            +
                  post_body = opts[:debug_body]
         
     | 
| 
      
 679 
     | 
    
         
            +
             
     | 
| 
      
 680 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 681 
     | 
    
         
            +
                  return_type = opts[:debug_return_type]
         
     | 
| 
      
 682 
     | 
    
         
            +
             
     | 
| 
      
 683 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 684 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 685 
     | 
    
         
            +
             
     | 
| 
      
 686 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 687 
     | 
    
         
            +
                    operation: :"DefaultApi.delete_an_export",
         
     | 
| 
      
 688 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 689 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 690 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 691 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 692 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 693 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 694 
     | 
    
         
            +
                  )
         
     | 
| 
      
 695 
     | 
    
         
            +
             
     | 
| 
      
 696 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
         
     | 
| 
      
 697 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 698 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#delete_an_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 699 
     | 
    
         
            +
                  end
         
     | 
| 
      
 700 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 701 
     | 
    
         
            +
                end
         
     | 
| 
      
 702 
     | 
    
         
            +
             
     | 
| 
       468 
703 
     | 
    
         
             
                # Delete an Incoming Number
         
     | 
| 
       469 
704 
     | 
    
         
             
                # @param phone_number_id [String] String that uniquely identifies this phone number resource.
         
     | 
| 
       470 
705 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -482,6 +717,10 @@ module Freeclimb 
     | 
|
| 
       482 
717 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       483 
718 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.delete_an_incoming_number ..."
         
     | 
| 
       484 
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
         
     | 
| 
       485 
724 
     | 
    
         | 
| 
       486 
725 
     | 
    
         
             
                  # verify the required parameter 'phone_number_id' is set
         
     | 
| 
       487 
726 
     | 
    
         
             
                  if @api_client.config.client_side_validation && phone_number_id.nil?
         
     | 
| 
         @@ -525,6 +764,79 @@ module Freeclimb 
     | 
|
| 
       525 
764 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       526 
765 
     | 
    
         
             
                end
         
     | 
| 
       527 
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 
     | 
    
         
            +
             
     | 
| 
       528 
840 
     | 
    
         
             
                # Dequeue a Member
         
     | 
| 
       529 
841 
     | 
    
         
             
                # @param queue_id [String] String that uniquely identifies the Queue that the Member belongs to.
         
     | 
| 
       530 
842 
     | 
    
         
             
                # @param call_id [String] ID if the Call that the Member belongs to
         
     | 
| 
         @@ -544,6 +856,10 @@ module Freeclimb 
     | 
|
| 
       544 
856 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       545 
857 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.dequeue_a_member ..."
         
     | 
| 
       546 
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
         
     | 
| 
       547 
863 
     | 
    
         | 
| 
       548 
864 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       549 
865 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -611,6 +927,10 @@ module Freeclimb 
     | 
|
| 
       611 
927 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       612 
928 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.dequeue_head_member ..."
         
     | 
| 
       613 
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
         
     | 
| 
       614 
934 
     | 
    
         | 
| 
       615 
935 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       616 
936 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -673,6 +993,10 @@ module Freeclimb 
     | 
|
| 
       673 
993 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       674 
994 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.download_a_recording_file ..."
         
     | 
| 
       675 
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
         
     | 
| 
       676 
1000 
     | 
    
         | 
| 
       677 
1001 
     | 
    
         
             
                  # verify the required parameter 'recording_id' is set
         
     | 
| 
       678 
1002 
     | 
    
         
             
                  if @api_client.config.client_side_validation && recording_id.nil?
         
     | 
| 
         @@ -687,7 +1011,7 @@ module Freeclimb 
     | 
|
| 
       687 
1011 
     | 
    
         
             
                  # header parameters
         
     | 
| 
       688 
1012 
     | 
    
         
             
                  header_params = opts[:header_params] || {}
         
     | 
| 
       689 
1013 
     | 
    
         
             
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
       690 
     | 
    
         
            -
                  header_params["Accept"] = @api_client.select_header_accept(["audio/ 
     | 
| 
      
 1014 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["audio/wav"])
         
     | 
| 
       691 
1015 
     | 
    
         | 
| 
       692 
1016 
     | 
    
         
             
                  # form parameters
         
     | 
| 
       693 
1017 
     | 
    
         
             
                  form_params = opts[:form_params] || {}
         
     | 
| 
         @@ -718,6 +1042,72 @@ module Freeclimb 
     | 
|
| 
       718 
1042 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       719 
1043 
     | 
    
         
             
                end
         
     | 
| 
       720 
1044 
     | 
    
         | 
| 
      
 1045 
     | 
    
         
            +
                # Download an Export
         
     | 
| 
      
 1046 
     | 
    
         
            +
                # @param export_id [String] A string that uniquely identifies this export resource.
         
     | 
| 
      
 1047 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 1048 
     | 
    
         
            +
                # @return [String]
         
     | 
| 
      
 1049 
     | 
    
         
            +
                def download_an_export(export_id, opts = {})
         
     | 
| 
      
 1050 
     | 
    
         
            +
                  data, _status_code, _headers = download_an_export_with_http_info(export_id, opts)
         
     | 
| 
      
 1051 
     | 
    
         
            +
                  data
         
     | 
| 
      
 1052 
     | 
    
         
            +
                end
         
     | 
| 
      
 1053 
     | 
    
         
            +
             
     | 
| 
      
 1054 
     | 
    
         
            +
                # Download an Export
         
     | 
| 
      
 1055 
     | 
    
         
            +
                # @param export_id [String] A string that uniquely identifies this export resource.
         
     | 
| 
      
 1056 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 1057 
     | 
    
         
            +
                # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
         
     | 
| 
      
 1058 
     | 
    
         
            +
                def download_an_export_with_http_info(export_id, opts = {})
         
     | 
| 
      
 1059 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 1060 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.download_an_export ..."
         
     | 
| 
      
 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
         
     | 
| 
      
 1066 
     | 
    
         
            +
             
     | 
| 
      
 1067 
     | 
    
         
            +
                  # verify the required parameter 'export_id' is set
         
     | 
| 
      
 1068 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && export_id.nil?
         
     | 
| 
      
 1069 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'export_id' when calling DefaultApi.download_an_export"
         
     | 
| 
      
 1070 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1071 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 1072 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Exports/{exportId}/Download".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s)).sub("{" + "exportId" + "}", CGI.escape(export_id.to_s))
         
     | 
| 
      
 1073 
     | 
    
         
            +
             
     | 
| 
      
 1074 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 1075 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 1076 
     | 
    
         
            +
             
     | 
| 
      
 1077 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 1078 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 1079 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 1080 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["text/csv"])
         
     | 
| 
      
 1081 
     | 
    
         
            +
             
     | 
| 
      
 1082 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 1083 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 1084 
     | 
    
         
            +
             
     | 
| 
      
 1085 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 1086 
     | 
    
         
            +
                  post_body = opts[:debug_body]
         
     | 
| 
      
 1087 
     | 
    
         
            +
             
     | 
| 
      
 1088 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 1089 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "String"
         
     | 
| 
      
 1090 
     | 
    
         
            +
             
     | 
| 
      
 1091 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 1092 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 1093 
     | 
    
         
            +
             
     | 
| 
      
 1094 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 1095 
     | 
    
         
            +
                    operation: :"DefaultApi.download_an_export",
         
     | 
| 
      
 1096 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 1097 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 1098 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 1099 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 1100 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 1101 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 1102 
     | 
    
         
            +
                  )
         
     | 
| 
      
 1103 
     | 
    
         
            +
             
     | 
| 
      
 1104 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 1105 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 1106 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#download_an_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 1107 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1108 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 1109 
     | 
    
         
            +
                end
         
     | 
| 
      
 1110 
     | 
    
         
            +
             
     | 
| 
       721 
1111 
     | 
    
         
             
                # Filter Logs
         
     | 
| 
       722 
1112 
     | 
    
         
             
                # @param filter_logs_request [FilterLogsRequest] Filter logs request paramters
         
     | 
| 
       723 
1113 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -735,6 +1125,10 @@ module Freeclimb 
     | 
|
| 
       735 
1125 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       736 
1126 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.filter_logs ..."
         
     | 
| 
       737 
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
         
     | 
| 
       738 
1132 
     | 
    
         | 
| 
       739 
1133 
     | 
    
         
             
                  # verify the required parameter 'filter_logs_request' is set
         
     | 
| 
       740 
1134 
     | 
    
         
             
                  if @api_client.config.client_side_validation && filter_logs_request.nil?
         
     | 
| 
         @@ -802,6 +1196,10 @@ module Freeclimb 
     | 
|
| 
       802 
1196 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       803 
1197 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_call ..."
         
     | 
| 
       804 
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
         
     | 
| 
       805 
1203 
     | 
    
         | 
| 
       806 
1204 
     | 
    
         
             
                  # verify the required parameter 'call_id' is set
         
     | 
| 
       807 
1205 
     | 
    
         
             
                  if @api_client.config.client_side_validation && call_id.nil?
         
     | 
| 
         @@ -864,6 +1262,10 @@ module Freeclimb 
     | 
|
| 
       864 
1262 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       865 
1263 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_conference ..."
         
     | 
| 
       866 
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
         
     | 
| 
       867 
1269 
     | 
    
         | 
| 
       868 
1270 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       869 
1271 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -928,6 +1330,10 @@ module Freeclimb 
     | 
|
| 
       928 
1330 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       929 
1331 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_member ..."
         
     | 
| 
       930 
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
         
     | 
| 
       931 
1337 
     | 
    
         | 
| 
       932 
1338 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       933 
1339 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -997,6 +1403,10 @@ module Freeclimb 
     | 
|
| 
       997 
1403 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       998 
1404 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_participant ..."
         
     | 
| 
       999 
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
         
     | 
| 
       1000 
1410 
     | 
    
         | 
| 
       1001 
1411 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       1002 
1412 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -1064,6 +1474,10 @@ module Freeclimb 
     | 
|
| 
       1064 
1474 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1065 
1475 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_queue ..."
         
     | 
| 
       1066 
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
         
     | 
| 
       1067 
1481 
     | 
    
         | 
| 
       1068 
1482 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       1069 
1483 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -1126,6 +1540,10 @@ module Freeclimb 
     | 
|
| 
       1126 
1540 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1127 
1541 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_a_recording ..."
         
     | 
| 
       1128 
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
         
     | 
| 
       1129 
1547 
     | 
    
         | 
| 
       1130 
1548 
     | 
    
         
             
                  # verify the required parameter 'recording_id' is set
         
     | 
| 
       1131 
1549 
     | 
    
         
             
                  if @api_client.config.client_side_validation && recording_id.nil?
         
     | 
| 
         @@ -1186,6 +1604,11 @@ module Freeclimb 
     | 
|
| 
       1186 
1604 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1187 
1605 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_account ..."
         
     | 
| 
       1188 
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 
     | 
    
         
            +
             
     | 
| 
       1189 
1612 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1190 
1613 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       1191 
1614 
     | 
    
         | 
| 
         @@ -1243,6 +1666,10 @@ module Freeclimb 
     | 
|
| 
       1243 
1666 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1244 
1667 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_application ..."
         
     | 
| 
       1245 
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
         
     | 
| 
       1246 
1673 
     | 
    
         | 
| 
       1247 
1674 
     | 
    
         
             
                  # verify the required parameter 'application_id' is set
         
     | 
| 
       1248 
1675 
     | 
    
         
             
                  if @api_client.config.client_side_validation && application_id.nil?
         
     | 
| 
         @@ -1288,6 +1715,72 @@ module Freeclimb 
     | 
|
| 
       1288 
1715 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       1289 
1716 
     | 
    
         
             
                end
         
     | 
| 
       1290 
1717 
     | 
    
         | 
| 
      
 1718 
     | 
    
         
            +
                # Get an Export
         
     | 
| 
      
 1719 
     | 
    
         
            +
                # @param export_id [String] A string that uniquely identifies this export resource.
         
     | 
| 
      
 1720 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 1721 
     | 
    
         
            +
                # @return [ExportResult]
         
     | 
| 
      
 1722 
     | 
    
         
            +
                def get_an_export(export_id, opts = {})
         
     | 
| 
      
 1723 
     | 
    
         
            +
                  data, _status_code, _headers = get_an_export_with_http_info(export_id, opts)
         
     | 
| 
      
 1724 
     | 
    
         
            +
                  data
         
     | 
| 
      
 1725 
     | 
    
         
            +
                end
         
     | 
| 
      
 1726 
     | 
    
         
            +
             
     | 
| 
      
 1727 
     | 
    
         
            +
                # Get an Export
         
     | 
| 
      
 1728 
     | 
    
         
            +
                # @param export_id [String] A string that uniquely identifies this export resource.
         
     | 
| 
      
 1729 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 1730 
     | 
    
         
            +
                # @return [Array<(ExportResult, Integer, Hash)>] ExportResult data, response status code and response headers
         
     | 
| 
      
 1731 
     | 
    
         
            +
                def get_an_export_with_http_info(export_id, opts = {})
         
     | 
| 
      
 1732 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 1733 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_export ..."
         
     | 
| 
      
 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
         
     | 
| 
      
 1739 
     | 
    
         
            +
             
     | 
| 
      
 1740 
     | 
    
         
            +
                  # verify the required parameter 'export_id' is set
         
     | 
| 
      
 1741 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && export_id.nil?
         
     | 
| 
      
 1742 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'export_id' when calling DefaultApi.get_an_export"
         
     | 
| 
      
 1743 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1744 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 1745 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Exports/{exportId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s)).sub("{" + "exportId" + "}", CGI.escape(export_id.to_s))
         
     | 
| 
      
 1746 
     | 
    
         
            +
             
     | 
| 
      
 1747 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 1748 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 1749 
     | 
    
         
            +
             
     | 
| 
      
 1750 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 1751 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 1752 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 1753 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 1754 
     | 
    
         
            +
             
     | 
| 
      
 1755 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 1756 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 1757 
     | 
    
         
            +
             
     | 
| 
      
 1758 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 1759 
     | 
    
         
            +
                  post_body = opts[:debug_body]
         
     | 
| 
      
 1760 
     | 
    
         
            +
             
     | 
| 
      
 1761 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 1762 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "ExportResult"
         
     | 
| 
      
 1763 
     | 
    
         
            +
             
     | 
| 
      
 1764 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 1765 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 1766 
     | 
    
         
            +
             
     | 
| 
      
 1767 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 1768 
     | 
    
         
            +
                    operation: :"DefaultApi.get_an_export",
         
     | 
| 
      
 1769 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 1770 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 1771 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 1772 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 1773 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 1774 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 1775 
     | 
    
         
            +
                  )
         
     | 
| 
      
 1776 
     | 
    
         
            +
             
     | 
| 
      
 1777 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 1778 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 1779 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#get_an_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 1780 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1781 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 1782 
     | 
    
         
            +
                end
         
     | 
| 
      
 1783 
     | 
    
         
            +
             
     | 
| 
       1291 
1784 
     | 
    
         
             
                # Get an Incoming Number
         
     | 
| 
       1292 
1785 
     | 
    
         
             
                # @param phone_number_id [String] String that uniquely identifies this phone number resource.
         
     | 
| 
       1293 
1786 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -1305,6 +1798,10 @@ module Freeclimb 
     | 
|
| 
       1305 
1798 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1306 
1799 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_incoming_number ..."
         
     | 
| 
       1307 
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
         
     | 
| 
       1308 
1805 
     | 
    
         | 
| 
       1309 
1806 
     | 
    
         
             
                  # verify the required parameter 'phone_number_id' is set
         
     | 
| 
       1310 
1807 
     | 
    
         
             
                  if @api_client.config.client_side_validation && phone_number_id.nil?
         
     | 
| 
         @@ -1367,13 +1864,90 @@ module Freeclimb 
     | 
|
| 
       1367 
1864 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1368 
1865 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_an_sms_message ..."
         
     | 
| 
       1369 
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
         
     | 
| 
       1370 
1871 
     | 
    
         | 
| 
       1371 
1872 
     | 
    
         
             
                  # verify the required parameter 'message_id' is set
         
     | 
| 
       1372 
1873 
     | 
    
         
             
                  if @api_client.config.client_side_validation && message_id.nil?
         
     | 
| 
       1373 
1874 
     | 
    
         
             
                    fail ArgumentError, "Missing the required parameter 'message_id' when calling DefaultApi.get_an_sms_message"
         
     | 
| 
       1374 
1875 
     | 
    
         
             
                  end
         
     | 
| 
       1375 
1876 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1376 
     | 
    
         
            -
                  local_var_path = "/Accounts/{accountId}/Messages/{messageId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s)).sub("{" + "messageId" + "}", CGI.escape(message_id.to_s))
         
     | 
| 
      
 1877 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Messages/{messageId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s)).sub("{" + "messageId" + "}", CGI.escape(message_id.to_s))
         
     | 
| 
      
 1878 
     | 
    
         
            +
             
     | 
| 
      
 1879 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 1880 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 1881 
     | 
    
         
            +
             
     | 
| 
      
 1882 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 1883 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 1884 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 1885 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 1886 
     | 
    
         
            +
             
     | 
| 
      
 1887 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 1888 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 1889 
     | 
    
         
            +
             
     | 
| 
      
 1890 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 1891 
     | 
    
         
            +
                  post_body = opts[:debug_body]
         
     | 
| 
      
 1892 
     | 
    
         
            +
             
     | 
| 
      
 1893 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 1894 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "MessageResult"
         
     | 
| 
      
 1895 
     | 
    
         
            +
             
     | 
| 
      
 1896 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 1897 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 1898 
     | 
    
         
            +
             
     | 
| 
      
 1899 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 1900 
     | 
    
         
            +
                    operation: :"DefaultApi.get_an_sms_message",
         
     | 
| 
      
 1901 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 1902 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 1903 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 1904 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 1905 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 1906 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 1907 
     | 
    
         
            +
                  )
         
     | 
| 
      
 1908 
     | 
    
         
            +
             
     | 
| 
      
 1909 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 1910 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 1911 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#get_an_sms_message\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 1912 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1913 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 1914 
     | 
    
         
            +
                end
         
     | 
| 
      
 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))
         
     | 
| 
       1377 
1951 
     | 
    
         | 
| 
       1378 
1952 
     | 
    
         
             
                  # query parameters
         
     | 
| 
       1379 
1953 
     | 
    
         
             
                  query_params = opts[:query_params] || {}
         
     | 
| 
         @@ -1390,13 +1964,13 @@ module Freeclimb 
     | 
|
| 
       1390 
1964 
     | 
    
         
             
                  post_body = opts[:debug_body]
         
     | 
| 
       1391 
1965 
     | 
    
         | 
| 
       1392 
1966 
     | 
    
         
             
                  # return_type
         
     | 
| 
       1393 
     | 
    
         
            -
                  return_type = opts[:debug_return_type] || " 
     | 
| 
      
 1967 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "BlobResult"
         
     | 
| 
       1394 
1968 
     | 
    
         | 
| 
       1395 
1969 
     | 
    
         
             
                  # auth_names
         
     | 
| 
       1396 
1970 
     | 
    
         
             
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
       1397 
1971 
     | 
    
         | 
| 
       1398 
1972 
     | 
    
         
             
                  new_options = opts.merge(
         
     | 
| 
       1399 
     | 
    
         
            -
                    operation: :"DefaultApi. 
     | 
| 
      
 1973 
     | 
    
         
            +
                    operation: :"DefaultApi.get_blob",
         
     | 
| 
       1400 
1974 
     | 
    
         
             
                    header_params: header_params,
         
     | 
| 
       1401 
1975 
     | 
    
         
             
                    query_params: query_params,
         
     | 
| 
       1402 
1976 
     | 
    
         
             
                    form_params: form_params,
         
     | 
| 
         @@ -1407,7 +1981,7 @@ module Freeclimb 
     | 
|
| 
       1407 
1981 
     | 
    
         | 
| 
       1408 
1982 
     | 
    
         
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
       1409 
1983 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1410 
     | 
    
         
            -
                    @api_client.config.logger.debug "API called: DefaultApi# 
     | 
| 
      
 1984 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#get_blob\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
       1411 
1985 
     | 
    
         
             
                  end
         
     | 
| 
       1412 
1986 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       1413 
1987 
     | 
    
         
             
                end
         
     | 
| 
         @@ -1429,6 +2003,10 @@ module Freeclimb 
     | 
|
| 
       1429 
2003 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1430 
2004 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_head_member ..."
         
     | 
| 
       1431 
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
         
     | 
| 
       1432 
2010 
     | 
    
         | 
| 
       1433 
2011 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       1434 
2012 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -1491,6 +2069,10 @@ module Freeclimb 
     | 
|
| 
       1491 
2069 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1492 
2070 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_brand ..."
         
     | 
| 
       1493 
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
         
     | 
| 
       1494 
2076 
     | 
    
         | 
| 
       1495 
2077 
     | 
    
         
             
                  # verify the required parameter 'brand_id' is set
         
     | 
| 
       1496 
2078 
     | 
    
         
             
                  if @api_client.config.client_side_validation && brand_id.nil?
         
     | 
| 
         @@ -1551,6 +2133,11 @@ module Freeclimb 
     | 
|
| 
       1551 
2133 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1552 
2134 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_brands ..."
         
     | 
| 
       1553 
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 
     | 
    
         
            +
             
     | 
| 
       1554 
2141 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1555 
2142 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages/10DLC/Brands".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       1556 
2143 
     | 
    
         | 
| 
         @@ -1608,6 +2195,10 @@ module Freeclimb 
     | 
|
| 
       1608 
2195 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1609 
2196 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_campaign ..."
         
     | 
| 
       1610 
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
         
     | 
| 
       1611 
2202 
     | 
    
         | 
| 
       1612 
2203 
     | 
    
         
             
                  # verify the required parameter 'campaign_id' is set
         
     | 
| 
       1613 
2204 
     | 
    
         
             
                  if @api_client.config.client_side_validation && campaign_id.nil?
         
     | 
| 
         @@ -1670,6 +2261,11 @@ module Freeclimb 
     | 
|
| 
       1670 
2261 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1671 
2262 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_campaigns ..."
         
     | 
| 
       1672 
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 
     | 
    
         
            +
             
     | 
| 
       1673 
2269 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1674 
2270 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages/10DLC/Campaigns".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       1675 
2271 
     | 
    
         | 
| 
         @@ -1728,6 +2324,10 @@ module Freeclimb 
     | 
|
| 
       1728 
2324 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1729 
2325 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_partner_campaign ..."
         
     | 
| 
       1730 
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
         
     | 
| 
       1731 
2331 
     | 
    
         | 
| 
       1732 
2332 
     | 
    
         
             
                  # verify the required parameter 'campaign_id' is set
         
     | 
| 
       1733 
2333 
     | 
    
         
             
                  if @api_client.config.client_side_validation && campaign_id.nil?
         
     | 
| 
         @@ -1790,6 +2390,11 @@ module Freeclimb 
     | 
|
| 
       1790 
2390 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1791 
2391 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_ten_dlc_sms_partner_campaigns ..."
         
     | 
| 
       1792 
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 
     | 
    
         
            +
             
     | 
| 
       1793 
2398 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1794 
2399 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       1795 
2400 
     | 
    
         | 
| 
         @@ -1848,6 +2453,10 @@ module Freeclimb 
     | 
|
| 
       1848 
2453 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1849 
2454 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_toll_free_sms_campaign ..."
         
     | 
| 
       1850 
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
         
     | 
| 
       1851 
2460 
     | 
    
         | 
| 
       1852 
2461 
     | 
    
         
             
                  # verify the required parameter 'campaign_id' is set
         
     | 
| 
       1853 
2462 
     | 
    
         
             
                  if @api_client.config.client_side_validation && campaign_id.nil?
         
     | 
| 
         @@ -1908,6 +2517,11 @@ module Freeclimb 
     | 
|
| 
       1908 
2517 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1909 
2518 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.get_toll_free_sms_campaigns ..."
         
     | 
| 
       1910 
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 
     | 
    
         
            +
             
     | 
| 
       1911 
2525 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1912 
2526 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages/TollFree/Campaigns".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       1913 
2527 
     | 
    
         | 
| 
         @@ -1965,6 +2579,11 @@ module Freeclimb 
     | 
|
| 
       1965 
2579 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       1966 
2580 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_active_queues ..."
         
     | 
| 
       1967 
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 
     | 
    
         
            +
             
     | 
| 
       1968 
2587 
     | 
    
         
             
                  # resource path
         
     | 
| 
       1969 
2588 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Queues".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       1970 
2589 
     | 
    
         | 
| 
         @@ -2021,6 +2640,11 @@ module Freeclimb 
     | 
|
| 
       2021 
2640 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2022 
2641 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_all_account_logs ..."
         
     | 
| 
       2023 
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 
     | 
    
         
            +
             
     | 
| 
       2024 
2648 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2025 
2649 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Logs".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2026 
2650 
     | 
    
         | 
| 
         @@ -2078,6 +2702,11 @@ module Freeclimb 
     | 
|
| 
       2078 
2702 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2079 
2703 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_applications ..."
         
     | 
| 
       2080 
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 
     | 
    
         
            +
             
     | 
| 
       2081 
2710 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2082 
2711 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Applications".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2083 
2712 
     | 
    
         | 
| 
         @@ -2204,6 +2833,68 @@ module Freeclimb 
     | 
|
| 
       2204 
2833 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       2205 
2834 
     | 
    
         
             
                end
         
     | 
| 
       2206 
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 
     | 
    
         
            +
             
     | 
| 
       2207 
2898 
     | 
    
         
             
                # List Call Logs
         
     | 
| 
       2208 
2899 
     | 
    
         
             
                # @param call_id [String] String that uniquely identifies this call resource.
         
     | 
| 
       2209 
2900 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -2221,6 +2912,10 @@ module Freeclimb 
     | 
|
| 
       2221 
2912 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2222 
2913 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_call_logs ..."
         
     | 
| 
       2223 
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
         
     | 
| 
       2224 
2919 
     | 
    
         | 
| 
       2225 
2920 
     | 
    
         
             
                  # verify the required parameter 'call_id' is set
         
     | 
| 
       2226 
2921 
     | 
    
         
             
                  if @api_client.config.client_side_validation && call_id.nil?
         
     | 
| 
         @@ -2285,6 +2980,10 @@ module Freeclimb 
     | 
|
| 
       2285 
2980 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2286 
2981 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_call_recordings ..."
         
     | 
| 
       2287 
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
         
     | 
| 
       2288 
2987 
     | 
    
         | 
| 
       2289 
2988 
     | 
    
         
             
                  # verify the required parameter 'call_id' is set
         
     | 
| 
       2290 
2989 
     | 
    
         
             
                  if @api_client.config.client_side_validation && call_id.nil?
         
     | 
| 
         @@ -2341,6 +3040,8 @@ module Freeclimb 
     | 
|
| 
       2341 
3040 
     | 
    
         
             
                # @option opts [String] :end_time Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss.
         
     | 
| 
       2342 
3041 
     | 
    
         
             
                # @option opts [String] :parent_call_id Only show Calls spawned by the call with this ID.
         
     | 
| 
       2343 
3042 
     | 
    
         
             
                # @option opts [Array<String>] :application_id Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications.
         
     | 
| 
      
 3043 
     | 
    
         
            +
                # @option opts [Integer] :risk_score_min The minimum riskScore that should be included in the list.
         
     | 
| 
      
 3044 
     | 
    
         
            +
                # @option opts [Integer] :risk_score_max The maximum riskScore that should be included in the list.
         
     | 
| 
       2344 
3045 
     | 
    
         
             
                # @return [CallList]
         
     | 
| 
       2345 
3046 
     | 
    
         
             
                def list_calls(opts = {})
         
     | 
| 
       2346 
3047 
     | 
    
         
             
                  data, _status_code, _headers = list_calls_with_http_info(opts)
         
     | 
| 
         @@ -2357,11 +3058,18 @@ module Freeclimb 
     | 
|
| 
       2357 
3058 
     | 
    
         
             
                # @option opts [String] :end_time Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss.
         
     | 
| 
       2358 
3059 
     | 
    
         
             
                # @option opts [String] :parent_call_id Only show Calls spawned by the call with this ID.
         
     | 
| 
       2359 
3060 
     | 
    
         
             
                # @option opts [Array<String>] :application_id Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications.
         
     | 
| 
      
 3061 
     | 
    
         
            +
                # @option opts [Integer] :risk_score_min The minimum riskScore that should be included in the list.
         
     | 
| 
      
 3062 
     | 
    
         
            +
                # @option opts [Integer] :risk_score_max The maximum riskScore that should be included in the list.
         
     | 
| 
       2360 
3063 
     | 
    
         
             
                # @return [Array<(CallList, Integer, Hash)>] CallList data, response status code and response headers
         
     | 
| 
       2361 
3064 
     | 
    
         
             
                def list_calls_with_http_info(opts = {})
         
     | 
| 
       2362 
3065 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2363 
3066 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_calls ..."
         
     | 
| 
       2364 
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 
     | 
    
         
            +
             
     | 
| 
       2365 
3073 
     | 
    
         
             
                  if @api_client.config.client_side_validation && !opts[:application_id].nil? && opts[:application_id].length > 16
         
     | 
| 
       2366 
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.'
         
     | 
| 
       2367 
3075 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -2379,6 +3087,8 @@ module Freeclimb 
     | 
|
| 
       2379 
3087 
     | 
    
         
             
                  query_params[:endTime] = opts[:end_time] if !opts[:end_time].nil?
         
     | 
| 
       2380 
3088 
     | 
    
         
             
                  query_params[:parentCallId] = opts[:parent_call_id] if !opts[:parent_call_id].nil?
         
     | 
| 
       2381 
3089 
     | 
    
         
             
                  query_params[:applicationId] = @api_client.build_collection_param(opts[:application_id], :multi) if !opts[:application_id].nil?
         
     | 
| 
      
 3090 
     | 
    
         
            +
                  query_params[:riskScoreMin] = opts[:risk_score_min] if !opts[:risk_score_min].nil?
         
     | 
| 
      
 3091 
     | 
    
         
            +
                  query_params[:riskScoreMax] = opts[:risk_score_max] if !opts[:risk_score_max].nil?
         
     | 
| 
       2382 
3092 
     | 
    
         | 
| 
       2383 
3093 
     | 
    
         
             
                  # header parameters
         
     | 
| 
       2384 
3094 
     | 
    
         
             
                  header_params = opts[:header_params] || {}
         
     | 
| 
         @@ -2435,6 +3145,10 @@ module Freeclimb 
     | 
|
| 
       2435 
3145 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2436 
3146 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_conference_recordings ..."
         
     | 
| 
       2437 
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
         
     | 
| 
       2438 
3152 
     | 
    
         | 
| 
       2439 
3153 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       2440 
3154 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -2505,6 +3219,11 @@ module Freeclimb 
     | 
|
| 
       2505 
3219 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2506 
3220 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_conferences ..."
         
     | 
| 
       2507 
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 
     | 
    
         
            +
             
     | 
| 
       2508 
3227 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2509 
3228 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Conferences".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2510 
3229 
     | 
    
         | 
| 
         @@ -2549,6 +3268,72 @@ module Freeclimb 
     | 
|
| 
       2549 
3268 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       2550 
3269 
     | 
    
         
             
                end
         
     | 
| 
       2551 
3270 
     | 
    
         | 
| 
      
 3271 
     | 
    
         
            +
                # List Exports
         
     | 
| 
      
 3272 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 3273 
     | 
    
         
            +
                # @option opts [ExportStatus] :status Status of export
         
     | 
| 
      
 3274 
     | 
    
         
            +
                # @option opts [String] :cursor Used to reference pages of a list of exports
         
     | 
| 
      
 3275 
     | 
    
         
            +
                # @return [ExportList]
         
     | 
| 
      
 3276 
     | 
    
         
            +
                def list_exports(opts = {})
         
     | 
| 
      
 3277 
     | 
    
         
            +
                  data, _status_code, _headers = list_exports_with_http_info(opts)
         
     | 
| 
      
 3278 
     | 
    
         
            +
                  data
         
     | 
| 
      
 3279 
     | 
    
         
            +
                end
         
     | 
| 
      
 3280 
     | 
    
         
            +
             
     | 
| 
      
 3281 
     | 
    
         
            +
                # List Exports
         
     | 
| 
      
 3282 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 3283 
     | 
    
         
            +
                # @option opts [ExportStatus] :status Status of export
         
     | 
| 
      
 3284 
     | 
    
         
            +
                # @option opts [String] :cursor Used to reference pages of a list of exports
         
     | 
| 
      
 3285 
     | 
    
         
            +
                # @return [Array<(ExportList, Integer, Hash)>] ExportList data, response status code and response headers
         
     | 
| 
      
 3286 
     | 
    
         
            +
                def list_exports_with_http_info(opts = {})
         
     | 
| 
      
 3287 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 3288 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_exports ..."
         
     | 
| 
      
 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 
     | 
    
         
            +
             
     | 
| 
      
 3295 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 3296 
     | 
    
         
            +
                  local_var_path = "/Accounts/{accountId}/Exports".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
      
 3297 
     | 
    
         
            +
             
     | 
| 
      
 3298 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 3299 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 3300 
     | 
    
         
            +
                  query_params[:status] = opts[:status] if !opts[:status].nil?
         
     | 
| 
      
 3301 
     | 
    
         
            +
                  query_params[:cursor] = opts[:cursor] if !opts[:cursor].nil?
         
     | 
| 
      
 3302 
     | 
    
         
            +
             
     | 
| 
      
 3303 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 3304 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 3305 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 3306 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["application/json"])
         
     | 
| 
      
 3307 
     | 
    
         
            +
             
     | 
| 
      
 3308 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 3309 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 3310 
     | 
    
         
            +
             
     | 
| 
      
 3311 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 3312 
     | 
    
         
            +
                  post_body = opts[:debug_body]
         
     | 
| 
      
 3313 
     | 
    
         
            +
             
     | 
| 
      
 3314 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 3315 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || "ExportList"
         
     | 
| 
      
 3316 
     | 
    
         
            +
             
     | 
| 
      
 3317 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 3318 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ["fc"]
         
     | 
| 
      
 3319 
     | 
    
         
            +
             
     | 
| 
      
 3320 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 3321 
     | 
    
         
            +
                    operation: :"DefaultApi.list_exports",
         
     | 
| 
      
 3322 
     | 
    
         
            +
                    header_params: header_params,
         
     | 
| 
      
 3323 
     | 
    
         
            +
                    query_params: query_params,
         
     | 
| 
      
 3324 
     | 
    
         
            +
                    form_params: form_params,
         
     | 
| 
      
 3325 
     | 
    
         
            +
                    body: post_body,
         
     | 
| 
      
 3326 
     | 
    
         
            +
                    auth_names: auth_names,
         
     | 
| 
      
 3327 
     | 
    
         
            +
                    return_type: return_type
         
     | 
| 
      
 3328 
     | 
    
         
            +
                  )
         
     | 
| 
      
 3329 
     | 
    
         
            +
             
     | 
| 
      
 3330 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 3331 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 3332 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DefaultApi#list_exports\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 3333 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3334 
     | 
    
         
            +
                  [data, status_code, headers]
         
     | 
| 
      
 3335 
     | 
    
         
            +
                end
         
     | 
| 
      
 3336 
     | 
    
         
            +
             
     | 
| 
       2552 
3337 
     | 
    
         
             
                # List Incoming Numbers
         
     | 
| 
       2553 
3338 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
       2554 
3339 
     | 
    
         
             
                # @option opts [String] :phone_number Only show incoming phone number resources that match this PCRE-compatible regular expression.
         
     | 
| 
         @@ -2557,8 +3342,6 @@ module Freeclimb 
     | 
|
| 
       2557 
3342 
     | 
    
         
             
                # @option opts [String] :country Country of this phone number.
         
     | 
| 
       2558 
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.
         
     | 
| 
       2559 
3344 
     | 
    
         
             
                # @option opts [Boolean] :has_application Indication of whether the phone number has an application linked to it. (default to false)
         
     | 
| 
       2560 
     | 
    
         
            -
                # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (default to true)
         
     | 
| 
       2561 
     | 
    
         
            -
                # @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)
         
     | 
| 
       2562 
3345 
     | 
    
         
             
                # @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
         
     | 
| 
       2563 
3346 
     | 
    
         
             
                # @option opts [Boolean] :capabilities_voice
         
     | 
| 
       2564 
3347 
     | 
    
         
             
                # @option opts [Boolean] :capabilities_sms
         
     | 
| 
         @@ -2581,8 +3364,6 @@ module Freeclimb 
     | 
|
| 
       2581 
3364 
     | 
    
         
             
                # @option opts [String] :country Country of this phone number.
         
     | 
| 
       2582 
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.
         
     | 
| 
       2583 
3366 
     | 
    
         
             
                # @option opts [Boolean] :has_application Indication of whether the phone number has an application linked to it.
         
     | 
| 
       2584 
     | 
    
         
            -
                # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
         
     | 
| 
       2585 
     | 
    
         
            -
                # @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.
         
     | 
| 
       2586 
3367 
     | 
    
         
             
                # @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
         
     | 
| 
       2587 
3368 
     | 
    
         
             
                # @option opts [Boolean] :capabilities_voice
         
     | 
| 
       2588 
3369 
     | 
    
         
             
                # @option opts [Boolean] :capabilities_sms
         
     | 
| 
         @@ -2596,6 +3377,11 @@ module Freeclimb 
     | 
|
| 
       2596 
3377 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2597 
3378 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_incoming_numbers ..."
         
     | 
| 
       2598 
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 
     | 
    
         
            +
             
     | 
| 
       2599 
3385 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2600 
3386 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/IncomingPhoneNumbers".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2601 
3387 
     | 
    
         | 
| 
         @@ -2607,8 +3393,6 @@ module Freeclimb 
     | 
|
| 
       2607 
3393 
     | 
    
         
             
                  query_params[:country] = opts[:country] if !opts[:country].nil?
         
     | 
| 
       2608 
3394 
     | 
    
         
             
                  query_params[:applicationId] = opts[:application_id] if !opts[:application_id].nil?
         
     | 
| 
       2609 
3395 
     | 
    
         
             
                  query_params[:hasApplication] = opts[:has_application] if !opts[:has_application].nil?
         
     | 
| 
       2610 
     | 
    
         
            -
                  query_params[:voiceEnabled] = opts[:voice_enabled] if !opts[:voice_enabled].nil?
         
     | 
| 
       2611 
     | 
    
         
            -
                  query_params[:smsEnabled] = opts[:sms_enabled] if !opts[:sms_enabled].nil?
         
     | 
| 
       2612 
3396 
     | 
    
         
             
                  query_params[:hasCampaign] = opts[:has_campaign] if !opts[:has_campaign].nil?
         
     | 
| 
       2613 
3397 
     | 
    
         
             
                  query_params[:"capabilities.voice"] = opts[:capabilities_voice] if !opts[:capabilities_voice].nil?
         
     | 
| 
       2614 
3398 
     | 
    
         
             
                  query_params[:"capabilities.sms"] = opts[:capabilities_sms] if !opts[:capabilities_sms].nil?
         
     | 
| 
         @@ -2669,6 +3453,10 @@ module Freeclimb 
     | 
|
| 
       2669 
3453 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2670 
3454 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_members ..."
         
     | 
| 
       2671 
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
         
     | 
| 
       2672 
3460 
     | 
    
         | 
| 
       2673 
3461 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       2674 
3462 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -2737,6 +3525,10 @@ module Freeclimb 
     | 
|
| 
       2737 
3525 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2738 
3526 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_participants ..."
         
     | 
| 
       2739 
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
         
     | 
| 
       2740 
3532 
     | 
    
         | 
| 
       2741 
3533 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       2742 
3534 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -2806,6 +3598,11 @@ module Freeclimb 
     | 
|
| 
       2806 
3598 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2807 
3599 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_recordings ..."
         
     | 
| 
       2808 
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 
     | 
    
         
            +
             
     | 
| 
       2809 
3606 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2810 
3607 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Recordings".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2811 
3608 
     | 
    
         | 
| 
         @@ -2880,6 +3677,11 @@ module Freeclimb 
     | 
|
| 
       2880 
3677 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2881 
3678 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.list_sms_messages ..."
         
     | 
| 
       2882 
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 
     | 
    
         
            +
             
     | 
| 
       2883 
3685 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2884 
3686 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Messages".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2885 
3687 
     | 
    
         | 
| 
         @@ -2945,6 +3747,11 @@ module Freeclimb 
     | 
|
| 
       2945 
3747 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       2946 
3748 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.make_a_call ..."
         
     | 
| 
       2947 
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 
     | 
    
         
            +
             
     | 
| 
       2948 
3755 
     | 
    
         
             
                  # resource path
         
     | 
| 
       2949 
3756 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}/Calls".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       2950 
3757 
     | 
    
         | 
| 
         @@ -3007,6 +3814,10 @@ module Freeclimb 
     | 
|
| 
       3007 
3814 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3008 
3815 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.make_a_webrtc_jwt ..."
         
     | 
| 
       3009 
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
         
     | 
| 
       3010 
3821 
     | 
    
         | 
| 
       3011 
3822 
     | 
    
         
             
                  # verify the required parameter 'create_web_rtc_token' is set
         
     | 
| 
       3012 
3823 
     | 
    
         
             
                  if @api_client.config.client_side_validation && create_web_rtc_token.nil?
         
     | 
| 
         @@ -3057,6 +3868,90 @@ module Freeclimb 
     | 
|
| 
       3057 
3868 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       3058 
3869 
     | 
    
         
             
                end
         
     | 
| 
       3059 
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 
     | 
    
         
            +
             
     | 
| 
       3060 
3955 
     | 
    
         
             
                # Remove a Participant
         
     | 
| 
       3061 
3956 
     | 
    
         
             
                # @param conference_id [String] ID of the conference this participant is in.
         
     | 
| 
       3062 
3957 
     | 
    
         
             
                # @param call_id [String] ID of the Call associated with this participant.
         
     | 
| 
         @@ -3076,6 +3971,10 @@ module Freeclimb 
     | 
|
| 
       3076 
3971 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3077 
3972 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.remove_a_participant ..."
         
     | 
| 
       3078 
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
         
     | 
| 
       3079 
3978 
     | 
    
         | 
| 
       3080 
3979 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       3081 
3980 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -3124,6 +4023,90 @@ module Freeclimb 
     | 
|
| 
       3124 
4023 
     | 
    
         
             
                  [data, status_code, headers]
         
     | 
| 
       3125 
4024 
     | 
    
         
             
                end
         
     | 
| 
       3126 
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 
     | 
    
         
            +
             
     | 
| 
       3127 
4110 
     | 
    
         
             
                # Send an SMS Message
         
     | 
| 
       3128 
4111 
     | 
    
         
             
                # @param message_request [MessageRequest] Details to create a message
         
     | 
| 
       3129 
4112 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -3141,6 +4124,10 @@ module Freeclimb 
     | 
|
| 
       3141 
4124 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3142 
4125 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.send_an_sms_message ..."
         
     | 
| 
       3143 
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
         
     | 
| 
       3144 
4131 
     | 
    
         | 
| 
       3145 
4132 
     | 
    
         
             
                  # verify the required parameter 'message_request' is set
         
     | 
| 
       3146 
4133 
     | 
    
         
             
                  if @api_client.config.client_side_validation && message_request.nil?
         
     | 
| 
         @@ -3208,6 +4195,10 @@ module Freeclimb 
     | 
|
| 
       3208 
4195 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3209 
4196 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.stream_a_recording_file ..."
         
     | 
| 
       3210 
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
         
     | 
| 
       3211 
4202 
     | 
    
         | 
| 
       3212 
4203 
     | 
    
         
             
                  # verify the required parameter 'recording_id' is set
         
     | 
| 
       3213 
4204 
     | 
    
         
             
                  if @api_client.config.client_side_validation && recording_id.nil?
         
     | 
| 
         @@ -3222,7 +4213,7 @@ module Freeclimb 
     | 
|
| 
       3222 
4213 
     | 
    
         
             
                  # header parameters
         
     | 
| 
       3223 
4214 
     | 
    
         
             
                  header_params = opts[:header_params] || {}
         
     | 
| 
       3224 
4215 
     | 
    
         
             
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
       3225 
     | 
    
         
            -
                  header_params["Accept"] = @api_client.select_header_accept(["audio/ 
     | 
| 
      
 4216 
     | 
    
         
            +
                  header_params["Accept"] = @api_client.select_header_accept(["audio/wav"])
         
     | 
| 
       3226 
4217 
     | 
    
         | 
| 
       3227 
4218 
     | 
    
         
             
                  # form parameters
         
     | 
| 
       3228 
4219 
     | 
    
         
             
                  form_params = opts[:form_params] || {}
         
     | 
| 
         @@ -3272,6 +4263,10 @@ module Freeclimb 
     | 
|
| 
       3272 
4263 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3273 
4264 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_a_conference ..."
         
     | 
| 
       3274 
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
         
     | 
| 
       3275 
4270 
     | 
    
         | 
| 
       3276 
4271 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       3277 
4272 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -3339,6 +4334,10 @@ module Freeclimb 
     | 
|
| 
       3339 
4334 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3340 
4335 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_a_live_call ..."
         
     | 
| 
       3341 
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
         
     | 
| 
       3342 
4341 
     | 
    
         | 
| 
       3343 
4342 
     | 
    
         
             
                  # verify the required parameter 'call_id' is set
         
     | 
| 
       3344 
4343 
     | 
    
         
             
                  if @api_client.config.client_side_validation && call_id.nil?
         
     | 
| 
         @@ -3413,6 +4412,10 @@ module Freeclimb 
     | 
|
| 
       3413 
4412 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3414 
4413 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_a_participant ..."
         
     | 
| 
       3415 
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
         
     | 
| 
       3416 
4419 
     | 
    
         | 
| 
       3417 
4420 
     | 
    
         
             
                  # verify the required parameter 'conference_id' is set
         
     | 
| 
       3418 
4421 
     | 
    
         
             
                  if @api_client.config.client_side_validation && conference_id.nil?
         
     | 
| 
         @@ -3487,6 +4490,10 @@ module Freeclimb 
     | 
|
| 
       3487 
4490 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3488 
4491 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_a_queue ..."
         
     | 
| 
       3489 
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
         
     | 
| 
       3490 
4497 
     | 
    
         | 
| 
       3491 
4498 
     | 
    
         
             
                  # verify the required parameter 'queue_id' is set
         
     | 
| 
       3492 
4499 
     | 
    
         
             
                  if @api_client.config.client_side_validation && queue_id.nil?
         
     | 
| 
         @@ -3554,6 +4561,11 @@ module Freeclimb 
     | 
|
| 
       3554 
4561 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3555 
4562 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_an_account ..."
         
     | 
| 
       3556 
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 
     | 
    
         
            +
             
     | 
| 
       3557 
4569 
     | 
    
         
             
                  # resource path
         
     | 
| 
       3558 
4570 
     | 
    
         
             
                  local_var_path = "/Accounts/{accountId}".sub("{" + "accountId" + "}", CGI.escape(account_id.to_s))
         
     | 
| 
       3559 
4571 
     | 
    
         | 
| 
         @@ -3616,6 +4628,10 @@ module Freeclimb 
     | 
|
| 
       3616 
4628 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3617 
4629 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_an_application ..."
         
     | 
| 
       3618 
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
         
     | 
| 
       3619 
4635 
     | 
    
         | 
| 
       3620 
4636 
     | 
    
         
             
                  # verify the required parameter 'application_id' is set
         
     | 
| 
       3621 
4637 
     | 
    
         
             
                  if @api_client.config.client_side_validation && application_id.nil?
         
     | 
| 
         @@ -3685,6 +4701,10 @@ module Freeclimb 
     | 
|
| 
       3685 
4701 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       3686 
4702 
     | 
    
         
             
                    @api_client.config.logger.debug "Calling API: DefaultApi.update_an_incoming_number ..."
         
     | 
| 
       3687 
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
         
     | 
| 
       3688 
4708 
     | 
    
         | 
| 
       3689 
4709 
     | 
    
         
             
                  # verify the required parameter 'phone_number_id' is set
         
     | 
| 
       3690 
4710 
     | 
    
         
             
                  if @api_client.config.client_side_validation && phone_number_id.nil?
         
     |