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.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -2
  3. data/Gemfile.lock +3 -3
  4. data/README.md +31 -4
  5. data/docs/AvailableNumber.md +0 -4
  6. data/docs/BlobListResponse.md +32 -0
  7. data/docs/BlobResult.md +32 -0
  8. data/docs/CallResult.md +2 -2
  9. data/docs/CreateBlobRequest.md +22 -0
  10. data/docs/CreateConference.md +4 -2
  11. data/docs/DefaultApi.md +835 -25
  12. data/docs/ExportList.md +32 -0
  13. data/docs/ExportOutputType.md +16 -0
  14. data/docs/ExportRequest.md +24 -0
  15. data/docs/ExportRequestOutput.md +18 -0
  16. data/docs/ExportResourceType.md +17 -0
  17. data/docs/ExportResult.md +40 -0
  18. data/docs/ExportResultOutput.md +18 -0
  19. data/docs/ExportStatus.md +21 -0
  20. data/docs/IncomingNumberResult.md +0 -4
  21. data/docs/ModifyBlobRequest.md +20 -0
  22. data/docs/PlatformError.md +24 -0
  23. data/docs/ReplaceBlobRequest.md +18 -0
  24. data/docs/Say.md +2 -0
  25. data/docs/TTSEngine.md +20 -0
  26. data/docs/TTSEngineName.md +18 -0
  27. data/lib/freeclimb/api/default_api.rb +1032 -12
  28. data/lib/freeclimb/models/available_number.rb +1 -23
  29. data/lib/freeclimb/models/blob_list_response.rb +303 -0
  30. data/lib/freeclimb/models/blob_result.rb +332 -0
  31. data/lib/freeclimb/models/call_result.rb +8 -8
  32. data/lib/freeclimb/models/create_blob_request.rb +255 -0
  33. data/lib/freeclimb/models/create_conference.rb +15 -5
  34. data/lib/freeclimb/models/export_list.rb +304 -0
  35. data/lib/freeclimb/models/export_output_type.rb +34 -0
  36. data/lib/freeclimb/models/export_request.rb +276 -0
  37. data/lib/freeclimb/models/export_request_output.rb +243 -0
  38. data/lib/freeclimb/models/export_resource_type.rb +35 -0
  39. data/lib/freeclimb/models/export_result.rb +405 -0
  40. data/lib/freeclimb/models/export_result_output.rb +243 -0
  41. data/lib/freeclimb/models/export_status.rb +39 -0
  42. data/lib/freeclimb/models/incoming_number_result.rb +1 -23
  43. data/lib/freeclimb/models/modify_blob_request.rb +245 -0
  44. data/lib/freeclimb/models/platform_error.rb +244 -0
  45. data/lib/freeclimb/models/replace_blob_request.rb +221 -0
  46. data/lib/freeclimb/models/say.rb +10 -1
  47. data/lib/freeclimb/models/tts_engine.rb +250 -0
  48. data/lib/freeclimb/models/tts_engine_name.rb +36 -0
  49. data/lib/freeclimb/version.rb +1 -1
  50. data/lib/freeclimb.rb +16 -0
  51. data/openapi.json +1245 -80
  52. data/spec/api/default_api_spec.rb +328 -33
  53. data/spec/models/account_result_spec.rb +3 -3
  54. data/spec/models/available_number_spec.rb +3 -98
  55. data/spec/models/blob_list_response_spec.rb +502 -0
  56. data/spec/models/blob_result_spec.rb +489 -0
  57. data/spec/models/call_result_spec.rb +39 -39
  58. data/spec/models/conference_result_spec.rb +3 -3
  59. data/spec/models/create_blob_request_spec.rb +273 -0
  60. data/spec/models/create_conference_spec.rb +83 -35
  61. data/spec/models/export_list_spec.rb +502 -0
  62. data/spec/models/export_output_type_spec.rb +43 -0
  63. data/spec/models/export_request_output_spec.rb +162 -0
  64. data/spec/models/export_request_spec.rb +320 -0
  65. data/spec/models/export_resource_type_spec.rb +59 -0
  66. data/spec/models/export_result_output_spec.rb +162 -0
  67. data/spec/models/export_result_spec.rb +718 -0
  68. data/spec/models/export_status_spec.rb +123 -0
  69. data/spec/models/incoming_number_result_spec.rb +6 -102
  70. data/spec/models/log_result_spec.rb +3 -3
  71. data/spec/models/message_result_spec.rb +3 -3
  72. data/spec/models/modify_blob_request_spec.rb +226 -0
  73. data/spec/models/platform_error_spec.rb +318 -0
  74. data/spec/models/queue_result_spec.rb +3 -3
  75. data/spec/models/replace_blob_request_spec.rb +176 -0
  76. data/spec/models/say_spec.rb +50 -0
  77. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +3 -3
  78. data/spec/models/transcribe_utterance_spec.rb +3 -3
  79. data/spec/models/tts_engine_name_spec.rb +75 -0
  80. data/spec/models/tts_engine_spec.rb +183 -0
  81. data/spec/spec_helper.rb +1 -1
  82. data/yarn.lock +29 -29
  83. metadata +50 -2
data/docs/DefaultApi.md CHANGED
@@ -12,20 +12,30 @@ All URIs are relative to *https://www.freeclimb.com/apiserver*
12
12
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
13
13
  | [**create_an_application**](DefaultApi.md#create_an_application) | **POST** /Accounts/{accountId}/Applications | Create an application |
14
14
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
15
+ | [**create_blob**](DefaultApi.md#create_blob) | **POST** /Accounts/{accountId}/Blobs | Create a Blob |
16
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
17
+ | [**create_export**](DefaultApi.md#create_export) | **POST** /Accounts/{accountId}/Exports | Create an Export |
18
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
15
19
  | [**create_knowledge_base_completion**](DefaultApi.md#create_knowledge_base_completion) | **POST** /Accounts/{accountId}/KnowledgeBases/{knowledgeBaseId}/Completion | Query the knowledge base |
16
20
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
17
21
  | [**delete_a_recording**](DefaultApi.md#delete_a_recording) | **DELETE** /Accounts/{accountId}/Recordings/{recordingId} | Delete a Recording |
18
22
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
19
23
  | [**delete_an_application**](DefaultApi.md#delete_an_application) | **DELETE** /Accounts/{accountId}/Applications/{applicationId} | Delete an application |
20
24
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
25
+ | [**delete_an_export**](DefaultApi.md#delete_an_export) | **DELETE** /Accounts/{accountId}/Exports/{exportId} | Delete an Export |
26
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
21
27
  | [**delete_an_incoming_number**](DefaultApi.md#delete_an_incoming_number) | **DELETE** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Delete an Incoming Number |
22
28
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
29
+ | [**delete_blob**](DefaultApi.md#delete_blob) | **DELETE** /Accounts/{accountId}/Blobs/{blobId} | Delete Blob |
30
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
23
31
  | [**dequeue_a_member**](DefaultApi.md#dequeue_a_member) | **POST** /Accounts/{accountId}/Queues/{queueId}/Members/{callId} | Dequeue a Member |
24
32
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
25
33
  | [**dequeue_head_member**](DefaultApi.md#dequeue_head_member) | **POST** /Accounts/{accountId}/Queues/{queueId}/Members/Front | Dequeue Head Member |
26
34
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
27
35
  | [**download_a_recording_file**](DefaultApi.md#download_a_recording_file) | **GET** /Accounts/{accountId}/Recordings/{recordingId}/Download | Download a Recording File |
28
36
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
37
+ | [**download_an_export**](DefaultApi.md#download_an_export) | **GET** /Accounts/{accountId}/Exports/{exportId}/Download | Download an Export |
38
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
29
39
  | [**filter_logs**](DefaultApi.md#filter_logs) | **POST** /Accounts/{accountId}/Logs | Filter Logs |
30
40
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
31
41
  | [**get_a_call**](DefaultApi.md#get_a_call) | **GET** /Accounts/{accountId}/Calls/{callId} | Get a Call |
@@ -44,10 +54,14 @@ All URIs are relative to *https://www.freeclimb.com/apiserver*
44
54
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
45
55
  | [**get_an_application**](DefaultApi.md#get_an_application) | **GET** /Accounts/{accountId}/Applications/{applicationId} | Get an Application |
46
56
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
57
+ | [**get_an_export**](DefaultApi.md#get_an_export) | **GET** /Accounts/{accountId}/Exports/{exportId} | Get an Export |
58
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
47
59
  | [**get_an_incoming_number**](DefaultApi.md#get_an_incoming_number) | **GET** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Get an Incoming Number |
48
60
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
49
61
  | [**get_an_sms_message**](DefaultApi.md#get_an_sms_message) | **GET** /Accounts/{accountId}/Messages/{messageId} | Get an SMS Message |
50
62
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
63
+ | [**get_blob**](DefaultApi.md#get_blob) | **GET** /Accounts/{accountId}/Blobs/{blobId} | Get Blob |
64
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
51
65
  | [**get_head_member**](DefaultApi.md#get_head_member) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members/Front | Get Head Member |
52
66
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
53
67
  | [**get_ten_dlc_sms_brand**](DefaultApi.md#get_ten_dlc_sms_brand) | **GET** /Accounts/{accountId}/Messages/10DLC/Brands/{brandId} | Get a 10DLC SMS Brand |
@@ -74,6 +88,8 @@ All URIs are relative to *https://www.freeclimb.com/apiserver*
74
88
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
75
89
  | [**list_available_numbers**](DefaultApi.md#list_available_numbers) | **GET** /AvailablePhoneNumbers | List available numbers |
76
90
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
91
+ | [**list_blobs**](DefaultApi.md#list_blobs) | **GET** /Accounts/{accountId}/Blobs | List Blobs belonging to an account. |
92
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
77
93
  | [**list_call_logs**](DefaultApi.md#list_call_logs) | **GET** /Accounts/{accountId}/Calls/{callId}/Logs | List Call Logs |
78
94
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
79
95
  | [**list_call_recordings**](DefaultApi.md#list_call_recordings) | **GET** /Accounts/{accountId}/Calls/{callId}/Recordings | List Call Recordings |
@@ -84,6 +100,8 @@ All URIs are relative to *https://www.freeclimb.com/apiserver*
84
100
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
85
101
  | [**list_conferences**](DefaultApi.md#list_conferences) | **GET** /Accounts/{accountId}/Conferences | List Conferences |
86
102
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
103
+ | [**list_exports**](DefaultApi.md#list_exports) | **GET** /Accounts/{accountId}/Exports | List Exports |
104
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
87
105
  | [**list_incoming_numbers**](DefaultApi.md#list_incoming_numbers) | **GET** /Accounts/{accountId}/IncomingPhoneNumbers | List Incoming Numbers |
88
106
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
89
107
  | [**list_members**](DefaultApi.md#list_members) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members | List Members |
@@ -98,8 +116,12 @@ All URIs are relative to *https://www.freeclimb.com/apiserver*
98
116
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
99
117
  | [**make_a_webrtc_jwt**](DefaultApi.md#make_a_webrtc_jwt) | **POST** /Accounts/{accountId}/Calls/WebRTC/Token | Make a JWT for WebRTC calling |
100
118
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
119
+ | [**modify_blob**](DefaultApi.md#modify_blob) | **PATCH** /Accounts/{accountId}/Blobs/{blobId} | Modify Blob |
120
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
101
121
  | [**remove_a_participant**](DefaultApi.md#remove_a_participant) | **DELETE** /Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId} | Remove a Participant |
102
122
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
123
+ | [**replace_blob**](DefaultApi.md#replace_blob) | **PUT** /Accounts/{accountId}/Blobs/{blobId} | Replace Blob |
124
+ | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
103
125
  | [**send_an_sms_message**](DefaultApi.md#send_an_sms_message) | **POST** /Accounts/{accountId}/Messages | Send an SMS Message |
104
126
  | [**get_next_page**](DefaultApi.md#get_next_page) | **GET** | Get next page of paginated resource |
105
127
  | [**stream_a_recording_file**](DefaultApi.md#stream_a_recording_file) | **GET** /Accounts/{accountId}/Recordings/{recordingId}/Stream | Stream a Recording File |
@@ -403,6 +425,149 @@ end
403
425
  - **Accept**: application/json
404
426
 
405
427
 
428
+ ## create_blob
429
+
430
+ Create a Blob
431
+
432
+ Create a new Blob belonging to the requesting account.
433
+
434
+ ### Examples
435
+
436
+ ```ruby
437
+ require 'time'
438
+ require 'freeclimb'
439
+ # setup authorization
440
+ Freeclimb.configure do |config|
441
+ # Configure HTTP basic authorization: fc
442
+ config.username = 'ACCOUNT_ID'
443
+ config.password = 'API_KEY'
444
+ end
445
+
446
+ api_instance = Freeclimb::DefaultApi.new
447
+
448
+ create_blob_request = Freeclimb::CreateBlobRequest.new({blob: 3.56}) # CreateBlobRequest | An object defining a new blob. A request body must be provided but the blob may be empty.
449
+
450
+
451
+ begin
452
+
453
+ # Create a Blob
454
+ result = api_instance.create_blob(create_blob_request)
455
+ p result
456
+ rescue Freeclimb::ApiError => e
457
+ puts "Error when calling DefaultApi->create_blob: #{e}"
458
+ end
459
+ ```
460
+
461
+ #### Using the create_blob_with_http_info variant
462
+
463
+ This returns an Array which contains the response data, status code and headers.
464
+
465
+ > <Array(<BlobResult>, Integer, Hash)> create_blob_with_http_info(account_id, create_blob_request)
466
+
467
+ ```ruby
468
+ begin
469
+ # Create a Blob
470
+ data, status_code, headers = api_instance.create_blob_with_http_info(create_blob_request)
471
+ p status_code # => 2xx
472
+ p headers # => { ... }
473
+ p data # => <BlobResult>
474
+ rescue Freeclimb::ApiError => e
475
+ puts "Error when calling DefaultApi->create_blob_with_http_info: #{e}"
476
+ end
477
+ ```
478
+
479
+ ### Parameters
480
+
481
+ | Name | Type | Description | Notes |
482
+ | ---- | ---- | ----------- | ----- |
483
+ | **create_blob_request** | [**CreateBlobRequest**](CreateBlobRequest.md) | An object defining a new blob. A request body must be provided but the blob may be empty. | |
484
+
485
+
486
+ ### Return type
487
+
488
+ [**BlobResult**](BlobResult.md)
489
+
490
+ ### Authorization
491
+
492
+ [fc](../README.md#fc)
493
+
494
+ ### HTTP request headers
495
+
496
+ - **Content-Type**: application/json
497
+ - **Accept**: application/json
498
+
499
+
500
+ ## create_export
501
+
502
+ Create an Export
503
+
504
+ ### Examples
505
+
506
+ ```ruby
507
+ require 'time'
508
+ require 'freeclimb'
509
+ # setup authorization
510
+ Freeclimb.configure do |config|
511
+ # Configure HTTP basic authorization: fc
512
+ config.username = 'ACCOUNT_ID'
513
+ config.password = 'API_KEY'
514
+ end
515
+
516
+ api_instance = Freeclimb::DefaultApi.new
517
+
518
+ opts = {
519
+ export_request: Freeclimb::ExportRequest.new({resource_type: Freeclimb::ExportResourceType::MESSAGES, output: Freeclimb::ExportRequestOutput.new({type: Freeclimb::ExportOutputType::CSV})}) # ExportRequest | A JSON object containing export creation parameters
520
+ }
521
+
522
+ begin
523
+
524
+ # Create an Export
525
+ result = api_instance.create_export(opts)
526
+ p result
527
+ rescue Freeclimb::ApiError => e
528
+ puts "Error when calling DefaultApi->create_export: #{e}"
529
+ end
530
+ ```
531
+
532
+ #### Using the create_export_with_http_info variant
533
+
534
+ This returns an Array which contains the response data, status code and headers.
535
+
536
+ > <Array(<ExportResult>, Integer, Hash)> create_export_with_http_info(account_id, opts)
537
+
538
+ ```ruby
539
+ begin
540
+ # Create an Export
541
+ data, status_code, headers = api_instance.create_export_with_http_info(opts)
542
+ p status_code # => 2xx
543
+ p headers # => { ... }
544
+ p data # => <ExportResult>
545
+ rescue Freeclimb::ApiError => e
546
+ puts "Error when calling DefaultApi->create_export_with_http_info: #{e}"
547
+ end
548
+ ```
549
+
550
+ ### Parameters
551
+
552
+ | Name | Type | Description | Notes |
553
+ | ---- | ---- | ----------- | ----- |
554
+ | **export_request** | [**ExportRequest**](ExportRequest.md) | A JSON object containing export creation parameters | [optional] |
555
+
556
+
557
+ ### Return type
558
+
559
+ [**ExportResult**](ExportResult.md)
560
+
561
+ ### Authorization
562
+
563
+ [fc](../README.md#fc)
564
+
565
+ ### HTTP request headers
566
+
567
+ - **Content-Type**: application/json
568
+ - **Accept**: application/json
569
+
570
+
406
571
  ## create_knowledge_base_completion
407
572
 
408
573
  Query the knowledge base
@@ -615,6 +780,75 @@ nil (empty response body)
615
780
  - **Accept**: Not defined
616
781
 
617
782
 
783
+ ## delete_an_export
784
+
785
+ Delete an Export
786
+
787
+ ### Examples
788
+
789
+ ```ruby
790
+ require 'time'
791
+ require 'freeclimb'
792
+ # setup authorization
793
+ Freeclimb.configure do |config|
794
+ # Configure HTTP basic authorization: fc
795
+ config.username = 'ACCOUNT_ID'
796
+ config.password = 'API_KEY'
797
+ end
798
+
799
+ api_instance = Freeclimb::DefaultApi.new
800
+
801
+ export_id = 'export_id_example' # String | A string that uniquely identifies this export resource.
802
+
803
+
804
+ begin
805
+
806
+ # Delete an Export
807
+ api_instance.delete_an_export(export_id)
808
+ rescue Freeclimb::ApiError => e
809
+ puts "Error when calling DefaultApi->delete_an_export: #{e}"
810
+ end
811
+ ```
812
+
813
+ #### Using the delete_an_export_with_http_info variant
814
+
815
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
816
+
817
+ > <Array(nil, Integer, Hash)> delete_an_export_with_http_info(account_id, export_id)
818
+
819
+ ```ruby
820
+ begin
821
+ # Delete an Export
822
+ data, status_code, headers = api_instance.delete_an_export_with_http_info(export_id)
823
+ p status_code # => 2xx
824
+ p headers # => { ... }
825
+ p data # => nil
826
+ rescue Freeclimb::ApiError => e
827
+ puts "Error when calling DefaultApi->delete_an_export_with_http_info: #{e}"
828
+ end
829
+ ```
830
+
831
+ ### Parameters
832
+
833
+ | Name | Type | Description | Notes |
834
+ | ---- | ---- | ----------- | ----- |
835
+ | **export_id** | **String** | A string that uniquely identifies this export resource. | |
836
+
837
+
838
+ ### Return type
839
+
840
+ nil (empty response body)
841
+
842
+ ### Authorization
843
+
844
+ [fc](../README.md#fc)
845
+
846
+ ### HTTP request headers
847
+
848
+ - **Content-Type**: Not defined
849
+ - **Accept**: Not defined
850
+
851
+
618
852
  ## delete_an_incoming_number
619
853
 
620
854
  Delete an Incoming Number
@@ -684,6 +918,78 @@ nil (empty response body)
684
918
  - **Accept**: Not defined
685
919
 
686
920
 
921
+ ## delete_blob
922
+
923
+ Delete Blob
924
+
925
+ 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).
926
+
927
+ ### Examples
928
+
929
+ ```ruby
930
+ require 'time'
931
+ require 'freeclimb'
932
+ # setup authorization
933
+ Freeclimb.configure do |config|
934
+ # Configure HTTP basic authorization: fc
935
+ config.username = 'ACCOUNT_ID'
936
+ config.password = 'API_KEY'
937
+ end
938
+
939
+ api_instance = Freeclimb::DefaultApi.new
940
+
941
+ blob_id = 'blob_id_example' # String | String that uniquely identifies this Blob resource.
942
+
943
+
944
+ begin
945
+
946
+ # Delete Blob
947
+ result = api_instance.delete_blob(blob_id)
948
+ p result
949
+ rescue Freeclimb::ApiError => e
950
+ puts "Error when calling DefaultApi->delete_blob: #{e}"
951
+ end
952
+ ```
953
+
954
+ #### Using the delete_blob_with_http_info variant
955
+
956
+ This returns an Array which contains the response data, status code and headers.
957
+
958
+ > <Array(<BlobResult>, Integer, Hash)> delete_blob_with_http_info(account_id, blob_id)
959
+
960
+ ```ruby
961
+ begin
962
+ # Delete Blob
963
+ data, status_code, headers = api_instance.delete_blob_with_http_info(blob_id)
964
+ p status_code # => 2xx
965
+ p headers # => { ... }
966
+ p data # => <BlobResult>
967
+ rescue Freeclimb::ApiError => e
968
+ puts "Error when calling DefaultApi->delete_blob_with_http_info: #{e}"
969
+ end
970
+ ```
971
+
972
+ ### Parameters
973
+
974
+ | Name | Type | Description | Notes |
975
+ | ---- | ---- | ----------- | ----- |
976
+ | **blob_id** | **String** | String that uniquely identifies this Blob resource. | |
977
+
978
+
979
+ ### Return type
980
+
981
+ [**BlobResult**](BlobResult.md)
982
+
983
+ ### Authorization
984
+
985
+ [fc](../README.md#fc)
986
+
987
+ ### HTTP request headers
988
+
989
+ - **Content-Type**: Not defined
990
+ - **Accept**: application/json
991
+
992
+
687
993
  ## dequeue_a_member
688
994
 
689
995
  Dequeue a Member
@@ -894,7 +1200,77 @@ end
894
1200
  ### HTTP request headers
895
1201
 
896
1202
  - **Content-Type**: Not defined
897
- - **Accept**: audio/x-wav
1203
+ - **Accept**: audio/wav
1204
+
1205
+
1206
+ ## download_an_export
1207
+
1208
+ Download an Export
1209
+
1210
+ ### Examples
1211
+
1212
+ ```ruby
1213
+ require 'time'
1214
+ require 'freeclimb'
1215
+ # setup authorization
1216
+ Freeclimb.configure do |config|
1217
+ # Configure HTTP basic authorization: fc
1218
+ config.username = 'ACCOUNT_ID'
1219
+ config.password = 'API_KEY'
1220
+ end
1221
+
1222
+ api_instance = Freeclimb::DefaultApi.new
1223
+
1224
+ export_id = 'export_id_example' # String | A string that uniquely identifies this export resource.
1225
+
1226
+
1227
+ begin
1228
+
1229
+ # Download an Export
1230
+ result = api_instance.download_an_export(export_id)
1231
+ p result
1232
+ rescue Freeclimb::ApiError => e
1233
+ puts "Error when calling DefaultApi->download_an_export: #{e}"
1234
+ end
1235
+ ```
1236
+
1237
+ #### Using the download_an_export_with_http_info variant
1238
+
1239
+ This returns an Array which contains the response data, status code and headers.
1240
+
1241
+ > <Array(String, Integer, Hash)> download_an_export_with_http_info(account_id, export_id)
1242
+
1243
+ ```ruby
1244
+ begin
1245
+ # Download an Export
1246
+ data, status_code, headers = api_instance.download_an_export_with_http_info(export_id)
1247
+ p status_code # => 2xx
1248
+ p headers # => { ... }
1249
+ p data # => String
1250
+ rescue Freeclimb::ApiError => e
1251
+ puts "Error when calling DefaultApi->download_an_export_with_http_info: #{e}"
1252
+ end
1253
+ ```
1254
+
1255
+ ### Parameters
1256
+
1257
+ | Name | Type | Description | Notes |
1258
+ | ---- | ---- | ----------- | ----- |
1259
+ | **export_id** | **String** | A string that uniquely identifies this export resource. | |
1260
+
1261
+
1262
+ ### Return type
1263
+
1264
+ **String**
1265
+
1266
+ ### Authorization
1267
+
1268
+ [fc](../README.md#fc)
1269
+
1270
+ ### HTTP request headers
1271
+
1272
+ - **Content-Type**: Not defined
1273
+ - **Accept**: text/csv
898
1274
 
899
1275
 
900
1276
  ## filter_logs
@@ -1530,6 +1906,76 @@ end
1530
1906
  - **Accept**: application/json
1531
1907
 
1532
1908
 
1909
+ ## get_an_export
1910
+
1911
+ Get an Export
1912
+
1913
+ ### Examples
1914
+
1915
+ ```ruby
1916
+ require 'time'
1917
+ require 'freeclimb'
1918
+ # setup authorization
1919
+ Freeclimb.configure do |config|
1920
+ # Configure HTTP basic authorization: fc
1921
+ config.username = 'ACCOUNT_ID'
1922
+ config.password = 'API_KEY'
1923
+ end
1924
+
1925
+ api_instance = Freeclimb::DefaultApi.new
1926
+
1927
+ export_id = 'export_id_example' # String | A string that uniquely identifies this export resource.
1928
+
1929
+
1930
+ begin
1931
+
1932
+ # Get an Export
1933
+ result = api_instance.get_an_export(export_id)
1934
+ p result
1935
+ rescue Freeclimb::ApiError => e
1936
+ puts "Error when calling DefaultApi->get_an_export: #{e}"
1937
+ end
1938
+ ```
1939
+
1940
+ #### Using the get_an_export_with_http_info variant
1941
+
1942
+ This returns an Array which contains the response data, status code and headers.
1943
+
1944
+ > <Array(<ExportResult>, Integer, Hash)> get_an_export_with_http_info(account_id, export_id)
1945
+
1946
+ ```ruby
1947
+ begin
1948
+ # Get an Export
1949
+ data, status_code, headers = api_instance.get_an_export_with_http_info(export_id)
1950
+ p status_code # => 2xx
1951
+ p headers # => { ... }
1952
+ p data # => <ExportResult>
1953
+ rescue Freeclimb::ApiError => e
1954
+ puts "Error when calling DefaultApi->get_an_export_with_http_info: #{e}"
1955
+ end
1956
+ ```
1957
+
1958
+ ### Parameters
1959
+
1960
+ | Name | Type | Description | Notes |
1961
+ | ---- | ---- | ----------- | ----- |
1962
+ | **export_id** | **String** | A string that uniquely identifies this export resource. | |
1963
+
1964
+
1965
+ ### Return type
1966
+
1967
+ [**ExportResult**](ExportResult.md)
1968
+
1969
+ ### Authorization
1970
+
1971
+ [fc](../README.md#fc)
1972
+
1973
+ ### HTTP request headers
1974
+
1975
+ - **Content-Type**: Not defined
1976
+ - **Accept**: application/json
1977
+
1978
+
1533
1979
  ## get_an_incoming_number
1534
1980
 
1535
1981
  Get an Incoming Number
@@ -1573,9 +2019,79 @@ begin
1573
2019
  data, status_code, headers = api_instance.get_an_incoming_number_with_http_info(phone_number_id)
1574
2020
  p status_code # => 2xx
1575
2021
  p headers # => { ... }
1576
- p data # => <IncomingNumberResult>
2022
+ p data # => <IncomingNumberResult>
2023
+ rescue Freeclimb::ApiError => e
2024
+ puts "Error when calling DefaultApi->get_an_incoming_number_with_http_info: #{e}"
2025
+ end
2026
+ ```
2027
+
2028
+ ### Parameters
2029
+
2030
+ | Name | Type | Description | Notes |
2031
+ | ---- | ---- | ----------- | ----- |
2032
+ | **phone_number_id** | **String** | String that uniquely identifies this phone number resource. | |
2033
+
2034
+
2035
+ ### Return type
2036
+
2037
+ [**IncomingNumberResult**](IncomingNumberResult.md)
2038
+
2039
+ ### Authorization
2040
+
2041
+ [fc](../README.md#fc)
2042
+
2043
+ ### HTTP request headers
2044
+
2045
+ - **Content-Type**: Not defined
2046
+ - **Accept**: application/json
2047
+
2048
+
2049
+ ## get_an_sms_message
2050
+
2051
+ Get an SMS Message
2052
+
2053
+ ### Examples
2054
+
2055
+ ```ruby
2056
+ require 'time'
2057
+ require 'freeclimb'
2058
+ # setup authorization
2059
+ Freeclimb.configure do |config|
2060
+ # Configure HTTP basic authorization: fc
2061
+ config.username = 'ACCOUNT_ID'
2062
+ config.password = 'API_KEY'
2063
+ end
2064
+
2065
+ api_instance = Freeclimb::DefaultApi.new
2066
+
2067
+ message_id = 'message_id_example' # String | String that uniquely identifies this Message resource.
2068
+
2069
+
2070
+ begin
2071
+
2072
+ # Get an SMS Message
2073
+ result = api_instance.get_an_sms_message(message_id)
2074
+ p result
2075
+ rescue Freeclimb::ApiError => e
2076
+ puts "Error when calling DefaultApi->get_an_sms_message: #{e}"
2077
+ end
2078
+ ```
2079
+
2080
+ #### Using the get_an_sms_message_with_http_info variant
2081
+
2082
+ This returns an Array which contains the response data, status code and headers.
2083
+
2084
+ > <Array(<MessageResult>, Integer, Hash)> get_an_sms_message_with_http_info(account_id, message_id)
2085
+
2086
+ ```ruby
2087
+ begin
2088
+ # Get an SMS Message
2089
+ data, status_code, headers = api_instance.get_an_sms_message_with_http_info(message_id)
2090
+ p status_code # => 2xx
2091
+ p headers # => { ... }
2092
+ p data # => <MessageResult>
1577
2093
  rescue Freeclimb::ApiError => e
1578
- puts "Error when calling DefaultApi->get_an_incoming_number_with_http_info: #{e}"
2094
+ puts "Error when calling DefaultApi->get_an_sms_message_with_http_info: #{e}"
1579
2095
  end
1580
2096
  ```
1581
2097
 
@@ -1583,12 +2099,12 @@ end
1583
2099
 
1584
2100
  | Name | Type | Description | Notes |
1585
2101
  | ---- | ---- | ----------- | ----- |
1586
- | **phone_number_id** | **String** | String that uniquely identifies this phone number resource. | |
2102
+ | **message_id** | **String** | String that uniquely identifies this Message resource. | |
1587
2103
 
1588
2104
 
1589
2105
  ### Return type
1590
2106
 
1591
- [**IncomingNumberResult**](IncomingNumberResult.md)
2107
+ [**MessageResult**](MessageResult.md)
1592
2108
 
1593
2109
  ### Authorization
1594
2110
 
@@ -1600,9 +2116,11 @@ end
1600
2116
  - **Accept**: application/json
1601
2117
 
1602
2118
 
1603
- ## get_an_sms_message
2119
+ ## get_blob
1604
2120
 
1605
- Get an SMS Message
2121
+ Get Blob
2122
+
2123
+ Retrieves a specified blob
1606
2124
 
1607
2125
  ### Examples
1608
2126
 
@@ -1618,34 +2136,34 @@ end
1618
2136
 
1619
2137
  api_instance = Freeclimb::DefaultApi.new
1620
2138
 
1621
- message_id = 'message_id_example' # String | String that uniquely identifies this Message resource.
2139
+ blob_id = 'blob_id_example' # String | String that uniquely identifies this Blob resource.
1622
2140
 
1623
2141
 
1624
2142
  begin
1625
2143
 
1626
- # Get an SMS Message
1627
- result = api_instance.get_an_sms_message(message_id)
2144
+ # Get Blob
2145
+ result = api_instance.get_blob(blob_id)
1628
2146
  p result
1629
2147
  rescue Freeclimb::ApiError => e
1630
- puts "Error when calling DefaultApi->get_an_sms_message: #{e}"
2148
+ puts "Error when calling DefaultApi->get_blob: #{e}"
1631
2149
  end
1632
2150
  ```
1633
2151
 
1634
- #### Using the get_an_sms_message_with_http_info variant
2152
+ #### Using the get_blob_with_http_info variant
1635
2153
 
1636
2154
  This returns an Array which contains the response data, status code and headers.
1637
2155
 
1638
- > <Array(<MessageResult>, Integer, Hash)> get_an_sms_message_with_http_info(account_id, message_id)
2156
+ > <Array(<BlobResult>, Integer, Hash)> get_blob_with_http_info(account_id, blob_id)
1639
2157
 
1640
2158
  ```ruby
1641
2159
  begin
1642
- # Get an SMS Message
1643
- data, status_code, headers = api_instance.get_an_sms_message_with_http_info(message_id)
2160
+ # Get Blob
2161
+ data, status_code, headers = api_instance.get_blob_with_http_info(blob_id)
1644
2162
  p status_code # => 2xx
1645
2163
  p headers # => { ... }
1646
- p data # => <MessageResult>
2164
+ p data # => <BlobResult>
1647
2165
  rescue Freeclimb::ApiError => e
1648
- puts "Error when calling DefaultApi->get_an_sms_message_with_http_info: #{e}"
2166
+ puts "Error when calling DefaultApi->get_blob_with_http_info: #{e}"
1649
2167
  end
1650
2168
  ```
1651
2169
 
@@ -1653,12 +2171,12 @@ end
1653
2171
 
1654
2172
  | Name | Type | Description | Notes |
1655
2173
  | ---- | ---- | ----------- | ----- |
1656
- | **message_id** | **String** | String that uniquely identifies this Message resource. | |
2174
+ | **blob_id** | **String** | String that uniquely identifies this Blob resource. | |
1657
2175
 
1658
2176
 
1659
2177
  ### Return type
1660
2178
 
1661
- [**MessageResult**](MessageResult.md)
2179
+ [**BlobResult**](BlobResult.md)
1662
2180
 
1663
2181
  ### Authorization
1664
2182
 
@@ -2594,6 +3112,75 @@ end
2594
3112
  - **Accept**: application/json
2595
3113
 
2596
3114
 
3115
+ ## list_blobs
3116
+
3117
+ List Blobs belonging to an account.
3118
+
3119
+ List Blobs belonging to an account. Results are returned in paginated lists mirroring other listing features in the API.
3120
+
3121
+ ### Examples
3122
+
3123
+ ```ruby
3124
+ require 'time'
3125
+ require 'freeclimb'
3126
+ # setup authorization
3127
+ Freeclimb.configure do |config|
3128
+ # Configure HTTP basic authorization: fc
3129
+ config.username = 'ACCOUNT_ID'
3130
+ config.password = 'API_KEY'
3131
+ end
3132
+
3133
+ api_instance = Freeclimb::DefaultApi.new
3134
+
3135
+
3136
+ begin
3137
+
3138
+ # List Blobs belonging to an account.
3139
+ result = api_instance.list_blobs()
3140
+ p result
3141
+ rescue Freeclimb::ApiError => e
3142
+ puts "Error when calling DefaultApi->list_blobs: #{e}"
3143
+ end
3144
+ ```
3145
+
3146
+ #### Using the list_blobs_with_http_info variant
3147
+
3148
+ This returns an Array which contains the response data, status code and headers.
3149
+
3150
+ > <Array(<BlobListResponse>, Integer, Hash)> list_blobs_with_http_info(account_id)
3151
+
3152
+ ```ruby
3153
+ begin
3154
+ # List Blobs belonging to an account.
3155
+ data, status_code, headers = api_instance.list_blobs_with_http_info()
3156
+ p status_code # => 2xx
3157
+ p headers # => { ... }
3158
+ p data # => <BlobListResponse>
3159
+ rescue Freeclimb::ApiError => e
3160
+ puts "Error when calling DefaultApi->list_blobs_with_http_info: #{e}"
3161
+ end
3162
+ ```
3163
+
3164
+ ### Parameters
3165
+
3166
+ | Name | Type | Description | Notes |
3167
+ | ---- | ---- | ----------- | ----- |
3168
+
3169
+
3170
+ ### Return type
3171
+
3172
+ [**BlobListResponse**](BlobListResponse.md)
3173
+
3174
+ ### Authorization
3175
+
3176
+ [fc](../README.md#fc)
3177
+
3178
+ ### HTTP request headers
3179
+
3180
+ - **Content-Type**: Not defined
3181
+ - **Accept**: application/json
3182
+
3183
+
2597
3184
  ## list_call_logs
2598
3185
 
2599
3186
  List Call Logs
@@ -2764,7 +3351,9 @@ opts = {
2764
3351
  start_time: 'start_time_example', # String | Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss.
2765
3352
  end_time: 'end_time_example', # String | Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss.
2766
3353
  parent_call_id: 'parent_call_id_example', # String | Only show Calls spawned by the call with this ID.
2767
- application_id: ['inner_example'] # Array<String> | Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications.
3354
+ application_id: ['inner_example'], # Array<String> | Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications.
3355
+ risk_score_min: 56, # Integer | The minimum riskScore that should be included in the list.
3356
+ risk_score_max: 56 # Integer | The maximum riskScore that should be included in the list.
2768
3357
  }
2769
3358
 
2770
3359
  begin
@@ -2807,6 +3396,8 @@ end
2807
3396
  | **end_time** | **String** | Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. | [optional] |
2808
3397
  | **parent_call_id** | **String** | Only show Calls spawned by the call with this ID. | [optional] |
2809
3398
  | **application_id** | [**Array&lt;String&gt;**](String.md) | Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications. | [optional] |
3399
+ | **risk_score_min** | **Integer** | The minimum riskScore that should be included in the list. | [optional] |
3400
+ | **risk_score_max** | **Integer** | The maximum riskScore that should be included in the list. | [optional] |
2810
3401
 
2811
3402
 
2812
3403
  ### Return type
@@ -2976,6 +3567,79 @@ end
2976
3567
  - **Accept**: application/json
2977
3568
 
2978
3569
 
3570
+ ## list_exports
3571
+
3572
+ List Exports
3573
+
3574
+ ### Examples
3575
+
3576
+ ```ruby
3577
+ require 'time'
3578
+ require 'freeclimb'
3579
+ # setup authorization
3580
+ Freeclimb.configure do |config|
3581
+ # Configure HTTP basic authorization: fc
3582
+ config.username = 'ACCOUNT_ID'
3583
+ config.password = 'API_KEY'
3584
+ end
3585
+
3586
+ api_instance = Freeclimb::DefaultApi.new
3587
+
3588
+ opts = {
3589
+ status: Freeclimb::ExportStatus::INTAKING, # ExportStatus | Status of export
3590
+ cursor: 'cursor_example' # String | Used to reference pages of a list of exports
3591
+ }
3592
+
3593
+ begin
3594
+
3595
+ # List Exports
3596
+ result = api_instance.list_exports(opts)
3597
+ p result
3598
+ rescue Freeclimb::ApiError => e
3599
+ puts "Error when calling DefaultApi->list_exports: #{e}"
3600
+ end
3601
+ ```
3602
+
3603
+ #### Using the list_exports_with_http_info variant
3604
+
3605
+ This returns an Array which contains the response data, status code and headers.
3606
+
3607
+ > <Array(<ExportList>, Integer, Hash)> list_exports_with_http_info(account_id, opts)
3608
+
3609
+ ```ruby
3610
+ begin
3611
+ # List Exports
3612
+ data, status_code, headers = api_instance.list_exports_with_http_info(opts)
3613
+ p status_code # => 2xx
3614
+ p headers # => { ... }
3615
+ p data # => <ExportList>
3616
+ rescue Freeclimb::ApiError => e
3617
+ puts "Error when calling DefaultApi->list_exports_with_http_info: #{e}"
3618
+ end
3619
+ ```
3620
+
3621
+ ### Parameters
3622
+
3623
+ | Name | Type | Description | Notes |
3624
+ | ---- | ---- | ----------- | ----- |
3625
+ | **status** | [**ExportStatus**](.md) | Status of export | [optional] |
3626
+ | **cursor** | **String** | Used to reference pages of a list of exports | [optional] |
3627
+
3628
+
3629
+ ### Return type
3630
+
3631
+ [**ExportList**](ExportList.md)
3632
+
3633
+ ### Authorization
3634
+
3635
+ [fc](../README.md#fc)
3636
+
3637
+ ### HTTP request headers
3638
+
3639
+ - **Content-Type**: Not defined
3640
+ - **Accept**: application/json
3641
+
3642
+
2979
3643
  ## list_incoming_numbers
2980
3644
 
2981
3645
  List Incoming Numbers
@@ -3001,8 +3665,6 @@ opts = {
3001
3665
  country: 'country_example', # String | Country of this phone number.
3002
3666
  application_id: 'application_id_example', # String | 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.
3003
3667
  has_application: true, # Boolean | Indication of whether the phone number has an application linked to it.
3004
- voice_enabled: true, # Boolean | Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
3005
- sms_enabled: true, # Boolean | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
3006
3668
  has_campaign: true, # Boolean | Indication of whether the phone number has a campaign associated with it
3007
3669
  capabilities_voice: true, # Boolean |
3008
3670
  capabilities_sms: true, # Boolean |
@@ -3051,8 +3713,6 @@ end
3051
3713
  | **country** | **String** | Country of this phone number. | [optional] |
3052
3714
  | **application_id** | **String** | 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. | [optional] |
3053
3715
  | **has_application** | **Boolean** | Indication of whether the phone number has an application linked to it. | [optional][default to false] |
3054
- | **voice_enabled** | **Boolean** | Indicates whether the phone number can handle Calls. Typically set to true for all numbers. | [optional][default to true] |
3055
- | **sms_enabled** | **Boolean** | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. | [optional][default to true] |
3056
3716
  | **has_campaign** | **Boolean** | Indication of whether the phone number has a campaign associated with it | [optional] |
3057
3717
  | **capabilities_voice** | **Boolean** | | [optional] |
3058
3718
  | **capabilities_sms** | **Boolean** | | [optional] |
@@ -3526,6 +4186,81 @@ end
3526
4186
  - **Accept**: text/plain
3527
4187
 
3528
4188
 
4189
+ ## modify_blob
4190
+
4191
+ Modify Blob
4192
+
4193
+ Modifys a pre existing blob by either adding new fields, or modifying existing fields
4194
+
4195
+ ### Examples
4196
+
4197
+ ```ruby
4198
+ require 'time'
4199
+ require 'freeclimb'
4200
+ # setup authorization
4201
+ Freeclimb.configure do |config|
4202
+ # Configure HTTP basic authorization: fc
4203
+ config.username = 'ACCOUNT_ID'
4204
+ config.password = 'API_KEY'
4205
+ end
4206
+
4207
+ api_instance = Freeclimb::DefaultApi.new
4208
+
4209
+ blob_id = 'blob_id_example' # String | String that uniquely identifies this Blob resource.
4210
+
4211
+ modify_blob_request = Freeclimb::ModifyBlobRequest.new({blob: 3.56}) # ModifyBlobRequest | Request body to specify keys to modify. Or new keys to add onto the already existing blob
4212
+
4213
+
4214
+ begin
4215
+
4216
+ # Modify Blob
4217
+ result = api_instance.modify_blob(blob_id, modify_blob_request)
4218
+ p result
4219
+ rescue Freeclimb::ApiError => e
4220
+ puts "Error when calling DefaultApi->modify_blob: #{e}"
4221
+ end
4222
+ ```
4223
+
4224
+ #### Using the modify_blob_with_http_info variant
4225
+
4226
+ This returns an Array which contains the response data, status code and headers.
4227
+
4228
+ > <Array(<BlobResult>, Integer, Hash)> modify_blob_with_http_info(account_id, blob_id, modify_blob_request)
4229
+
4230
+ ```ruby
4231
+ begin
4232
+ # Modify Blob
4233
+ data, status_code, headers = api_instance.modify_blob_with_http_info(blob_id, modify_blob_request)
4234
+ p status_code # => 2xx
4235
+ p headers # => { ... }
4236
+ p data # => <BlobResult>
4237
+ rescue Freeclimb::ApiError => e
4238
+ puts "Error when calling DefaultApi->modify_blob_with_http_info: #{e}"
4239
+ end
4240
+ ```
4241
+
4242
+ ### Parameters
4243
+
4244
+ | Name | Type | Description | Notes |
4245
+ | ---- | ---- | ----------- | ----- |
4246
+ | **blob_id** | **String** | String that uniquely identifies this Blob resource. | |
4247
+ | **modify_blob_request** | [**ModifyBlobRequest**](ModifyBlobRequest.md) | Request body to specify keys to modify. Or new keys to add onto the already existing blob | |
4248
+
4249
+
4250
+ ### Return type
4251
+
4252
+ [**BlobResult**](BlobResult.md)
4253
+
4254
+ ### Authorization
4255
+
4256
+ [fc](../README.md#fc)
4257
+
4258
+ ### HTTP request headers
4259
+
4260
+ - **Content-Type**: application/json
4261
+ - **Accept**: application/json
4262
+
4263
+
3529
4264
  ## remove_a_participant
3530
4265
 
3531
4266
  Remove a Participant
@@ -3598,6 +4333,81 @@ nil (empty response body)
3598
4333
  - **Accept**: Not defined
3599
4334
 
3600
4335
 
4336
+ ## replace_blob
4337
+
4338
+ Replace Blob
4339
+
4340
+ Replaces the blob content with the provided values.
4341
+
4342
+ ### Examples
4343
+
4344
+ ```ruby
4345
+ require 'time'
4346
+ require 'freeclimb'
4347
+ # setup authorization
4348
+ Freeclimb.configure do |config|
4349
+ # Configure HTTP basic authorization: fc
4350
+ config.username = 'ACCOUNT_ID'
4351
+ config.password = 'API_KEY'
4352
+ end
4353
+
4354
+ api_instance = Freeclimb::DefaultApi.new
4355
+
4356
+ blob_id = 'blob_id_example' # String | String that uniquely identifies this Blob resource.
4357
+
4358
+ replace_blob_request = Freeclimb::ReplaceBlobRequest.new({blob: 3.56}) # ReplaceBlobRequest | JSON object containing blob key the contents of which will be used to override the enitre blob contents.
4359
+
4360
+
4361
+ begin
4362
+
4363
+ # Replace Blob
4364
+ result = api_instance.replace_blob(blob_id, replace_blob_request)
4365
+ p result
4366
+ rescue Freeclimb::ApiError => e
4367
+ puts "Error when calling DefaultApi->replace_blob: #{e}"
4368
+ end
4369
+ ```
4370
+
4371
+ #### Using the replace_blob_with_http_info variant
4372
+
4373
+ This returns an Array which contains the response data, status code and headers.
4374
+
4375
+ > <Array(<BlobResult>, Integer, Hash)> replace_blob_with_http_info(account_id, blob_id, replace_blob_request)
4376
+
4377
+ ```ruby
4378
+ begin
4379
+ # Replace Blob
4380
+ data, status_code, headers = api_instance.replace_blob_with_http_info(blob_id, replace_blob_request)
4381
+ p status_code # => 2xx
4382
+ p headers # => { ... }
4383
+ p data # => <BlobResult>
4384
+ rescue Freeclimb::ApiError => e
4385
+ puts "Error when calling DefaultApi->replace_blob_with_http_info: #{e}"
4386
+ end
4387
+ ```
4388
+
4389
+ ### Parameters
4390
+
4391
+ | Name | Type | Description | Notes |
4392
+ | ---- | ---- | ----------- | ----- |
4393
+ | **blob_id** | **String** | String that uniquely identifies this Blob resource. | |
4394
+ | **replace_blob_request** | [**ReplaceBlobRequest**](ReplaceBlobRequest.md) | JSON object containing blob key the contents of which will be used to override the enitre blob contents. | |
4395
+
4396
+
4397
+ ### Return type
4398
+
4399
+ [**BlobResult**](BlobResult.md)
4400
+
4401
+ ### Authorization
4402
+
4403
+ [fc](../README.md#fc)
4404
+
4405
+ ### HTTP request headers
4406
+
4407
+ - **Content-Type**: application/json
4408
+ - **Accept**: application/json
4409
+
4410
+
3601
4411
  ## send_an_sms_message
3602
4412
 
3603
4413
  Send an SMS Message
@@ -3735,7 +4545,7 @@ end
3735
4545
  ### HTTP request headers
3736
4546
 
3737
4547
  - **Content-Type**: Not defined
3738
- - **Accept**: audio/x-wav
4548
+ - **Accept**: audio/wav
3739
4549
 
3740
4550
 
3741
4551
  ## update_a_conference